Get DIAL code
POST {{baseUrl}}/dialcode/v1/read
This API is associated with fetching/reading the DIAL code
The endpoint for Get DIAL code is /dialcode/v1/read/{dialcode} It points to knowledge-mw-service - /v1/dialcode/read/{dialcode}
Request Body
{"request"=>{"dialcode"=>{"identifier"=>"{{new_dialcode}}"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Channel-Id | string | ||
Content-Type | string |
RESPONSES
status: OK
{"id":"api.dialcode.read","ver":"1.0","ts":"2022-04-06T17:43:10.085Z","params":{"resmsgid":"0657c350-b5d1-11ec-a8b6-8b6d917b3a2a","msgid":"0655a070-b5d1-11ec-9b27-9d4d54fedc3d","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"dialcode":{"identifier":"I9Z2W5","channel":"0125805318613565447","publisher":null,"batchCode":null,"status":"Draft","generatedOn":"2022-04-06T12:38:39.686+0000","publishedOn":null,"metadata":null}}}