ProductionSeasons Test
TXN/ProductionSeasons/Search
Search for production seasons

Returns production seasons matching the specified search criteria.
Http Verb POST
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/TXN/ProductionSeasons/Search

URI Parameters

This resource has no URI (Query) parameters.

Request Body

Request object type : ProductionSeasonSearchRequest

Request object type ProductionSeasonSearchRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
ArtistIds string N A comma seperated list of artist Ids. Only production seasons with at least one performance with a credit for the passed artists will be returned.
FK: T_ARTIST.art_no   Resource: Artists
BusinessUnitId integer N Only production seasons assigned to this business unit (which is based on season) will be included in the result set.
FK: TR_BU.id   Resource: BusinessUnits
ConstituentId integer N If passed, is used to calculate a 'weight' for each production season, based on production keywords and constituent interests.
FK: T_CUSTOMER.customer_no   Resource: Constituents
FacilityIds string N A comma seperated list of facility IDs. Only production seasons with at least one performance in the passed facilities will be returned.
FK: T_FACILITY.facil_no   Resource: Facilities
FullTextSearch string Full Text search criteria, using the FreetextTable syntax.
KeywordAndOr string N Send 'And' to require all performances to have all the keywords specified. Send 'Or' to require the performances to have only one of the keywords.
KeywordIds string N A comma seperated list of keyword Ids. Only production seasons with at least one performance with a passed keyword will be returned. The KeywordAndOr parameter controls if all keywords or only one must be present.
FK: TR_TKW.id   Resource: ProductKeywords
MatchAllPerformances boolean Pass True if all performances in the production season have to match the performance criteria supplied. Pass False if only one of the performances in the production season have to match. Performance Critera are date range, facility, artist, keywords, full text search and mode of sale.
ModeOfSaleId integer N Only production seasons with at least one performance with this mode of sale will be included in the result set.
FK: TR_MOS.id   Resource: ModesOfSale
PerformanceEndDate date At least one of a production season’s performances must fall on or before this date to be included in the result set.
PerformanceStartDate date At least one of a production season’s performances must fall on or after this date to be included in the result set.
SeasonIds string N A comma-delimited list of season IDs. Only production seasons in one of the passed seasons will be returned.
FK: TR_SEASON.id   Resource: Seasons
{
  "ArtistIds": "sample string 1",
  "BusinessUnitId": 1,
  "ModeOfSaleId": 1,
  "FacilityIds": "sample string 2",
  "FullTextSearch": "sample string 3",
  "KeywordAndOr": "sample string 4",
  "KeywordIds": "sample string 5",
  "PerformanceEndDate": "2025-04-24T05:12:16.0306119-07:00",
  "PerformanceStartDate": "2025-04-24T05:12:16.0306119-07:00",
  "SeasonIds": "sample string 6",
  "ConstituentId": 1,
  "MatchAllPerformances": true
}
<ProductionSeasonSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ArtistIds>sample string 1</ArtistIds>
  <BusinessUnitId>1</BusinessUnitId>
  <ConstituentId>1</ConstituentId>
  <FacilityIds>sample string 2</FacilityIds>
  <FullTextSearch>sample string 3</FullTextSearch>
  <KeywordAndOr>sample string 4</KeywordAndOr>
  <KeywordIds>sample string 5</KeywordIds>
  <MatchAllPerformances>true</MatchAllPerformances>
  <ModeOfSaleId>1</ModeOfSaleId>
  <PerformanceEndDate>2025-04-24T05:12:16.0306119-07:00</PerformanceEndDate>
  <PerformanceStartDate>2025-04-24T05:12:16.0306119-07:00</PerformanceStartDate>
  <SeasonIds>sample string 6</SeasonIds>
</ProductionSeasonSearchRequest>

Response object type : Collection of ProductionSeasonSearchResponse

