Get Service Label List (v2.0)
GET/sdwan/v2.0/api/servicelabels
List all the service labels.
Request
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The number of responses.
The ID of the response.
items ServiceLabel[]
Description: Size(max = 256, error = DESCRIPTION_SIZE_EXCEEDED: Description size exceeded., min = 0) Valid
Id
Name: Required(error = SERVICELABEL_NAME_REQD: Service label name required.) Size(max = 128, error = SERVICELABEL_NAME_EXCEEDS_LIMIT: Service label name exceeds limit., min = 0) Valid
Tags: ListString(allowDuplicate = false, allowEmpty = true, allowNull = true, length = 128, listMaxSize = 10, error = INVALID_TAG: Maximum 10 Unique tags of length 1024 each are allowed, noTrim = false, regex = [^,\s]+, required = false)
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
Type: ValidateEnum(enumClass = classOf[NetworkServiceType], message = Invalid enum string., nullAllowed = false)
{
"count": 0,
"id": "string",
"items": [
{
"description": "string",
"id": "string",
"name": "string",
"tags": [
"string"
],
"type": "CG_TRANSIT"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON"
}
]
}
}