Skip to main content
Docktix

Records

Create, read, change and delete the records of a module.

Host: api_domain · Path prefix: /docktix/api/v1/ · Method: POST (parameter-less reads are GET) · every POST body also carries Firm_Id and Email · see Authentication for headers and errors.

RouteScopePurpose
records/listDocktixCRM.records.READList records of a module (paged)
records/detailsDocktixCRM.records.READGet one record
records/createDocktixCRM.records.CREATECreate a record
records/updateDocktixCRM.records.UPDATEChange a record
records/deleteDocktixCRM.records.DELETEDelete a record

The Data object holds field values keyed by field key (see modules/fields/list on the Modules page), for example { "first_name": "Jane" }. Records are JSON only; file and image uploads are not supported by these routes.

List records

POST{api_domain}/docktix/api/v1/records/list
Scope DocktixCRM.records.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module
PageintegerOptionalDefault 1
Per_PageintegerOptionalDefault 25, maximum 100
Sort_Key, Sort_TypestringOptionalSorting
Record_CriteriaOptionalFilter criteria
Fieldsarray of stringsOptionalOnly return these field keys

Response: Details (records), Info (paging), Total_All_Records. Negative Page or Per_Page answers 400.

Get a record

POST{api_domain}/docktix/api/v1/records/details
Scope DocktixCRM.records.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Record_IdstringRequiredThe record

Unknown or foreign ids answer 404 Record not found.

Create a record

POST{api_domain}/docktix/api/v1/records/create
Scope DocktixCRM.records.CREATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module
DataobjectRequiredField values (not empty)

Details is the new record id. If your firm has an approval rule for new records, the call answers 202 with Operation_Pending_Approval: true; the record stays hidden until approved.

Update a record

POST{api_domain}/docktix/api/v1/records/update
Scope DocktixCRM.records.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Record_IdstringRequiredThe record
DataobjectRequiredOnly the keys you send are changed

Delete a record

POST{api_domain}/docktix/api/v1/records/delete
Scope DocktixCRM.records.DELETEHost api_domainContent-Type application/json
Destructive. One record per call.
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Record_IdstringRequiredThe record
ConfirmbooleanRequiredMust be true; the call is refused without it