POST api/Drivify/UpdateOrderStatus
url:api/Driver/UpdateOrderStatus, Purpose: update the status,PickUpTime and DeliveryDateTime against any order, order guid is mandatory.
Request Information
URI Parameters
None.
Body Parameters
OrderStatusValue| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| OrderGuid | string |
None. |
|
| OrderStatus | integer |
None. |
|
| PickUpTime | string |
None. |
|
| DeliveryTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"OrderGuid": "sample string 2",
"OrderStatus": 3,
"PickUpTime": "sample string 4",
"DeliveryTime": "sample string 5"
}
application/xml, text/xml
Sample:
<DrivifyController.OrderStatusValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ML.WebAPI.Controllers"> <DeliveryTime>sample string 5</DeliveryTime> <OrderGuid>sample string 2</OrderGuid> <OrderStatus>3</OrderStatus> <PickUpTime>sample string 4</PickUpTime> <token>sample string 1</token> </DrivifyController.OrderStatusValue>
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.