Skip to main content
EMS Software, LLC

GetUdqs

Description

Returns user defined question information for a specific event

Request Parameters

Name

Description

Type

UserName

MC User Name

String

Password

MC User Password

String

EventID

MC Event  ID

Integer

Response Elements

Name

Description

Type

UDQID

User Defined Question ID

Integer

PromptText

User Defined Question Prompt

String

Answer

User Defined Question Answer

String

Sequence

User Defined Question Sequence

Integer

Sample Code

private void GetUdqs()

 {

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

 

        StringReader sr = new StringReader(svc.GetUdqs("username", "pwd", 1));

        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

<Udqs>

  <Data>

    <UDQID>126</UDQID>

    <PromptText>How will your organization pay for this event?</PromptText>

    <Answer>Cash</Answer>

   <Sequence>1</Sequence>

  </Data> </Udqs>