POST api/Login

Request Information

URI Parameters

None.

Body Parameters

login_data
NameDescriptionTypeAdditional information
id

string

None.

Request Formats

application/json, text/json

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

text/xml

Sample:
<login_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/registery_api">
  <id>sample string 1</id>
</login_data>

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

Response Information

Resource Description

outdata
NameDescriptionTypeAdditional information
data

DataTable

None.

rowcount

if get data then return count row else return the id row affected

integer

None.

succeed

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": null,
  "rowcount": 1,
  "succeed": true,
  "message": "sample string 3"
}

text/xml

Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/registery_api">
  <data i:nil="true" />
  <message>sample string 3</message>
  <rowcount>1</rowcount>
  <succeed>true</succeed>
</outdata>