POST api/V3/OrderStatus/CreateOrderStatusesBulkAsync
This API is used to create multiple order status (maximum limit of 100 at once in input)
Request Information
URI Parameters
None.
Body Parameters
Collection of V3.OrderStatusCreateName | Description | Type | Additional information |
---|---|---|---|
OrderID |
Order Id |
integer |
Required |
OrderStatus |
OrderStatus enum |
AttendanceOrderStatus |
Required |
RejectionReason |
Order rejection reason |
string |
None. |
SyncAt |
Synced time at the client end |
date |
Required |
AttributeText1 |
Attribute Text 1 |
string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "OrderID": 1, "OrderStatus": "PendingOrder", "RejectionReason": "sample string 2", "SyncAt": "2025-04-04T05:34:35.0508034+00:00", "AttributeText1": "sample string 4" }, { "OrderID": 1, "OrderStatus": "PendingOrder", "RejectionReason": "sample string 2", "SyncAt": "2025-04-04T05:34:35.0508034+00:00", "AttributeText1": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfOrderStatusCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <OrderStatusCreate> <AttributeText1>sample string 4</AttributeText1> <OrderID>1</OrderID> <OrderStatus>PendingOrder</OrderStatus> <RejectionReason>sample string 2</RejectionReason> <SyncAt xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T05:34:35.0508034Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </SyncAt> </OrderStatusCreate> <OrderStatusCreate> <AttributeText1>sample string 4</AttributeText1> <OrderID>1</OrderID> <OrderStatus>PendingOrder</OrderStatus> <RejectionReason>sample string 2</RejectionReason> <SyncAt xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T05:34:35.0508034Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </SyncAt> </OrderStatusCreate> </ArrayOfOrderStatusCreate>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.