OPX home page
Search...
Support
Dashboard
Dashboard
Search...
Navigation
WorksitesDocuments
Worksite document update
Documentation
API Reference (beta)
Features
Book a demo
Beneficiaries
GET
Beneficiaries list
POST
Beneficiary creation
GET
Beneficiary details
PUT
Beneficiary update
DEL
Beneficiary deletion
ContractsTemplates
GET
Contracts templates list
GET
Contract template details
Conventions
GET
Conventions list
POST
Convention creation
GET
Convention details
GET
Convention operations list
Materials
GET
Materials list
POST
Material creation
GET
Material details
PUT
Material update
DEL
Material deletion
Operations
GET
Operations list
GET
Operation details
GET
Operation Aids parameters list
GET
Operation AH parameters list
Subcontractors
GET
Subcontractors list
POST
Subcontractor creation
GET
Subcontractor details
PUT
Subcontractor update
DEL
Subcontractor deletion
Utils
GET
Health check
Worksites
GET
Worksites list
POST
Worksite creation
GET
Worksite details
PUT
Worksite update
DEL
Worksite deletion
WorksitesDocuments
GET
Worksite documents list
POST
Worksite document creation
GET
Worksite document show
PUT
Worksite document update
DEL
Worksite document deletion
WorksitesOperations
GET
Worksite operations list
POST
Worksite operation creation
GET
Worksite operation details
PUT
Worksite operation update
DEL
Worksite operation deletion
WorksitesDocuments
Worksite document update
PUT
/
v1
/
worksites
/
{id}
/
documents
/
{document_id}
Try it
Path Parameters
id
integer
required
document_id
integer
required
Body
multipart/form-data
name
string
required
Maximum length:
255
file
file | null
url
string | null
Response
200 - application/json
data
object
required
Show child attributes
data.
created_at
string
required
data.
file_name
string
required
data.
id
integer
required
data.
status
string
required
data.
type
string
required
AH, CC, Photo, ...
data.
url
string | null
required
data.
worksite_operation_id
integer | null
required
null if directly attached to a worksite
Worksite document show
Worksite document deletion