POST api/Order/InsertOrder
Request Information
URI Parameters
None.
Body Parameters
clsInsertOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
None. |
|
| OrderDate | date |
None. |
|
| ClientId | integer |
None. |
|
| ClientName | string |
None. |
|
| SEName | string |
None. |
|
| BillNo | string |
None. |
|
| OrderDetailId | integer |
None. |
|
| Quantity | integer |
None. |
|
| PackageID | integer |
None. |
|
| PackageName | string |
None. |
|
| PackageVersion | integer |
None. |
|
| ApplicationId | integer |
None. |
|
| Validity | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| Standard | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": 1,
"OrderDate": "2025-12-13T10:13:57.7204535+05:30",
"ClientId": 1,
"ClientName": "sample string 2",
"SEName": "sample string 3",
"BillNo": "sample string 4",
"OrderDetailId": 5,
"Quantity": 1,
"PackageID": 1,
"PackageName": "sample string 6",
"PackageVersion": 1,
"ApplicationId": 1,
"Validity": 1,
"CreatedBy": 7,
"Standard": "sample string 8"
}
application/xml, text/xml
Sample:
<clsInsertOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <ApplicationId>1</ApplicationId> <BillNo>sample string 4</BillNo> <ClientId>1</ClientId> <ClientName>sample string 2</ClientName> <CreatedBy>7</CreatedBy> <OrderDate>2025-12-13T10:13:57.7204535+05:30</OrderDate> <OrderDetailId>5</OrderDetailId> <OrderId>1</OrderId> <PackageID>1</PackageID> <PackageName>sample string 6</PackageName> <PackageVersion>1</PackageVersion> <Quantity>1</Quantity> <SEName>sample string 3</SEName> <Standard>sample string 8</Standard> <Validity>1</Validity> </clsInsertOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"ResponseMessage": "sample string 2",
"Id": 3
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <Id>3</Id> <ResponseCode>1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> </APIResponse>