{
"sections": [
"title",
"description",
"fields",
"associated_objects",
"wsdl_segment",
"field_reference"
],
"title": "UserDefinedLabelAssignment - Data API",
"description": "Represents a relationship between a record label and the item the user assigned it to. This object is available in API version 61.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"refers_to"
],
"fields": {
"EntityType": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "Object label of the Item record derived from ItemId. Available in API version 62.0 and later."
},
"ItemId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort, Update",
"description": "ID of the Item record added to the UserDefinedLabel record. This field is a polymorphic relationship field.",
"relationship_name": "Item",
"refers_to": "Account, ActionCadence, ActionCadenceStepTracker, CallTemplate, Case, Contact, EmailTemplate, FlowOrchestrationWorkItem, Lead, Opportunity, Task"
},
"LabelId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort, Update",
"description": "ID of the UserDefinedLabel record that the Item record is assigned to. This field is a relationship field.",
"relationship_name": "Label",
"refers_to": "UserDefinedLabel"
},
"OwnerId": {
"type": "reference",
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
"description": "ID of the user or group that owns this record. This field is a polymorphic relationship field.",
"relationship_name": "Owner",
"refers_to": "Group, User"
},
"SortOrder": {
"type": "int",
"properties": "Filter, Group, idLookup, Nillable, Sort",
"description": "Order of the assigned items for a given UserDefinedLabel record."
},
"SubjectOrName": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "Name of the Item record. If it's a task, the value is the subject of the Item record."
}
},
"associated_objects": "This object has these associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.\n\n- **UserDefinedLabelAssignmentOwnerSharingRule**: Sharing rules are available for the object.\n- **UserDefinedLabelAssignmentShare**: Sharing is available for the object.",
"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 \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"
},
"EntityType": {
"field_label": "Object Type",
"type": "string",
"length": "40"
},
"Id": {
"field_label": "Label Assignment ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"ItemId": {
"field_label": "Item ID",
"type": "reference",
"length": "18"
},
"LabelId": {
"field_label": "Label ID",
"type": "reference",
"length": "18"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"OwnerId": {
"field_label": "Owner ID",
"type": "reference",
"length": "18"
},
"SortOrder": {
"field_label": "Sort Order",
"type": "int",
"digits": "9"
},
"SubjectOrName": {
"field_label": "Item Name",
"type": "string",
"length": "255"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length",
"digits"
]
}