URL
POST https://{api-url}/api/v2/tenants/{tenantId}/customAttributes/{attributeId}/values/{valueId}/serviceGroups
Sample URLs
https://{api-url}/api/v2/tenants/client_93/customAttributes/64/values/397/serviceGroups
Status code
200 OK
Sample request
[{
"id": "SGP-d7657432-3698-4894-a07f-c2ef9aa0789e"
},
{
"id": "SGP-a4659431-2699-8895-c07f-b2ef9aa078ce"
}
]
Sample response
This response successfully assigns custom attributes to service groups:
{
"failedEntities": {},
"failedCount": 0,
"successCount": 2
}
This response represents a failure assigning custom attributes to service groups:
{
"failedEntities": {
"SGP-d7657432-3698-4894-a07f-c2ef9aa0789q": "Invalid Service group id for client : 93",
"SGP-a4659431-2699-8895-c07f-b2ef9aa078ce": "Invalid Service group id for client : 93"
},
"failedCount": 2,
"successCount": 0
}