POST api/ContainerStatus/AddCargoNotification
Register for Cargo notification. Each notification will be received through the customer's Safe with "CargoNotification" XML message specified here : https://israports.co.il/he/TaskYam/Messaging_Structure_Docs/CARGONOTIFICATION%20%D7%A1%D7%98%D7%98%D7%95%D7%A1%20%D7%9E%D7%98%D7%A2%D7%9F%20%D7%91%D7%93%D7%97%D7%99%D7%A4%D7%94%20.pdf
Request Information
URI Parameters
None.
Body Parameters
TaskyamWebAPI.Models.AddCargoNotification| Name | Description | Type | Additional information |
|---|---|---|---|
| Containers |
Distinct list of containers (11 characters for each container) to register for notification. Can register Up to 100 containers. |
Collection of string |
None. |
| Transactions |
Distinct list of Transactions (16 characters for each transaction) to register for notification. Can register Up to 100 transactions. |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Containers": [
"sample string 1",
"sample string 2"
],
"Transactions": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<AddCargoNotification xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Containers>
<string>sample string 1</string>
<string>sample string 2</string>
</Containers>
<Transactions>
<string>sample string 1</string>
<string>sample string 2</string>
</Transactions>
</AddCargoNotification>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.