curl --request GET \
--url https://api.syntage.com/electronic-accounting-records/{id} \
--header 'X-API-Key: <api-key>'
{
"@context": "/contexts/ElectronicAccountingRecord",
"@id": "/electronic-accounting-records/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "ElectronicAccountingRecord",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"year": 2022,
"month": 3,
"type": "N",
"reason": "EM",
"fileType": "B",
"filename": "PEIC211118IS0202203BN.zip",
"code": "0002220300000000124236",
"receivedAt": "2023-11-07T05:31:56Z",
"status": "accepted",
"files": [
{
"@id": "/files/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "File",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"type": "<string>",
"resource": "<string>",
"mimeType": "<string>",
"extension": "<string>",
"size": 40544,
"filename": "<string>",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
curl --request GET \
--url https://api.syntage.com/electronic-accounting-records/{id} \
--header 'X-API-Key: <api-key>'
{
"@context": "/contexts/ElectronicAccountingRecord",
"@id": "/electronic-accounting-records/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "ElectronicAccountingRecord",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"year": 2022,
"month": 3,
"type": "N",
"reason": "EM",
"fileType": "B",
"filename": "PEIC211118IS0202203BN.zip",
"code": "0002220300000000124236",
"receivedAt": "2023-11-07T05:31:56Z",
"status": "accepted",
"files": [
{
"@id": "/files/91106968-1abd-4d64-85c1-4e73d96fb997",
"@type": "File",
"id": "91106968-1abd-4d64-85c1-4e73d96fb997",
"type": "<string>",
"resource": "<string>",
"mimeType": "<string>",
"extension": "<string>",
"size": 40544,
"filename": "<string>",
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
],
"createdAt": "2020-01-01T12:15:00.000Z",
"updatedAt": "2020-01-01T12:15:00.000Z"
}
Your API key is available in the Production and Sandbox dashboards.
Electronic Accounting Record resource response
The response is of type object
.