POST {bucket}/order
Creates the specified entity.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bucket | string |
None. |
Body Parameters
The entity.
OrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ExternalId | string |
String length: inclusive between 0 and 50 |
|
| RefOrderType | integer |
Required |
|
| CustomerId | integer |
Required |
|
| SourceId | integer |
Required |
|
| CreatedAt | date |
Data type: Date |
|
| CreatedBy | string |
String length: inclusive between 0 and 50 |
|
| UpdatedAt | date |
Data type: Date |
|
| UpdatedBy | string |
String length: inclusive between 0 and 50 |
|
| LastHistoryId | integer |
None. |
|
| IsEnabled | boolean |
Required |
|
| ListOrderStatus | Collection of OrderStatusModel |
None. |
|
| PlugList | PlugListModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ExternalId": "sample string 2",
"RefOrderType": 3,
"CustomerId": 4,
"SourceId": 5,
"CreatedAt": "2025-12-14T20:26:44.4934585+01:00",
"CreatedBy": "sample string 6",
"UpdatedAt": "2025-12-14T20:26:44.4934585+01:00",
"UpdatedBy": "sample string 7",
"LastHistoryId": 1,
"IsEnabled": true,
"ListOrderStatus": [
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:26:44.4934585+01:00",
"CreatedBy": "sample string 5"
},
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:26:44.4934585+01:00",
"CreatedBy": "sample string 5"
}
],
"PlugList": {
"Id": 1,
"FamilyId": 2,
"Code": "sample string 3",
"Label": "sample string 4"
}
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.