Specification
Service logic
Only authenticated and authorized user can use declaration request
The service returns only a declaration request that was created in the same legal entity as the user
Authentication
Verify the validity of access token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'declaration_request:read')
Return 403 in case invalid scope(s)
Backward compatibility
This endpoint shows the declaration requests which are created by V2 and V3. Due to the fact that structure of declaration request V2 is different from the structure of decl request V3 , so not all fields od decl request v2 can be displayed.
Response
Print form is generated after approve declaration request, so in response on Get decl request by id show fields context
and data_to_be_signed
if DR approved.