POST api/Values/FnInsertCitizenDetails

Request Information

URI Parameters

None.

Body Parameters

API_INPUT_CitizenDetails
NameDescriptionTypeAdditional information
TRAN_CANTEEN_ID

integer

None.

TRAN_CTZN_NAME

string

None.

TRAN_CTZN_AGE

integer

None.

TRAN_CTZN_SEX

string

None.

TRAN_CTZN_MOBILE

integer

None.

TRAN_CTZN_OTP_VERIFIED

integer

None.

TRAN_CTZN_PHOTO

integer

None.

TRAN_CBY

string

None.

TRAN_LAT_LONG

string

None.

TRAN_MEAL_TYPE

integer

None.

TRAN_CTZN_ADDRESS

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TRAN_CANTEEN_ID": 1,
  "TRAN_CTZN_NAME": "sample string 2",
  "TRAN_CTZN_AGE": 3,
  "TRAN_CTZN_SEX": "sample string 4",
  "TRAN_CTZN_MOBILE": 5,
  "TRAN_CTZN_OTP_VERIFIED": 6,
  "TRAN_CTZN_PHOTO": 7,
  "TRAN_CBY": "sample string 8",
  "TRAN_LAT_LONG": "sample string 9",
  "TRAN_MEAL_TYPE": 10,
  "TRAN_CTZN_ADDRESS": "sample string 11"
}

application/xml, text/xml

Sample:
<API_INPUT_CitizenDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <TRAN_CANTEEN_ID>1</TRAN_CANTEEN_ID>
  <TRAN_CBY>sample string 8</TRAN_CBY>
  <TRAN_CTZN_ADDRESS>sample string 11</TRAN_CTZN_ADDRESS>
  <TRAN_CTZN_AGE>3</TRAN_CTZN_AGE>
  <TRAN_CTZN_MOBILE>5</TRAN_CTZN_MOBILE>
  <TRAN_CTZN_NAME>sample string 2</TRAN_CTZN_NAME>
  <TRAN_CTZN_OTP_VERIFIED>6</TRAN_CTZN_OTP_VERIFIED>
  <TRAN_CTZN_PHOTO>7</TRAN_CTZN_PHOTO>
  <TRAN_CTZN_SEX>sample string 4</TRAN_CTZN_SEX>
  <TRAN_LAT_LONG>sample string 9</TRAN_LAT_LONG>
  <TRAN_MEAL_TYPE>10</TRAN_MEAL_TYPE>
</API_INPUT_CitizenDetails>

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

Response Information

Resource Description

API_RETURN_WHITELIST_USER
NameDescriptionTypeAdditional information
RESPONSE_MESSAGE

string

None.

RESPONSE_CODE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RESPONSE_MESSAGE": "sample string 1",
  "RESPONSE_CODE": "sample string 2"
}

application/xml, text/xml

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