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
Deel API uses API tokens to authenticate requests. A bearer token is required to authenticate all API requests.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
``` curl -X GET 'api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ```
### Generating Access Tokens 1. Navigate to **Apps & Perks > Developer Center**. 2. Click on the “Generate New Token” button. 3. In the popup, click “Generate Token” button to generate a new token. Your newly generated token is visible on the screen. 4. Make sure to copy and save your token once is generated. You won't be able to see it again!
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.