Writing is currently supported for the
employee and time_report domains.- To write data, the role being used must have the
createand/orupdatepermissions for the domain you are writing to. - Following RESTful conventions,
POSTcreates new resources,PUTupdates existing resources, andPATCHpartially updates existing resources. - Although
PATCHdoes not touch unspecified dated properties, it still replaces all entries of the targeted dated properties with the values provided in the request body. To keep existing historical values for a given dated property, include them in the request body. This behavior may change in the future given enough demand. - If there are incoming domain mappings for the domain you are writing to, avoid updating any properties that are mapped in those integrations. Otherwise it becomes ambiguous which integration is responsible for the data.
- If there is a configured
twineintegration with outgoing domain mappings for that domain, a replication job is created by default to push the changes to the configured integration.- For
employee, suppress replication by adding a condition in the target integration. - For
time_report, control replication per request throughjob_optionson create and update (or the equivalent query parameters on delete) — for example, setqueue_jobtofalseto skip it, or scope it withdomain_mapping_id,schedule_in, anddate_range. See the Time Report endpoints for details.
- For