Get Number for a SIP Connection
GET Number for a SIP Connection
POST
https://api.opentact.org/rest/lease/tn/search
This api is used to Get a number for a SIP Connection
Query Parameters
Name
Type
Description
Take*
Number
This field could be provided by QueryParams and RequestBody
TN*
String
This field is used to sort the TN based on Ascending and descending order.
Order*
String
This field is used to provide all the ordered TN.
Skip*
Number
This field could be provided by QueryParams and RequestBody
Headers
Name
Type
Description
Authorization*
String
JWT_Token
Content-Type
String
Application/json
{
"success": true,
"payload": {
"take": 1,
"skip": 0,
"total": 1000,
"data": [
{
"uuid": "c5cc6326-0023-43d8-81a5-e7b7e019919d",
"created_on": "2022-10-31T10:53:55.652Z",
"modified_on": "2022-10-31T10:53:55.652Z",
"expired_on": "2022-10-31T10:53:55.652Z",
"autorenew": true,
"tn": {
"tn": 12017771234,
"created_on": "2022-10-31T10:53:55.652Z",
"modified_on": "2022-10-31T10:53:55.652Z",
"deleted_on": null
},
"subscriptions": []
}
]
}
}
Last updated
Was this helpful?