POST api/GetUserInfo

Request Information

URI Parameters

None.

Body Parameters

RequestGetUserInfo
NameDescriptionTypeAdditional information
Request

Object

None.

ApiToken

string

None.

LoginToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": {},
  "ApiToken": "sample string 2",
  "LoginToken": "sample string 3"
}

application/xml, text/xml

Sample:
<RequestGetUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO">
  <ApiToken>sample string 2</ApiToken>
  <LoginToken>sample string 3</LoginToken>
  <Request />
</RequestGetUserInfo>

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

Response Information

Resource Description

ResponseInfoFlat
NameDescriptionTypeAdditional information
ErrorNumber

integer

None.

ErrorMessage

string

None.

ActionResult

boolean

None.

ResultMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorNumber": 1,
  "ErrorMessage": "sample string 2",
  "ActionResult": true,
  "ResultMessage": "sample string 4",
  "Result": {}
}

application/xml, text/xml

Sample:
<ResponseInfoFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenter.API.DTO.Flat">
  <ActionResult>true</ActionResult>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorNumber>1</ErrorNumber>
  <Result />
  <ResultMessage>sample string 4</ResultMessage>
</ResponseInfoFlat>