Response object type Collection of ProductionSeasonSearchResponse has the following properties.
Property Name Data Type Length Required Readonly Notes
ConstituentInterestWeight integer
FirstPerformanceDate date
LastPerformanceDate date
PremiereDescription string
Production EntitySummary
ProductionSeasonDescription string
ProductionSeasonId integer
Season SeasonSummary
ShortName string
Text1 string
Text2 string
Text3 string
Text4 string
[
  {
    "ProductionSeasonId": 1,
    "ProductionSeasonDescription": "sample string 2",
    "FirstPerformanceDate": "2025-04-24T05:12:16.0462233-07:00",
    "LastPerformanceDate": "2025-04-24T05:12:16.0462233-07:00",
    "PremiereDescription": "sample string 3",
    "Production": {
      "Id": 1,
      "Description": "sample string 2"
    },
    "ConstituentInterestWeight": 1,
    "Season": {
      "Id": 1,
      "Description": "sample string 1",
      "FYear": 1,
      "Inactive": true
    },
    "ShortName": "sample string 4",
    "Text1": "sample string 5",
    "Text2": "sample string 6",
    "Text3": "sample string 7",
    "Text4": "sample string 8"
  },
  {
    "ProductionSeasonId": 1,
    "ProductionSeasonDescription": "sample string 2",
    "FirstPerformanceDate": "2025-04-24T05:12:16.0462233-07:00",
    "LastPerformanceDate": "2025-04-24T05:12:16.0462233-07:00",
    "PremiereDescription": "sample string 3",
    "Production": {
      "Id": 1,
      "Description": "sample string 2"
    },
    "ConstituentInterestWeight": 1,
    "Season": {
      "Id": 1,
      "Description": "sample string 1",
      "FYear": 1,
      "Inactive": true
    },
    "ShortName": "sample string 4",
    "Text1": "sample string 5",
    "Text2": "sample string 6",
    "Text3": "sample string 7",
    "Text4": "sample string 8"
  }
]
<ProductionSeasonSearchResponses xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ProductionSeasonSearchResponse>
    <ConstituentInterestWeight>1</ConstituentInterestWeight>
    <FirstPerformanceDate>2025-04-24T05:12:16.0462233-07:00</FirstPerformanceDate>
    <LastPerformanceDate>2025-04-24T05:12:16.0462233-07:00</LastPerformanceDate>
    <PremiereDescription>sample string 3</PremiereDescription>
    <Production>
      <Description>sample string 2</Description>
      <Id>1</Id>
    </Production>
    <ProductionSeasonDescription>sample string 2</ProductionSeasonDescription>
    <ProductionSeasonId>1</ProductionSeasonId>
    <Season>
      <Description>sample string 1</Description>
      <FYear>1</FYear>
      <Id>1</Id>
      <Inactive>true</Inactive>
    </Season>
    <ShortName>sample string 4</ShortName>
    <Text1>sample string 5</Text1>
    <Text2>sample string 6</Text2>
    <Text3>sample string 7</Text3>
    <Text4>sample string 8</Text4>
  </ProductionSeasonSearchResponse>
  <ProductionSeasonSearchResponse>
    <ConstituentInterestWeight>1</ConstituentInterestWeight>
    <FirstPerformanceDate>2025-04-24T05:12:16.0462233-07:00</FirstPerformanceDate>
    <LastPerformanceDate>2025-04-24T05:12:16.0462233-07:00</LastPerformanceDate>
    <PremiereDescription>sample string 3</PremiereDescription>
    <Production>
      <Description>sample string 2</Description>
      <Id>1</Id>
    </Production>
    <ProductionSeasonDescription>sample string 2</ProductionSeasonDescription>
    <ProductionSeasonId>1</ProductionSeasonId>
    <Season>
      <Description>sample string 1</Description>
      <FYear>1</FYear>
      <Id>1</Id>
      <Inactive>true</Inactive>
    </Season>
    <ShortName>sample string 4</ShortName>
    <Text1>sample string 5</Text1>
    <Text2>sample string 6</Text2>
    <Text3>sample string 7</Text3>
    <Text4>sample string 8</Text4>
  </ProductionSeasonSearchResponse>
</ProductionSeasonSearchResponses>

No entries in change log for this operation.