POST contracts/doContractAdvancedSearch

Request Information

URI Parameters

None.

Body Parameters

ContractAdvancedSearch
NameDescriptionTypeAdditional information
DivisionID

integer

None.

SubDivision

integer

None.

ContractNo

string

None.

ContractActive

string

None.

ContractStatus

integer

None.

RunCode

string

None.

Rep

integer

None.

StartDateFrom

date

None.

StartDateTo

date

None.

EndDateFrom

date

None.

EndDateTo

date

None.

IncreaseMonth

integer

None.

FirstBillFrom

date

None.

FirstBillTo

date

None.

CreationFrom

date

None.

CreationTo

date

None.

Frequency

integer

None.

PaymentMethod

string

None.

PageNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DivisionID": 1,
  "SubDivision": 1,
  "ContractNo": "sample string 2",
  "ContractActive": "sample string 3",
  "ContractStatus": 1,
  "RunCode": "sample string 4",
  "Rep": 1,
  "StartDateFrom": "2026-04-17T11:34:03.0849004+00:00",
  "StartDateTo": "2026-04-17T11:34:03.0849004+00:00",
  "EndDateFrom": "2026-04-17T11:34:03.0849004+00:00",
  "EndDateTo": "2026-04-17T11:34:03.0849004+00:00",
  "IncreaseMonth": 1,
  "FirstBillFrom": "2026-04-17T11:34:03.0849004+00:00",
  "FirstBillTo": "2026-04-17T11:34:03.0849004+00:00",
  "CreationFrom": "2026-04-17T11:34:03.0849004+00:00",
  "CreationTo": "2026-04-17T11:34:03.0849004+00:00",
  "Frequency": 1,
  "PaymentMethod": "sample string 5",
  "PageNo": 1
}

text/html

Sample:
{"DivisionID":1,"SubDivision":1,"ContractNo":"sample string 2","ContractActive":"sample string 3","ContractStatus":1,"RunCode":"sample string 4","Rep":1,"StartDateFrom":"2026-04-17T11:34:03.0849004+00:00","StartDateTo":"2026-04-17T11:34:03.0849004+00:00","EndDateFrom":"2026-04-17T11:34:03.0849004+00:00","EndDateTo":"2026-04-17T11:34:03.0849004+00:00","IncreaseMonth":1,"FirstBillFrom":"2026-04-17T11:34:03.0849004+00:00","FirstBillTo":"2026-04-17T11:34:03.0849004+00:00","CreationFrom":"2026-04-17T11:34:03.0849004+00:00","CreationTo":"2026-04-17T11:34:03.0849004+00:00","Frequency":1,"PaymentMethod":"sample string 5","PageNo":1}

application/xml, text/xml

Sample:
<ContractAdvancedSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Contracts">
  <ContractActive>sample string 3</ContractActive>
  <ContractNo>sample string 2</ContractNo>
  <ContractStatus>1</ContractStatus>
  <CreationFrom>2026-04-17T11:34:03.0849004+00:00</CreationFrom>
  <CreationTo>2026-04-17T11:34:03.0849004+00:00</CreationTo>
  <DivisionID>1</DivisionID>
  <EndDateFrom>2026-04-17T11:34:03.0849004+00:00</EndDateFrom>
  <EndDateTo>2026-04-17T11:34:03.0849004+00:00</EndDateTo>
  <FirstBillFrom>2026-04-17T11:34:03.0849004+00:00</FirstBillFrom>
  <FirstBillTo>2026-04-17T11:34:03.0849004+00:00</FirstBillTo>
  <Frequency>1</Frequency>
  <IncreaseMonth>1</IncreaseMonth>
  <PageNo>1</PageNo>
  <PaymentMethod>sample string 5</PaymentMethod>
  <Rep>1</Rep>
  <RunCode>sample string 4</RunCode>
  <StartDateFrom>2026-04-17T11:34:03.0849004+00:00</StartDateFrom>
  <StartDateTo>2026-04-17T11:34:03.0849004+00:00</StartDateTo>
  <SubDivision>1</SubDivision>
</ContractAdvancedSearch>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.