Format for Completing Relationship Custom Attributes

Relationship attributes can be referenced by the ID field, the Caption field, or both. For each related object, the ID and Caption can be in various formats, as outlined in the following table:

Object

ID

 

Caption

 

Format

Example

Format

Format

Asset

Internal ID (guid)

1ff73dd9-d18e-4866-bbb6-90163fe67122

Full Path

Perimeter > Subperimeter > Asset Name

Perimeter

Internal ID (guid)

d29e7ffc-555d-4e2e-981d-42211b5dd348

Full Path

Perimeter > Subperimeter

Asset Component

Internal ID (guid)

7d66e720-f3a3-11e1-a23f-001ec91f4b0a

Full Name

Windows Server – Windows 2008 DC

Business Component

Internal ID (guid)

86bc5cea-f3a3-11e1-a23f-001ec91f4b0a

Full Path

Tactical > Organizational System > Marketing

Person

Internal ID (guid)

91d427ab-f3a3-11e1-a23f-001ec91f4b0a

Full Name

John Smith

Group

Internal ID (guid)

9a9f0d29-f3a3-11e1-a23f-001ec91f4b0a

Full Name

Group of Employees

Custom Object

Internal ID (whole)

66f295ae-f946-4f74-9ef4-21a0ca93febb

Name

Object123

 

Example for completing a single-select Relationship attribute for an asset:

"simplerelationshipasset":{"Id":"1ff73dd9-d18e-4866-bbb6-90163fe67122"}

or

"simplerelationshipasset":{"Caption":"Perimeter > Subperimeter > Asset Name"}

 

Example for completing a single-select Relationship attribute for a perimeter:

"simplerelationshipperimeter":{"Id":"d29e7ffc-555d-4e2e-981d-42211b5dd348"}

or

"simplerelationshipperimeter":{"Caption":"Perimeter > Subperimeter"}

 

Example for completing a single-select Relationship attribute for an asset component:

"simplerelationshipassetcomp":{"Id":"7d66e720-f3a3-11e1-a23f-001ec91f4b0a"}

or

"simplerelationshipassetcomp":{"Caption":"Windows 2008 DC Server"}

 

Example for completing a single-select Relationship attribute for a business component:

"simplerelationshipbusinesscomp":{"Id":"86bc5cea-f3a3-11e1-a23f-001ec91f4b0a"}

or

"simplerelationshipbusinesscomp":{"Caption":"Tactical > Organizational System > Marketing"}

 

Example for completing a single-select Relationship attribute for a person:

"simplerelationshipperson":{"Id":"91d427ab-f3a3-11e1-a23f-001ec91f4b0a"}

or

"simplerelationshipperson":{"Caption":"John Smith"}

 

Example for completing a single-select Relationship attribute for a group of people:

"simplerelationshipgroup":{"Id":"9a9f0d29-f3a3-11e1-a23f-001ec91f4b0a"}

or

"simplerelationshipgroup":{"Caption":"Group of Staff"}

 

Example for completing a single-select Relationship attribute for a custom object:

"simplerelationshipobject":{"Id":"66f295ae-f946-4f74-9ef4-21a0ca93febb"}

or

"simplerelationshipobject":{"Caption":"Object123"}

 

Example for completing a multi-select Relationship attribute for an asset:

"multiplerelationship":[{"Id":"1ff73dd9-d18e-4866-bbb6-90163fe67122"},{"Id":"7ba351f2-061f-4bb5-807f-bc08febb2dba"}]

or

"multiplerelationship":[{"Caption":"Perimeter > Subperimeter > Asset Name"},{"Caption":"Perimeter 2 > Asset 2"}]

 

Example for completing a multi-select Relationship attribute for a perimeter:

"multiplerelationship":[{"Id":"d29e7ffc-555d-4e2e-981d-42211b5dd348"},{"Id":" 9a968cfc-cd12-472c-97e5-1428f81b55e"}]

or

"multiplerelationship":[{"Caption":"Perimeter > Subperimeter"},{"Caption":"Perimeter 2"}]

 

Example for completing a multi-select Relationship attribute for an asset component:

"multiplerelationship":[{"Id":"7d66e720-f3a3-11e1-a23f-001ec91f4b0a"},{"Id":"60bc0b96-2d91-11e2-b715-001ec91f4b0a"}]

or

"multiplerelationship":[{"Caption":"Windows 2008 DC Server"},{"Caption":"Linux Red Hat 6"}]

 

Example for completing a multi-select Relationship attribute for a business component:

"multiplerelationship":[{"Id":"86bc5cea-f3a3-11e1-a23f-001ec91f4b0a"},{"Id":"6a5e1148-1797-11e2-a0ef-001ec91f4b0a"}]

or

"multiplerelationship"":[{"Caption":"Tactical > Organizational System > Marketing"},{"Caption":"Strategic > Macroprocess > Board of directors"}]

 

Example for completing a multi-select Relationship attribute for a person:

"multiplerelationship":[{"Id":"91d427ab-f3a3-11e1-a23f-001ec91f4b0a"},{"Id":"072b63aa-fea8-11e1-94b3-001ec91f4b0a"}]

or

"multiplerelationship":[{"Caption":"John Smith"},{"Caption":"Mario Diaz"}]

 

Example for completing a multi-select Relationship attribute for a group of people:

"multiplerelationship":[{"Id":"9a9f0d29-f3a3-11e1-a23f-001ec91f4b0a"},{"Id":"8cc85e1f-13c4-11e2-ae51-001ec91f4b0a"}]

or

"multiplerelationship":[{"Caption":"Group of Staff"},{"Caption":"marketing Group}]

 

Example for completing a multi-select Relationship attribute for a custom object:

"multiplerelationship":[{"Id":"66f295ae-f946-4f74-9ef4-21a0ca93febb"},{"Id":"f9166f2b-c0eb-426f-8940-246102a0f429"}]

or

"multiplerelationship":[{"Caption":"Object123"},{"Caption":"Object456"}]

 

Example for completing a Georeference attribute with geographic coordinates (Point):

"georeference":{ "type": "Point", "coordinates": [ 43.35205078125, 22.897683210648072 ] }

 

Note: This attribute should be completed following the Longitude, Latitude order.             

 

Example for completing a Georeference attribute with a route (LineString):

"georeference":{ "type": "LineString", "coordinates": [ [ 46.64794921875, 23.50355189742412 ], [ 43.9892578125, 19.91138351415554 ], [ 43.22021484375, 22.897683210648072 ] ] }

 

Note: This attribute should be completed following the Longitude, Latitude order.