Search DIAL code
POST {{host}}/api/dialcode/v1/search
This API is associated with searching a DIAL code.
The endpoint for Search DIAL code is /dialcode/v1/search It points to knowledge-mw-service - /v1/dialcode/search
Request Body
{"request"=>{"search"=>{"identifier"=>"{{new_dialcode}}", "status"=>"Draft"}, "fields"=>["dialcode_index", "identifier", "channel", "batchcode"], "limit"=>5, "sort"=>{"dialcode_index"=>"Desc"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Channel-Id | string | ||
Authorization | string | ||
Content-Type | string | ||
`` | null |
RESPONSES
status: OK
{"id":"api.dialcode.search","ver":"1.0","ts":"2022-04-07T06:11:38.070Z","params":{"resmsgid":"95967760-b639-11ec-a8b6-8b6d917b3a2a","msgid":"95936a20-b639-11ec-9b27-9d4d54fedc3d","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"dialcodes":[],"count":0}}