Gets G2N report data for a given payroll cycle by it's ID.
This endpoint gets categorized G2N data (including category group, category, sub-category and label) for each contract within a given payroll cycle for the provided id.
Token scopes: payslips:read
Authentication
AuthorizationBearer
## Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
```curl
curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
```
[Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Path parameters
cycle_id
The unique identifier for the payroll event.
Query parameters
limit
Maximum number of items to return. Defaults to 20.
cursor
Cursor for pagination of results.
Response
Successful operation.
data
List of contracts associated with the payroll event.
has_more
Indicates whether more pages are available.
created_at
Timestamp when the report was generated
updated_at
Timestamp when the report was updated
next_cursor
Pagination cursor to fetch the next page of results.
items_per_page
The number of items per page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error