POST api/offer/Offer_All?search={search}&CreatedBy={CreatedBy}&SalonId={SalonId}&ParentId={ParentId}&TodayName={TodayName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
search

string

Default value is

CreatedBy

integer

Default value is 0

SalonId

integer

Default value is 0

ParentId

integer

Default value is 0

TodayName

string

Default value is

Body Parameters

PageParam
NameDescriptionTypeAdditional information
Offset

integer

Range: inclusive between 0 and 2147483647

Limit

integer

Range: inclusive between 1 and 2147483647

IsOffsetProvided

boolean

None.

Page

integer

Range: inclusive between 1 and 2147483647

PageSize

integer

Range: inclusive between 1 and 2147483647

SortBy

string

None.

TotalCount

integer

None.

SortDirection

string

None.

IsPageProvided

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Offset": 1,
  "Limit": 1,
  "IsOffsetProvided": true,
  "Page": 1,
  "PageSize": 1,
  "SortBy": "sample string 1",
  "TotalCount": 2,
  "SortDirection": "sample string 3",
  "IsPageProvided": false
}

text/xml

Sample:
<PageParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Common.Paging">
  <Limit>1</Limit>
  <Offset>1</Offset>
  <Page>1</Page>
  <PageSize>1</PageSize>
  <SortBy>sample string 1</SortBy>
  <SortDirection>sample string 3</SortDirection>
  <TotalCount>2</TotalCount>
</PageParam>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.