ContextInformation Test
Security/ContextInformation
Get a commonly used set of default values for the user and usergroup in the current security context.
Http Verb GET
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Security/ContextInformation

URI Parameters

This resource has no URI (Query) parameters.

Request Body

None.

No request body.

Response object type : ContextInformation

Response object type ContextInformation has the following properties.
Property Name Data Type Length Required Readonly Notes
DefaultBatchTypeId integer
DefaultControlGroupId integer
DefaultModeOfSaleId integer
OrganizationId integer
OrganizationName string
P2PeOnly boolean
User User
UserGroup UserGroupSummary
WorkerConstituentId integer
{
  "DefaultBatchTypeId": 1,
  "DefaultControlGroupId": 1,
  "DefaultModeOfSaleId": 1,
  "OrganizationId": 1,
  "WorkerConstituentId": 1,
  "OrganizationName": "sample string 1",
  "User": {
    "Id": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "EmailAddress": "sample string 4",
    "Inactive": true,
    "WorkerConstituentId": 1,
    "Locked": true,
    "ActiveDirectoryUserName": "sample string 7",
    "LoginCount": 8,
    "MaxLogins": 9
  },
  "UserGroup": {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "IsAdmin": true,
    "AllowApp": true,
    "AllowTablet": true,
    "AllowOnTheGo": true,
    "AllowAnalytics": true,
    "Division": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Organization": {
        "Id": 1,
        "Description": "sample string 1",
        "LicenseeAccountCode": "sample string 2"
      }
    }
  },
  "P2PeOnly": true
}
<ContextInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <DefaultBatchTypeId>1</DefaultBatchTypeId>
  <DefaultControlGroupId>1</DefaultControlGroupId>
  <DefaultModeOfSaleId>1</DefaultModeOfSaleId>
  <OrganizationId>1</OrganizationId>
  <OrganizationName>sample string 1</OrganizationName>
  <P2PeOnly>true</P2PeOnly>
  <User>
    <ActiveDirectoryUserName>sample string 7</ActiveDirectoryUserName>
    <EmailAddress>sample string 4</EmailAddress>
    <FirstName>sample string 2</FirstName>
    <Id>sample string 1</Id>
    <Inactive>true</Inactive>
    <LastName>sample string 3</LastName>
    <Locked>true</Locked>
    <LoginCount>8</LoginCount>
    <MaxLogins>9</MaxLogins>
    <WorkerConstituentId>1</WorkerConstituentId>
  </User>
  <UserGroup>
    <AllowAnalytics>true</AllowAnalytics>
    <AllowApp>true</AllowApp>
    <AllowOnTheGo>true</AllowOnTheGo>
    <AllowTablet>true</AllowTablet>
    <Description>sample string 3</Description>
    <Division>
      <Description>sample string 3</Description>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <Organization>
        <Description>sample string 1</Description>
        <Id>1</Id>
        <LicenseeAccountCode>sample string 2</LicenseeAccountCode>
      </Organization>
    </Division>
    <Id>sample string 1</Id>
    <IsAdmin>true</IsAdmin>
    <Name>sample string 2</Name>
  </UserGroup>
  <WorkerConstituentId>1</WorkerConstituentId>
</ContextInformation>

No entries in change log for this operation.