get
https://{domainname}/ca_apis/getBlockNumber
Generated from cURL: curl --location --request GET 'http://localhost:8080/ca_apis/getBlockNumberGroups'
--header 'apiKey: KK00b15555afb7066312663b969a75f74d'
--header 'Content-Type: application/json'
--data '{
"userName":"preprod"
}'
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This API is used to get the 'Block Number Groups' list from your Cloud Agent account.
APIs Domain NameFor domestic ccaas - enter the domain: in1-ccaas-api.ozonetel.com
For international ccaas - enter the domain: api.ccaas.ozonetel.com
For Partners - enter the respective URL
To use this API with the help of a token, follow these steps:
- Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
- Enter the Token ID: Navigate to the right section of this page, under the 'AUTHORIZATION' tab. Here, input the generated token ID.
- With the token entered, pass the below header and body parameters:
Header parameters
| Parameter | Description |
|---|---|
| Content-Type | application/json |
Body Params
{
"userName":"xxxxx"}
Possible Responses
| Missing 'username' in Authorization | {"status": "error","message": "Authentication failed"} |
| Passing Invalid 'username' in Authorization | {"status": "error","message": "Authentication failed"} |
| Missing 'password; in Authorization | {"status": "error","message": "Authentication failed"} |
| Passing Invalid 'password; in Authorization | {"status": "error","message": "Authentication failed"} |
| Passing the valid 'username' and 'password' in Authorization | {"status": "success","message": "19 records found","data": [{ "GroupID": "XXX", "GroupName": "XXXXXXX", "UserId": "XXXX", "Description": "XXXXXXXX"} |
