GET v1/usersettings/{name}

This method requires authentication.

Get the UserSettings for a user based on their username.

Request Information

Parameters

NameDescriptionAdditional information
name The username of the settings.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "userSettings": {
    "id": "sample string 1",
    "displayTwentyFourHourTime": true,
    "defaultLocation": 1,
    "defaultChannel": 1,
    "deviceAssignmentsMode": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <UserSettings>
    <DefaultChannel>1</DefaultChannel>
    <DefaultLocation>1</DefaultLocation>
    <DeviceAssignmentsMode>sample string 3</DeviceAssignmentsMode>
    <DisplayTwentyFourHourTime>true</DisplayTwentyFourHourTime>
    <Id>sample string 1</Id>
  </UserSettings>
</Resources>