POST api/DriverRtoSell/AddDriverResellOrder

Request Information

URI Parameters

None.

Body Parameters

AddDriverResellOrder
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddDriverResellOrder'.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional 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": "2024/09/19 18:20:52",
  "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>