GET Sales?perfIds={perfIds}&customerId={customerId}

Returns sales data for specified performances and related production seasons.

Request Information

Parameters

NameDescriptionAdditional information
perfIds

Define this parameter in the request URI.

customerId

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PerformanceId": 2,
    "ProductionSeasonId": 3,
    "Type": "sample string 4",
    "Name": "sample string 5",
    "CapacityCount": 6,
    "CapacityAmount": "sample string 7",
    "SingleCount": 8,
    "SingleAmount": "sample string 9",
    "PackageCount": 10,
    "PackageAmount": "sample string 11",
    "CompCount": 12,
    "CompAmount": "sample string 13",
    "TotalCount": 14,
    "TotalAmount": "sample string 15",
    "CntCap": 16.0,
    "Attend": 17
  },
  {
    "Id": 1,
    "PerformanceId": 2,
    "ProductionSeasonId": 3,
    "Type": "sample string 4",
    "Name": "sample string 5",
    "CapacityCount": 6,
    "CapacityAmount": "sample string 7",
    "SingleCount": 8,
    "SingleAmount": "sample string 9",
    "PackageCount": 10,
    "PackageAmount": "sample string 11",
    "CompCount": 12,
    "CompAmount": "sample string 13",
    "TotalCount": 14,
    "TotalAmount": "sample string 15",
    "CntCap": 16.0,
    "Attend": 17
  }
]

application/xml, text/xml

Sample:
<ArrayOfSale xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Sale>
    <Id>1</Id>
    <PerformanceId>2</PerformanceId>
    <ProductionSeasonId>3</ProductionSeasonId>
    <Type>sample string 4</Type>
    <Name>sample string 5</Name>
    <CapacityCount>6</CapacityCount>
    <CapacityAmount>sample string 7</CapacityAmount>
    <SingleCount>8</SingleCount>
    <SingleAmount>sample string 9</SingleAmount>
    <PackageCount>10</PackageCount>
    <PackageAmount>sample string 11</PackageAmount>
    <CompCount>12</CompCount>
    <CompAmount>sample string 13</CompAmount>
    <TotalCount>14</TotalCount>
    <TotalAmount>sample string 15</TotalAmount>
    <CntCap>16</CntCap>
    <Attend>17</Attend>
  </Sale>
  <Sale>
    <Id>1</Id>
    <PerformanceId>2</PerformanceId>
    <ProductionSeasonId>3</ProductionSeasonId>
    <Type>sample string 4</Type>
    <Name>sample string 5</Name>
    <CapacityCount>6</CapacityCount>
    <CapacityAmount>sample string 7</CapacityAmount>
    <SingleCount>8</SingleCount>
    <SingleAmount>sample string 9</SingleAmount>
    <PackageCount>10</PackageCount>
    <PackageAmount>sample string 11</PackageAmount>
    <CompCount>12</CompCount>
    <CompAmount>sample string 13</CompAmount>
    <TotalCount>14</TotalCount>
    <TotalAmount>sample string 15</TotalAmount>
    <CntCap>16</CntCap>
    <Attend>17</Attend>
  </Sale>
</ArrayOfSale>