POST api/GetPerformances
Request Information
URI Parameters
None.
Body Parameters
GetPerformancesRequestName | Description | Type | Additional information |
---|---|---|---|
StartDate | date | ||
EndDate | date | ||
Keywords | string | ||
AllKeywordsRequired | boolean | ||
VenueId | integer | ||
ModeOfSale | integer | ||
SeasonIds | string | ||
SessionKey | string |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "2025-03-25T17:21:11.871348+00:00", "EndDate": "2025-03-25T17:21:11.871348+00:00", "Keywords": "sample string 1", "AllKeywordsRequired": true, "VenueId": 1, "ModeOfSale": 1, "SeasonIds": "sample string 2", "SessionKey": "sample string 3" }
application/xml, text/xml
Sample:
<GetPerformancesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Performance"> <AllKeywordsRequired>true</AllKeywordsRequired> <EndDate>2025-03-25T17:21:11.871348+00:00</EndDate> <Keywords>sample string 1</Keywords> <ModeOfSale>1</ModeOfSale> <SeasonIds>sample string 2</SeasonIds> <SessionKey>sample string 3</SessionKey> <StartDate>2025-03-25T17:21:11.871348+00:00</StartDate> <VenueId>1</VenueId> </GetPerformancesRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiSuccessOfGetPerformancesResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | GetPerformancesResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "Performances": [ { "ID": 1, "Date": "2025-03-25T17:21:11.871348+00:00", "StartDate": "2025-03-25T17:21:11.871348+00:00", "EndDate": "2025-03-25T17:21:11.871348+00:00", "FirstDate": "2025-03-25T17:21:11.871348+00:00", "LastDate": "2025-03-25T17:21:11.871348+00:00", "GrossAvailability": 7, "FacilityDescription": "sample string 8", "Facility": 9, "Title": "sample string 10", "OnSale": true, "BusinessUnit": 12, "ProductionSeason": 13, "ProductionType": 14, "ProductionTypeDescription": "sample string 15", "Season": 16, "Status": 17, "StatusDescription": "sample string 18", "WebContentList": [ { "ID": 1, "Value": "sample string 2" }, { "ID": 1, "Value": "sample string 2" } ] }, { "ID": 1, "Date": "2025-03-25T17:21:11.871348+00:00", "StartDate": "2025-03-25T17:21:11.871348+00:00", "EndDate": "2025-03-25T17:21:11.871348+00:00", "FirstDate": "2025-03-25T17:21:11.871348+00:00", "LastDate": "2025-03-25T17:21:11.871348+00:00", "GrossAvailability": 7, "FacilityDescription": "sample string 8", "Facility": 9, "Title": "sample string 10", "OnSale": true, "BusinessUnit": 12, "ProductionSeason": 13, "ProductionType": 14, "ProductionTypeDescription": "sample string 15", "Season": 16, "Status": 17, "StatusDescription": "sample string 18", "WebContentList": [ { "ID": 1, "Value": "sample string 2" }, { "ID": 1, "Value": "sample string 2" } ] } ] } }
application/xml, text/xml
Sample:
<ApiSuccessOfGetPerformancesResultMuoEL63e 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:Performances> <d2p1:Performance> <d2p1:BusinessUnit>12</d2p1:BusinessUnit> <d2p1:Date>2025-03-25T17:21:11.871348+00:00</d2p1:Date> <d2p1:EndDate>2025-03-25T17:21:11.871348+00:00</d2p1:EndDate> <d2p1:Facility>9</d2p1:Facility> <d2p1:FacilityDescription>sample string 8</d2p1:FacilityDescription> <d2p1:FirstDate>2025-03-25T17:21:11.871348+00:00</d2p1:FirstDate> <d2p1:GrossAvailability>7</d2p1:GrossAvailability> <d2p1:ID>1</d2p1:ID> <d2p1:LastDate>2025-03-25T17:21:11.871348+00:00</d2p1:LastDate> <d2p1:OnSale>true</d2p1:OnSale> <d2p1:ProductionSeason>13</d2p1:ProductionSeason> <d2p1:ProductionType>14</d2p1:ProductionType> <d2p1:ProductionTypeDescription>sample string 15</d2p1:ProductionTypeDescription> <d2p1:Season>16</d2p1:Season> <d2p1:StartDate>2025-03-25T17:21:11.871348+00:00</d2p1:StartDate> <d2p1:Status>17</d2p1:Status> <d2p1:StatusDescription>sample string 18</d2p1:StatusDescription> <d2p1:Title>sample string 10</d2p1:Title> <d2p1:WebContentList xmlns:d5p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities"> <d5p1:WebContent> <d5p1:ID>1</d5p1:ID> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:WebContent> <d5p1:WebContent> <d5p1:ID>1</d5p1:ID> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:WebContent> </d2p1:WebContentList> </d2p1:Performance> <d2p1:Performance> <d2p1:BusinessUnit>12</d2p1:BusinessUnit> <d2p1:Date>2025-03-25T17:21:11.871348+00:00</d2p1:Date> <d2p1:EndDate>2025-03-25T17:21:11.871348+00:00</d2p1:EndDate> <d2p1:Facility>9</d2p1:Facility> <d2p1:FacilityDescription>sample string 8</d2p1:FacilityDescription> <d2p1:FirstDate>2025-03-25T17:21:11.871348+00:00</d2p1:FirstDate> <d2p1:GrossAvailability>7</d2p1:GrossAvailability> <d2p1:ID>1</d2p1:ID> <d2p1:LastDate>2025-03-25T17:21:11.871348+00:00</d2p1:LastDate> <d2p1:OnSale>true</d2p1:OnSale> <d2p1:ProductionSeason>13</d2p1:ProductionSeason> <d2p1:ProductionType>14</d2p1:ProductionType> <d2p1:ProductionTypeDescription>sample string 15</d2p1:ProductionTypeDescription> <d2p1:Season>16</d2p1:Season> <d2p1:StartDate>2025-03-25T17:21:11.871348+00:00</d2p1:StartDate> <d2p1:Status>17</d2p1:Status> <d2p1:StatusDescription>sample string 18</d2p1:StatusDescription> <d2p1:Title>sample string 10</d2p1:Title> <d2p1:WebContentList xmlns:d5p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities"> <d5p1:WebContent> <d5p1:ID>1</d5p1:ID> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:WebContent> <d5p1:WebContent> <d5p1:ID>1</d5p1:ID> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:WebContent> </d2p1:WebContentList> </d2p1:Performance> </d2p1:Performances> </Data> </ApiSuccessOfGetPerformancesResultMuoEL63e>