POST api/mobile/ListUserDescriptors

Request Information

URI Parameters

None.

Body Parameters

TokenRequestModelBase
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<TokenRequestModelBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.RequestModels">
  <Token>sample string 1</Token>
</TokenRequestModelBase>

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

Response Information

Resource Description

ListDescriptorResponseModel
NameDescriptionTypeAdditional information
Descriptors

Collection of DescriptorResponseModelBase

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Descriptors": [
    {
      "M2M_DescriptorId": 1,
      "Name": "sample string 2",
      "Type": "sample string 3",
      "State": 4
    },
    {
      "M2M_DescriptorId": 1,
      "Name": "sample string 2",
      "Type": "sample string 3",
      "State": 4
    }
  ],
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ListDescriptorResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.ResponseModels">
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Descriptors>
    <DescriptorResponseModelBase>
      <M2M_DescriptorId>1</M2M_DescriptorId>
      <Name>sample string 2</Name>
      <State>4</State>
      <Type>sample string 3</Type>
    </DescriptorResponseModelBase>
    <DescriptorResponseModelBase>
      <M2M_DescriptorId>1</M2M_DescriptorId>
      <Name>sample string 2</Name>
      <State>4</State>
      <Type>sample string 3</Type>
    </DescriptorResponseModelBase>
  </Descriptors>
</ListDescriptorResponseModel>