Skip to content

Drawings

Returns a drawing of your organization by drawing ID. Drawing IDs are strings.

GET https://api.arcsite.com/v1/drawings/<id>

Terminal window
curl "https://api.arcsite.com/v1/drawings/<ID>" \
-H "Authorization: Bearer your_api_token_here"
Response
{
"id": "36029621652695015",
"project_id": "28123123123",
"name": "Drawing_1_Pre-Survey_Proposal (1)-page_03_test-page_02",
"pdf_url": "https://files.example.com/drawings/36029621652695015/drawing.pdf?Expires=1700000000&Signature=EXAMPLE&Key-Pair-Id=EXAMPLEKEYPAIR",
"png_url": "https://files.example.com/drawings/36029621652695015/drawing.png?Expires=1700000000&Signature=EXAMPLE&Key-Pair-Id=EXAMPLEKEYPAIR",
"dxf_url": "https://files.example.com/drawings/36029621652695015/drawing.dxf?Expires=1700000000&Signature=EXAMPLE&Key-Pair-Id=EXAMPLEKEYPAIR",
"tags": [
"Work Order"
]
}
ParameterTypeInDescription
drawing_version_idString (optional)queryThe ID of the drawing version. A version of another drawing returns 404.
NameTypeDescription
idStringThe ID of the drawing
project_idStringThe ID of the project
nameStringThe name of the drawing
pdf_urlString | nullThe URL of the PDF file
png_urlStringThe URL of the PNG file (an empty string "" when there is no image, not null)
dxf_urlString | nullThe URL of the DXF file
tagsList[String]Tags added to this drawing

Returns location photos associated with a drawing.

GET https://api.arcsite.com/v1/drawings/<id>/location_photos

Terminal window
curl "https://api.arcsite.com/v1/drawings/<ID>/location_photos" \
-H "Authorization: Bearer your_api_token_here"
Response
{
"location_photos": [
{
"url": "https://files.example.com/drawings/36029621652695015/location-photo-1.jpg?Expires=1700000000&Signature=EXAMPLE&Key-Pair-Id=EXAMPLEKEYPAIR"
},
{
"url": "https://files.example.com/drawings/36029621652695015/location-photo-2.jpg?Expires=1700000000&Signature=EXAMPLE&Key-Pair-Id=EXAMPLEKEYPAIR"
}
]
}
ParameterTypeInDescription
drawing_version_idString (optional)queryThe ID of the drawing version. A version of another drawing returns 404.
NameTypeDescription
location_photosList[Object]List of location photo objects
NameTypeDescription
urlStringThe presigned URL of the photo file

Photos are ordered by location marker, then by their order within the marker.

Returns the payment data for a drawing, including balance schedules and deposit amount.

GET https://api.arcsite.com/v1/drawings/<id>/payment

Terminal window
curl "https://api.arcsite.com/v1/drawings/<ID>/payment" \
-H "Authorization: Bearer your_api_token_here"
Response
{
"balance": {
"payment_schedules": [
{
"name": "Progress Payment",
"amount": 750.0,
"percentage": 38.0
},
{
"name": "On Completion",
"amount": 750.0,
"percentage": 38.0
}
]
},
"deposit": 500.0
}
ParameterTypeInDescription
drawing_version_idString (optional)queryThe ID of the drawing version. A version of another drawing returns 404.
NameTypeDescription
balanceObjectThe balance information of the drawing payment
depositNumberThe deposit amount (0 when there is no deposit)
NameTypeDescription
payment_schedulesList[PaymentSchedule]The payment phases of the balance that remains after the deposit. The deposit itself isn’t listed here. Empty when the drawing has no payment terms.
NameTypeDescription
nameStringThe name of the payment schedule
amountNumberThe amount of the payment schedule
percentageNumberThis phase’s share of the drawing total (deposit and taxes included), rounded to a whole percent (e.g. 38.0). Use amount for exact values.