GET api/OmsReporting/customer-service/order-fulfillment/model?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| siteId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ReportingOrderFulfillmentModelResponse
| Name | Description | Type | Additional 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>