Get a warranty contract document
GET/v1/warranty/documents/:warrantySubscriptionId
Retrieves the warranty contract document for a given subscription, as a base64-encoded PDF.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The contract document, as a base64-encoded PDF.
No valid API token and no sessionId were sent, the session is invalid or expired, or the document does not belong to the session.
The API token does not grant access to warranty documents, and no sessionId was sent.
No warranty subscription matches this identifier, or the identifier is not a valid UUID. When a sessionId is sent, an unknown identifier answers 401 instead.
The warranty provider cannot return the document: it is not available yet for this contract, or the provider failed to deliver it. Retry later. detail explains why, in the session's language or the one requested with Accept-Language.