v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBClass Sign-ins
Search Class Sign-ins
Gets Class Sign-ins for a Lead given a search query.
get/leads/{lead_id}/classes/sign-ins/search
Path parameters
lead_idinteger required
Lead identifier.
Query parameters
sortstring
Specifies the order in which the Lead list will be returned. Default order is ascending. Default sort attribute is Id. Specify desc_ to sort descending format: "sort=desc_snake_cased_attribute_name" OR "sort=snake_cased_attribute_name" ex. sort=desc_updated_on
pageinteger
Specifies the page of records to be returned. Defaults to 1.
page_sizeinteger
Number of records to return per page. Maximum and default are 100 records.
qstring required
Search query. Refer to the "Using Search Functionality" section under the Guides tab for more information about building a query.
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Web Integrations screen.
Response
Lead Class Sign-in data
Example response
{
"class_sign_ins": [
{
"id": 1234567891234567,
"lead_id": 1234567891234567,
"gender_id": 1234567891234567,
"class_id": 1234567891234567,
"sign_in_date_time": "2014-12-31T23:59:59.938Z",
"sign_in_source_id": 1234567891234567,
"utc_class_start_datetime": "2014-12-31T23:59:59.938Z",
"local_class_start_datetime": "2014-12-31T23:59:59.938Z",
"utc_class_end_datetime": "2014-12-31T23:59:59.938Z",
"local_class_end_datetime": "2014-12-31T23:59:59.938Z",
"program_id": 1234567891234567,
"location_id": 1234567891234567,
"membership_id": 1234567891234567,
"online_membership_sale_id": 1234567891234567,
"limited_plan_enforcement_type_id": 1234567891234567,
"class_pack_enforcement_type_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
]
}