POST api/Branches/SendRequest

Request Information

URI Parameters

None.

Body Parameters

RequestEntry
NameDescriptionTypeAdditional information
UserID

integer

None.

SecurityToken

string

None.

DeviceToken

string

None.

vechileTypeId

integer

None.

VechileTypeNumber

integer

None.

targetLat

decimal number

None.

targetLong

decimal number

None.

estimatedFees

decimal number

None.

estimatedDistance

decimal number

None.

estimatedTime

decimal number

None.

pricingMode

string

None.

scopeLevel

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "SecurityToken": "sample string 2",
  "DeviceToken": "sample string 3",
  "vechileTypeId": 4,
  "VechileTypeNumber": 5,
  "targetLat": 1.0,
  "targetLong": 1.0,
  "estimatedFees": 1.0,
  "estimatedDistance": 1.1,
  "estimatedTime": 1.1,
  "pricingMode": "sample string 6",
  "scopeLevel": 7
}

application/xml, text/xml

Sample:
<RequestEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VOOO_MVCAPI.Models.APIBodies">
  <DeviceToken>sample string 3</DeviceToken>
  <SecurityToken>sample string 2</SecurityToken>
  <UserID>1</UserID>
  <VechileTypeNumber>5</VechileTypeNumber>
  <estimatedDistance>1.1</estimatedDistance>
  <estimatedFees>1</estimatedFees>
  <estimatedTime>1.1</estimatedTime>
  <pricingMode>sample string 6</pricingMode>
  <scopeLevel>7</scopeLevel>
  <targetLat>1</targetLat>
  <targetLong>1</targetLong>
  <vechileTypeId>4</vechileTypeId>
</RequestEntry>

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

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.