TicketUserServices

<back to all web services

FanSnapshotOwnerRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
POST/FanSnapshot/Owner
FanSnapshotOwnerRequest Parameters:
NameParameterData TypeRequiredDescription
EventOwnerIdbodyintNo
Daysbodyint?No
DefinitionVersionbodyint?No
FanSnapshotOwnerResult Parameters:
NameParameterData TypeRequiredDescription
EventOwnerIdformintNo
ClubEventOwnerIdformintNo
DefinitionVersionformintNo
AsOfformstringNo
CurrentformList<FanSegmentFigure>No
ExtrasformList<FanSegmentFigure>No
CompareDateformstringNo
CompareformList<FanSegmentFigure>No
CompareExtrasformList<FanSegmentFigure>No
SeriesformList<FanSnapshotPoint>No
StatusCodeformintNo
MessageformstringNo
FanSegmentFigure Parameters:
NameParameterData TypeRequiredDescription
SegmentformstringNo
FansformintNo
OrdersformintNo
SpendIskformlongNo
FanSnapshotPoint Parameters:
NameParameterData TypeRequiredDescription
DateformstringNo
NewformintNo
ActiveformintNo
AtRiskformintNo
DropoffformintNo
LostformintNo
NeverBoughtformintNo
AllformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /FanSnapshot/Owner HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<FanSnapshotOwnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Days>0</Days>
  <DefinitionVersion>0</DefinitionVersion>
  <EventOwnerId>0</EventOwnerId>
</FanSnapshotOwnerRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FanSnapshotOwnerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <AsOf>String</AsOf>
  <ClubEventOwnerId>0</ClubEventOwnerId>
  <Compare>
    <FanSegmentFigure>
      <Fans>0</Fans>
      <Orders>0</Orders>
      <Segment>String</Segment>
      <SpendIsk>0</SpendIsk>
    </FanSegmentFigure>
  </Compare>
  <CompareDate>String</CompareDate>
  <CompareExtras>
    <FanSegmentFigure>
      <Fans>0</Fans>
      <Orders>0</Orders>
      <Segment>String</Segment>
      <SpendIsk>0</SpendIsk>
    </FanSegmentFigure>
  </CompareExtras>
  <Current>
    <FanSegmentFigure>
      <Fans>0</Fans>
      <Orders>0</Orders>
      <Segment>String</Segment>
      <SpendIsk>0</SpendIsk>
    </FanSegmentFigure>
  </Current>
  <DefinitionVersion>0</DefinitionVersion>
  <EventOwnerId>0</EventOwnerId>
  <Extras>
    <FanSegmentFigure>
      <Fans>0</Fans>
      <Orders>0</Orders>
      <Segment>String</Segment>
      <SpendIsk>0</SpendIsk>
    </FanSegmentFigure>
  </Extras>
  <Message>String</Message>
  <Series>
    <FanSnapshotPoint>
      <Active>0</Active>
      <All>0</All>
      <AtRisk>0</AtRisk>
      <Date>String</Date>
      <Dropoff>0</Dropoff>
      <Lost>0</Lost>
      <NeverBought>0</NeverBought>
      <New>0</New>
    </FanSnapshotPoint>
  </Series>
  <StatusCode>0</StatusCode>
</FanSnapshotOwnerResult>