CiirusXML15025
Click here for a complete list of operations.
GetManagementCompanyDetails
This function returns an object containing details about a request property supplier.
Pass the following parameters:
- ApiUsername (String)
- ApiPassword (String)
- McUserId (Integer)
Error Responses:
- GetManagementCompanyDetails: Validation Error 1
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /CiirusXML.15.025.asmx HTTP/1.1
Host: api.ciirus.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://xml.ciirus.com/GetManagementCompanyDetails"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetManagementCompanyDetails xmlns="http://xml.ciirus.com/">
<ApiUsername>string</ApiUsername>
<ApiPassword>string</ApiPassword>
<McUserId>int</McUserId>
</GetManagementCompanyDetails>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetManagementCompanyDetailsResponse xmlns="http://xml.ciirus.com/">
<ManagementCompany ID="int">
<CompanyName>string</CompanyName>
<PreferredCurrencyIso>string</PreferredCurrencyIso>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Country>string</Country>
<PostCode>string</PostCode>
<WebsiteUrl>string</WebsiteUrl>
<Contacts>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
</Contacts>
<MinChildAge>int</MinChildAge>
<MaxChildAge>int</MaxChildAge>
<DefaultArrivalTime>string</DefaultArrivalTime>
<DefaultDepartureTime>string</DefaultDepartureTime>
</ManagementCompany>
</GetManagementCompanyDetailsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /CiirusXML.15.025.asmx HTTP/1.1
Host: api.ciirus.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetManagementCompanyDetails xmlns="http://xml.ciirus.com/">
<ApiUsername>string</ApiUsername>
<ApiPassword>string</ApiPassword>
<McUserId>int</McUserId>
</GetManagementCompanyDetails>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetManagementCompanyDetailsResponse xmlns="http://xml.ciirus.com/">
<ManagementCompany ID="int">
<CompanyName>string</CompanyName>
<PreferredCurrencyIso>string</PreferredCurrencyIso>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Country>string</Country>
<PostCode>string</PostCode>
<WebsiteUrl>string</WebsiteUrl>
<Contacts>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
</Contacts>
<MinChildAge>int</MinChildAge>
<MaxChildAge>int</MaxChildAge>
<DefaultArrivalTime>string</DefaultArrivalTime>
<DefaultDepartureTime>string</DefaultDepartureTime>
</ManagementCompany>
</GetManagementCompanyDetailsResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /CiirusXML.15.025.asmx/GetManagementCompanyDetails?ApiUsername=string&ApiPassword=string&McUserId=string HTTP/1.1 Host: api.ciirus.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ManagementCompany ID="int" xmlns="http://xml.ciirus.com/">
<CompanyName>string</CompanyName>
<PreferredCurrencyIso>string</PreferredCurrencyIso>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Country>string</Country>
<PostCode>string</PostCode>
<WebsiteUrl>string</WebsiteUrl>
<Contacts>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
</Contacts>
<MinChildAge>int</MinChildAge>
<MaxChildAge>int</MaxChildAge>
<DefaultArrivalTime>string</DefaultArrivalTime>
<DefaultDepartureTime>string</DefaultDepartureTime>
</ManagementCompany>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /CiirusXML.15.025.asmx/GetManagementCompanyDetails HTTP/1.1 Host: api.ciirus.com Content-Type: application/x-www-form-urlencoded Content-Length: length ApiUsername=string&ApiPassword=string&McUserId=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ManagementCompany ID="int" xmlns="http://xml.ciirus.com/">
<CompanyName>string</CompanyName>
<PreferredCurrencyIso>string</PreferredCurrencyIso>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Country>string</Country>
<PostCode>string</PostCode>
<WebsiteUrl>string</WebsiteUrl>
<Contacts>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
<ContactInfo>
<ContactType>string</ContactType>
<Name>string</Name>
<Email>string</Email>
<Phone>string</Phone>
</ContactInfo>
</Contacts>
<MinChildAge>int</MinChildAge>
<MaxChildAge>int</MaxChildAge>
<DefaultArrivalTime>string</DefaultArrivalTime>
<DefaultDepartureTime>string</DefaultDepartureTime>
</ManagementCompany>