POST api/OrderTracking/webhook
Request Information
URI Parameters
None.
Body Parameters
ShiprocketWebhookModel| Name | Description | Type | Additional information |
|---|---|---|---|
| awb | integer |
None. |
|
| current_status | string |
None. |
|
| order_id | string |
None. |
|
| current_timestamp | string |
None. |
|
| etd | string |
None. |
|
| current_status_id | integer |
None. |
|
| shipment_status | string |
None. |
|
| shipment_status_id | integer |
None. |
|
| channel_order_id | string |
None. |
|
| channel | string |
None. |
|
| courier_name | string |
None. |
|
| scans | Collection of ScanDetail |
None. |
Request Formats
application/json, text/json
Sample:
{
"awb": 1,
"current_status": "sample string 1",
"order_id": "sample string 2",
"current_timestamp": "sample string 3",
"etd": "sample string 4",
"current_status_id": 1,
"shipment_status": "sample string 5",
"shipment_status_id": 1,
"channel_order_id": "sample string 6",
"channel": "sample string 7",
"courier_name": "sample string 8",
"scans": [
{
"date": "sample string 1",
"activity": "sample string 2",
"location": "sample string 3"
},
{
"date": "sample string 1",
"activity": "sample string 2",
"location": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<ShiprocketWebhookController.ShiprocketWebhookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiAgroMart.Controllers"><awb>1</awb><channel>sample string 7</channel><channel_order_id>sample string 6</channel_order_id><courier_name>sample string 8</courier_name><current_status>sample string 1</current_status><current_status_id>1</current_status_id><current_timestamp>sample string 3</current_timestamp><etd>sample string 4</etd><order_id>sample string 2</order_id><scans><ShiprocketWebhookController.ScanDetail><activity>sample string 2</activity><date>sample string 1</date><location>sample string 3</location></ShiprocketWebhookController.ScanDetail><ShiprocketWebhookController.ScanDetail><activity>sample string 2</activity><date>sample string 1</date><location>sample string 3</location></ShiprocketWebhookController.ScanDetail></scans><shipment_status>sample string 5</shipment_status><shipment_status_id>1</shipment_status_id></ShiprocketWebhookController.ShiprocketWebhookModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.