POST App/addorder
Request Information
URI Parameters
None.
Body Parameters
Orders| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| OrderDate | date |
None. |
|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| BookingFrom | string |
None. |
|
| ConsignorName | string |
None. |
|
| ConsignorAddress | string |
None. |
|
| ConsigneeName | string |
None. |
|
| ConsigneeAddress | string |
None. |
|
| Quantity | integer |
None. |
|
| UOM | string |
None. |
|
| ActualWeight | decimal number |
None. |
|
| ChargedWeight | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| PaymentDetails | string |
None. |
|
| TrackingNo | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| GSTPaidBy | string |
None. |
|
| PaymentType | string |
None. |
|
| OrderStatus | string |
None. |
|
| details | Collection of OrderDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"OrderDate": "2025-12-23T09:45:02.4360377-08:00",
"CustomerID": 3,
"CustomerName": "sample string 4",
"BookingFrom": "sample string 5",
"ConsignorName": "sample string 6",
"ConsignorAddress": "sample string 7",
"ConsigneeName": "sample string 8",
"ConsigneeAddress": "sample string 9",
"Quantity": 10,
"UOM": "sample string 11",
"ActualWeight": 12.1,
"ChargedWeight": 13.1,
"TotalAmount": 14.1,
"PaymentDetails": "sample string 15",
"TrackingNo": "sample string 16",
"CreatedOn": "2025-12-23T09:45:02.4360377-08:00",
"CreatedBy": "sample string 18",
"GSTPaidBy": "sample string 19",
"PaymentType": "sample string 20",
"OrderStatus": "sample string 21",
"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>12.1</ActualWeight>
<BookingFrom>sample string 5</BookingFrom>
<ChargedWeight>13.1</ChargedWeight>
<ConsigneeAddress>sample string 9</ConsigneeAddress>
<ConsigneeName>sample string 8</ConsigneeName>
<ConsignorAddress>sample string 7</ConsignorAddress>
<ConsignorName>sample string 6</ConsignorName>
<CreatedBy>sample string 18</CreatedBy>
<CreatedOn>2025-12-23T09:45:02.4360377-08:00</CreatedOn>
<CustomerID>3</CustomerID>
<CustomerName>sample string 4</CustomerName>
<GSTPaidBy>sample string 19</GSTPaidBy>
<OrderDate>2025-12-23T09:45:02.4360377-08:00</OrderDate>
<OrderID>1</OrderID>
<OrderStatus>sample string 21</OrderStatus>
<PaymentDetails>sample string 15</PaymentDetails>
<PaymentType>sample string 20</PaymentType>
<Quantity>10</Quantity>
<TotalAmount>14.1</TotalAmount>
<TrackingNo>sample string 16</TrackingNo>
<UOM>sample string 11</UOM>
<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.