POST api/OmsReporting/customer-service/order-fulfillment

Request Information

URI Parameters

None.

Body Parameters

SiteStartEndDateRequest

NameDescriptionTypeAdditional Information
StartDate

date

None.

EndDate

date

None.

SiteId

integer

None.

SearchByInvoiceDate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2025-12-20T13:09:10.2038664+00:00",
  "EndDate": "2025-12-20T13:09:10.2038664+00:00",
  "SiteId": 1,
  "SearchByInvoiceDate": true
}

application/xml, text/xml

Sample:
<SiteStartEndDateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API">
  <EndDate>2025-12-20T13:09:10.2038664+00:00</EndDate>
  <SearchByInvoiceDate>true</SearchByInvoiceDate>
  <SiteId>1</SiteId>
  <StartDate>2025-12-20T13:09:10.2038664+00:00</StartDate>
</SiteStartEndDateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportingOrderFulfillmentModelResponse

NameDescriptionTypeAdditional Information
ResponseCode

APIResponseCodes

None.

Message

string

None.

CorrelationId

string

None.

Model

ReportingOrderFulfillmentModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 0,
  "Message": "sample string 1",
  "CorrelationId": "sample string 2",
  "Model": {
    "Sites": null,
    "CurrentSite": 1,
    "ReportStartDate": "sample string 2",
    "ReportEndDate": "sample string 3",
    "Results": {
      "sample string 1": 2.0,
      "sample string 3": 4.0
    },
    "Avg3Day": 4.0,
    "Avg7Day": 5.0,
    "Avg30Day": 6.0,
    "AvgRange": 7.0,
    "EnableExport": true
  }
}

application/xml, text/xml

Sample:
<ReportingOrderFulfillmentModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API">
  <CorrelationId>sample string 2</CorrelationId>
  <Message>sample string 1</Message>
  <Model xmlns:d2p1="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models">
    <d2p1:Avg30Day>6</d2p1:Avg30Day>
    <d2p1:Avg3Day>4</d2p1:Avg3Day>
    <d2p1:Avg7Day>5</d2p1:Avg7Day>
    <d2p1:AvgRange>7</d2p1:AvgRange>
    <d2p1:CurrentSite>1</d2p1:CurrentSite>
    <d2p1:EnableExport>true</d2p1:EnableExport>
    <d2p1:ReportEndDate>sample string 3</d2p1:ReportEndDate>
    <d2p1:ReportStartDate>sample string 2</d2p1:ReportStartDate>
    <d2p1:Results xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringdecimal>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>2</d3p1:Value>
      </d3p1:KeyValueOfstringdecimal>
      <d3p1:KeyValueOfstringdecimal>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>4</d3p1:Value>
      </d3p1:KeyValueOfstringdecimal>
    </d2p1:Results>
    <d2p1:Sites xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  </Model>
  <ResponseCode>Success</ResponseCode>
</ReportingOrderFulfillmentModelResponse>