To request a Transaction Summary PDF, access this endpoint with an Accept header of application/pdf or append .pdf to the request URL.
$ curl -i \
-H "Accept: application/json; version=1" \
-H "Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJpYXQiOjE0NjM2OTQ4MjN9.k48v-R-un93KdIXqp9Zi12JOGJCu8uibtrWjscFCTqc" \
https://api.record360.com/api/transactions/42
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
{
"transaction":{
"id":"42",
"check_in":false,
"draft":false,
"email_sent_to":[
],
"created_at":"2014-02-19T21:18:33.000Z",
"workflow_modules":[
"RC2",
"LB1",
"LB2",
"M1",
"N2",
"F01",
"E1",
"C2"
],
"archive_status":"archived",
"workflow_id":"4099",
"group_id":"141",
"view_url":"https://dashboard.record360.com/dashboard/inspections/42",
"asset":{
"id":"61",
"external_id":"29630"
},
"user":{
"id":"14",
"username":"jpme34@@domain.example",
"first_name":"Jo",
"last_name":"Me"
},
"location":{
"id":"4",
"name":"Main Office"
},
"photos":[
{
"id": "1",
"created_at": "2014-02-19T06:46:29.000Z",
"url": ""https://app.record360.com/m/88Se",
"byte_size": 638425,
"geo_coord": [122.289139, 47.612417],
"notation": "scratch",
},
],
"videos":[
{
"id": "1",
"created_at": "2014-02-19T06:46:29.000Z",
"url": "https://app.record360.com/m/8EHD",
"thumbnail_url": "https://record360-media.s3.amazonaws.com/42/video/video1-tn.mp4",
"byte_size": 5650782
"geo_coord": [122.289139, 47.612417],
"duration": 42,
},
],
"signatures":[
{
"id":"42",
"url":"https://app.record360.com/m/ZRsL",
"created_at":"2014-02-19T21:17:32.000Z"
}
],
"ident_docs":[
],
"files":[
{
"id": "1",
"created_at": "2014-02-19T06:46:30.000Z",
"url": "https://record360-media.s3.amazonaws.com/42/file/ABCXYZ123.pdf",
"byte_size": 555046
}
]
}
}
$ curl -i \ -H "Accept: application/pdf; version=1" \ -H "Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJpYXQiOjE0NjM2OTQ4MjN9.k48v-R-un93KdIXqp9Zi12JOGJCu8uibtrWjscFCTqc" \ https://api.record360.com/api/transactions/42 HTTP/1.1 200 OK Content-Type: application/pdf Content-Disposition: inline; filename="transaction-42.pdf" Content-Transfer-Encoding: binary Cache-Control: max-age=0, private, must-revalidate [PDF data]
| Param name | Description |
|---|---|
|
id
required |
Transaction ID Validations:
|