File documents
Changed onUp to 100 documents in one call, matched on external_id, which is required here.
The bytes go up separately. POST /company/v3/files takes one file and answers an id; send that as file_id. A file may be claimed once: one already hanging off a document is refused rather than moved.
An uploaded file waits to be claimed and is not cleaned up. A batch refused at the hundredth document leaves all hundred files staged and still valid, so a retry should send the same file_ids rather than uploading them again.
parent_external_id links a supplementary agreement to what it amends, by your key rather than ours. It resolves against documents already filed — not against another item of the same batch — and a key matching nothing clears the link rather than failing.
user_id is required and may name somebody who has left: termination paperwork is filed after a dismissal, which is exactly when it is needed.
No signers. Signing runs conversions and outbound calls that do not belong under a versioned contract, so documents filed here are always party: employee. Signature state is readable; creating a signing request is not offered yet.
author_id is set to the subject: this token authenticates a company, not a person.
Request
- Base URL: https://api.clockster.com
- URL: https://api.clockster.com/company/v3/documents/upsert
- Auth: HTTP bearer
Request body
Response
Success
Changes
- info
the endpoint scheme security
companyTokenwas added to the API - info
added the new
asp_certificateenum value to the request property// - info
added the new
attorneyenum value to the request property// - info
added the new
disability_certificateenum value to the request property// - info
added the new
hunterenum value to the request property// - info
added the new
insurance_policyenum value to the request property// - info
added the new
large_family_certificateenum value to the request property// - info
added the new
lbg_cardenum value to the request property// - info
added the new
oralmanenum value to the request property// - info
added the new
pcr_certificateenum value to the request property// - info
added the new
pensionenum value to the request property// - info
added the new
rk_passportenum value to the request property// - info
added the new
social_idenum value to the request property// - info
added the new
srtsenum value to the request property// - info
added the new
student_cardenum value to the request property// - info
added the new
tech_passportenum value to the request property// - info
added the new
vaccinationenum value to the request property// - info
added the new
vnzhenum value to the request property//
- info
- info
added the new
birth_certificateenum value to the request property// - info
added the new
change_fio_certificateenum value to the request property// - info
added the new
divorce_certificateenum value to the request property// - info
added the new
driver_licenseenum value to the request property// - info
added the new
marriage_certificateenum value to the request property//
- info