WorkerRoles Test
ReferenceData/WorkerRoles/{id}
Update an existing worker role.
Http Verb PUT
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/ReferenceData/WorkerRoles/{id}

URI Parameters

Parameter Name Data Type Required Notes
id integer Y

Request Body

Request object type : WorkerRole

Request object type WorkerRole has the following properties.
Property Name Data Type Length Required Readonly Notes
ControlGroup ControlGroupSummary Y
FK: TR_CONTROL_GROUP.id   Resource: ControlGroups
CreatedBy string N Non-updatable
CreatedDateTime date N Non-updatable
CreateLocation string N Non-updatable
Description string Y
Id integer Y Non-updatable
Inactive boolean Y
ShowInPortfolioDefault boolean Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Description": "sample string 1",
  "Id": 1,
  "Inactive": true,
  "ShowInPortfolioDefault": true,
  "CreatedDateTime": "2025-04-24T04:29:36.4835656-07:00",
  "CreateLocation": "sample string 3",
  "CreatedBy": "sample string 4",
  "UpdatedDateTime": "2025-04-24T04:29:36.4835656-07:00",
  "UpdatedBy": "sample string 5",
  "ControlGroup": {
    "Description": "sample string 1",
    "Id": 2,
    "Inactive": true
  }
}
<WorkerRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ControlGroup>
    <Description>sample string 1</Description>
    <Id>2</Id>
    <Inactive>true</Inactive>
  </ControlGroup>
  <CreateLocation>sample string 3</CreateLocation>
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDateTime>2025-04-24T04:29:36.4835656-07:00</CreatedDateTime>
  <Description>sample string 1</Description>
  <Id>1</Id>
  <Inactive>true</Inactive>
  <ShowInPortfolioDefault>true</ShowInPortfolioDefault>
  <UpdatedBy>sample string 5</UpdatedBy>
  <UpdatedDateTime>2025-04-24T04:29:36.4835656-07:00</UpdatedDateTime>
</WorkerRole>

Response object type : WorkerRole

Response object type WorkerRole has the following properties.
Property Name Data Type Length Required Readonly Notes
ControlGroup ControlGroupSummary Y
FK: TR_CONTROL_GROUP.id   Resource: ControlGroups
CreatedBy string N Non-updatable
CreatedDateTime date N Non-updatable
CreateLocation string N Non-updatable
Description string Y
Id integer Y Non-updatable
Inactive boolean Y
ShowInPortfolioDefault boolean Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Description": "sample string 1",
  "Id": 1,
  "Inactive": true,
  "ShowInPortfolioDefault": true,
  "CreatedDateTime": "2025-04-24T04:29:36.4835656-07:00",
  "CreateLocation": "sample string 3",
  "CreatedBy": "sample string 4",
  "UpdatedDateTime": "2025-04-24T04:29:36.4835656-07:00",
  "UpdatedBy": "sample string 5",
  "ControlGroup": {
    "Description": "sample string 1",
    "Id": 2,
    "Inactive": true
  }
}
<WorkerRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ControlGroup>
    <Description>sample string 1</Description>
    <Id>2</Id>
    <Inactive>true</Inactive>
  </ControlGroup>
  <CreateLocation>sample string 3</CreateLocation>
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDateTime>2025-04-24T04:29:36.4835656-07:00</CreatedDateTime>
  <Description>sample string 1</Description>
  <Id>1</Id>
  <Inactive>true</Inactive>
  <ShowInPortfolioDefault>true</ShowInPortfolioDefault>
  <UpdatedBy>sample string 5</UpdatedBy>
  <UpdatedDateTime>2025-04-24T04:29:36.4835656-07:00</UpdatedDateTime>
</WorkerRole>
Change Version Description Contract Old New
Parameter Changed 15.0.0 id has been marked as required. Required