POST api/orders/history

Request Information

URI Parameters

None.

Body Parameters

ReturnOrdersHistoryRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Phone

string

None.

Page

integer

None.

PageSize

integer

None.

IncludeActive

boolean

None.

IncludePast

boolean

None.

IncludeCanceledInPast

boolean

None.

From

date

None.

To

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Phone": "sample string 1",
  "Page": 2,
  "PageSize": 3,
  "IncludeActive": true,
  "IncludePast": true,
  "IncludeCanceledInPast": true,
  "From": "2026-01-13T13:48:33.3214144+03:00",
  "To": "2026-01-13T13:48:33.3214144+03:00"
}

application/xml, text/xml

Sample:
<OrdersViewModel.ReturnOrdersHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <CustomerId>1</CustomerId>
  <From>2026-01-13T13:48:33.3214144+03:00</From>
  <IncludeActive>true</IncludeActive>
  <IncludeCanceledInPast>true</IncludeCanceledInPast>
  <IncludePast>true</IncludePast>
  <Page>2</Page>
  <PageSize>3</PageSize>
  <Phone>sample string 1</Phone>
  <To>2026-01-13T13:48:33.3214144+03:00</To>
</OrdersViewModel.ReturnOrdersHistoryRequest>

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 'ReturnOrdersHistoryRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.