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

URI Parameters

Parameter Name Data Type Required Notes
id integer Y

Request Body

Request object type : DiscountType

Request object type DiscountType has the following properties.
Property Name Data Type Length Required Readonly Notes
Amount decimal number Y
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
PercentIndicator boolean Y
RespectMinimumPrice boolean Y
ShortDescription string 10 Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Amount": 1.0,
  "CreatedDateTime": "2025-04-24T04:10:27.8316698-07:00",
  "CreateLocation": "sample string 2",
  "CreatedBy": "sample string 3",
  "Description": "sample string 4",
  "Id": 1,
  "Inactive": true,
  "PercentIndicator": true,
  "RespectMinimumPrice": true,
  "UpdatedDateTime": "2025-04-24T04:10:27.8316698-07:00",
  "UpdatedBy": "sample string 8",
  "ShortDescription": "sample string 9"
}
<DiscountType xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Amount>1</Amount>
  <CreateLocation>sample string 2</CreateLocation>
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDateTime>2025-04-24T04:10:27.8316698-07:00</CreatedDateTime>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <Inactive>true</Inactive>
  <PercentIndicator>true</PercentIndicator>
  <RespectMinimumPrice>true</RespectMinimumPrice>
  <ShortDescription>sample string 9</ShortDescription>
  <UpdatedBy>sample string 8</UpdatedBy>
  <UpdatedDateTime>2025-04-24T04:10:27.8316698-07:00</UpdatedDateTime>
</DiscountType>

Response object type : DiscountType

Response object type DiscountType has the following properties.
Property Name Data Type Length Required Readonly Notes
Amount decimal number Y
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
PercentIndicator boolean Y
RespectMinimumPrice boolean Y
ShortDescription string 10 Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date Y Auto-assigned
{
  "Amount": 1.0,
  "CreatedDateTime": "2025-04-24T04:10:27.8316698-07:00",
  "CreateLocation": "sample string 2",
  "CreatedBy": "sample string 3",
  "Description": "sample string 4",
  "Id": 1,
  "Inactive": true,
  "PercentIndicator": true,
  "RespectMinimumPrice": true,
  "UpdatedDateTime": "2025-04-24T04:10:27.8316698-07:00",
  "UpdatedBy": "sample string 8",
  "ShortDescription": "sample string 9"
}
<DiscountType xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Amount>1</Amount>
  <CreateLocation>sample string 2</CreateLocation>
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDateTime>2025-04-24T04:10:27.8316698-07:00</CreatedDateTime>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <Inactive>true</Inactive>
  <PercentIndicator>true</PercentIndicator>
  <RespectMinimumPrice>true</RespectMinimumPrice>
  <ShortDescription>sample string 9</ShortDescription>
  <UpdatedBy>sample string 8</UpdatedBy>
  <UpdatedDateTime>2025-04-24T04:10:27.8316698-07:00</UpdatedDateTime>
</DiscountType>
Change Version Description Contract Old New
Parameter Changed 15.0.0 id has been marked as required. Required