Reserve DIAL code

POST {{baseUrl}}/content/v2/dialcode/reserve

This API is associated with reserve the DIAL codes - The endpoint for Reserve DIAL code is /content/v2/dialcode/reserve - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.

Request Body

{"request"=>{"dialcodes"=>{"count"=>2}}}

HEADERS

KeyDatatypeRequiredDescription
X-Channel-IDstring(Required) It the Unique Id to identify the root organization to which the user belongs
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.dialcode.reserve","ver":"1.0","ts":"2020-12-18T10:16:46.725Z","params":{"resmsgid":"2269db50-411a-11eb-9b0c-abcfbdf41bc3","msgid":"22192340-411a-11eb-9b0c-abcfbdf41bc3","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"count":2,"reservedDialcodes":{"P6M8X2":1,"G4R3K3":0},"node_id":"do_681","versionKey":"1608286373090"}}