POST api/CashNow/get-cashnow-agents

Request Information

URI Parameters

None.

Body Parameters

GetCashNowAgents
NameDescriptionTypeAdditional information
Distance

integer

Required

Matching regular expression pattern: ^[0-9]+$

Longitude

decimal number

Required

Latitude

decimal number

Required

TotalNumber

integer

None.

Id

integer

None.

AgentTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentTypeId": 6,
  "Distance": 1,
  "Id": 5,
  "Latitude": 3.1,
  "Longitude": 2.1,
  "TotalNumber": 4
}

text/xml

Sample:
<GetCashNowAgents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTWorldApp.dto">
  <AgentTypeId>6</AgentTypeId>
  <Distance>1</Distance>
  <Id>5</Id>
  <Latitude>3.1</Latitude>
  <Longitude>2.1</Longitude>
  <TotalNumber>4</TotalNumber>
</GetCashNowAgents>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.