GET api/UserDevices/GetUserDevices

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserDevice
NameDescriptionTypeAdditional information
UserDeviceId

integer

None.

UserId

string

None.

DeviceToken

string

None.

Push

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

AspNetUser

AspNetUser

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "UserDeviceId": 1,
    "UserId": "sample string 2",
    "DeviceToken": "sample string 3",
    "Push": true,
    "CreatedDate": "2018-09-21T02:52:14.0140023+00:00",
    "ModifiedDate": "2018-09-21T02:52:14.0140023+00:00",
    "AspNetUser": {
      "$id": "3",
      "Id": "sample string 1",
      "Email": "sample string 2",
      "EmailConfirmed": true,
      "PasswordHash": "sample string 4",
      "SecurityStamp": "sample string 5",
      "PhoneNumber": "sample string 6",
      "PhoneNumberConfirmed": true,
      "TwoFactorEnabled": true,
      "LockoutEndDateUtc": "2018-09-21T02:52:14.0140023+00:00",
      "LockoutEnabled": true,
      "AccessFailedCount": 10,
      "UserName": "sample string 11",
      "AspNetUserClaims": {
        "$id": "4",
        "$values": [
          {
            "$id": "5",
            "Id": 1,
            "UserId": "sample string 2",
            "ClaimType": "sample string 3",
            "ClaimValue": "sample string 4",
            "AspNetUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "5"
          }
        ]
      },
      "AspNetUserLogins": {
        "$id": "6",
        "$values": [
          {
            "$id": "7",
            "LoginProvider": "sample string 1",
            "ProviderKey": "sample string 2",
            "UserId": "sample string 3",
            "AspNetUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "7"
          }
        ]
      },
      "UserDevices": {
        "$id": "8",
        "$values": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ]
      },
      "AspNetRoles": {
        "$id": "9",
        "$values": [
          {
            "$id": "10",
            "Id": "sample string 1",
            "Name": "sample string 2",
            "AspNetUsers": {
              "$id": "11",
              "$values": [
                {
                  "$ref": "3"
                },
                {
                  "$ref": "3"
                }
              ]
            }
          },
          {
            "$ref": "10"
          }
        ]
      }
    }
  },
  {
    "$ref": "2"
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.