You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/LCPublicAPI/api/Public-API.v1.json
+39-74Lines changed: 39 additions & 74 deletions
Original file line number
Diff line number
Diff line change
@@ -33552,87 +33552,52 @@
33552
33552
},
33553
33553
"vot-person-request": {
33554
33554
"title": "Vendor Order Template Person",
33555
-
"description": "A user or group assigned as a manager or assignee on a vendor order template.",
33556
-
"discriminator": {
33557
-
"propertyName": "type"
33558
-
},
33559
-
"oneOf": [
33560
-
{
33561
-
"title": "User assignment",
33562
-
"type": "object",
33563
-
"description": "Assigns an individual user. The `id` must be the `id` of a user present in the vendor's `members` list (see [Get Vendor](#/operations/GetVendor) with `fields=members`).",
33564
-
"properties": {
33565
-
"type": {
33566
-
"type": "string",
33567
-
"enum": ["user"]
33568
-
},
33569
-
"id": {
33570
-
"type": "string",
33571
-
"description": "The identifier of the user."
33572
-
}
33573
-
},
33574
-
"required": ["type", "id"]
33555
+
"description": "A user or group assigned as a manager or assignee on a vendor order template. When `type` is `user`, `id` is the identifier of a user present in the vendor's `members` list. When `type` is `group`, `id` is the identifier of a group present in the vendor's `groups` list.",
33556
+
"type": "object",
33557
+
"required": [
33558
+
"type",
33559
+
"id"
33560
+
],
33561
+
"properties": {
33562
+
"type": {
33563
+
"type": "string",
33564
+
"description": "The kind of assignment.",
33565
+
"enum": [
33566
+
"user",
33567
+
"group"
33568
+
]
33575
33569
},
33576
-
{
33577
-
"title": "Group assignment",
33578
-
"type": "object",
33579
-
"description": "Assigns a group. The `id` must be the `id` of a group present in the vendor's `groups` list (see [Get Vendor](#/operations/GetVendor)).",
33580
-
"properties": {
33581
-
"type": {
33582
-
"type": "string",
33583
-
"enum": ["group"]
33584
-
},
33585
-
"id": {
33586
-
"type": "string",
33587
-
"description": "The identifier of the group."
33588
-
}
33589
-
},
33590
-
"required": ["type", "id"]
33570
+
"id": {
33571
+
"type": "string",
33572
+
"description": "The identifier of the user or group being assigned, according to `type`."
33591
33573
}
33592
-
]
33574
+
}
33593
33575
},
33594
33576
"vot-person-response": {
33595
33577
"title": "Vendor Order Template Person",
33596
-
"description": "A user or group assigned as a manager or assignee on a vendor order template.",
33597
-
"discriminator": {
33598
-
"propertyName": "type"
33599
-
},
33600
-
"oneOf": [
33601
-
{
33602
-
"title": "User assignment",
33603
-
"type": "object",
33604
-
"description": "The user it is assigned to",
33605
-
"properties": {
33606
-
"type": {
33607
-
"type": "string",
33608
-
"enum": ["user"]
33609
-
},
33610
-
"user": {
33611
-
"type": "object",
33612
-
"description": "The user",
33613
-
"$ref":"#/components/schemas/user"
33614
-
}
33615
-
},
33616
-
"required": ["type", "user"]
33578
+
"description": "A user or group assigned as a manager or assignee on a vendor order template. When `type` is `user`, the `user` object is populated. When `type` is `group`, the `group` object is populated.",
33579
+
"type": "object",
33580
+
"required": [
33581
+
"type"
33582
+
],
33583
+
"properties": {
33584
+
"type": {
33585
+
"type": "string",
33586
+
"description": "The kind of assignment.",
33587
+
"enum": [
33588
+
"user",
33589
+
"group"
33590
+
]
33617
33591
},
33618
-
{
33619
-
"title": "Group assignment",
33620
-
"type": "object",
33621
-
"description": "The group it is assigned to",
33622
-
"properties": {
33623
-
"type": {
33624
-
"type": "string",
33625
-
"enum": ["group"]
33626
-
},
33627
-
"group": {
33628
-
"type": "object",
33629
-
"description": "The group",
33630
-
"$ref":"#/components/schemas/group"
33631
-
}
33632
-
},
33633
-
"required": ["type", "group"]
33592
+
"user": {
33593
+
"description": "The user it is assigned to. Present when `type` is `user`.",
33594
+
"$ref": "#/components/schemas/user"
33595
+
},
33596
+
"group": {
33597
+
"description": "The group it is assigned to. Present when `type` is `group`.",
0 commit comments