Updates traffic signal fields. When heads is omitted, existing signal heads are preserved. When heads is supplied, entries with an id update existing heads, entries without an id create new heads, and existing heads omitted from the request are deleted. order_no values must be unique per traffic signal. warranty_exp_date is read-only.
Token issued for API consumer.
Traffic signal ID.
Traffic signal attributes to update.
ID of a TS_COLOR constant.
ID of a TS_CONTRACTOR constant.
Signal heads. Supplying this field replaces the signal's current heads.
ID of a TS_HEAD_TYPE constant.
Existing signal head ID. Omit to create a new head.
ID of a TS_LIGHT_SOURCE constant.
Unique row order within the traffic signal.
ID of a TS_HEAD_POWER constant.
Height accuracy constant ID.
ID of a TS_IK_CLASS constant.
ID of a TS_INSTALLATION_TYPE constant.
ID of a TS_IP_CLASS constant.
Location accuracy constant ID.
ID of a TS_MANUFACTURER constant.
Mapping method constant ID.
ID of a TS_MODEL constant.
Electric division ID.
ID of a TS_OWNER constant.
Plan ID.
Electric pole ID.
ID of a TS_PROTECTION constant.
ID of a TS_SIGNAL_TYPE constant.
ID of a TS_SUPPLY_CABLE constant.
ID of a TS_STATE constant.
ID of a TS_WARRANTY_FIX_TYPE constant.
Warranty period in months.
Updated traffic signal.
ID of a TS_COLOR constant.
ID of a TS_CONTRACTOR constant.
Signal heads. Supplying this field replaces the signal's current heads.
ID of a TS_HEAD_TYPE constant.
Existing signal head ID. Omit to create a new head.
ID of a TS_LIGHT_SOURCE constant.
Unique row order within the traffic signal.
ID of a TS_HEAD_POWER constant.
Height accuracy constant ID.
Traffic signal ID.
ID of a TS_IK_CLASS constant.
ID of a TS_INSTALLATION_TYPE constant.
ID of a TS_IP_CLASS constant.
Location accuracy constant ID.
ID of a TS_MANUFACTURER constant.
Mapping method constant ID.
ID of a TS_MODEL constant.
Electric division ID.
ID of a TS_OWNER constant.
Plan ID.
Electric pole ID.
ID of a TS_PROTECTION constant.
ID of a TS_SIGNAL_TYPE constant.
ID of a TS_SUPPLY_CABLE constant.
ID of a TS_STATE constant.
Computed from install_date and warranty_period.
ID of a TS_WARRANTY_FIX_TYPE constant.
Warranty period in months.
Request could not be processed because it was invalid.
Either validation failed (field-level errors are returned), or a generic bad request message is provided.
{
"email": [
"Email is required",
"Email must be valid"
],
"password": [
"Password must be at least 8 characters"
]
}Validation errors by field name or a generic bad request description
Description of the error for generic bad request responses
List of validation error messages for this field name
Validation error message
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}Standard error response payload
Detailed description of error
Request is valid, but for some reason cannot be executed.
For example deletion is forbidden if object has at least one dependent object. This also covers generic access forbidden responses.
Standard error response payload
Detailed description of error
Object was not found
{
"details": "Not found."
}Standard error response payload
Detailed description of error