This is an optional function. This is to block or unblock properties in Icnea.
Endpoint:
https://ws.icnea.net/inventory_block.aspxUse this API to block or unblock a property in Icnea.
REQUEST
Code Block |
---|
|
<inventory_block>
<link>
<user>integer(4)</user>
<password>character(20)</password>
</link>
<lodging>
<lodging_id>integer(48)</lodging_id>
<lodging_action>block/unblock</lodging_action>
</lodging>
</inventory_block> |
RESPONSES
Response with successSuccess:
Code Block |
---|
|
<inventory_block_response>
<ok>lodging_id </ok>
</inventory_block_response> |
Response with errorError:
Code Block |
---|
|
<inventory_block_response>
<ko>character(500)</ko>
</inventory_block_response> |
...