Your connection to Vista.
A single API for the Hub and AP Automation. Read company data, synchronize imports, and track durable submissions to Viewpoint Vista.
Authentication
Send your application’s bearer token on every API request. Credentials are restricted by company and ability; each endpoint lists its required scope. A numeric {company} must also be enabled for the requested operation.
Authorization: Bearer <VISTALINK_TOKEN>
Accept: application/jsonBase URL: https://vistalink.rasmussenapps.com/api/v1. Keep credentials on your server. Provision a separate credential for each calling application using the service’s vistalink:client-create command.
Make your first request
With lookups:read access to company 1, retrieve the craft vocabulary used by the Hub. Set the environment variables below in your shell before running the request.
export VISTALINK_URL="https://vistalink.rasmussenapps.com"
export VISTALINK_TOKEN="<your-application-token>"
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/crafts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"A
202 means a submission is accepted or processing. Poll its status endpoint until a final outcome is available. Reconcile an unknown outcome before submitting again.Rate limits & errors
The API allows 600 requests per minute under the shared route limiter. Requests from the same caller IP can share this allowance. On 429, wait for the Retry-After interval before retrying. Queue imports should release with a delay rather than immediately retry.
401Missing, invalid, or revoked bearer credential.403Credential lacks the required ability or company access; company may not be enabled.404Endpoint, supported variant, or client-owned record was not found.409Submission key or business record conflicts with an existing submission.422Request validation failed. Inspect the errors returned in the response.429Rate limit reached. Respect Retry-After.503Vista is unavailable, or the requested write workflow is disabled.Database connections
Current connectivity from this VistaLink service.
Last checked 2026-11-24 12:26:27 UTC. Cached for one minute; refresh the page to check again. Up confirms database connectivity, not invoice processing or queue health.
GETApplication liveness/up
Public Laravel health endpoint. Does not verify the VPN, Vista connection, attachments, or queue worker.
Check liveness ↗Explore every endpoint
Select an endpoint for parameters and a request example. Examples use company 1 and illustrative values; replace them with values authorized for your application.
No matching endpoints. Try a resource name, path, or scope.
Project logs
4Retained operational logs.
GETDig Alerts/api/v1/companies/{company}/imports/project-logs/dig-alerts
Complete source project-log snapshot with KeyID and SourceJob. Company-scoped; subcontract logs resolve the job through SLHD. Explicit fields only. Ambiguous joins, outages, or more than 50,000 rows return 503. Hub imports preserve existing edits.
job: optional Vista job number, up to 20 characters. Omit for all retained company logs.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/project-logs/dig-alerts?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSpecial Shifts/api/v1/companies/{company}/imports/project-logs/special-shifts
Complete source project-log snapshot with KeyID and SourceJob. Company-scoped; subcontract logs resolve the job through SLHD. Explicit fields only. Ambiguous joins, outages, or more than 50,000 rows return 503. Hub imports preserve existing edits.
job: optional Vista job number, up to 20 characters. Omit for all retained company logs.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/project-logs/special-shifts?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETWorking Days/api/v1/companies/{company}/imports/project-logs/working-days
Complete source project-log snapshot with KeyID and SourceJob. Company-scoped; subcontract logs resolve the job through SLHD. Explicit fields only. Ambiguous joins, outages, or more than 50,000 rows return 503. Hub imports preserve existing edits.
job: optional Vista job number, up to 20 characters. Omit for all retained company logs.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/project-logs/working-days?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract Status/api/v1/companies/{company}/imports/project-logs/subcontract-status
Complete source project-log snapshot with KeyID and SourceJob. Company-scoped; subcontract logs resolve the job through SLHD. Explicit fields only. Ambiguous joins, outages, or more than 50,000 rows return 503. Hub imports preserve existing edits.
job: optional Vista job number, up to 20 characters. Omit for all retained company logs.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/project-logs/subcontract-status?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Change orders and reports
4Scoped utility reads for the Hub.
GETACO references and executive approval flags/api/v1/companies/{company}/change-order-utilities/acos
Project PMOH ACO text and agency/OPM/EVP flags. Leading zeroes and blank-source values are preserved; consumers decide which values to display. Complete metadata; outage returns 503.
job: required Vista project number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/change-order-utilities/acos?job=2507." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETNext ACO number and sequence/api/v1/companies/{company}/change-order-utilities/aco-numbers
Suggests the next numeric JCOH ACO and sequence. Ignores noninteger ACO text; preserves ten-character left padding. This is a preview, not a reservation; write operations must allocate under their own transaction.
job: required Vista job number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/change-order-utilities/aco-numbers?job=2507." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract numbering, original total and live items/api/v1/companies/{company}/change-order-utilities/subcontract
Returns max_subco including voided numbers, original PMSL sum for RecordType O, and scoped SLIT live items. Noninteger SCO labels do not break numbering. Complete response requires all reads to succeed.
job and subcontract: required source identifiers. Subcontract must match the project for live items.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/change-order-utilities/subcontract?job=2507.&subcontract=2507.001" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETMissing-cost report source rows/api/v1/companies/{company}/reports/missing-costs
Read-only cost report rows for PR/AP/JC/PO/SL. Returns at most 500 rows per page, preserving source detail fields; keys_only=1 returns up to 50,000 KeyIDs per page instead, so callers can diff then request details with keys[]. First page establishes through_key; retain it on later pages to exclude newly added rows. Use next_key as after_key until has_more is false. Errors never mean an empty report. This endpoint neither imports costs nor sends email.
job: required. after_key: nonnegative, default 0. through_key: omit initially, then retain the first response value. keys_only: optional boolean; data becomes a list of KeyIDs and meta.keys_only is true. keys[]: up to 500 distinct KeyIDs; returns their detail rows (missing keys are omitted) and cannot be combined with paging params. meta.total counts rows in this page.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/reports/missing-costs?job=2507.&after_key=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Attachments
39Scoped file metadata, downloads and cost backfills.
GETRfi attachment list/api/v1/companies/{company}/record-attachments/rfi
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/rfi?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETRfi file download/api/v1/companies/{company}/record-attachments/rfi/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/rfi/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETLetter attachment list/api/v1/companies/{company}/record-attachments/letter
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/letter?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETLetter file download/api/v1/companies/{company}/record-attachments/letter/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/letter/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETIssue attachment list/api/v1/companies/{company}/record-attachments/issue
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/issue?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETIssue file download/api/v1/companies/{company}/record-attachments/issue/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/issue/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETMeeting attachment list/api/v1/companies/{company}/record-attachments/meeting
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/meeting?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETMeeting file download/api/v1/companies/{company}/record-attachments/meeting/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/meeting/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPending Change Order attachment list/api/v1/companies/{company}/record-attachments/pending-change-order
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/pending-change-order?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPending Change Order file download/api/v1/companies/{company}/record-attachments/pending-change-order/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/pending-change-order/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETApproved Change Order attachment list/api/v1/companies/{company}/record-attachments/approved-change-order
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/approved-change-order?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETApproved Change Order file download/api/v1/companies/{company}/record-attachments/approved-change-order/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/approved-change-order/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubmittal attachment list/api/v1/companies/{company}/record-attachments/submittal
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/submittal?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubmittal file download/api/v1/companies/{company}/record-attachments/submittal/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/submittal/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETTransmittal attachment list/api/v1/companies/{company}/record-attachments/transmittal
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/transmittal?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETTransmittal file download/api/v1/companies/{company}/record-attachments/transmittal/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/transmittal/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract Change Order attachment list/api/v1/companies/{company}/record-attachments/subcontract-change-order
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/subcontract-change-order?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract Change Order file download/api/v1/companies/{company}/record-attachments/subcontract-change-order/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/subcontract-change-order/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETDig Alert attachment list/api/v1/companies/{company}/record-attachments/dig-alert
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/dig-alert?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETDig Alert file download/api/v1/companies/{company}/record-attachments/dig-alert/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/dig-alert/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSpecial Shift attachment list/api/v1/companies/{company}/record-attachments/special-shift
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/special-shift?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSpecial Shift file download/api/v1/companies/{company}/record-attachments/special-shift/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/special-shift/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETWorking Days attachment list/api/v1/companies/{company}/record-attachments/working-days
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/working-days?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETWorking Days file download/api/v1/companies/{company}/record-attachments/working-days/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/working-days/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETTm Ticket attachment list/api/v1/companies/{company}/record-attachments/tm-ticket
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/tm-ticket?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETTm Ticket file download/api/v1/companies/{company}/record-attachments/tm-ticket/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/tm-ticket/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject attachment list/api/v1/companies/{company}/record-attachments/project
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/project?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject file download/api/v1/companies/{company}/record-attachments/project/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/project/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract attachment list/api/v1/companies/{company}/record-attachments/contract
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/contract?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract file download/api/v1/companies/{company}/record-attachments/contract/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/contract/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress Bill attachment list/api/v1/companies/{company}/record-attachments/progress-bill
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/progress-bill?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress Bill file download/api/v1/companies/{company}/record-attachments/progress-bill/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/progress-bill/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract Progress Bill attachment list/api/v1/companies/{company}/record-attachments/subcontract-progress-bill
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/subcontract-progress-bill?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract Progress Bill file download/api/v1/companies/{company}/record-attachments/subcontract-progress-bill/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/subcontract-progress-bill/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCost attachment list/api/v1/companies/{company}/record-attachments/cost
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/cost?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCost file download/api/v1/companies/{company}/record-attachments/cost/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/cost/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSub Status attachment list/api/v1/companies/{company}/record-attachments/sub-status
Returns complete data.guids and data.files (AttachmentID, OrigFileName, UniqueAttchID) for the scoped parent and retained child records. meta.total counts files. Missing parents return an empty list; source failures return 503. Same-name files keep distinct source IDs. No Vista data is changed.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/sub-status?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSub Status file download/api/v1/companies/{company}/record-attachments/sub-status/{attachment}
Downloads a file only after verifying its attachment ID belongs to the company and parent record. Returns binary content with X-Content-SHA256 for integrity verification. Missing parent/link/blob returns 404; source failures and files above 64 MiB return 503. Private, no-store.
job: required Vista job/project number, preserving its trailing period (project/contract accept the Hub number). record: parent KeyID; approved-change-order uses ACO text with leading zeroes preserved; project/contract use their number. subcontract-change-order additionally accepts item_ids[] (up to 500 retained PMSL KeyIDs, verified against the parent). attachment: positive source file ID for downloads. Company must be allowed by both the token and server.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/record-attachments/sub-status/123?job=2319.&record=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCost attachment backfill links/api/v1/companies/{company}/cost-attachment-links
Returns invoice attachment links for up to 500 retained JCCD KeyIDs, scoped to company and job. Invoice joins include company, month, transaction and reference. Complete/count metadata lets the Hub reject partial responses before upserting links by cost and attachment ID. Does not modify Vista.
job: required Vista job number. keys[]: required list of 1–500 distinct positive JCCD KeyIDs.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/cost-attachment-links?job=2319.&keys[]=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Imports
51Read source data for the Hub’s scheduled imports.
GETProject meeting minutes/api/v1/companies/{company}/imports/meeting-minutes
Complete project-scoped PMMM headers, PMMI items and PMML lines. meta.total/item_total/line_total report each array count. All three reads must succeed. Hub validates and transactionally upserts meetings, custom sections and note entries. Retains agenda/minutes numbering and synthetic item-note identities; absent records and blank-source existing notes are preserved. Attachments are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/meeting-minutes?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPending change-order documents/api/v1/companies/{company}/imports/change-order-documents/pending
Complete PMOP headers of type proposal, CostInc or NPC with nested PMOI items matched by company, contract and PCO. Hub creates RFCs transactionally and preserves user edits, including deliberately cleared sent state. Existing missing sent dates may be repaired; attachments are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/change-order-documents/pending?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETApproved change-order documents/api/v1/companies/{company}/imports/change-order-documents/approved
Complete nonblank PMOH ACO headers with nested PMOI items and PMOL estimate_lines. Values retain leading zeroes. Hub preserves internal/agency exclusions, explicit forced import behavior, imported approval attribution and existing records. The full project list also disambiguates historical flattened ACO numbers. Attachments and Vista writes are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/change-order-documents/approved?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject transmittals/api/v1/companies/{company}/imports/transmittals
Complete company/project-scoped data.headers (PMTM DocType N) and data.documents (PMTS) arrays. meta.total counts headers; meta.document_total counts document rows. Both source reads must succeed. The Hub validates both arrays before atomically creating missing transmittals, ordered document rows, flags, notes and unambiguous responsible contacts. Existing records remain unchanged. Document rows without a matching imported header remain outside the retained import. Attachments are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/transmittals?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject issues/api/v1/companies/{company}/imports/issues
Complete company/project-scoped PMIM snapshot with issue details, status, dates and impacts. Metadata includes company, job, complete and total. The Hub validates all rows before atomically creating or updating issues. A blank Vista resolved date preserves the existing Hub resolved date; absent issues and unrelated fields remain unchanged. Conflicting identities fail the import. Notes are returned for source parity but are not mapped by the retained importer. Attachments are separate.
job: required Vista project identifier, up to 20 characters; retain its source punctuation.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/issues?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject letters/api/v1/companies/{company}/imports/letters
Complete company/project-scoped PMOD snapshot with document types, dates, notes and related firm names. Metadata includes company, job, complete and total. The Hub retains ELTR, LFO, LTO, MISC and MISCD letter mappings, validates all rows and atomically creates missing letters and discussion comments. Existing letters remain unchanged; conflicting Hub identities fail the import. Other document types are ignored. Attachments are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/letters?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject submittals/api/v1/companies/{company}/imports/submittals
Complete company/project-scoped data.packages and data.items arrays, including revisions, dates, status, notes and contact fields. meta.total counts packages; meta.item_total counts items. Both reads must succeed. The Hub validates both arrays before atomically creating missing packages and matching register items. Existing documents remain unchanged. Standalone items without a matching package remain outside the retained package import. Attachments are separate.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/submittals?job=2319." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject RFIs/api/v1/companies/{company}/imports/rfis
Complete PMCo and project-scoped RFI snapshot, including questions, responses, impact fields, dates, responsible names and respond contact keys. Metadata includes company, job, complete and total. The Hub validates the full snapshot and creates missing RFIs atomically; existing documents and absent records are preserved. Attachments use a separate import.
job: required Vista job number including its trailing period, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/rfis?job=2214." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETOwner firms/api/v1/companies/{company}/imports/directory/owners
Complete VendorGroup-scoped firm snapshot excluding FirmNumber 1. Preserves firm type and contact/address fields. Hub upserts by KeyID and preserves absent records. Metadata includes company, kind, total, and complete.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/directory/owners" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETOwner contacts/api/v1/companies/{company}/imports/directory/contacts
Complete company-scoped contact snapshot joined to firms in the same VendorGroup, excluding FirmNumber 1 and null emails. Hub requires all referenced owners before applying the snapshot and upserts by contact_key_id; absent contacts are preserved. Metadata includes company, kind, total, and complete.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/directory/contacts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployee active status/api/v1/companies/{company}/imports/directory/employee-status
Complete PRCo-scoped group 2 snapshot with non-null names. Returns KeyID, FirstName, LastName, ActiveYN. Hub prefers existing employee links; unlinked users require unique source and Hub names. Ambiguous or absent matches are unchanged. No users are created and absence does not deactivate accounts. Metadata includes company, kind, total, and complete.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/directory/employee-status" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment costs/api/v1/companies/{company}/imports/equipment-transactions/costs
Read EMCo-scoped transactions after KeyID, ordered ascending, at most 500 per response. Returns KeyID, Equipment, CostCode, EMCostType, Dollars, ActualDate. Metadata includes company, kind, after, next_after, total, and complete. Follow next_after until complete is true. This is an incremental new-record import, not historical edit or deletion reconciliation. The Hub atomically saves linked records and retains records with missing or ambiguous equipment/cost-code links in equipment_transaction_pending. Retained rows are retried when references become available; the saved or retained KeyID prevents data loss when advancing.
after: nonnegative last imported Vista KeyID; defaults to 0.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment-transactions/costs?after=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment revenue/api/v1/companies/{company}/imports/equipment-transactions/revenue
Read EMCo-scoped transactions after KeyID, ordered ascending, at most 500 per response. Returns KeyID, Equipment, Dollars, ActualDate. Metadata includes company, kind, after, next_after, total, and complete. Follow next_after until complete is true. This is an incremental new-record import, not historical edit or deletion reconciliation. The Hub atomically saves linked records and retains records with missing or ambiguous equipment/cost-code links in equipment_transaction_pending. Retained rows are retried when references become available; the saved or retained KeyID prevents data loss when advancing.
after: nonnegative last imported Vista KeyID; defaults to 0.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment-transactions/revenue?after=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETVista equipment meter readings/api/v1/companies/{company}/imports/equipment-transactions/meters
Read EMCo-scoped bEMRD entries after KeyID, at most 500 per page. Returns KeyID, Equipment, HourReading, PostDate. Preserves the retained import mapping, including zero and signed readings; no aggregation or inferred filtering. Follow meta.next_after until meta.complete. The Hub stores source/company/KeyID identity to prevent duplicates and retains missing equipment links for retry. Existing unkeyed Vista readings must be reconciled before importing. This imports new records; historical edits and deletions require separate reconciliation.
after: nonnegative last imported Vista KeyID; defaults to 0.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment-transactions/meters?after=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment masters/api/v1/companies/{company}/imports/equipment/masters
Read bEMEM for PRCo and departments 1, 2, and 3, preserving the Hub import scope and all equipment statuses. Returns identifiers, category, department, manufacturer, model, model year, VIN, purchase/sold dates and license fields. Complete unpaginated snapshot with company, kind, complete, and total metadata. The Hub validates every row before importing and preserves records absent from later snapshots.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment/masters" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment categories/api/v1/companies/{company}/imports/equipment/categories
Read bEMCM for EMCo. Returns Category, Description, and udFuelGphs (mapped from the Vista udFuelGph column). Complete unpaginated snapshot with company, kind, complete, and total metadata. The Hub validates every row before importing and preserves records absent from later snapshots.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment/categories" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment cost codes/api/v1/companies/{company}/imports/equipment/cost-codes
Read bEMCC for EMGroup. Returns KeyID, CostCode, and Description. Complete unpaginated snapshot with company, kind, complete, and total metadata. The Hub validates every row before importing and preserves records absent from later snapshots.
company: authorized Vista company/group number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/equipment/cost-codes" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract headers/api/v1/companies/{company}/imports/subcontracts/headers
Read bSLHD headers for the company, optionally filtered by job. Returns Job, SL, Description, Status, Notes, and KeyID. The Hub maps status 0 to open, 3 to pending, 2 to closed, and other statuses to open. Unknown projects are logged and skipped. Responses are unpaginated; meta.complete is true and meta.total is the row count. The Hub upserts the returned Vista records and preserves existing records that are absent from a later response.
job: optional string up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/subcontracts/headers?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject subcontract items/api/v1/companies/{company}/imports/subcontracts/project-items
Complete project snapshot grouped by header_key, with an items array for each Vista subcontract header. Empty item arrays represent existing headers with no items; absent headers are not treated as empty item lists. Used by the scheduled Hub import to fetch all subcontract items once per project. meta.total counts headers.
job: required Vista job number.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/subcontracts/project-items?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract items/api/v1/companies/{company}/imports/subcontracts/items
Read bSLIT items using the company-scoped bSLHD KeyID. Returns SLItem, ItemType, Phase, JCCType, Description, OrigUnits, OrigCost, and KeyID. meta.header_found distinguishes a missing header from an empty item list. The Hub supplies the job as an additional scope check, imports items for active projects, matches phases and cost types, and logs missing links. Responses are unpaginated; meta.complete is true and meta.total is the row count. Existing items absent from a later response are preserved.
header_key: required positive bSLHD KeyID. job: optional Vista job number used to verify the header belongs to the expected project.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/subcontracts/items?header_key=7001&job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract change orders/api/v1/companies/{company}/imports/subcontracts/change-orders
Read PMSubcontractCO change-order headers for one company and project. Original subcontract records are excluded by requiring SubCO greater than zero. The Hub fetches both header and line snapshots before applying either, then upserts change orders by Vista KeyID.
job: required Vista project number up to 20 characters, including the trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/subcontracts/change-orders?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract change-order items/api/v1/companies/{company}/imports/subcontracts/change-order-items
Read PMSL change-order lines for one company and project. Only RecordType C rows with SubCO greater than zero are returned. The Hub matches each line to its subcontract and change-order number and preserves signed quantities and amounts.
job: required Vista project number up to 20 characters, including the trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/subcontracts/change-order-items?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract change orders/api/v1/companies/{company}/imports/contract-change-orders
Read all bJCOI change order items for a company contract. The scheduled Hub import chains one job per contract, so a throttled job retries that contract without replaying completed contracts. Returns Contract, ApprovedMonth, Item, Description, ContractAmt, ContractUnits, ACO, ACOItem, and KeyID. Unpaginated: meta.complete is true and meta.total is the row count. The Hub matches contract items and parent change orders after removing leading spaces, upserts by parent change order and ACOItem, and preserves signed amounts and units. Missing links are logged and skipped; absent Vista-owned records are reconciled; master records are retired and referenced local history is preserved.
contract: required string up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/contract-change-orders?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress entries/api/v1/companies/{company}/imports/progress-entries
Read bJCCD progress entries (JCTransType PE) for a company job with KeyID greater than after, ordered by KeyID. Returns Job, Phase, CostType, Mth, PostedDate, ActualDate, UM, ActualUnits, PostedUnits, ProgressCmplt, and KeyID. The Hub imports ActualUnits as units and preserves phase, cost type, and unit links. Unpaginated: meta.complete is true and meta.total is the row count. The individual project tool reads a full snapshot and reconciles removals after verifying the parent job. The scheduled Hub import now uses progress-changes to capture historical edits and deletions.
job: required string up to 20 characters, including the Vista trailing period. after: optional nonnegative KeyID, defaults to 0.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/progress-entries?job=2502.&after=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETJob import scope/api/v1/companies/{company}/imports/scopes/job
Verify the company-scoped parent still exists before treating an empty detail snapshot as authoritative. Returns data.exists and matching scope metadata. Errors never certify an empty result.
reference: required Vista job number, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/scopes/job?reference=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract import scope/api/v1/companies/{company}/imports/scopes/contract
Verify the company-scoped parent still exists before treating an empty detail snapshot as authoritative. Returns data.exists and matching scope metadata. Errors never certify an empty result.
reference: required Vista contract number, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/scopes/contract?reference=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress change sync/api/v1/companies/{company}/imports/progress-changes
Resumable bJCCD PE synchronization using CDC. Omit cursor for a full baseline, then persist meta.next_cursor after each successful page. Up to 500 KeyID/entry pairs; a null entry removes the old record in this job scope. Captures old edits, deletes, and rows moved between projects or transaction types. Cursors are bound to the progress stream, company, and job. A 409 progress_cursor_expired requires a fresh baseline. The Hub retains unresolved links for retry and applies data and cursor atomically.
job: required Vista job number. cursor: optional opaque continuation.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/progress-changes?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCost change sync/api/v1/companies/{company}/imports/cost-changes
Resumable cost sync using Vista CDC. Omit cursor to establish a paged baseline; then persist meta.next_cursor after applying each page. Pages contain up to 500 KeyID/cost pairs; a null cost means the row no longer belongs to this company job and supported transaction types. meta.mode is snapshot or changes; meta.complete ends that snapshot or change interval, not the ongoing sync. Cursors are encrypted and bound to the company and job. A 409 cost_cursor_expired requires a fresh baseline. The Hub prunes absent costs only after completing a baseline. Costs include current payroll details and AP attachments; attachment-only changes require the separate attachment backfill.
job: required string up to 20 characters. cursor: optional opaque next_cursor from the previous successful page.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/cost-changes?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject costs/api/v1/companies/{company}/imports/costs
Read incremental bJCCD costs for a company job with KeyID greater than after, ordered by KeyID. Includes PR, AP, JC, PO, and SL transactions, amounts, hours, units, dates, payroll details, and AP attachment IDs and descriptions scoped to the same company. Excludes CO and EM transactions. Unpaginated: meta.complete is true and meta.total is the row count. Legacy append-only read. The scheduled Hub sync uses the cost-changes endpoint to capture historical edits and deletes.
job: required string up to 20 characters, including the Vista trailing period. after: optional nonnegative KeyID, defaults to 0.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/costs?job=2502.&after=0" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject cost types/api/v1/companies/{company}/imports/cost-types
Read cost type budgets for a company job from bJCCH. Sums OrigHours, OrigUnits, and OrigCost as budget_hours, budget_units, and budget_cost, grouped by Phase, CostType, UM, ActiveYN, ItemUnitFlag, and PhaseUnitFlag. Includes inactive rows and signed budgets. Unpaginated: meta.complete is true and meta.total is the group count. The Hub upserts by project phase and cost type, uses one unit for zero-unit LS budgets, and logs missing phases, cost types, or units of measure. The Hub reconciles missing cost types during this import. It deletes only rows older than 24 hours with no dependent records; empty snapshots are held for review. The manual dry-run review remains available.
job: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/cost-types?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProject phases/api/v1/companies/{company}/imports/phases
Read all active and inactive phases for a company job. Returns Job, Phase, Description, Item, and ActiveYN, preserving Vista phase codes and item padding. meta.complete is true and meta.total is the row count. The Hub updates phases by project and phase code, links matching contract items, and logs skipped phases with missing items. The all-project import excludes yearly CLOSE. job buckets. Includes KeyID. Absent imported phases are reconciled without cascading through local history.
job: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/phases?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract items/api/v1/companies/{company}/imports/contract-items
Read all items for a company contract. Returns KeyID, Contract, Item, Description, UM, OrigContractAmt, OrigContractUnits, and OrigContractUnitPrice (from Vista OrigUnitPrice), plus the progress billing inputs RetainPCT, BillType, InitAsZero, BillOriginalUnits, BillOriginalAmt, UnitPrice (the price Job Billing bills with), BillDescription, and TaxCode. meta.complete is true and meta.total is the row count. The Hub updates matching items and skips unknown units of measure; absent imported items are reconciled, preserving referenced history and local-only items.
contract: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/contract-items?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContract billings/api/v1/companies/{company}/imports/contract-billings
Read all billing lines for one contract, scoped to company on both billing headers and lines. Returns Contract, BillMonth, Item, Description, UnitsBilled, WC, SM, AmtBilled, and KeyID. Unpaginated: meta.complete is true and meta.total is the row count. Validate the complete response before removing stale local billings; an error must never be treated as an empty result.
contract: required string, up to 20 characters. Use the Vista contract number, including its trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/contract-billings?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProjects/api/v1/companies/{company}/imports/projects
Import jobs joined to contracts in the same company. Includes all contract statuses in departments 1, 96, 99, and 999. Returns Job, Description, udFEDFUND, MailAddress, MailCity, MailState, MailZip, BidNumber, uddatebid, Department, and ContractStatus. HCSS job IDs are resolved separately by the Hub. Includes KeyID and closed contracts in the configured departments. The Hub preserves local-only projects and retires missing imported projects.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/projects" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETContracts/api/v1/companies/{company}/imports/contracts
Import company contracts in departments 1, 96, 99, and 999. Returns Contract, Description, Customer, ProjCloseDate, CurrentDays, udawarded (award date from the matching job in the same company), and the billing settings MaxRetgOpt, RoundOpt, PayTerms, BillDayOfMth, and RetainagePCT. Contracts without a matching job have a null award date. Includes all contract statuses in those departments. Includes KeyID and ContractStatus. The Hub updates identity by KeyID where available and retires missing imported contracts.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/contracts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPayment terms/api/v1/companies/{company}/imports/payment-terms
Read every HQ payment terms row (bHQPT is shared by all companies). Returns PayTerms, Description, DueOpt, DaysTillDue, DueDay, CutOffDay, DiscOpt, DaysTillDisc, DiscDay, and DiscRate. meta.complete is true and meta.total is the row count. Outage returns 503.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/payment-terms" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress bill headers/api/v1/companies/{company}/imports/progress-bills/headers
Every bJBIN bill on the contract, ordered by BillMonth and BillNumber. Returns Contract, BillMonth, BillNumber, Invoice, Application, InvDescription, InvDate, FromDate, ToDate, DueDate, ACOThruDate, BillAddress, BillAddress2, BillCity, BillState, BillZip, BillCountry, ARTrans, RetgRel, InitOption, RestrictBillGroupYN, SentToCustomerDateU, and InvStatus. Bills marked for deletion (InvStatus D) are included so the Hub can remove them. Unpaginated: meta.complete is true and meta.total is the row count; meta.kind echoes the kind. Values keep Vista decimal strings. An error must never be treated as empty history.
contract: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/progress-bills/headers?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress bill items/api/v1/companies/{company}/imports/progress-bills/items
Every bJBIT line on bills of the contract (both the bill and the line must carry the contract), ordered by BillMonth, BillNumber and Item. Returns Contract, BillMonth, BillNumber, Item, Description, ContractUnits, CurrContract, PrevUnits, PrevAmt, PrevWC, PrevWCUnits, PrevSM, PrevWCRetg, PrevSMRetg, WCRetPct, WCUnits, WC, WCRetg, SM, SMRetg, Purchased, Installed, SourceMth, SourceBillNumber, RetgRel (retainage this bill released, JB Release Retainage), and PrevRetgReleased. Unpaginated: meta.complete is true and meta.total is the row count; meta.kind echoes the kind. Values keep Vista decimal strings. An error must never be treated as empty history.
contract: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/progress-bills/items?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProgress bill change orders/api/v1/companies/{company}/imports/progress-bills/change-orders
Every bJBCX change-order item taken up by bills of the contract, ordered by BillMonth, BillNumber, Job, ACO and ACOItem. Returns BillMonth, BillNumber, Job, ACO, ACOItem, ChgOrderUnits, and ChgOrderAmt. Unpaginated: meta.complete is true and meta.total is the row count; meta.kind echoes the kind. Values keep Vista decimal strings. An error must never be treated as empty history.
contract: required string, up to 20 characters, including the Vista trailing period.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/progress-bills/change-orders?contract=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSL worksheet headers/api/v1/companies/{company}/imports/sl-worksheets/headers
Every SL Worksheet on the job: the open bSLWH worksheets and the ones already updated to AP from vSLWHHist, ordered by InvDate, SL and WorksheetID. Returns WorksheetID (the worksheet bSLWH.KeyID, which history keeps as SLKeyID, so a worksheet keeps one identity from open to updated), Source (open or history), UserName, SL, Job, Description, VendorGroup, Vendor, PayControl, APRef, InvDescription, InvDate, PayTerms, DueDate, HoldCode, ReadyYN, Notes, and VendorName from bAPVM. Unpaginated: meta.complete is true and meta.total is the row count; meta.kind echoes the kind. Values keep Vista decimal strings. An error must never be treated as empty history.
job: required string, up to 10 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/sl-worksheets/headers?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSL worksheet items/api/v1/companies/{company}/imports/sl-worksheets/items
Every item on the job worksheets: bSLWI lines of open worksheets and vSLWIHist lines of updated ones, ordered by WorksheetID and SLItem. Returns WorksheetID, SL, SLItem, ItemType, Description, LineDesc, PhaseGroup, Phase, UM, Supplier, CurUnits, CurUnitCost, CurCost, PrevWCUnits, PrevWCCost, WCUnits, WCCost, WCRetPct, WCRetAmt, PrevSM, Purchased, Installed, SMRetPct, SMRetAmt, BillMonth, BillNumber (the Job Billing bill the worksheet was initialized from, null otherwise), WCPctComplete, WCToDate, WCToDateUnits, and Notes. Unpaginated: meta.complete is true and meta.total is the row count; meta.kind echoes the kind. Values keep Vista decimal strings. An error must never be treated as empty history.
job: required string, up to 10 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/sl-worksheets/items?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCustomers/api/v1/companies/{company}/imports/customers
Import customers from the Vista customer group matching the company number (CustGroup). Returns data rows containing Customer, Name, Phone, EMail, Contact, Address, City, State, Zip, Status, KeyID, and PayTerms (the pay terms a progress bill falls back to when its contract has none). Includes active (A), inactive (I), and on-hold (O) customers. The Hub marks missing Vista customers inactive and preserves their history.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/customers" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployee time off/api/v1/companies/{company}/employees/{employee}/time-off
One payroll employee's leave: data.schedule_codes (HRCM PTO codes with their PR leave code), data.balances (active PREL rows for those leave codes: leave_code, description, available = AvailBal) and data.entries (HR Resource Schedule rows through HRRM.PREmp: key_id, date, seq, schedule_code, hours, status N/A/D/C, comments, approver, leave_request_id). The Hub decides which employee a user may see. No Vista data is changed.
employee: PREH employee number. from: optional Y-m-d lower bound on entry dates.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/employees/{employee}/time-off?from=2025-01-01" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETGroup time off schedule/api/v1/companies/{company}/time-off/schedule
HR Resource Schedule rows for up to 500 payroll employees between two dates (at most 400 days apart), in the same shape as employee time off entries plus employee. The Hub chooses the employees.
from, to: required Y-m-d. employees[]: required payroll employee numbers.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/time-off/schedule?from=2026-10-01&to=2026-10-31&employees[]=1237" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployee pay stubs/api/v1/companies/{company}/employees/{employee}/paystubs
Lists one employee's pay stub PDFs: the HQ attachments PR Check Print and Direct Deposit add to paid PRSQ pay sequences. A reprint adds another attachment to the same sequence; only the newest active one is returned. Rows carry attachment_id, pr_group, pr_end_date, pay_seq, paid_date, pay_method, description and attached_at, newest paid date first. The Hub decides which employee a user may see. No Vista data is changed.
employee: PREH employee number. from / to: optional Y-m-d bounds on the paid date.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/employees/{employee}/paystubs?from=2026-01-01&to=2026-10-15" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployee pay stub PDF/api/v1/companies/{company}/employees/{employee}/paystubs/{attachment}
Downloads one pay stub PDF only after verifying the attachment is an active PRSQ attachment of that employee in that company. Returns application/pdf with X-Content-SHA256. Unknown or foreign attachments return 404; source failures, non-PDF content and files above 64 MiB return 503. Private, no-store.
employee: PREH employee number. attachment: AttachmentID from the list.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/employees/{employee}/paystubs/123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployees/api/v1/companies/{company}/imports/employees
Import the full employee roster, including inactive employees. Returns data rows with KeyID, Employee, FirstName, LastName, MidName, Phone, ActiveYN, udForeman, PRGroup, Craft, Class, and LastUpdated (last timecard post date). Scoped to the payroll company; payroll and identity fields not needed by the Hub are excluded. The Hub deactivates missing Vista employees while preserving personnel and payroll history.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/employees" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEmployee user links/api/v1/companies/{company}/imports/employee-users
Distinct Vista user email to employee pairs from DDUPExtended (EMail, Employee) for the payroll company. Emails are trimmed and lowercased; a person's legacy and SSO logins collapse to one pair. An email can map to more than one employee (shared mailboxes); the Hub skips those. Returns data rows with email and employee. No Vista data is changed.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/employee-users" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCrafts and classes/api/v1/companies/{company}/imports/crafts
Craft and craft-class vocabulary, scoped to the payroll company. Returns data.crafts and data.classes with Craft, Class (classes only), and Description. Successful snapshots reconcile previously imported crafts and classes. Referenced definitions are retained and flagged for review.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/crafts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETChange-order headers/api/v1/companies/{company}/imports/change-orders/headers
Read change-order headers in pages of up to 500 rows. Keep meta.through_key fixed across pages; use meta.next_after as the next after_key. A null next_after marks the last page. Used by the scheduled all-project and individual-project header imports. Returns ACO, Description, IntExt, ApprovalDate, Notes, and KeyID. The Hub preserves leading zeroes while removing leading spaces from ACO, updates by project and number, and marks imported headers approved. All pages are validated before writing a project; missing imported headers are marked void, preserving local proposals and history.
job: required, up to 20 characters. after_key: optional nonnegative integer (default 0). through_key: optional nonnegative integer.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/change-orders/headers?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETBudget change-order details/api/v1/companies/{company}/imports/change-orders/details
Read change-order details in pages of up to 500 rows. Keep meta.through_key fixed across pages; use meta.next_after as the next after_key. A null next_after marks the last page. Used by the all-project budget import and individual-project import. The Hub matches parent change orders by project and ACO, upserts by change order, phase cost type, and ACOItem, preserves signed estimates, and converts zero-unit LS lines to one unit. Missing links are retried on each full snapshot. The Hub removes absent Vista-owned lines after validating all pages; local-only lines and referenced history are preserved.
job: required, up to 20 characters. after_key: optional nonnegative integer (default 0). through_key: optional nonnegative integer.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/imports/change-orders/details?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Core lookups
5Search reference data and validate master phases.
GETVendors/api/v1/companies/{company}/vendors
Search vendors. Results are returned in data.
q: required search string, 2–100 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/vendors?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETJobs/api/v1/companies/{company}/jobs
Search jobs. Results are returned in data.
q: required search string, 2–100 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/jobs?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETGL accounts/api/v1/companies/{company}/gl-accounts
Search gl accounts. Results are returned in data.
q: required search string, 2–100 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/gl-accounts?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETMaster phases/api/v1/companies/{company}/standard-phases
Paginated master phases; 20 records per page. Requires a configured phase group for the company.
q: optional, up to 100 characters. page: optional integer, 1–100000 (default 1).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/standard-phases?page=1" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETMaster phase prefix/api/v1/companies/{company}/standard-phase-prefix
Check whether a master phase begins with the supplied prefix. Returns data.exists.
prefix: required, exactly two letters or digits.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/standard-phase-prefix?prefix=01" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"AP lookups
24Reference searches and coding validation for AP Automation.
GETVendor by ID/api/v1/companies/{company}/ap-lookups/vendor
Vendor by ID for the authorized company. The result is returned in data.
vendor: required positive integer.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/vendor?vendor=123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch vendors/api/v1/companies/{company}/ap-lookups/vendors
Search vendors for the authorized company. The result is returned in data.
q: required, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/vendors?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch vendor names/api/v1/companies/{company}/ap-lookups/vendor-names
Search vendor names for the authorized company. The result is returned in data.
q: required, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/vendor-names?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETVendor candidates/api/v1/companies/{company}/ap-lookups/vendor-candidates
Vendor candidates for the authorized company. The result is returned in data.
q: required, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/vendor-candidates?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch jobs/api/v1/companies/{company}/ap-lookups/jobs
Search jobs for the authorized company, or the first page of them when no search term is given. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/jobs?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch GL accounts/api/v1/companies/{company}/ap-lookups/gl-accounts
Search GL accounts for the authorized company, or the first page of them when no search term is given. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/gl-accounts?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch subcontracts/api/v1/companies/{company}/ap-lookups/subcontracts
Search subcontracts for the authorized company. The result is returned in data.
q: required unless vendor is given, 1–100 characters. limit: optional, 1–50 (default 10). vendor: optional positive integer; narrows the list to that vendor.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/subcontracts?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETReviewer groups/api/v1/companies/{company}/ap-lookups/reviewer-groups
Reviewer groups for the authorized company. The result is returned in data.
q: required, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/reviewer-groups?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETHold codes/api/v1/companies/{company}/ap-lookups/hold-codes
Hold codes an invoice may be held under, from HQHC. Returns HoldCode and Description in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10). all: optional boolean; returns every code.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/hold-codes?all=1" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETValidate equipment coding/api/v1/companies/{company}/ap-lookups/equipment-coding
Returns the company EM group in data when the equipment, and whichever of its cost code and cost type are given, are on file; null otherwise.
equipment: required, up to 10 characters. cost_code: optional, up to 10 characters; required with cost_type. cost_type: optional integer 1–255.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/equipment-coding?equipment=T-104&cost_code=010&cost_type=3" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETValidate GL account/api/v1/companies/{company}/ap-lookups/gl-account-exists
Validate GL account for the authorized company. The result is returned in data.
q: required, 1–100 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/gl-account-exists?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETValidate job/api/v1/companies/{company}/ap-lookups/job-exists
Validate job for the authorized company. The result is returned in data.
q: required, 1–100 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/job-exists?q=CA" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETValidate job phase/api/v1/companies/{company}/ap-lookups/job-phase-exists
Validate job phase for the authorized company. The result is returned in data.
job: required, up to 10 characters. phase: required, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/job-phase-exists?job=2502.&phase=01." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPO items/api/v1/companies/{company}/ap-lookups/po-items
Items on one purchase order. The result is returned in data.
po: required, up to 30 characters. q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/po-items?po=2505.0003" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPO item lines/api/v1/companies/{company}/ap-lookups/po-item-lines
Lines under one PO item. The result is returned in data.
po: required, up to 30 characters. item: required positive integer. q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/po-item-lines?po=2505.0003&item=145" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPO receipts/api/v1/companies/{company}/ap-lookups/po-receipts
Distinct nonblank receiver numbers from PO receipt details, scoped to one purchase order. Returns Receipt and its latest ReceiptDate in data.
po: required, up to 30 characters. q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/po-receipts?po=2505.0003" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETPO receiver lines/api/v1/companies/{company}/ap-lookups/po-receiver-lines
Received PO lines for an exact receiver number and vendor in the authorized company. Returns PO, POItem, POItemLine, Receiver, Description, Units, UM, UnitCost, GrossAmt and TaxCode in data. GrossAmt preserves the recorded receipt cost, including zero and credits. UnitCost is that cost divided by received units, or null for zero units. TaxCode is the PO item line's sales tax code, or null when the PO does not tax it. No Vista data is changed.
receiver: required, up to 20 characters. vendor: required positive integer.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/po-receiver-lines?receiver=INV-2505&vendor=3450" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch equipment/api/v1/companies/{company}/ap-lookups/equipment
Equipment an AP line may be coded to. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/equipment?limit=50" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment cost codes/api/v1/companies/{company}/ap-lookups/equipment-cost-codes
Equipment cost codes for the authorized company. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/equipment-cost-codes?limit=50" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEquipment cost types/api/v1/companies/{company}/ap-lookups/equipment-cost-types
Equipment cost types for the authorized company. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/equipment-cost-types?limit=50" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETUnits of measure/api/v1/companies/{company}/ap-lookups/units-of-measure
Units of measure Vista knows. The result is returned in data.
q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/units-of-measure?limit=50" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch job phases/api/v1/companies/{company}/ap-lookups/phases
Phases set up on one job for the authorized company. The result is returned in data.
job: required, up to 10 characters. q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/phases?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch cost types/api/v1/companies/{company}/ap-lookups/cost-types
Cost types budgeted on a job phase, or the whole reference list when no job phase is given. The result is returned in data.
job: optional, up to 10 characters. phase: optional, up to 20 characters; both are needed to narrow to a job phase. q: optional, 1–100 characters. limit: optional, 1–50 (default 10).
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/cost-types?job=2502.&phase=01." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSearch purchase orders/api/v1/companies/{company}/ap-lookups/purchase-orders
Search purchase orders for the authorized company. The result is returned in data.
q: required unless vendor is given, 1–100 characters. limit: optional, 1–50 (default 10). vendor: optional positive integer; narrows the list to that vendor.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/ap-lookups/purchase-orders?vendor=98486" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Accounting
3Job estimates, projection billings, and true-up data.
GETCurrent estimates/api/v1/companies/{company}/accounting/current-estimates
Current estimates through the supplied date. Results include company and date metadata.
job: required, up to 20 characters. through_date: required date in YYYY-MM-DD format.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/accounting/current-estimates?job=2502.&through_date=2026-09-30" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProjection billings/api/v1/companies/{company}/accounting/projection-billings
Projection billings through the supplied date. Results include company and date metadata.
job: required, up to 20 characters. through_date: required date in YYYY-MM-DD format.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/accounting/projection-billings?job=2502.&through_date=2026-09-30" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAccounting true-up/api/v1/companies/{company}/accounting/true-up
Accounting true-up through the supplied date. Results include company and date metadata.
through_date: required date in YYYY-MM-DD format.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/accounting/true-up?through_date=2026-09-30" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Progress billing
4Live reads behind progress bill creation and auto fill in the Hub.
GETOpen billing months/api/v1/companies/{company}/progress-billing/open-months
The last closed subledger month and MaxOpen count of the GL company behind the JC company, from which the caller draws the open Job Billing months. Returns data.last_closed_subledger_month (YYYY-MM-DD or null) and data.max_open (integer or null). Outage returns 503.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/progress-billing/open-months" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETNext invoice number preview/api/v1/companies/{company}/progress-billing/next-invoice
Previews the number bspJBGetLastInvoice would assign: the JB or AR sequence per JBCO.InvoiceOpt, plus one, skipping numbers already used in ARTH, ARBH, JBAR or JBIN and any the caller reserves. Never consumes the number. data.invoice is null when auto sequencing is off, the sequence is not numeric, or 500 probes find nothing free.
reserved[]: optional list of up to 200 invoice numbers (digits, up to 10) the caller already holds.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/progress-billing/next-invoice?reserved[]=123456" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCost by period for auto fill/api/v1/companies/{company}/progress-billing/cost-periods
One row per contract item and cost type (bJCJP to bJCCH) with bJCCP summed through the bill month, as bspJBProgressBillItemsInit reads them. Returns Item, Job, PhaseGroup, Phase, CostType, BillFlag, LastProjDate, ProjUnits, CurrEstUnits, ProjCost, CurrEstCost, ActualCost, and ActualUnits. A cost type with no periods has null sums. meta.complete is true and meta.total is the row count.
contract: required string, up to 20 characters. month: required bill month, YYYY-MM-01.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/progress-billing/cost-periods?contract=2502.&month=2026-10-01" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETSubcontract billing source/api/v1/companies/{company}/subcontract-billing/source
The live read the Hub initializes subcontract progress bill invoices from, the way SL Worksheet Initialization reads SLHD and SLIT with JCJP and JCCI when run from Job Billing (bspSLWHAdd). data.subcontracts holds every open (Status 0) bSLHD subcontract on the job, by SL: SL, Description, VendorGroup, Vendor, PayTerms, HoldCode and MaxRetgOpt, with VendorName and PayControl from bAPVM. Under items, by SLItem, each bSLIT line carries SL, SLItem, ItemType, Description, PhaseGroup, Phase, UM, CurUnits, CurUnitCost, CurCost, InvUnits, InvCost, StoredMatls, WCRetPct, SMRetPct and Supplier, plus the contract item the phase bills under (bJCJP to bJCCI) as ContractItem, InitSubs, ContractItemUM and ContractItemUnits, null when there is none. A subcontract with no items has an empty items list. meta.sl_total_overrun_allowed is bAPCO.SLTotYN, null without an AP company row; meta.complete is true and meta.total is the subcontract count. Outage returns 503.
job: required string, up to 10 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/subcontract-billing/source?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Dashboards
14Company and job-level data for the Hub dashboards.
GETActive contracts/api/v1/companies/{company}/dashboard/active-contracts
Return the active contract list. No job parameter is required.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/active-contracts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETBilling detail/api/v1/companies/{company}/dashboard/billing-detail
Read billing detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/billing-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETEarned budget detail/api/v1/companies/{company}/dashboard/earned-budget-detail
Read earned budget detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/earned-budget-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETProjection detail/api/v1/companies/{company}/dashboard/projection-detail
Read projection detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/projection-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETBudget detail/api/v1/companies/{company}/dashboard/budget-detail
Read budget detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/budget-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETCurrent contract detail/api/v1/companies/{company}/dashboard/current-contract-detail
Read current contract detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/current-contract-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETUnpaid vendors/api/v1/companies/{company}/dashboard/unpaid-vendors
Read unpaid vendors for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/unpaid-vendors?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAp unpaid detail/api/v1/companies/{company}/dashboard/ap-unpaid-detail
Read ap unpaid detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/ap-unpaid-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAp unpaid/api/v1/companies/{company}/dashboard/ap-unpaid
Read ap unpaid for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/ap-unpaid?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAr aging detail/api/v1/companies/{company}/dashboard/ar-aging-detail
Read ar aging detail for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/ar-aging-detail?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAr aging/api/v1/companies/{company}/dashboard/ar-aging
Read ar aging for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/ar-aging?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETManhours/api/v1/companies/{company}/dashboard/manhours
Read manhours for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/manhours?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETChange orders/api/v1/companies/{company}/dashboard/change-orders
Read change orders for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/change-orders?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETJob totals/api/v1/companies/{company}/dashboard/job-totals
Read job totals for a job. Both abilities are required.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/dashboard/job-totals?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Timecards
1Lookup data used to audit timecards.
GETTimecard audit/api/v1/companies/{company}/timecard-audit
Returns data.foremen, data.employees, and data.jobs for the authorized company.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/timecard-audit" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Invoices
7Read pending approvals and submit invoice documents.
GETPending approval/api/v1/companies/{company}/invoices/pending-approval
Read invoices awaiting approval by the supplied reviewer.
reviewer_email: required email, up to 254 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/invoices/pending-approval?reviewer_email=reviewer%40example.com" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETUnapproved invoice summary/api/v1/companies/{company}/invoices/unapproved/summary
Read project unapproved AP summary.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/invoices/unapproved/summary?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETUnapproved invoice details/api/v1/companies/{company}/invoices/unapproved/details
Read project unapproved AP details.
job: required string, up to 20 characters.
curl --fail-with-body "$VISTALINK_URL/api/v1/companies/1/invoices/unapproved/details?job=2502." \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTSubmit an invoice/api/v1/invoices
Submit invoice JSON and a PDF as multipart/form-data. A new submission returns 202 and a Location header for its operation. Reusing a key with different data returns 409.
Headers: Idempotency-Key (up to 100 characters: letters, digits, _, ., :, -). Fields: actor (email); pdf (complete PDF, up to 20 MB); invoice (JSON). Invoice requires company, vendor, reference, date, due_date, document_type, subtotal, tax, shipping, total, and 1–200 lines; hold_code (up to 10), notes (up to 4000), no_fpo (boolean) and initials (up to 15) are optional. Monetary amounts are strings with two decimal places. Line type 1 requires job; phase and cost_type may be left for the reviewers, but cost_type needs phase. Type 4 may stop at equipment or its cost code. Type 3 requires gl_account and no job coding. Type 6 is coded from the vendor's PO item line. Sales tax is split by signed amount across lines with a tax code. Every line requires description and amount. Totals must reconcile exactly.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/invoices" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: 00000000-0000-4000-8000-000000000001" \
-F "[email protected]" \
-F "invoice=<invoice.json" \
-F "[email protected]"POSTPost an AP Transaction Entry batch/api/v1/ap-transaction-batches
Post 1–50 approved invoices straight to AP through one Vista AP Entry batch, each with its PDF. Requires the company in VISTA_AP_TRANSACTION_BATCH_COMPANIES. A new batch returns 202 and a Location header. Reusing a source key with different data, or an invoice already reserved by another batch, returns 409. A batch that fails Vista validation is cleared and reported as failed with safe_to_retry true.
Headers: Idempotency-Key (UUID, equal to batch.source_key). Fields: batch (JSON with source_key, destination ap_transaction_entry, company, month (first of month), actor (email), invoices); pdfs[source_invoice_id] (one complete PDF per invoice, 100 MB combined). Each invoice entry has source_invoice_id, pdf_hash (SHA-256), file_name and invoice, which follows Submit an invoice but must use the batch company and month and be fully coded: job lines need phase and cost_type, equipment lines need equipment, cost code, cost type and gl_account.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/ap-transaction-batches" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: 00000000-0000-4000-8000-000000000001" \
-F "[email protected]" \
-F "invoice=<invoice.json" \
-F "[email protected]"GETAP Transaction Entry batch by ID/api/v1/ap-transaction-batches/{id}
Batch status: accepted, processing, posted, failed or unknown. A posted result lists the Vista batch and each invoice's AP transaction. Reading an unknown batch rechecks Vista for a confirmed posting.
id: batch UUID.
curl --fail-with-body "$VISTALINK_URL/api/v1/ap-transaction-batches/00000000-0000-4000-8000-000000000001" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETAP Transaction Entry batch by source key/api/v1/ap-transaction-batches/by-key/{key}
The same status as by ID, found by the source key the batch was submitted with.
key: source key UUID.
curl --fail-with-body "$VISTALINK_URL/api/v1/ap-transaction-batches/by-key/hub-change-order-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Project submissions
16Durable submissions for change orders, budget adjustments, and subcontracts.
POSTSubmit project setup change/api/v1/project-setup
Opt-in durable phase or contract-item change. Actions: save-phase, describe-phase, reassign-phase, delete-phase, create-contract-item, describe-contract-item (definition: item, description, expected_description; refused if the Vista description no longer matches expected_description). Save/retry the same source key and definition; unresolved requests reserve the job. Cost history blocks budget edits; existing cost types are retained. Deletion has a separate disabled-by-default switch.
JSON: source_key, company, actor, job, action, definition. Full per-action definitions are in README.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/project-setup" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"source_key":"setup-example-1","company":101,"actor":"7","job":"9999.","action":"describe-phase","definition":{"phase":"01.","description":"Updated description","expected_description":"Original description"}}'GETProject setup request status/api/v1/project-setup/{key}
Returns the immutable request and confirmed result for this client. Unknown outcomes require reconciliation before another request.
key: original source_key.
curl --fail-with-body "$VISTALINK_URL/api/v1/project-setup/setup-example-1" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTPost progress bill/api/v1/progress-bills
Opt-in durable posting of a completed progress bill into Job Billing (not the AR/JC/GL interface). In one Vista transaction the worker runs bspJBProgressBillInit, or reuses the bill the submission already owns, applies the header and item figures, and verifies the change-order links and item values before committing. Any mismatch rolls back and fails the submission. An unresolved request reserves the contract. Save source_key for retries; unknown outcomes require reconciliation.
JSON: source_key, company, actor, job, bill_month (YYYY-MM-01), application, invoice_date, from_date, to_date, change_order_through_date, invoice_description (up to 30), review_user, vista_bill ({month, number} or null), header (bill address and sent-to-customer fields), items (decimal strings: units three places, money two, wc_retainage_percent four), change_orders (aco, aco_item, units, amount). Full field list is in README.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/progress-bills" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"source_key":"progress-bill-12-rev-1","company":1,"actor":"7","job":" 2601.","bill_month":"2026-10-01","application":5,"invoice_date":"2026-10-20","from_date":"2026-10-01","to_date":"2026-10-31","change_order_through_date":"2026-10-20","invoice_description":null,"review_user":"jdoe","vista_bill":null,"header":{"bill_address":null,"bill_address_2":null,"bill_city":null,"bill_state":null,"bill_zip":null,"bill_country":null,"sent_to_customer":false,"sent_to_customer_id":null,"sent_to_customer_at":null},"items":[{"item":"001","description":"Mobilization","units_billed":"0.000","amount_billed":"1000.00","retainage_billed":"100.00","amount_due":"900.00","previous_units":"0.000","previous_amount":"0.00","current_contract":"10000.00","contract_units":"1.000","previous_wc":"0.00","previous_wc_units":"0.000","wc":"1000.00","wc_units":"0.000","wc_retainage":"100.00","previous_sm":"0.00","sm":"0.00","sm_retainage":"0.00","previous_sm_retainage":"0.00","previous_wc_retainage":"0.00","wc_retainage_percent":"0.1000"}],"change_orders":[]}'GETProgress bill posting status/api/v1/progress-bills/{key}
Returns the saved request and outcome for this client. Only succeeded confirms the bill; its result carries bill_month, bill_number, invoice and application. Unknown outcomes require reconciliation.
key: original source_key.
curl --fail-with-body "$VISTALINK_URL/api/v1/progress-bills/hub-change-order-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTPost SL worksheet/api/v1/sl-worksheets
Opt-in durable posting of one approved subcontract progress bill invoice onto Vista's SL Worksheet, ready for AP to update (AP is not updated). In one Vista transaction the worker runs bspSLWHAdd for the subcontract from the Job Billing bill month, or reuses the worksheet an earlier post of the same invoice left, hands it to the Vista login of user_email, marks it ready with the PM's initials in udPMApproval, refuses if the subcontract figures bspSLWHAdd took (CurUnits, CurUnitCost, CurCost, PrevWCUnits, PrevWCCost, PrevSM) no longer match the invoice, applies the Hub figures and verifies them before committing. A subcontract already on another worksheet is refused. An unresolved request reserves the subcontract. Save source_key for retries; unknown outcomes require reconciliation.
JSON: source_key, company, actor, hub_invoice, job, sl, user_email, bill_month (YYYY-MM-01) and bill_number of the Job Billing bill, header (pay_control, ap_reference, invoice_description up to 30, invoice_date, pay_terms, due_date, hold_code, pm_approval up to 15), items (sl_item, line_description, and decimal strings: units three places, unit cost five, money two, percents four).
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/sl-worksheets" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"source_key":"sl-worksheet-34-rev-1","company":1,"actor":"7","hub_invoice":34,"job":" 2601.","sl":"2601.001","user_email":"[email protected]","bill_month":"2026-10-01","bill_number":5,"header":{"pay_control":"SUB","ap_reference":null,"invoice_description":"October","invoice_date":"2026-10-31","pay_terms":"30","due_date":"2026-11-30","hold_code":null,"pm_approval":"JD"},"items":[{"sl_item":1,"line_description":"Paving","cur_units":"100.000","cur_unit_cost":"50.00000","cur_cost":"5000.00","prev_wc_units":"20.000","prev_wc_cost":"1000.00","prev_sm":"0.00","wc_units":"30.000","wc_cost":"1500.00","wc_ret_pct":"0.1000","wc_ret_amt":"150.00","purchased":"0.00","installed":"0.00","sm_ret_pct":"0.1000","sm_ret_amt":"0.00","wc_pct_complete":"0.5000","wc_to_date":"2500.00","wc_to_date_units":"50.000"}]}'GETSL worksheet posting status/api/v1/sl-worksheets/{key}
Returns the saved request and outcome for this client. Only succeeded confirms the worksheet; its result carries sl, worksheet_id (the bSLWH KeyID, which history keeps as SLKeyID), user and items. Unknown outcomes require reconciliation.
key: original source_key.
curl --fail-with-body "$VISTALINK_URL/api/v1/sl-worksheets/hub-change-order-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTPost time off decision/api/v1/time-off
Opt-in durable write of one decided Hub time off request to the HR Resource Schedule (bHRES), as the portal does: one row per day with Source HRSched, Description Leave Request, udScheduleChecked N and LeaveRequestID = 1,000,000 + request_id. Status A or D inserts the days (next Seq per day) or updates the rows an earlier send of the same request wrote; C marks those rows canceled. The employee resolves through HRRM.PREmp; the schedule code must be an HRCM PTO code. Rows are verified before commit. Save source_key for retries; unknown outcomes require reconciliation.
JSON: source_key, company, actor, employee (payroll number), request_id (Hub request), status (A, D or C), schedule_code, approver (name, up to 128), requester_comment and approver_comment (up to 255, nullable), days (1–60 of date YYYY-MM-DD and hours with two decimals).
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/time-off" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"source_key":"time-off-12-A","company":1,"actor":"7","employee":1237,"request_id":12,"status":"A","schedule_code":"PTO","approver":"Lisa Dubois","requester_comment":"Family trip","approver_comment":null,"days":[{"date":"2026-11-02","hours":"8.00"}]}'GETTime off decision status/api/v1/time-off/{key}
Returns the saved request and outcome for this client. Only succeeded confirms the Vista rows; its result carries hr_ref, leave_request_id and rows (key_id, date, seq, status).
key: original source_key.
curl --fail-with-body "$VISTALINK_URL/api/v1/time-off/hub-change-order-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTSubmit projection overrides/api/v1/projections
Opt-in atomic job-cost and contract-revenue overrides. Save source_key for retries; never create another revision while accepted, processing, or unknown. Company and write switch are checked again by the worker.
JSON: source_key, company, actor, job, month (YYYY-MM-01), cost and revenue (decimal strings with two places).
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/projections" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{"source_key":"projection-123-revision-1","company":101,"actor":"7","job":"9999.","month":"2026-09-01","cost":"100.00","revenue":"150.00"}'GETProjection submission status/api/v1/projections/{key}
Returns the saved request and outcome for this client. Unknown outcomes require reconciliation. Only succeeded confirms both writes.
key: original source_key.
curl --fail-with-body "$VISTALINK_URL/api/v1/projections/projection-123-revision-1" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTSubmit change order/api/v1/change-orders
Requires the corresponding write feature to be enabled and the company to be allowed. Reuse the same source_key and identical payload for retries. Changed payloads conflict with 409. Accepted or processing submissions return 202; other states return 200.
JSON body: source_key (max 100; letters, digits, ., _, -), company, actor, job, posting_date (YYYY-MM-DD), description, notes, working_days, items (1–500). Each item includes contract_item, local_contract_item_id, description, um, qty, revenue, and phases. Each phase includes phase, local_phase_id, cost_type, um, qty, hours, cost, reassign. See example for the nested structure.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/change-orders" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{
"source_key": "hub-change-order-123",
"company": 1,
"actor": "hub-user-42",
"job": "2502.",
"posting_date": "2026-09-30",
"description": "Example change order",
"notes": null,
"working_days": 0,
"items": [
{
"contract_item": "1",
"local_contract_item_id": 123,
"description": "Example item",
"um": "LS",
"qty": 1,
"revenue": 100,
"phases": [
{
"phase": "01.",
"local_phase_id": 456,
"cost_type": 1,
"um": "LS",
"qty": 1,
"hours": 0,
"cost": 80,
"reassign": false
}
]
}
]
}'GETChange order status/api/v1/change-orders/{key}
Look up your client’s submission by source_key. Returns 202 while accepted or processing, otherwise 200. Inspect data.status for the actual outcome.
key: the source_key used for submission.
curl --fail-with-body "$VISTALINK_URL/api/v1/change-orders/hub-change-order-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTSubmit budget adjustment/api/v1/budget-adjustments
Requires the corresponding write feature to be enabled and the company to be allowed. Reuse the same source_key and identical payload for retries. Changed payloads conflict with 409. Accepted or processing submissions return 202; other states return 200.
JSON body: source_key (max 100; letters, digits, ., _, -), company, actor, job, posting_date (YYYY-MM-DD), description, notes, working_days, items (1–500). Each item includes contract_item, local_contract_item_id, description, um, qty, revenue, and phases. Each phase includes phase, local_phase_id, cost_type, um, qty, hours, cost, reassign. See example for the nested structure. source_key must start with budget-adjustment-. working_days, item qty, and revenue must be zero. Each item needs at least one phase; reassign must be false.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/budget-adjustments" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{
"source_key": "budget-adjustment-123",
"company": 1,
"actor": "hub-user-42",
"job": "2502.",
"posting_date": "2026-09-30",
"description": "Example change order",
"notes": null,
"working_days": 0,
"items": [
{
"contract_item": null,
"local_contract_item_id": 123,
"description": "Example item",
"um": "LS",
"qty": 0,
"revenue": 0,
"phases": [
{
"phase": "01.",
"local_phase_id": 456,
"cost_type": 1,
"um": "LS",
"qty": 1,
"hours": 0,
"cost": 80,
"reassign": false
}
]
}
]
}'GETBudget adjustment status/api/v1/budget-adjustments/{key}
Look up your client’s submission by source_key. Returns 202 while accepted or processing, otherwise 200. Inspect data.status for the actual outcome.
key: the source_key used for submission.
curl --fail-with-body "$VISTALINK_URL/api/v1/budget-adjustments/budget-adjustment-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"POSTSubmit subcontract/api/v1/subcontracts
Requires the corresponding write feature to be enabled and the company to be allowed. Reuse the same source_key and identical payload for retries. Changed payloads conflict with 409. Accepted or processing submissions return 202; other states return 200.
JSON body: source_key (must start with subcontract-), company, actor, job, posting_date, subcontract (max 30 characters), number (1–32767), lines (1–500), budget (present, nullable). Each line requires phase, description (nullable), um, qty, amount. Optional budget uses the budget-adjustment schema and must match company, actor, job, and posting_date.
curl --fail-with-body -X POST "$VISTALINK_URL/api/v1/subcontracts" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
--data '{
"source_key": "subcontract-123",
"company": 1,
"actor": "hub-user-42",
"job": "2502.",
"posting_date": "2026-09-30",
"subcontract": "SL-123",
"number": 1,
"lines": [
{
"phase": "01.",
"description": "Example work",
"um": "LS",
"qty": 1,
"amount": 100
}
],
"budget": null
}'GETSubcontract status/api/v1/subcontracts/{key}
Look up your client’s submission by source_key. Returns 202 while accepted or processing, otherwise 200. Inspect data.status for the actual outcome.
key: the source_key used for submission.
curl --fail-with-body "$VISTALINK_URL/api/v1/subcontracts/subcontract-123" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"Invoice operations
2Reconcile invoice submissions and inspect their processing history.
GETOperation by key/api/v1/operations/by-key/{key}
Read your client’s invoice submission by idempotency key. This lookup route requires a UUID key, even though submission accepts other key formats. Use a UUID for invoice keys when you need this lookup.
key: UUID idempotency key.
curl --fail-with-body "$VISTALINK_URL/api/v1/operations/by-key/00000000-0000-4000-8000-000000000001" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"GETOperation by ID/api/v1/operations/{id}
Read submission status and audit events for your client’s operation.
id: operation UUID.
curl --fail-with-body "$VISTALINK_URL/api/v1/operations/00000000-0000-4000-8000-000000000001" \
-H "Authorization: Bearer $VISTALINK_TOKEN" \
-H "Accept: application/json"