GET v1/usersession

Get an updated UserSession object.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "user": "sample string 1",
  "permissions": {
    "sample string 1": {
      "sample string 1": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 2": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 3": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "sample string 2": {
      "sample string 1": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 2": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 3": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "sample string 3": {
      "sample string 1": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 2": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "sample string 3": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  }
}

application/xml, text/xml

Sample:
<Session xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.Controllers.api.v1">
  <Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 2</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 3</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
    <d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Value>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 2</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 3</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
    <d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 2</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d2p1:Key>sample string 3</d2p1:Key>
          <d2p1:Value>
            <d2p1:string>sample string 1</d2p1:string>
            <d2p1:string>sample string 2</d2p1:string>
            <d2p1:string>sample string 3</d2p1:string>
          </d2p1:Value>
        </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfKeyValueOfstringArrayOfstringty7Ep6D1ty7Ep6D1>
  </Permissions>
  <User>sample string 1</User>
</Session>