POST api/Orders/UpdateOrderStatus
Request Information
URI Parameters
None.
Body Parameters
UpdateOrderStatusArgsName | Description | Type | Additional information |
---|---|---|---|
OrderId | globally unique identifier |
None. |
|
Status | StockOrderStatus |
None. |
|
StatusDate | date |
None. |
|
StatusNotes | string |
None. |
|
ExpectedDeliveryDate | date |
None. |
|
CustomerCode | string |
None. |
|
UpdateOrderDetails | Collection of StockDetailResponse |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": "d56dc5bc-c73c-4f22-9862-00b0cafa72a7", "Status": 0, "StatusDate": "2024-11-23T16:29:07.1433159+00:00", "StatusNotes": "sample string 3", "ExpectedDeliveryDate": "2024-11-23T16:29:07.1433159+00:00", "CustomerCode": "sample string 4", "UpdateOrderDetails": [ { "StockDetailId": "4fd9e5e8-cd10-4dff-9420-98dd26b88201", "ProductId": "8fac78f1-0521-48da-87c4-69fd79f5afa0", "ProviderStatus": 0, "ProviderNotes": "sample string 3", "ExpectedDeliveryDate": "2024-11-23T16:29:07.1433159+00:00", "CurrentStatus": 1, "QuantityRequested": 1.1, "QuantityAccepted": 1.1, "QuantityRejected": 1.1, "QuantitySubstituted": 1.1, "isOrder": true, "isDelivery": true, "isInvoice": true }, { "StockDetailId": "4fd9e5e8-cd10-4dff-9420-98dd26b88201", "ProductId": "8fac78f1-0521-48da-87c4-69fd79f5afa0", "ProviderStatus": 0, "ProviderNotes": "sample string 3", "ExpectedDeliveryDate": "2024-11-23T16:29:07.1433159+00:00", "CurrentStatus": 1, "QuantityRequested": 1.1, "QuantityAccepted": 1.1, "QuantityRejected": 1.1, "QuantitySubstituted": 1.1, "isOrder": true, "isDelivery": true, "isInvoice": true } ] }
application/xml, text/xml
Sample:
<UpdateOrderStatusArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models"> <CustomerCode>sample string 4</CustomerCode> <ExpectedDeliveryDate>2024-11-23T16:29:07.1433159+00:00</ExpectedDeliveryDate> <OrderId>d56dc5bc-c73c-4f22-9862-00b0cafa72a7</OrderId> <Status>AwaitingPickup</Status> <StatusDate>2024-11-23T16:29:07.1433159+00:00</StatusDate> <StatusNotes>sample string 3</StatusNotes> <UpdateOrderDetails> <StockDetailResponse> <CurrentStatus>1</CurrentStatus> <ExpectedDeliveryDate>2024-11-23T16:29:07.1433159+00:00</ExpectedDeliveryDate> <ProductId>8fac78f1-0521-48da-87c4-69fd79f5afa0</ProductId> <ProviderNotes>sample string 3</ProviderNotes> <ProviderStatus>NoComment</ProviderStatus> <QuantityAccepted>1.1</QuantityAccepted> <QuantityRejected>1.1</QuantityRejected> <QuantityRequested>1.1</QuantityRequested> <QuantitySubstituted>1.1</QuantitySubstituted> <StockDetailId>4fd9e5e8-cd10-4dff-9420-98dd26b88201</StockDetailId> <isDelivery>true</isDelivery> <isInvoice>true</isInvoice> <isOrder>true</isOrder> </StockDetailResponse> <StockDetailResponse> <CurrentStatus>1</CurrentStatus> <ExpectedDeliveryDate>2024-11-23T16:29:07.1433159+00:00</ExpectedDeliveryDate> <ProductId>8fac78f1-0521-48da-87c4-69fd79f5afa0</ProductId> <ProviderNotes>sample string 3</ProviderNotes> <ProviderStatus>NoComment</ProviderStatus> <QuantityAccepted>1.1</QuantityAccepted> <QuantityRejected>1.1</QuantityRejected> <QuantityRequested>1.1</QuantityRequested> <QuantitySubstituted>1.1</QuantitySubstituted> <StockDetailId>4fd9e5e8-cd10-4dff-9420-98dd26b88201</StockDetailId> <isDelivery>true</isDelivery> <isInvoice>true</isInvoice> <isOrder>true</isOrder> </StockDetailResponse> </UpdateOrderDetails> </UpdateOrderStatusArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderName | Description | Type | Additional information |
---|---|---|---|
OrderId | globally unique identifier |
None. |
|
CatalogueId | integer |
None. |
|
Catalogue | Catalogue |
None. |
|
UserId | string |
None. |
|
User | ApplicationUser |
None. |
|
SiteCode | integer |
None. |
|
TCPReferenceCode | integer |
None. |
|
TCPTransactionReference | string |
None. |
|
TCPDateGenerated | date |
None. |
|
TCPNote | string |
None. |
|
TCPDateCreated | date |
None. |
|
TCPDateModified | date |
None. |
|
TCPDateDelivery | date |
None. |
|
TCPSupplier | integer |
None. |
|
DateReceived | date |
None. |
|
DateSending | date |
None. |
|
DateSent | date |
None. |
|
DateResponded | date |
None. |
|
DateResponseNotified | date |
None. |
|
DateFailed | date |
None. |
|
CurrentStatus | StockOrderStatus |
None. |
|
Retries | integer |
None. |
|
Attempt | integer |
None. |
|
TCPDiscount | decimal number |
None. |
|
TCPCharge | decimal number |
None. |
|
ExpectedDeliveryDate | date |
None. |
|
Temperature | Temperature |
None. |
|
Details | Collection of OrderDetail |
None. |
|
History | Collection of OrderHistory |
None. |
|
Deliveries | Collection of Delivery |
None. |
|
CustomerCode | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.