POST api/seller/{id}/sales

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Cyberlogic.eTourism.Infrastructure.Requests.DataGrids.DevExpressGridRequest
NameDescriptionTypeAdditional information
Take

integer

None.

Skip

integer

None.

Sort

Collection of Cyberlogic.eTourism.Infrastructure.Requests.DataGrids.DevExpressSort

None.

Filter

Cyberlogic.eTourism.Infrastructure.Requests.DataGrids.DevExpressFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "Take": 1,
  "Skip": 2,
  "Sort": [
    {
      "Selector": "sample string 1",
      "Desc": true
    },
    {
      "Selector": "sample string 1",
      "Desc": true
    }
  ],
  "Filter": {
    "Filters": [
      {
        "Logic": "sample string 1",
        "Field": "sample string 2",
        "Operator": "sample string 3",
        "Value": "sample string 4"
      },
      {
        "Logic": "sample string 1",
        "Field": "sample string 2",
        "Operator": "sample string 3",
        "Value": "sample string 4"
      }
    ]
  }
}

text/html

Sample:
{"Take":1,"Skip":2,"Sort":[{"Selector":"sample string 1","Desc":true},{"Selector":"sample string 1","Desc":true}],"Filter":{"Filters":[{"Logic":"sample string 1","Field":"sample string 2","Operator":"sample string 3","Value":"sample string 4"},{"Logic":"sample string 1","Field":"sample string 2","Operator":"sample string 3","Value":"sample string 4"}]}}

application/xml, text/xml

Sample:
<DevExpressGridRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Infrastructure.Requests.DataGrids">
  <Filter>
    <Filters>
      <DevExpressFilterItem>
        <Field>sample string 2</Field>
        <Logic>sample string 1</Logic>
        <Operator>sample string 3</Operator>
        <Value>sample string 4</Value>
      </DevExpressFilterItem>
      <DevExpressFilterItem>
        <Field>sample string 2</Field>
        <Logic>sample string 1</Logic>
        <Operator>sample string 3</Operator>
        <Value>sample string 4</Value>
      </DevExpressFilterItem>
    </Filters>
  </Filter>
  <Skip>2</Skip>
  <Sort>
    <DevExpressSort>
      <Desc>true</Desc>
      <Selector>sample string 1</Selector>
    </DevExpressSort>
    <DevExpressSort>
      <Desc>true</Desc>
      <Selector>sample string 1</Selector>
    </DevExpressSort>
  </Sort>
  <Take>1</Take>
</DevExpressGridRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.