Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is an optional function. This is to block or unblock properties in Icnea.

Endpoint:

Status
colourBlue
titlepost
https://ws.icnea.net/inventory_block.aspx

Use this API to block or unblock a property in Icnea.

REQUEST
Code Block
languagexml
<inventory_block>
  <link>
    <user>integer(4)</user>
    <password>character(20)</password>
  </link>
  <lodging>
    <lodging_id>integer(8)</lodging_id>
    <lodging_action>block/unblock</lodging_action>
  </lodging>
</inventory_block>

...

RESPONSES

Success:

Code Block
languagexml
<inventory_block_response>
  <ok>lodging_id </ok>
</inventory_block_response>

Response with errorError:

Code Block
languagexml
<inventory_block_response>
  <ko>character(500)</ko>
</inventory_block_response>

...