POST Subscriber/{subscriberId}/Report/MindbodyFlexRevenue/Export

Endpoint to fetch data for the Mindbody Flex Revenue report for the export to return file.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

string

None.

Body Parameters

MindbodyFlexRevenueRequest
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

StartDate

date

None.

EndDate

date

None.

LocationIds

Collection of integer

None.

ClassIds

Collection of integer

None.

Instructors

Collection of integer

None.

ClassTimeIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriberId": 1,
  "StartDate": "2024-11-21T05:59:44.8845873-08:00",
  "EndDate": "2024-11-21T05:59:44.884653-08:00",
  "LocationIds": [
    1,
    2
  ],
  "ClassIds": [
    1,
    2
  ],
  "Instructors": [
    1,
    2
  ],
  "ClassTimeIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<MindbodyFlexRevenueRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.SubscriberApi.Dto.Requests.Reports">
  <ClassIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ClassIds>
  <ClassTimeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ClassTimeIds>
  <EndDate>2024-11-21T05:59:44.884653-08:00</EndDate>
  <Instructors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Instructors>
  <LocationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LocationIds>
  <StartDate>2024-11-21T05:59:44.8845873-08:00</StartDate>
  <SubscriberId>1</SubscriberId>
</MindbodyFlexRevenueRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.