POST api/login/MqttClientAuthVerify

Request Information

URI Parameters

None.

Body Parameters

MqttVerifyReq
NameDescriptionTypeAdditional information
userId

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<MqttVerifyReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.WebApi.Controllers">
  <password>sample string 2</password>
  <userId>sample string 1</userId>
</MqttVerifyReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/plain

Sample:

Sample not available.

Response Information

Resource Description

MqttVerifyResp
NameDescriptionTypeAdditional information
result

string

None.

is_superuser

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "sample string 1",
  "is_superuser": true
}

application/xml, text/xml

Sample:
<MqttVerifyResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.WebApi.Controllers">
  <is_superuser>true</is_superuser>
  <result>sample string 1</result>
</MqttVerifyResp>