POST Account/UnlinkedConnection

Request Information

URI Parameters

None.

Body Parameters

Connection
NameDescriptionTypeAdditional information
UserIdenCardConnectionID

integer

None.

UserID

integer

None.

UserName

string

None.

ConnectUserID

integer

None.

ConnectUserName

string

None.

ConnectStatus

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserIdenCardConnectionID": 1,
  "UserID": 2,
  "UserName": "sample string 3",
  "ConnectUserID": 4,
  "ConnectUserName": "sample string 5",
  "ConnectStatus": "sample string 6"
}

application/xml, text/xml

Sample:
<Connection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <ConnectStatus>sample string 6</ConnectStatus>
  <ConnectUserID>4</ConnectUserID>
  <ConnectUserName>sample string 5</ConnectUserName>
  <UserID>2</UserID>
  <UserIdenCardConnectionID>1</UserIdenCardConnectionID>
  <UserName>sample string 3</UserName>
</Connection>

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

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
status

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "code": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonHelper.ResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api">
  <code>2</code>
  <message>sample string 3</message>
  <status>1</status>
</CommonHelper.ResponseMessage>