HLR Check

Post  https://api.businessonlinesolution.in/api/AOP/hlrcheck


Click to view the steps to generate a public key and the signature.

Body Parameters
{     
  "RegisterID": "AOP-554",
  "number": "98XXXXXX76",
  "type": "mobile"
}
                        
Responses

200

200

Response

200

RESPONSE BODY

object

status    boolean

response_code    integer

operatorid    integer

ackno    string

message    string

Response

401

RESPONSE BODY

object

status     boolean

response_code     integer

message     string

401

401

412

412

Response

412

RESPONSE BODY

Object

status     boolean

response_code     integer

message     string


Did this page help you?     Yes    No

Language
shell Shell
python Python
node Node
c# C#
php PHP

cURL

curl --location 'https://api.businessonlinesolution.in/api/AOP/hlrcheck' \
--header 'Content-Type: application/json' \
--data  '{
  "RegisterID": "AOP-554",
  "number": "98XXXXXX76",
  "type": "mobile"
}'
                                

RESPONSE

200

401

412

-Result

Example

{
  "status": true,
  "response_code": 1,
  "info": {
    "operator": "Airtel",
    "circle": "Delhi NCR"
  },
  "message": "Fetch Successful"
}
                                
 
{
  "status": false,
  "response_code": 11,
  "message": "Duplicate Transaction"
}
                                
 
{
  "status": false,
  "response_code": 16,
  "message": "Authentication failed"
}

                                
 
{
  "status": false,
  "response_code": 15,
  "message": "Invalid signature encoding"
}