Single Act Download
https://api.worldota.net/api/b2b/v3/hotel/order/document/single_act/download/
The call gets the order act. The act is provided in PDF format.
Request example
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/hotel/order/document/single_act/download/?data={%22partner_order_id%22%3A%22asd123%22%2C%22show_b2b2c_price%22%3Atrue%2C%22add_commission%22%3Atrue%2C%22seal%22%3Atrue}'
Parameters
The external order ID.
ℹ️
- The minimum length is
1
character.
Whether the resale price needs to be shown or not. The price is taken instead of the
amount_sell
field value.
Errors
The error
field has the value specified in the headers below.
failed_to_generate_document
The act is in generating. Try to request later.
order_not_found
The order with the partner_order_id
field value isn’t found.
order_not_assigned
No contract is assigned to the order.
single_act_is_not_downloadable
The act is in processing. Try to request with the following field values in the past or today:
- Amount payable.
- Contract kind.
- Legal entity.
- Checkout date.