Skip to main content
EMS Software, LLC

GetGroupings

Description

Returns a list of group IDs

Request Parameters

Name

Description

Type

UserName

MC User Name

String

Password

MC User Password

String

Response Elements

Name

Description

Type

Name

Grouping Name

String

GroupindID

Grouping ID

Integer

Sample Code

private void GetGroupings()

 {

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

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

 

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

        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

<Groupings>

    <GroupingID>18</GroupingID>

    <Name>Administration</Name>

  </Data>

  <Data>

    <GroupingID>15</GroupingID>

    <Name>Conference Center</Name>

  </Data> </Groupings>