Skip to content

Commit 62ba559

Browse files
committed
parents/children are now passed as asset_tags
1 parent 6d012e0 commit 62ba559

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dispoAPI/DispoAPI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,24 +133,24 @@ paths:
133133
description: "The sys-id of the cost-center of the device."
134134
type: string
135135
children:
136-
description: "Any children to install alongside the device containing the sys-id of the child as well as the name of the relation."
136+
description: "Any children to install alongside the device containing the asset_tag of the child as well as the name of the relation."
137137
type: array
138138
example: [
139139
{
140-
"child" : "0007047387bb39d06dc863540cbb0000",
140+
"child" : "25614826",
141141
"relation" : "Connects to::Connected by"
142142
},
143143
{
144-
"child" : "0007047387bb39d06dc863540cbb0001",
144+
"child" : "25614827",
145145
"relation" : "Connects to::Connected by"
146146
}
147147
]
148148
parents:
149-
description: "Any parents the device has containing the sys-id of the parent as well as the name of the relation."
149+
description: "Any parents the device has containing the asset_tag of the parent as well as the name of the relation."
150150
type: array
151151
example: [
152152
{
153-
"parent" : "0007047387bb39d06dc863540cbb0000",
153+
"parent" : "25614828",
154154
"relation" : "Connects to::Connected by"
155155
}
156156
]
@@ -242,14 +242,14 @@ paths:
242242
description: "A comment composed by the technician that will appear in the activity stream."
243243
type: string
244244
children:
245-
description: "The list of sys-id's of children to uninstall alongside the parent-device. This has to exactly match the existing children in the cmdb."
245+
description: "The list of asset_tags of children to uninstall alongside the parent-device. This has to exactly match the existing children in the cmdb."
246246
type: array
247247
example: [
248248
{
249-
"child" : "0007047387bb39d06dc863540cbb0000"
249+
"child" : "25614826"
250250
},
251251
{
252-
"child" : "0007047387bb39d06dc863540cbb0001"
252+
"child" : "25614827"
253253
}
254254
]
255255

0 commit comments

Comments
 (0)