POST api/OmsInvalidOrderImport/data
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| IsFromSearchModel | boolean |
None. |
|
| OrderNumber | string |
None. |
|
| FilterType | InvalidOrderFilterType |
None. |
|
| ReportStartDate | date |
None. |
|
| ReportEndDate | date |
None. |
|
| SiteID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsFromSearchModel": true,
"OrderNumber": "sample string 2",
"FilterType": 0,
"ReportStartDate": "2025-12-20T13:22:45.0257602+00:00",
"ReportEndDate": "2025-12-20T13:22:45.0257602+00:00",
"SiteID": 3
}
application/xml, text/xml
Sample:
<InvalidOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API"> <FilterType>None</FilterType> <IsFromSearchModel>true</IsFromSearchModel> <OrderNumber>sample string 2</OrderNumber> <ReportEndDate>2025-12-20T13:22:45.0257602+00:00</ReportEndDate> <ReportStartDate>2025-12-20T13:22:45.0257602+00:00</ReportStartDate> <SiteID>3</SiteID> </InvalidOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
|
| Model | InvalidOrderModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2",
"Model": {
"ReportStartDate": "sample string 1",
"ReportEndDate": "sample string 2",
"OrderNumber": "sample string 3",
"Acknowledged": true,
"TimeZone": "sample string 5",
"Culture": null,
"Note": "sample string 6",
"AcknowledgedUsername": "sample string 7",
"FilterType": 0,
"CurrentUsername": "sample string 8",
"IsFromSearchModel": true,
"InvalidOrders": null,
"SiteID": 10,
"IsError": true,
"EnableExport": true,
"ErrorMessages": [
"sample string 1",
"sample string 2"
],
"FilterTypes": null
}
}
application/xml, text/xml
Sample:
<InvalidOrderModelResponse 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:Acknowledged>true</d2p1:Acknowledged>
<d2p1:AcknowledgedUsername>sample string 7</d2p1:AcknowledgedUsername>
<d2p1:Culture xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Globalization" i:nil="true" />
<d2p1:CurrentUsername>sample string 8</d2p1:CurrentUsername>
<d2p1:EnableExport>true</d2p1:EnableExport>
<d2p1:ErrorMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:ErrorMessages>
<d2p1:FilterType>None</d2p1:FilterType>
<d2p1:FilterTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:InvalidOrders xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:IsError>true</d2p1:IsError>
<d2p1:IsFromSearchModel>true</d2p1:IsFromSearchModel>
<d2p1:Note>sample string 6</d2p1:Note>
<d2p1:OrderNumber>sample string 3</d2p1:OrderNumber>
<d2p1:ReportEndDate>sample string 2</d2p1:ReportEndDate>
<d2p1:ReportStartDate>sample string 1</d2p1:ReportStartDate>
<d2p1:SiteID>10</d2p1:SiteID>
<d2p1:TimeZone>sample string 5</d2p1:TimeZone>
</Model>
<ResponseCode>Success</ResponseCode>
</InvalidOrderModelResponse>