Constituencies Test
CRM/Constituencies/{constituencyId}
Update a constituency.
Http Verb PUT
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/CRM/Constituencies/{constituencyId}

URI Parameters

Parameter Name Data Type Required Notes
constituencyId integer Y

Request Body

Request object type : Constituency

Request object type Constituency has the following properties.
Property Name Data Type Length Required Readonly Notes
ConstituencyType ConstituencyTypeSummary Y
Constituent Entity Y
FK: T_CUSTOMER.customer_no   Resource: Constituents
CreatedBy string N Non-updatable
CreatedDateTime date N Non-updatable
CreateLocation string N Non-updatable
EditIndicator boolean
EndDate date
Id integer Y Non-updatable
StartDate date
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Id": 1,
  "ConstituencyType": {
    "Description": "sample string 1",
    "Id": 1,
    "Inactive": true,
    "ShortDescription": "sample string 2",
    "Rank": 3
  },
  "Constituent": {
    "Id": 1
  },
  "EndDate": "2025-04-24T05:18:56.3116833-07:00",
  "StartDate": "2025-04-24T05:18:56.3116833-07:00",
  "CreatedDateTime": "2025-04-24T05:18:56.3116833-07:00",
  "CreateLocation": "sample string 1",
  "CreatedBy": "sample string 2",
  "UpdatedDateTime": "2025-04-24T05:18:56.3116833-07:00",
  "UpdatedBy": "sample string 3",
  "EditIndicator": true
}
<Constituency xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ConstituencyType>
    <Description>sample string 1</Description>
    <Id>1</Id>
    <Inactive>true</Inactive>
    <Rank>3</Rank>
    <ShortDescription>sample string 2</ShortDescription>
  </ConstituencyType>
  <Constituent>
    <Id>1</Id>
  </Constituent>
  <CreateLocation>sample string 1</CreateLocation>
  <CreatedBy>sample string 2</CreatedBy>
  <CreatedDateTime>2025-04-24T05:18:56.3116833-07:00</CreatedDateTime>
  <EditIndicator>true</EditIndicator>
  <EndDate>2025-04-24T05:18:56.3116833-07:00</EndDate>
  <Id>1</Id>
  <StartDate>2025-04-24T05:18:56.3116833-07:00</StartDate>
  <UpdatedBy>sample string 3</UpdatedBy>
  <UpdatedDateTime>2025-04-24T05:18:56.3116833-07:00</UpdatedDateTime>
</Constituency>

Response object type : Constituency

Response object type Constituency has the following properties.
Property Name Data Type Length Required Readonly Notes
ConstituencyType ConstituencyTypeSummary Y
Constituent Entity Y
FK: T_CUSTOMER.customer_no   Resource: Constituents
CreatedBy string N Non-updatable
CreatedDateTime date N Non-updatable
CreateLocation string N Non-updatable
EditIndicator boolean
EndDate date
Id integer Y Non-updatable
StartDate date
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Id": 1,
  "ConstituencyType": {
    "Description": "sample string 1",
    "Id": 1,
    "Inactive": true,
    "ShortDescription": "sample string 2",
    "Rank": 3
  },
  "Constituent": {
    "Id": 1
  },
  "EndDate": "2025-04-24T05:18:56.3273062-07:00",
  "StartDate": "2025-04-24T05:18:56.3273062-07:00",
  "CreatedDateTime": "2025-04-24T05:18:56.3273062-07:00",
  "CreateLocation": "sample string 1",
  "CreatedBy": "sample string 2",
  "UpdatedDateTime": "2025-04-24T05:18:56.3273062-07:00",
  "UpdatedBy": "sample string 3",
  "EditIndicator": true
}
<Constituency xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ConstituencyType>
    <Description>sample string 1</Description>
    <Id>1</Id>
    <Inactive>true</Inactive>
    <Rank>3</Rank>
    <ShortDescription>sample string 2</ShortDescription>
  </ConstituencyType>
  <Constituent>
    <Id>1</Id>
  </Constituent>
  <CreateLocation>sample string 1</CreateLocation>
  <CreatedBy>sample string 2</CreatedBy>
  <CreatedDateTime>2025-04-24T05:18:56.3273062-07:00</CreatedDateTime>
  <EditIndicator>true</EditIndicator>
  <EndDate>2025-04-24T05:18:56.3273062-07:00</EndDate>
  <Id>1</Id>
  <StartDate>2025-04-24T05:18:56.3273062-07:00</StartDate>
  <UpdatedBy>sample string 3</UpdatedBy>
  <UpdatedDateTime>2025-04-24T05:18:56.3273062-07:00</UpdatedDateTime>
</Constituency>
Change Version Description Contract Old New
Parameter Changed 15.0.0 constituencyId has been marked as required. Required