POST api/Login/LoginInterface

Request Information

URI Parameters

None.

Body Parameters

InterfaceLogin
NameDescriptionTypeAdditional information
type

string

None.

code

integer

None.

pPassword

string

None.

interfaceName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "type": "sample string 1",
  "code": 1,
  "pPassword": "sample string 2",
  "interfaceName": "sample string 3"
}

application/xml, text/xml

Sample:
<InterfaceLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <code>1</code>
  <interfaceName>sample string 3</interfaceName>
  <pPassword>sample string 2</pPassword>
  <type>sample string 1</type>
</InterfaceLogin>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

ConnDataForInterface
NameDescriptionTypeAdditional information
Token

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.