Signed XML byte-identical to what the DGII received
GET
/documents/{documentId}/xml
const url = 'https://acme.gravitastec.com/api/v1/documents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/xml';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://acme.gravitastec.com/api/v1/documents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/xml \ --header 'Authorization: Bearer <token>'Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»documentId
required
string format: uuid
Responses
Sección titulada «Responses»XML
Media typeapplication/xml
Headers
Sección titulada «Headers»X-Content-SHA256
string
Not found or outside the credential scope
Media typeapplication/problem+json
object
type
string
title
string
status
integer
code
string
errors
Array<object>
object
path
string
message
string
Example generated
{ "type": "example", "title": "example", "status": 1, "code": "example", "errors": [ { "path": "example", "message": "example" } ]}