{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"wsdl_segment",
"field_reference"
],
"title": "WorkOrderHistory - Data API",
"description": "Represents the history of changes made to tracked fields on a work order. This object is available in API version 36.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"DataType": {
"type": "picklist",
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
"description": "Data type of the field that was changed."
},
"Field": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The name of the field that was changed."
},
"NewValue": {
"type": "anyType",
"properties": "Nillable, Sort",
"description": "The new value of the field that was changed."
},
"OldValue": {
"type": "anyType",
"properties": "Nillable, Sort",
"description": "The value of the field before it was changed."
},
"WorkOrderId": {
"type": "reference",
"properties": "Filter, Group, Sort",
"description": "ID of the work order being tracked. The history is displayed on the detail page for this record. This is a relationship field.",
"relationship_name": "WorkOrder",
"relationship_type": "Lookup",
"refers_to": "WorkOrder"
}
},
"special_access_rules": "Work orders or Field Service must be enabled in your organization, and field tracking for work order fields must be configured.",
"wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```",
"field_reference": {
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"DataType": {
"field_label": "Datatype",
"type": "picklist",
"length": "40"
},
"Field": {
"field_label": "Changed Field",
"type": "picklist",
"length": "255"
},
"Id": {
"field_label": "Work Order History ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"NewValue": {
"field_label": "New Value",
"type": "anyType",
"length": "255"
},
"OldValue": {
"field_label": "Old Value",
"type": "anyType",
"length": "255"
},
"WorkOrderId": {
"field_label": "Work Order ID",
"type": "reference",
"length": "18"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}