POST api/Orders

Request Information

URI Parameters

None.

Body Parameters

UpdateOrderStatusArgs
NameDescriptionTypeAdditional 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": "a580797b-b283-4a34-aac4-f5058942e95c",
  "Status": 0,
  "StatusDate": "2024-05-17T10:19:23.1160076+00:00",
  "StatusNotes": "sample string 3",
  "ExpectedDeliveryDate": "2024-05-17T10:19:23.1160076+00:00",
  "CustomerCode": "sample string 4",
  "UpdateOrderDetails": [
    {
      "StockDetailId": "ff1fef10-ba9a-4c04-917e-1e2bb1b80bb4",
      "ProductId": "59a23d5b-8096-4844-a1a8-9d9f1c1bd25e",
      "ProviderStatus": 0,
      "ProviderNotes": "sample string 3",
      "ExpectedDeliveryDate": "2024-05-17T10:19:23.1160076+00:00",
      "CurrentStatus": 1,
      "QuantityRequested": 1.1,
      "QuantityAccepted": 1.1,
      "QuantityRejected": 1.1,
      "QuantitySubstituted": 1.1,
      "isOrder": true,
      "isDelivery": true,
      "isInvoice": true
    },
    {
      "StockDetailId": "ff1fef10-ba9a-4c04-917e-1e2bb1b80bb4",
      "ProductId": "59a23d5b-8096-4844-a1a8-9d9f1c1bd25e",
      "ProviderStatus": 0,
      "ProviderNotes": "sample string 3",
      "ExpectedDeliveryDate": "2024-05-17T10:19:23.1160076+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-05-17T10:19:23.1160076+00:00</ExpectedDeliveryDate>
  <OrderId>a580797b-b283-4a34-aac4-f5058942e95c</OrderId>
  <Status>AwaitingPickup</Status>
  <StatusDate>2024-05-17T10:19:23.1160076+00:00</StatusDate>
  <StatusNotes>sample string 3</StatusNotes>
  <UpdateOrderDetails>
    <StockDetailResponse>
      <CurrentStatus>1</CurrentStatus>
      <ExpectedDeliveryDate>2024-05-17T10:19:23.1160076+00:00</ExpectedDeliveryDate>
      <ProductId>59a23d5b-8096-4844-a1a8-9d9f1c1bd25e</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>ff1fef10-ba9a-4c04-917e-1e2bb1b80bb4</StockDetailId>
      <isDelivery>true</isDelivery>
      <isInvoice>true</isInvoice>
      <isOrder>true</isOrder>
    </StockDetailResponse>
    <StockDetailResponse>
      <CurrentStatus>1</CurrentStatus>
      <ExpectedDeliveryDate>2024-05-17T10:19:23.1160076+00:00</ExpectedDeliveryDate>
      <ProductId>59a23d5b-8096-4844-a1a8-9d9f1c1bd25e</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>ff1fef10-ba9a-4c04-917e-1e2bb1b80bb4</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

Order
NameDescriptionTypeAdditional 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.