POST api/VTL/getCompanyList

Request Information

URI Parameters

None.

Body Parameters

CompanyRequest
NameDescriptionTypeAdditional information
CompanyId

Collection of integer

None.

UserId

integer

None.

LoginType

string

None.

TransporterId

integer

None.

ClientId

integer

None.

StartDate

string

None.

EndDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": [
    1,
    2
  ],
  "UserId": 1,
  "LoginType": "sample string 2",
  "TransporterId": 3,
  "ClientId": 4,
  "StartDate": "sample string 5",
  "EndDate": "sample string 6"
}

application/xml, text/xml

Sample:
<CompanyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.VTL">
  <ClientId>4</ClientId>
  <CompanyId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CompanyId>
  <EndDate>sample string 6</EndDate>
  <LoginType>sample string 2</LoginType>
  <StartDate>sample string 5</StartDate>
  <TransporterId>3</TransporterId>
  <UserId>1</UserId>
</CompanyRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.