| GET | /attendance/history |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date | query | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Latitude | form | double | No | Latitude of the user making this request |
| Longitude | form | double | No | Longitude of the user making this request |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttendanceSessions | form | List<AttendanceHistoryData> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttendanceSessionId | form | int | No | |
| Date | form | string | No | |
| AttendanceTotal | form | string | No | |
| BreakTotal | form | string | No | |
| LunchTotal | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /attendance/history HTTP/1.1 Host: cochraneplus-api-dev.happen.zone Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'GetAttendanceHistoryResponse' using the custom 'csv' filter}Cannot dynamically create an instance of type 'WebService.ServiceModel.GetAttendanceHistoryResponse'. Reason: No parameterless constructor defined.