Assign entities to an attribute

Assigns entities to an attribute by linking entity-type/entity-id pairs to attribute values.

post
https://api.us.vzconnect.com/attribute/v1/attributes/{attributeId}/assignments/add-items

Path Parameters

attributeIdstringrequired

The attribute identifier — either a UUID v7 or an external identifier.

Match pattern:^(^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$|^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$)$

>= 3 characters<= 96 characters

Body

Collection of entity assignments (1-10,000 items).

AssignEntitiesToAttributeInputDto

Input DTO for the assign entities to attribute endpoint.

* Additional properties are NOT allowed.
itemsarray[object]required

DTO representing a single entity assignment item.

>= 1 items<= 1000 items

* Additional properties are NOT allowed.
Show Child Parameters

Response

Assignments created successfully.

AssignEntitiesToAttributeOutputDto

Output DTO for the assign entities to attribute endpoint.

* Additional properties are NOT allowed.
itemsarray[object]required

DTO representing a single created assignment in the response.

>= 1 items<= 1000 items

* Additional properties are NOT allowed.
Show Child Parameters
 

Remove string values from an attribute

Removes string values from an existing attribute.

post
https://api.us.vzconnect.com/attribute/v1/attributes/{attributeId}/string-values/remove-items

Path Parameters

attributeIdstringrequired

The attribute identifier — either a UUID v7 or an external identifier.

Match pattern:^(^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$|^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$)$

>= 3 characters<= 96 characters

Body

Collection of attribute value IDs to remove (1-100 items).

RemoveAttributeStringValuesInputDto

Input DTO for removing string values from an existing attribute.

* Additional properties are NOT allowed.
itemsarray[string]required

Collection of attribute string values to remove. Minimum 1, maximum 100 non-default GUIDs.

Match pattern:^(?=.*[a-zA-Z0-9])[a-zA-Z0-9 \-_:]{1,30}$

>= 0 characters<= 30 characters>= 1 items<= 100 items

Example:["green","white"]

Response

Attribute string values removed successfully.

 

List an attribute's assignments

Retrieves a paginated list of entity assignments for a given attribute.

get
https://api.us.vzconnect.com/attribute/v1/attributes/{attributeId}/assignments

Query Parameters

qstring

Optional case-insensitive partial match filter on attribute string values.

Match pattern:^.{0,}$

>= 0 characters<= 100 characters

Example:North

entity_typesarray[string]

Optional filter by entity types (e.g., Vehicle, Driver, PoweredAsset, NonPoweredAsset).

Allowed values:VehicleDriverPoweredAssetNonPoweredAsset

<= 4 items

Example:["vehicle","driver"]

limitinteger(int32)

Maximum number of assignments to return. Defaults to 100.

>= 1<= 100

Example:25

offsetinteger(int32)

Zero-based pagination offset. Defaults to 0.

>= 0<= 2147483647

Example:0

total_requiredboolean

When true, the response includes the total count of matching assignments.

Example:true

Path Parameters

attributeIdstringrequired

The attribute identifier — either a UUID v7 or an external identifier.

Match pattern:^(^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$|^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$)$

>= 3 characters<= 96 characters

Response

Assignments retrieved successfully.

GetAttributeAssignmentsOutputDto

Output DTO for the get attribute assignments endpoint.

* Additional properties are NOT allowed.
totalPagesinteger | null(int32)

The number of pages available based on the total count and query limit.

Example:4

totalCountinteger | null(int32)

Total count of matching items. Populated only when TotalRequired is true.

Example:87

itemsarray[object]required

Represents a single assignment item in the get attribute assignments response.

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
 

Remove entity assignments from an attribute

Removes entity assignments from an attribute.

post
https://api.us.vzconnect.com/attribute/v1/attributes/{attributeId}/assignments/remove-items

Path Parameters

attributeIdstringrequired

The attribute identifier — either a UUID v7 or an external identifier.

Match pattern:^(^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$|^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$)$

>= 3 characters<= 96 characters

Body

Collection of assignment IDs to remove (1-10,000 items).

RemoveAssignmentsInputDto

Input DTO for removing entity assignments from an attribute.

* Additional properties are NOT allowed.
itemsarray[string](uuid)required

Collection of assignment IDs to remove. Each item is a GUID string.
Minimum 1, maximum 10,000 items per request.

Match pattern:^[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}$

<= 36 characters>= 1 items<= 1000 items

Example:28d7b4ad-5708-4224-a132-47addeae588a

Response

Assignments removed successfully.

 

AddAttributeStringValuesInputDto

object

Input DTO for adding string values to an existing attribute.

* Additional properties are NOT allowed.
itemsarray[string]required

Collection of string values to add. Minimum 1, maximum 100 items, each max 30 chars.
Must match pattern: at least one alphanumeric, only [a-zA-Z0-9 -_:].

Match pattern:^(?=.*[a-zA-Z0-9])[a-zA-Z0-9 \-_:]{1,30}$

>= 0 characters<= 30 characters>= 1 items<= 100 items

Example:Northeast, Southwest, Central

Example