CiirusXML15025
Click here for a complete list of operations.
EnableDisableProperties
Enables Properties from suppliers into your account.
Use this function to add/remove one or more properties that need to be enabled/disabled to your feed. To be enabled/disable properties from your suppliers in your feed from CiiRUS.
Pass the following parameters:
- APIUsername (String)
- APIPassword (String)
- PropertyID (Class Object) - limit 25 of these objects in array per call (1 call per second)
- PropertyID (Integer) This propertyID to be updated
- MCUserID (Integer) - The MCUserID of this Property.
- Enabled (Boolean)
- True - You wish to enable this property (grant permissions to allow this property in your feed)
- False - You wish to disable this property (disallow permissions to this property in your feed)
Error Responses:
- EnableDisableProperties: You must pass at least one PropertyID to this function for any action to occur.
- EnableDisableProperties: Could not resolve query. Please contact your CiiRUS technical point of contact if the issue persists (See Obtaining API Support).
- EnableDisableProperties: This function is limited to 25 properties per call (1 call per second).
Note: - This is the same as clicking enable in the App. By using this function, you are agreeing to do business and abide by the terms of your direct agreement with the supplying channel for each respective property.
Note: - This function cannot be called more than once per second.
Note: - This function is limited to 25 properties per call.
Test
The test form is only available for requests from the local machine.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/EnableDisableProperties"
<?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>
<EnableDisableProperties xmlns="http://xml.ciirus.com/">
<APIUsername>string</APIUsername>
<APIPassword>string</APIPassword>
<PropertyID>
<EnableDisableProperty>
<PropertyID>int</PropertyID>
<MCUserID>int</MCUserID>
<Enabled>boolean</Enabled>
</EnableDisableProperty>
<EnableDisableProperty>
<PropertyID>int</PropertyID>
<MCUserID>int</MCUserID>
<Enabled>boolean</Enabled>
</EnableDisableProperty>
</PropertyID>
</EnableDisableProperties>
</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>
<EnableDisablePropertiesResponse xmlns="http://xml.ciirus.com/">
<EnableDisablePropertiesResult>
<EnabledProperty>
<PropertyID>int</PropertyID>
<Success>boolean</Success>
<errorMsg>string</errorMsg>
</EnabledProperty>
<EnabledProperty>
<PropertyID>int</PropertyID>
<Success>boolean</Success>
<errorMsg>string</errorMsg>
</EnabledProperty>
</EnableDisablePropertiesResult>
</EnableDisablePropertiesResponse>
</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>
<EnableDisableProperties xmlns="http://xml.ciirus.com/">
<APIUsername>string</APIUsername>
<APIPassword>string</APIPassword>
<PropertyID>
<EnableDisableProperty>
<PropertyID>int</PropertyID>
<MCUserID>int</MCUserID>
<Enabled>boolean</Enabled>
</EnableDisableProperty>
<EnableDisableProperty>
<PropertyID>int</PropertyID>
<MCUserID>int</MCUserID>
<Enabled>boolean</Enabled>
</EnableDisableProperty>
</PropertyID>
</EnableDisableProperties>
</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>
<EnableDisablePropertiesResponse xmlns="http://xml.ciirus.com/">
<EnableDisablePropertiesResult>
<EnabledProperty>
<PropertyID>int</PropertyID>
<Success>boolean</Success>
<errorMsg>string</errorMsg>
</EnabledProperty>
<EnabledProperty>
<PropertyID>int</PropertyID>
<Success>boolean</Success>
<errorMsg>string</errorMsg>
</EnabledProperty>
</EnableDisablePropertiesResult>
</EnableDisablePropertiesResponse>
</soap12:Body>
</soap12:Envelope>