DiscountTypes Test
ReferenceData/DiscountTypes
Create a new discount type.
Http Verb POST
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/ReferenceData/DiscountTypes

URI Parameters

This resource has no URI (Query) parameters.

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 Auto-assigned
CreatedDateTime date N Auto-assigned
CreateLocation string N Auto-assigned
Description string Y
Id integer N Auto-assigned
Inactive boolean
PercentIndicator boolean Y
RespectMinimumPrice boolean Y
ShortDescription string 10 Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date N Auto-assigned
{
  "Amount": 1.0,
  "CreatedDateTime": "2025-04-24T04:03:53.1103591-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:03:53.1103591-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:03:53.1103591-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:03:53.1103591-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 Auto-assigned
CreatedDateTime date N Auto-assigned
CreateLocation string N Auto-assigned
Description string Y
Id integer N Auto-assigned
Inactive boolean
PercentIndicator boolean Y
RespectMinimumPrice boolean Y
ShortDescription string 10 Y
UpdatedBy string N Auto-assigned
UpdatedDateTime date N Auto-assigned
{
  "Amount": 1.0,
  "CreatedDateTime": "2025-04-24T04:03:53.1103591-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:03:53.1103591-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:03:53.1103591-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:03:53.1103591-07:00</UpdatedDateTime>
</DiscountType>

No entries in change log for this operation.