ves-io-schema-customer_support-CustomAPI-Escalate

Examples of performing customer_support CustomAPI Escalate

Usecase:

Escalate a specific ticket.

Request:

Request using vesctl:

vesctl request rpc customer_support.CustomAPI.Escalate -i request.yaml --uri /public/namespaces/ns1/customer_support/acmecorp/escalate --http-method POST

where file request.yaml has following contents:

name: quota-increase
namespace: ns1

vesctl yaml response:

err: EOK

Request using curl:

curl -X 'POST' -d '{"namespace":"ns1","name":"quota-increase"}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build013258245_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/ns1/customer_support/acmecorp/escalate'

curl response:

HTTP/1.1 200 OK
Content-Length: 18
Content-Type: application/json
Date: Wed, 16 Sep 2020 10:50:08 GMT
Vary: Accept-Encoding

{
  "err": "EOK"
}