POST api/DriverRtoSell/AddDriverResellOrder
Request Information
URI Parameters
None.
Body Parameters
AddDriverResellOrderName | Description | Type | Additional information |
---|---|---|---|
addDriverResellOrderResponse | addDriverResellOrderResponse |
None. |
|
driverId | integer |
None. |
|
paymentType | integer |
None. |
|
customerLat | string |
None. |
|
customerLong | string |
None. |
|
guuId | string |
None. |
|
isOrderDeliverDiffLocation | integer |
None. |
|
hubId | integer |
None. |
|
customerName | string |
None. |
|
customerPhone | string |
None. |
|
LoggedInUser | integer |
None. |
|
driverResellOrderList | Collection of driverResellOrderList |
None. |
|
CountryCode | integer |
None. |
|
discount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "addDriverResellOrderResponse": { "orderId": 1 }, "driverId": 1, "paymentType": 2, "customerLat": "sample string 3", "customerLong": "sample string 4", "guuId": "sample string 5", "isOrderDeliverDiffLocation": 6, "hubId": 7, "customerName": "sample string 8", "customerPhone": "sample string 9", "LoggedInUser": 10, "driverResellOrderList": [ { "skuId": 1, "unitPrice": 2.0, "sellQty": 3, "bundleSkuId": 4 }, { "skuId": 1, "unitPrice": 2.0, "sellQty": 3, "bundleSkuId": 4 } ], "CountryCode": 11, "discount": 12.0 }
application/xml, text/xml
Sample:
<AddDriverResellOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <CountryCode>11</CountryCode> <LoggedInUser>10</LoggedInUser> <addDriverResellOrderResponse> <orderId>1</orderId> </addDriverResellOrderResponse> <customerLat>sample string 3</customerLat> <customerLong>sample string 4</customerLong> <customerName>sample string 8</customerName> <customerPhone>sample string 9</customerPhone> <discount>12</discount> <driverId>1</driverId> <driverResellOrderList> <driverResellOrderList> <bundleSkuId>4</bundleSkuId> <sellQty>3</sellQty> <skuId>1</skuId> <unitPrice>2</unitPrice> </driverResellOrderList> <driverResellOrderList> <bundleSkuId>4</bundleSkuId> <sellQty>3</sellQty> <skuId>1</skuId> <unitPrice>2</unitPrice> </driverResellOrderList> </driverResellOrderList> <guuId>sample string 5</guuId> <hubId>7</hubId> <isOrderDeliverDiffLocation>6</isOrderDeliverDiffLocation> <paymentType>2</paymentType> </AddDriverResellOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 06:56:00", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>