Extended LRN lookup using HTTP
GET/LRNLookup/:tn
Uses HTTP to retrieve the extended local routing number information (LRN).
Request
Path Parameters
tn ^[\d]{10}required
10-digit phone number
Query Parameters
format json|xml
Specify format for response either json or xml
Responses
200: Successful response
- application/json
- Schema
- Example (from schema)
Schema
tn stringrequired
lrn string
ported_status string
Possible values: [Y
, N
]
ocn string
line_type string
0 -> Wireline , 1 -> Wireless , 2 -> VOIP
spid string
spid_carrier_name string
spid_carrier_type string
altspid string
altspid_carrier_name string
altspid_carrier_type string
{
"tn": "string",
"lrn": "string",
"ported_status": "Y",
"ocn": "string",
"line_type": "string",
"spid": "string",
"spid_carrier_name": "string",
"spid_carrier_type": "string",
"altspid": "string",
"altspid_carrier_name": "string",
"altspid_carrier_type": "string"
}
400: Bad request when missing tn
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
401: Unauthorized request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...