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": "66f0d04a-d25e-4e11-a6be-cf5a04e883fe",
  "Status": 0,
  "StatusDate": "2024-11-23T16:03:23.6188167+00:00",
  "StatusNotes": "sample string 3",
  "ExpectedDeliveryDate": "2024-11-23T16:03:23.6188167+00:00",
  "CustomerCode": "sample string 4",
  "UpdateOrderDetails": [
    {
      "StockDetailId": "ef8ffcc6-142b-4c50-ab64-03a0e92703c0",
      "ProductId": "d22805b0-5e26-4647-bec4-66abbe590935",
      "ProviderStatus": 0,
      "ProviderNotes": "sample string 3",
      "ExpectedDeliveryDate": "2024-11-23T16:03:23.6188167+00:00",
      "CurrentStatus": 1,
      "QuantityRequested": 1.1,
      "QuantityAccepted": 1.1,
      "QuantityRejected": 1.1,
      "QuantitySubstituted": 1.1,
      "isOrder": true,
      "isDelivery": true,
      "isInvoice": true
    },
    {
      "StockDetailId": "ef8ffcc6-142b-4c50-ab64-03a0e92703c0",
      "ProductId": "d22805b0-5e26-4647-bec4-66abbe590935",
      "ProviderStatus": 0,
      "ProviderNotes": "sample string 3",
      "ExpectedDeliveryDate": "2024-11-23T16:03:23.6188167+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:03:23.6188167+00:00</ExpectedDeliveryDate>
  <OrderId>66f0d04a-d25e-4e11-a6be-cf5a04e883fe</OrderId>
  <Status>AwaitingPickup</Status>
  <StatusDate>2024-11-23T16:03:23.6188167+00:00</StatusDate>
  <StatusNotes>sample string 3</StatusNotes>
  <UpdateOrderDetails>
    <StockDetailResponse>
      <CurrentStatus>1</CurrentStatus>
      <ExpectedDeliveryDate>2024-11-23T16:03:23.6188167+00:00</ExpectedDeliveryDate>
      <ProductId>d22805b0-5e26-4647-bec4-66abbe590935</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>ef8ffcc6-142b-4c50-ab64-03a0e92703c0</StockDetailId>
      <isDelivery>true</isDelivery>
      <isInvoice>true</isInvoice>
      <isOrder>true</isOrder>
    </StockDetailResponse>
    <StockDetailResponse>
      <CurrentStatus>1</CurrentStatus>
      <ExpectedDeliveryDate>2024-11-23T16:03:23.6188167+00:00</ExpectedDeliveryDate>
      <ProductId>d22805b0-5e26-4647-bec4-66abbe590935</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>ef8ffcc6-142b-4c50-ab64-03a0e92703c0</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.