CiirusXML15025


Click here for a complete list of operations.

GetDescriptionsPlainText

Returns the PlainText of the Description Set specified by this user for this property.

Use this function to get the description for the specified property. The description is returned is text only. If it contains HTML or is blank, please contact the user and request that they update the listing content of the Description Set assigned to this property for your Booking Agent channel.



Pass the following parameters:

  • APIUsername (String)
  • APIPassword (String)
  • PropertyID (integer)

If HTML is what you are looking for, use the get description function called "GetDescriptions"



Error Responses:

  • GetDescriptionsPlainText: Validation Error 1
  • GetDescriptionsPlainText: Validation Error 2 - Property has been deleted from the system
  • GetDescriptionsPlainText: Validation Error 2
  • GetDescriptionsPlainText: Error - DataSet not Populated
  • GetDescriptionsPlainText: Error - The description is blank
  • GetDescriptionsPlainText: Error - No Description Set Assigned
  • GetDescriptionsPlainText: Error - The PropertyID MUST be greater than zero
  • GetDescriptionsPlainText: Error - Unknown

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
APIUserName:
APIPassword:
PropertyID:

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/GetDescriptionsPlainText"

<?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>
    <GetDescriptionsPlainText xmlns="http://xml.ciirus.com/">
      <APIUserName>string</APIUserName>
      <APIPassword>string</APIPassword>
      <PropertyID>int</PropertyID>
    </GetDescriptionsPlainText>
  </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>
    <GetDescriptionsPlainTextResponse xmlns="http://xml.ciirus.com/">
      <GetDescriptionsPlainTextResult>string</GetDescriptionsPlainTextResult>
    </GetDescriptionsPlainTextResponse>
  </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>
    <GetDescriptionsPlainText xmlns="http://xml.ciirus.com/">
      <APIUserName>string</APIUserName>
      <APIPassword>string</APIPassword>
      <PropertyID>int</PropertyID>
    </GetDescriptionsPlainText>
  </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>
    <GetDescriptionsPlainTextResponse xmlns="http://xml.ciirus.com/">
      <GetDescriptionsPlainTextResult>string</GetDescriptionsPlainTextResult>
    </GetDescriptionsPlainTextResponse>
  </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/GetDescriptionsPlainText?APIUserName=string&APIPassword=string&PropertyID=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"?>
<string xmlns="http://xml.ciirus.com/">string</string>

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/GetDescriptionsPlainText HTTP/1.1
Host: api.ciirus.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

APIUserName=string&APIPassword=string&PropertyID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://xml.ciirus.com/">string</string>