GET subscriber/{subscriberId}/report/payout/configuration
Endpoint to fetch any configuration data for the subscriber payout report. For example, the first payout date is needed for populating date dropdowns.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId |
The ID of the logged in Subscriber |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
HTTP status code 200 Ok
HTTP status code 400 BadRequest
HTTP status code 401 Unauthorized
HTTP status code 403 Forbidden
Name | Description | Type | Additional information |
---|---|---|---|
FirstPayoutDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "FirstPayoutDate": "2024-11-21T05:58:03.3973957-08:00" }
application/xml, text/xml
Sample:
<GetPayoutReportConfigurationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Responses"> <FirstPayoutDate>2024-11-21T05:58:03.3973957-08:00</FirstPayoutDate> </GetPayoutReportConfigurationResponse>