PUT DeliveryGroups/Validate
Validate the simultaneous edits for multiple delivery groups. See Validation.
Request Information
Request body type
Request body formats
application/json, text/json
Sample:
{
"DeliveryGroupsForCreation": [
{
"DataCenterId": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a",
"OfferingId": "2f08f456-7ec8-4edc-866d-25037776ef4f",
"Capacity": 10,
"TenantId": "91ade655-feb5-47d3-9585-a5827ad50132",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
],
"DeliveryGroupsForUpdate": [
{
"DeliveryGroupId": "c004375e-a96d-4368-96ba-c80702d7e80f",
"DeliveryGroupChangeId": "4",
"NumDesiredMachines": 5,
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
],
"DeliveryGroupsForDeletion": [
{
"DeliveryGroupId": "05da9c34-c350-4c85-947c-c4108c22c57b",
"DeliveryGroupChangeId": "9"
}
]
}
Response Information
See Validation.
Response type
ValidationResultModel<EditDeliveryGroupsModel>
Response body formats
application/json, text/json
Sample:
{
"Input": {
"DeliveryGroupsForCreation": [
{
"DataCenterId": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a",
"OfferingId": "2f08f456-7ec8-4edc-866d-25037776ef4f",
"Capacity": 10,
"TenantId": "91ade655-feb5-47d3-9585-a5827ad50132",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
],
"DeliveryGroupsForUpdate": [
{
"DeliveryGroupId": "c004375e-a96d-4368-96ba-c80702d7e80f",
"DeliveryGroupChangeId": "4",
"NumDesiredMachines": 5,
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
],
"DeliveryGroupsForDeletion": [
{
"DeliveryGroupId": "05da9c34-c350-4c85-947c-c4108c22c57b",
"DeliveryGroupChangeId": "9"
}
]
},
"Errors": [
{
"MemberNames": [
"DeliveryGroupsForDeletion[0].DeliveryGroupId"
],
"ErrorMessage": "Delivery group not found",
"ErrorCode": "NotFound"
}
]
}