Skip to main content
EMS Software, LLC

GetComments

Description

Returns EMS comments for a specific event

 

Request Parameters

Name

Description

Type

UserName

MC User Name

String

Password

MC User Password

String

EventID

MC Event  ID

Integer

ReservationID

EMS Reservation ID

Integer

BookingID

EMS Booking ID

Interger

 

Response Elements

Name

Description

Type

ID

EMS Comment ID

Integer

Notes

EMS Comment Notes

String

CommentType

EMS Comment Type

String

NoteType

Returns value of  ‘User Notes’, ‘Reservation Notes’ or ‘Booking Notes’

String

 

Sample Code

private void GetComments()

 {

        MCAPI.MCAPIService svc = new MCAPI.MCAPIService();

        svc.Url = "http://yourserver/MCAPI/MCAPIService.asmx?WSDL";

 

        StringReader sr = new StringReader(svc.GetComments("username", "pwd", 1,25, 482));

        DataSet ds = new DataSet();

        System.Xml.XmlDocument doc = new System.Xml.XmlDocument();

        doc.LoadXml(sr.ReadToEnd());

        ds.ReadXml(new System.Xml.XmlNodeReader(doc));

  }

 

Example Response

<Comments>

  <Data>

    <ID>1</ID>

    <Notes>details…</Notes>

    <CommentType>Event Details</CommentType>

   <NoteType>Reservation Notes</ NoteType >

  </Data> </Comments>