Open or download an original file with the purchased access to the document.

Returns: Ready binary, up to 96 MiB. A PDF can be shown in the browser; other formats can be downloaded.

get/api/documento/{id}/partes/{partId}/arquivo

Request

  • Base URL
    https://editalmd.com
  • URL
    https://editalmd.com/api/documento/{id}/partes/{partId}/arquivo
  • Auth
    none declared

Path parameters

idstring required

Document identifier in the procurement record.

partIdstring required

id of the inner file returned in partes.

Headers

X-Agent-Passstring

Individual agent credential, required together with X-Editalmd-Avaliacao.

X-Editalmd-Avaliacaostring

evaluation.access_code of the sponsored premium, only for this document and agent, with an expiry. Use it together with X-Agent-Pass; it is not a receipt or a purchase.

X-Editalmd-Acessostring

Private code in acesso.codigo after a payment by someone not signed in to the account; up to 4096 characters. It authorizes this document for whoever holds it. A purchase made with the account session issues no code: the global right of the account (HttpOnly cookie) applies, and the right of the edm_… guest applies with its token. A public receipt does not grant access.

Response

Ready binary, up to 96 MiB. A PDF can be shown in the browser; other formats can be downloaded.

Changes

No recorded changes to this operation across all 29 revisions of this API.