journal_entries_update
Update journal entries in ServiceTitan by modifying properties like name, status, and custom fields using tenant ID and entry ID for precise record management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | Format - guid. | |
payload | No | ||
tenant | Yes | Format - int64. Tenant ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Format - guid.",
"format": "uuid",
"type": "string"
},
"payload": {
"additionalProperties": false,
"properties": {
"customFields": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"status": {
"enum": [
"Open",
"Closed",
"Draft"
],
"type": "string"
}
},
"type": "object"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
}
},
"required": [
"id",
"tenant"
],
"type": "object"
}