GET api/OmsInvalidOrderImport/model?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
siteId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

InvalidOrderModelResponse

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