POST api/Values/FnGetVersion

Request Information

URI Parameters

None.

Body Parameters

API_INPUT_GET_VERSION
NameDescriptionTypeAdditional information
VERSION_CODE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VERSION_CODE": "sample string 1"
}

application/xml, text/xml

Sample:
<API_INPUT_GET_VERSION xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <VERSION_CODE>sample string 1</VERSION_CODE>
</API_INPUT_GET_VERSION>

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

Response Information

Resource Description

API_RETURN_VERSION
NameDescriptionTypeAdditional information
RESPONSE_MESSAGE

string

None.

RESPONSE_CODE

string

None.

VERSION_CODE

string

None.

DISTANCE_RANGE

string

None.

SURVEY_BOUNDARY_BUFFER_DISTANCE

string

None.

CURRENT_USER_BUFFER_DISTANCE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RESPONSE_MESSAGE": "sample string 1",
  "RESPONSE_CODE": "sample string 2",
  "VERSION_CODE": "sample string 3",
  "DISTANCE_RANGE": "sample string 4",
  "SURVEY_BOUNDARY_BUFFER_DISTANCE": "sample string 5",
  "CURRENT_USER_BUFFER_DISTANCE": "sample string 6"
}

application/xml, text/xml

Sample:
<API_RETURN_VERSION xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <CURRENT_USER_BUFFER_DISTANCE>sample string 6</CURRENT_USER_BUFFER_DISTANCE>
  <DISTANCE_RANGE>sample string 4</DISTANCE_RANGE>
  <RESPONSE_CODE>sample string 2</RESPONSE_CODE>
  <RESPONSE_MESSAGE>sample string 1</RESPONSE_MESSAGE>
  <SURVEY_BOUNDARY_BUFFER_DISTANCE>sample string 5</SURVEY_BOUNDARY_BUFFER_DISTANCE>
  <VERSION_CODE>sample string 3</VERSION_CODE>
</API_RETURN_VERSION>