POST api/IClassUsers/DeviceInfobyIclassUserId

Request Information

URI Parameters

None.

Body Parameters

clsGetDeviceInfoRequest
NameDescriptionTypeAdditional information
iClassUserId

integer

None.

MobileNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "iClassUserId": 1,
  "MobileNo": "sample string 2"
}

application/xml, text/xml

Sample:
<clsGetDeviceInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <MobileNo>sample string 2</MobileNo>
  <iClassUserId>1</iClassUserId>
</clsGetDeviceInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsGetDeviceInfoResponse
NameDescriptionTypeAdditional information
lst

Collection of clsGetDeviceInfoResponselst

None.

TokenId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "lst": [
    {
      "DeviceInfoId": 1,
      "DeviceName": "sample string 2",
      "LastLogin": "sample string 3"
    },
    {
      "DeviceInfoId": 1,
      "DeviceName": "sample string 2",
      "LastLogin": "sample string 3"
    }
  ],
  "TokenId": 1
}

application/xml, text/xml

Sample:
<clsGetDeviceInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <TokenId>1</TokenId>
  <lst>
    <clsGetDeviceInfoResponselst>
      <DeviceInfoId>1</DeviceInfoId>
      <DeviceName>sample string 2</DeviceName>
      <LastLogin>sample string 3</LastLogin>
    </clsGetDeviceInfoResponselst>
    <clsGetDeviceInfoResponselst>
      <DeviceInfoId>1</DeviceInfoId>
      <DeviceName>sample string 2</DeviceName>
      <LastLogin>sample string 3</LastLogin>
    </clsGetDeviceInfoResponselst>
  </lst>
</clsGetDeviceInfoResponse>