Updates the job planning with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The job planning id. |
globally unique identifier |
Required |
Body Parameters :
job_planning| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary key |
globally unique identifier |
Required |
| jobs_id |
FK to jobs.id |
globally unique identifier | |
| job_name |
jobs.name |
string | |
| date_from |
Date from. Defaults to when absent from the request body. |
date | |
| date_to |
Date to. Defaults to when absent from the request body. |
date | |
| job_status_id |
FK to job_status.id |
globally unique identifier | |
| sys_logical_delete |
Soft-delete flag: when true, this planning slot is considered deleted, optimizing synchronization (can be physically deleted offline). |
boolean | |
| field_accept_date_max_timeout |
Date max time out for field accept. Defaults to when absent from the request body. |
date | |
| dateutc_in_progress |
Date utc when job is put in progress. Defaults to when absent from the request body. |
date | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating. Defaults to , which the repositories read as "never modified" (they compare against year 1980). |
date | |
| user_id |
Foreign key of the user (technician) this planning slot is assigned to. |
globally unique identifier | |
| travel_to |
Estimated travel time to reach the job's location, in minutes. |
integer | |
| travel_back |
Estimated travel time to return from the job's location, in minutes. |
integer |
Request Formats :
application/json, text/json
{
"id": "6517beee-25d4-4493-affb-9929f15d4d02",
"jobs_id": "8acae725-032f-408d-b4d3-4e9044fa2ebb",
"job_name": "sample string 3",
"date_from": "2026-09-16T08:36:39.569748+00:00",
"date_to": "2026-09-16T08:36:39.569748+00:00",
"job_status_id": "353f9589-26d1-49e2-8b09-fe40266e4158",
"sys_logical_delete": true,
"field_accept_date_max_timeout": "2026-09-16T08:36:39.569748+00:00",
"dateutc_in_progress": "2026-09-16T08:36:39.569748+00:00",
"modified_dateutc": "2026-09-16T08:36:39.569748+00:00",
"user_id": "7fadda13-3271-4cce-acfb-15c59e13c61e",
"travel_to": 12,
"travel_back": 13
}
application/xml, text/xml
<job_planning xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <date_from>2026-09-16T08:36:39.569Z</date_from> <date_to>2026-09-16T08:36:39.569Z</date_to> <dateutc_in_progress>2026-09-16T08:36:39.569Z</dateutc_in_progress> <field_accept_date_max_timeout>2026-09-16T08:36:39.569Z</field_accept_date_max_timeout> <id>6517beee-25d4-4493-affb-9929f15d4d02</id> <job_name>sample string 3</job_name> <job_status_id>353f9589-26d1-49e2-8b09-fe40266e4158</job_status_id> <jobs_id>8acae725-032f-408d-b4d3-4e9044fa2ebb</jobs_id> <modified_dateutc>2026-09-16T08:36:39.569Z</modified_dateutc> <sys_logical_delete>true</sys_logical_delete> <travel_back>13</travel_back> <travel_to>12</travel_to> <user_id>7fadda13-3271-4cce-acfb-15c59e13c61e</user_id> </job_planning>
Response Information
Resource Description :
IHttpActionResult containing the updated job planning.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.