POST api/GetPerformance

Returns a Tessitura performance detail.

Request Information

URI Parameters

None.

Body Parameters

GetPerformanceRequest
NameDescriptionTypeAdditional information
PerformanceId

A Tessitura performance number.

integer

Required

ModeOfSale

If provided only performances in the specified Mode Of Sale will be returned. Pass null to use the DefaultModeOfSale config value.

integer
SessionKey

An authenticated Tessitura session key. If provided the call will include any Tessitura discounting rules.

string

Request Formats

application/json, text/json

Sample:
{
  "PerformanceId": 1,
  "ModeOfSale": 1,
  "SessionKey": "sample string 2"
}

application/xml, text/xml

Sample:
<GetPerformanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Performance">
  <ModeOfSale>1</ModeOfSale>
  <PerformanceId>1</PerformanceId>
  <SessionKey>sample string 2</SessionKey>
</GetPerformanceRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetPerformanceRequest'.

Response Information

Resource Description

GetPerformanceResult object

ApiSuccessOfGetPerformanceResult
NameDescriptionTypeAdditional information
Success

boolean
Data

GetPerformanceResult

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "Performance": {
      "ID": 1,
      "Title": "sample string 2",
      "Date": "2024-11-28T22:41:21.4056142+00:00",
      "StartDate": "2024-11-28T22:41:21.4056142+00:00",
      "EndDate": "2024-11-28T22:41:21.4056142+00:00",
      "Facility": 6,
      "FacilityDescription": "sample string 7",
      "OnSale": true,
      "PerformanceType": 9,
      "PerformanceTypeDescription": "sample string 10",
      "IsSeated": true,
      "ProductionSeason": 12,
      "Season": 13,
      "Status": 14,
      "StatusDescription": "sample string 15",
      "IsGeneralAdmission": true,
      "Timeslots": [
        {
          "ZoneId": 1,
          "Description": "sample string 2",
          "Time": "2024-11-28T22:41:21.4056142+00:00",
          "IsAvailable": true,
          "AvailableCount": 5,
          "Pricetypes": [
            {
              "ID": 1,
              "Description": "sample string 2",
              "Price": 3.0,
              "BasePrice": 4.0,
              "IsPromo": true,
              "PromoMax": 6,
              "PromoText": "sample string 7"
            },
            {
              "ID": 1,
              "Description": "sample string 2",
              "Price": 3.0,
              "BasePrice": 4.0,
              "IsPromo": true,
              "PromoMax": 6,
              "PromoText": "sample string 7"
            }
          ]
        },
        {
          "ZoneId": 1,
          "Description": "sample string 2",
          "Time": "2024-11-28T22:41:21.4056142+00:00",
          "IsAvailable": true,
          "AvailableCount": 5,
          "Pricetypes": [
            {
              "ID": 1,
              "Description": "sample string 2",
              "Price": 3.0,
              "BasePrice": 4.0,
              "IsPromo": true,
              "PromoMax": 6,
              "PromoText": "sample string 7"
            },
            {
              "ID": 1,
              "Description": "sample string 2",
              "Price": 3.0,
              "BasePrice": 4.0,
              "IsPromo": true,
              "PromoMax": 6,
              "PromoText": "sample string 7"
            }
          ]
        }
      ],
      "WebContentList": [
        {
          "ID": 1,
          "Value": "sample string 2"
        },
        {
          "ID": 1,
          "Value": "sample string 2"
        }
      ]
    },
    "ModeOfSaleOffers": [
      {
        "ID": 1,
        "MaxSeats": 2,
        "OverrideDefaultPriceTypeIndicator": true,
        "Rank": 4,
        "AppealId": 5,
        "ModeOfSaleId": 6,
        "PerformanceId": 7,
        "PackageId": 8,
        "PriceTypeId": 9,
        "StartDateTime": "2024-11-28T22:41:21.4056142+00:00",
        "EndDateTime": "2024-11-28T22:41:21.4056142+00:00"
      },
      {
        "ID": 1,
        "MaxSeats": 2,
        "OverrideDefaultPriceTypeIndicator": true,
        "Rank": 4,
        "AppealId": 5,
        "ModeOfSaleId": 6,
        "PerformanceId": 7,
        "PackageId": 8,
        "PriceTypeId": 9,
        "StartDateTime": "2024-11-28T22:41:21.4056142+00:00",
        "EndDateTime": "2024-11-28T22:41:21.4056142+00:00"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfGetPerformanceResultMuoEL63e xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Performance">
    <d2p1:ModeOfSaleOffers xmlns:d3p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Promotion">
      <d3p1:ModeOfSaleOffer>
        <d3p1:AppealId>5</d3p1:AppealId>
        <d3p1:EndDateTime>2024-11-28T22:41:21.4056142+00:00</d3p1:EndDateTime>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:MaxSeats>2</d3p1:MaxSeats>
        <d3p1:ModeOfSaleId>6</d3p1:ModeOfSaleId>
        <d3p1:OverrideDefaultPriceTypeIndicator>true</d3p1:OverrideDefaultPriceTypeIndicator>
        <d3p1:PackageId>8</d3p1:PackageId>
        <d3p1:PerformanceId>7</d3p1:PerformanceId>
        <d3p1:PriceTypeId>9</d3p1:PriceTypeId>
        <d3p1:Rank>4</d3p1:Rank>
        <d3p1:StartDateTime>2024-11-28T22:41:21.4056142+00:00</d3p1:StartDateTime>
      </d3p1:ModeOfSaleOffer>
      <d3p1:ModeOfSaleOffer>
        <d3p1:AppealId>5</d3p1:AppealId>
        <d3p1:EndDateTime>2024-11-28T22:41:21.4056142+00:00</d3p1:EndDateTime>
        <d3p1:ID>1</d3p1:ID>
        <d3p1:MaxSeats>2</d3p1:MaxSeats>
        <d3p1:ModeOfSaleId>6</d3p1:ModeOfSaleId>
        <d3p1:OverrideDefaultPriceTypeIndicator>true</d3p1:OverrideDefaultPriceTypeIndicator>
        <d3p1:PackageId>8</d3p1:PackageId>
        <d3p1:PerformanceId>7</d3p1:PerformanceId>
        <d3p1:PriceTypeId>9</d3p1:PriceTypeId>
        <d3p1:Rank>4</d3p1:Rank>
        <d3p1:StartDateTime>2024-11-28T22:41:21.4056142+00:00</d3p1:StartDateTime>
      </d3p1:ModeOfSaleOffer>
    </d2p1:ModeOfSaleOffers>
    <d2p1:Performance>
      <d2p1:Date>2024-11-28T22:41:21.4056142+00:00</d2p1:Date>
      <d2p1:EndDate>2024-11-28T22:41:21.4056142+00:00</d2p1:EndDate>
      <d2p1:Facility>6</d2p1:Facility>
      <d2p1:FacilityDescription>sample string 7</d2p1:FacilityDescription>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsGeneralAdmission>true</d2p1:IsGeneralAdmission>
      <d2p1:IsSeated>true</d2p1:IsSeated>
      <d2p1:OnSale>true</d2p1:OnSale>
      <d2p1:PerformanceType>9</d2p1:PerformanceType>
      <d2p1:PerformanceTypeDescription>sample string 10</d2p1:PerformanceTypeDescription>
      <d2p1:ProductionSeason>12</d2p1:ProductionSeason>
      <d2p1:Season>13</d2p1:Season>
      <d2p1:StartDate>2024-11-28T22:41:21.4056142+00:00</d2p1:StartDate>
      <d2p1:Status>14</d2p1:Status>
      <d2p1:StatusDescription>sample string 15</d2p1:StatusDescription>
      <d2p1:Timeslots>
        <d2p1:Timeslot>
          <d2p1:AvailableCount>5</d2p1:AvailableCount>
          <d2p1:Description>sample string 2</d2p1:Description>
          <d2p1:IsAvailable>true</d2p1:IsAvailable>
          <d2p1:Pricetypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing">
            <d6p1:Pricetype>
              <d6p1:BasePrice>4</d6p1:BasePrice>
              <d6p1:Description>sample string 2</d6p1:Description>
              <d6p1:ID>1</d6p1:ID>
              <d6p1:IsPromo>true</d6p1:IsPromo>
              <d6p1:Price>3</d6p1:Price>
              <d6p1:PromoMax>6</d6p1:PromoMax>
              <d6p1:PromoText>sample string 7</d6p1:PromoText>
            </d6p1:Pricetype>
            <d6p1:Pricetype>
              <d6p1:BasePrice>4</d6p1:BasePrice>
              <d6p1:Description>sample string 2</d6p1:Description>
              <d6p1:ID>1</d6p1:ID>
              <d6p1:IsPromo>true</d6p1:IsPromo>
              <d6p1:Price>3</d6p1:Price>
              <d6p1:PromoMax>6</d6p1:PromoMax>
              <d6p1:PromoText>sample string 7</d6p1:PromoText>
            </d6p1:Pricetype>
          </d2p1:Pricetypes>
          <d2p1:Time>2024-11-28T22:41:21.4056142+00:00</d2p1:Time>
          <d2p1:ZoneId>1</d2p1:ZoneId>
        </d2p1:Timeslot>
        <d2p1:Timeslot>
          <d2p1:AvailableCount>5</d2p1:AvailableCount>
          <d2p1:Description>sample string 2</d2p1:Description>
          <d2p1:IsAvailable>true</d2p1:IsAvailable>
          <d2p1:Pricetypes xmlns:d6p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Ticketing">
            <d6p1:Pricetype>
              <d6p1:BasePrice>4</d6p1:BasePrice>
              <d6p1:Description>sample string 2</d6p1:Description>
              <d6p1:ID>1</d6p1:ID>
              <d6p1:IsPromo>true</d6p1:IsPromo>
              <d6p1:Price>3</d6p1:Price>
              <d6p1:PromoMax>6</d6p1:PromoMax>
              <d6p1:PromoText>sample string 7</d6p1:PromoText>
            </d6p1:Pricetype>
            <d6p1:Pricetype>
              <d6p1:BasePrice>4</d6p1:BasePrice>
              <d6p1:Description>sample string 2</d6p1:Description>
              <d6p1:ID>1</d6p1:ID>
              <d6p1:IsPromo>true</d6p1:IsPromo>
              <d6p1:Price>3</d6p1:Price>
              <d6p1:PromoMax>6</d6p1:PromoMax>
              <d6p1:PromoText>sample string 7</d6p1:PromoText>
            </d6p1:Pricetype>
          </d2p1:Pricetypes>
          <d2p1:Time>2024-11-28T22:41:21.4056142+00:00</d2p1:Time>
          <d2p1:ZoneId>1</d2p1:ZoneId>
        </d2p1:Timeslot>
      </d2p1:Timeslots>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:WebContentList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities">
        <d4p1:WebContent>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:WebContent>
        <d4p1:WebContent>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:WebContent>
      </d2p1:WebContentList>
    </d2p1:Performance>
  </Data>
</ApiSuccessOfGetPerformanceResultMuoEL63e>