POST App/addorder
Request Information
URI Parameters
None.
Body Parameters
Orders| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| OrderDate | date |
None. |
|
| BookingDate | date |
None. |
|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| BookingFrom | string |
None. |
|
| BookingTo | string |
None. |
|
| ConsignorName | string |
None. |
|
| ConsignorAddress | string |
None. |
|
| ConsignorPincode | string |
None. |
|
| ConsigneeName | string |
None. |
|
| ConsigneeAddress | string |
None. |
|
| ConsigneePincode | string |
None. |
|
| ActualWeight | decimal number |
None. |
|
| ChargedWeight | decimal number |
None. |
|
| CargoType | string |
None. |
|
| Item | string |
None. |
|
| Quantity | integer |
None. |
|
| WeightPerUnit | string |
None. |
|
| NoOfUnits | string |
None. |
|
| Remarks | string |
None. |
|
| VehicleType | string |
None. |
|
| VehicleSize | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| PaymentType | string |
None. |
|
| TrackingNo | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| GSTPaidBy | string |
None. |
|
| OrderStatus | string |
None. |
|
| details | Collection of OrderDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"OrderDate": "2026-04-24T22:29:55.6374239-07:00",
"BookingDate": "2026-04-24T22:29:55.6374239-07:00",
"CustomerID": 4,
"CustomerName": "sample string 5",
"BookingFrom": "sample string 6",
"BookingTo": "sample string 7",
"ConsignorName": "sample string 8",
"ConsignorAddress": "sample string 9",
"ConsignorPincode": "sample string 10",
"ConsigneeName": "sample string 11",
"ConsigneeAddress": "sample string 12",
"ConsigneePincode": "sample string 13",
"ActualWeight": 14.1,
"ChargedWeight": 15.1,
"CargoType": "sample string 16",
"Item": "sample string 17",
"Quantity": 18,
"WeightPerUnit": "sample string 19",
"NoOfUnits": "sample string 20",
"Remarks": "sample string 21",
"VehicleType": "sample string 22",
"VehicleSize": "sample string 23",
"TotalAmount": 24.1,
"PaymentType": "sample string 25",
"TrackingNo": "sample string 26",
"CreatedOn": "2026-04-24T22:29:55.6374239-07:00",
"CreatedBy": "sample string 28",
"GSTPaidBy": "sample string 29",
"OrderStatus": "sample string 30",
"details": [
{
"ID": 1,
"OrderID": 2,
"Item": "sample string 3",
"Quantity": 4,
"UOM": "sample string 5",
"Remarks": "sample string 6"
},
{
"ID": 1,
"OrderID": 2,
"Item": "sample string 3",
"Quantity": 4,
"UOM": "sample string 5",
"Remarks": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<Orders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FSLAPI.Models">
<ActualWeight>14.1</ActualWeight>
<BookingDate>2026-04-24T22:29:55.6374239-07:00</BookingDate>
<BookingFrom>sample string 6</BookingFrom>
<BookingTo>sample string 7</BookingTo>
<CargoType>sample string 16</CargoType>
<ChargedWeight>15.1</ChargedWeight>
<ConsigneeAddress>sample string 12</ConsigneeAddress>
<ConsigneeName>sample string 11</ConsigneeName>
<ConsigneePincode>sample string 13</ConsigneePincode>
<ConsignorAddress>sample string 9</ConsignorAddress>
<ConsignorName>sample string 8</ConsignorName>
<ConsignorPincode>sample string 10</ConsignorPincode>
<CreatedBy>sample string 28</CreatedBy>
<CreatedOn>2026-04-24T22:29:55.6374239-07:00</CreatedOn>
<CustomerID>4</CustomerID>
<CustomerName>sample string 5</CustomerName>
<GSTPaidBy>sample string 29</GSTPaidBy>
<Item>sample string 17</Item>
<NoOfUnits>sample string 20</NoOfUnits>
<OrderDate>2026-04-24T22:29:55.6374239-07:00</OrderDate>
<OrderID>1</OrderID>
<OrderStatus>sample string 30</OrderStatus>
<PaymentType>sample string 25</PaymentType>
<Quantity>18</Quantity>
<Remarks>sample string 21</Remarks>
<TotalAmount>24.1</TotalAmount>
<TrackingNo>sample string 26</TrackingNo>
<VehicleSize>sample string 23</VehicleSize>
<VehicleType>sample string 22</VehicleType>
<WeightPerUnit>sample string 19</WeightPerUnit>
<details>
<OrderDetails>
<ID>1</ID>
<Item>sample string 3</Item>
<OrderID>2</OrderID>
<Quantity>4</Quantity>
<Remarks>sample string 6</Remarks>
<UOM>sample string 5</UOM>
</OrderDetails>
<OrderDetails>
<ID>1</ID>
<Item>sample string 3</Item>
<OrderID>2</OrderID>
<Quantity>4</Quantity>
<Remarks>sample string 6</Remarks>
<UOM>sample string 5</UOM>
</OrderDetails>
</details>
</Orders>
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.