Version 7.7.3

Back | 

WsDsUser

Returns Digital Signage User

URL Format

/ws/ws_ds_user/api/{api_token}/mode/json/apiv/5/u{user_token}/?user_id={user_id}

Parameters

Name Req Type Description
app_token string The api token for the given account. You can find the api token when navigating through account->api accounts
user_token string The user token
apiv integer The api version; only version 5 supported.
user_id int User id

Possible Responses

  • 1264 DS user found
  • 1265 No DS user found
  • 10 Invalid Parameters
  • 32 Missing Parameter
  • 100 Invalid user token
  • 102 Invalid app token
  • 103 Authentication Required

Example Response

{
  "response": {
    "success": {
      "code": 1264,
      "message": "DS user found",
      "details": ""
    },
    "WsDsUserResponse": {
      "dsUser": {
        "id": 133,
        "userId": 456,
        "clientId": 73,
        "username": "some_user_name",
        "token": "7d8dfee1628e",
        "enabled": 1,
        "consoleUrl": "?_p=login&username=some_user_name&accounttoken=7d8dfee1628e"
      }
    }
  }
}