...
Filter declarations by search params.
Render found declarations with shortened details according to specification.
...
Name | Type | Value | Example |
---|---|---|---|
employee_id | String |
|
|
legal_entity_id | String | MSP ID |
|
declaration_number | String | unique Unique human redable number of declaration |
|
status | String | Default: |
|
reason | String | filter Filter declaration by reason |
|
page | Number | Page number | 2 |
page_size | Number | A limit on the number of objects to be returned, between 1 and 300. Default: 50 | 50 |
Request structure
...
Authorize
Verify the validity of access token
in case of error - return 401 (“Invalid access token”) in case of validation fails
Verify that token is not expired
in case of error - return 401 (“Invalid access token”)
Check user scopes in order to perform this action (scope = 'declaration:read')
return 403 (“Your scope does not allow to access this resource. Missing allowances: declaration:read”) in case of invalid scope(s)
...