The following is an example REST/JSON update request sent from a user. RealNumber® DNO Live Download API returns available messages that have a sequenceId greater than the requested sequenceId. JSON-formatted data with HTTP status code 200.
Example Request (the sequenceId used in the following API request is from the last message as shown by the pointer above):
GET https//api-realnumber-ha.somos.com/live/api/download/2022-08-01:1659377807648:9073552283688
Content-Type: application/json
Authorization: Bearer access_token
Example response data:
HTTP status: 200
API returns up to a maximum of 10,000 available messages.
Response data in JSON format:
[
{
"value": "308-267-0",
"dno": false,
"dnoType": 0,
"sequenceId": "2022-08-02:1659430843225:3153987339584",
"lastUpdate": 1659430842988,
"valueType": "npanxxx"
},
{
"value": "216-484-4",
"dno": false,
"dnoType": 0,
"sequenceId": "2022-08-02:1659430843239:3154000116715",
"lastUpdate": 1659430842988,
"valueType": "npanxxx"
},
{
"value": "445-249-1",
"dno": false,
"dnoType": 0,
"sequenceId": "2022-08-02:1659430843241:3154002423366",
"lastUpdate": 1659430842988,
"valueType": "npanxxx"
},
{
"value": "402-258-9",
"dno": false,
"dnoType": 0,
"sequenceId": "2022-08-02:1659430843242:3154002688821",
"lastUpdate": 1659430842988,
"valueType": "npanxxx"
},
{
"value": "216-480-8",
"dno": true,
"dnoType": 0,
"sequenceId": "2022-08-02:1659430843310:3304321452188",
"lastUpdate": 1659430842988,
"valueType": "npanxxx"
},
...
]
For more information, please view RealNumber Live DNO.