GET classes/{id}
Return a specific fitness class data object by id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | class id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "id": "sample string 1", "name": "sample string 2", "duration": 3, "description": "sample string 4", "participant_instructions": "sample string 5", "payment_required": true, "class_fee": 7.1, "network": { "id": "sample string 1", "name": "sample string 2" } }
application/xml, text/xml
Sample:
<FitnessClassDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <class_fee>7.1</class_fee> <description>sample string 4</description> <duration>3</duration> <id>sample string 1</id> <name>sample string 2</name> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <participant_instructions>sample string 5</participant_instructions> <payment_required>true</payment_required> </FitnessClassDto>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="duration" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="description" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="participant_instructions" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="payment_required" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="class_fee" 7.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="network.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="network.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--