POST api/ClientOperation/LoadOrderHistory

Request Information

URI Parameters

None.

Body Parameters

OrderHistoryEnt
NameDescriptionTypeAdditional information
ClientId

integer

None.

OrderStatus

string

None.

MonthId

integer

None.

YearId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "OrderStatus": "sample string 2",
  "MonthId": 3,
  "YearId": 4
}

application/xml, text/xml

Sample:
<OrderHistoryEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.RiceEnt">
  <ClientId>1</ClientId>
  <MonthId>3</MonthId>
  <OrderStatus>sample string 2</OrderStatus>
  <YearId>4</YearId>
</OrderHistoryEnt>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderHistoryEnt'.

Response Information

Resource Description

Collection of OrderHistoryResult
NameDescriptionTypeAdditional information
mResult

string

None.

OrderId

integer

None.

ClientId

integer

None.

OrderStatus

string

None.

DeliveryPerson

string

None.

DeliveryContact

string

None.

RejectionReason

string

None.

LastUpdated

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "mResult": "sample string 1",
    "OrderId": 2,
    "ClientId": 3,
    "OrderStatus": "sample string 4",
    "DeliveryPerson": "sample string 5",
    "DeliveryContact": "sample string 6",
    "RejectionReason": "sample string 7",
    "LastUpdated": "sample string 8"
  },
  {
    "mResult": "sample string 1",
    "OrderId": 2,
    "ClientId": 3,
    "OrderStatus": "sample string 4",
    "DeliveryPerson": "sample string 5",
    "DeliveryContact": "sample string 6",
    "RejectionReason": "sample string 7",
    "LastUpdated": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderHistoryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.RiceEnt">
  <OrderHistoryResult>
    <ClientId>3</ClientId>
    <DeliveryContact>sample string 6</DeliveryContact>
    <DeliveryPerson>sample string 5</DeliveryPerson>
    <LastUpdated>sample string 8</LastUpdated>
    <OrderId>2</OrderId>
    <OrderStatus>sample string 4</OrderStatus>
    <RejectionReason>sample string 7</RejectionReason>
    <mResult>sample string 1</mResult>
  </OrderHistoryResult>
  <OrderHistoryResult>
    <ClientId>3</ClientId>
    <DeliveryContact>sample string 6</DeliveryContact>
    <DeliveryPerson>sample string 5</DeliveryPerson>
    <LastUpdated>sample string 8</LastUpdated>
    <OrderId>2</OrderId>
    <OrderStatus>sample string 4</OrderStatus>
    <RejectionReason>sample string 7</RejectionReason>
    <mResult>sample string 1</mResult>
  </OrderHistoryResult>
</ArrayOfOrderHistoryResult>