POST api/Values/FnInsertWhitelistUserDetails

Request Information

URI Parameters

None.

Body Parameters

API_INPUT_WhitelistUser
NameDescriptionTypeAdditional information
USR_DIST

integer

None.

USR_TWN

string

None.

USR_ZONE

integer

None.

USR_WARD

string

None.

USR_ARO

string

None.

USR_CANTEEN_ID

integer

None.

USR_CANTEEN_NAME

string

None.

USR_NAME

string

None.

USR_MOBILENO

integer

None.

USR_ROLE

integer

None.

USR_DESIG

integer

None.

USR_CBY

string

None.

Request Formats

application/json, text/json

Sample:
{
  "USR_DIST": 1,
  "USR_TWN": "sample string 2",
  "USR_ZONE": 3,
  "USR_WARD": "sample string 4",
  "USR_ARO": "sample string 5",
  "USR_CANTEEN_ID": 6,
  "USR_CANTEEN_NAME": "sample string 7",
  "USR_NAME": "sample string 8",
  "USR_MOBILENO": 9,
  "USR_ROLE": 10,
  "USR_DESIG": 11,
  "USR_CBY": "sample string 12"
}

application/xml, text/xml

Sample:
<API_INPUT_WhitelistUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <USR_ARO>sample string 5</USR_ARO>
  <USR_CANTEEN_ID>6</USR_CANTEEN_ID>
  <USR_CANTEEN_NAME>sample string 7</USR_CANTEEN_NAME>
  <USR_CBY>sample string 12</USR_CBY>
  <USR_DESIG>11</USR_DESIG>
  <USR_DIST>1</USR_DIST>
  <USR_MOBILENO>9</USR_MOBILENO>
  <USR_NAME>sample string 8</USR_NAME>
  <USR_ROLE>10</USR_ROLE>
  <USR_TWN>sample string 2</USR_TWN>
  <USR_WARD>sample string 4</USR_WARD>
  <USR_ZONE>3</USR_ZONE>
</API_INPUT_WhitelistUser>

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

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>