Skip to content

Structure "User's phone history"

Contains a list of changes to phone numbers for each of the user's contact phones. It is a part of the "Extended user data" structure

Field description

Name Description Data type Required
phone1 History of the phone #1. Array of "Phone history element" structures +
phone2 History of the phone #2. Array of "Phone history element" structures
phone3 History of the phone #3. Array of "Phone history element" structures
phone4 History of the phone #4. Array of "Phone history element" structures

Sample

JSON
{
    "phone1": [
        {
            "date": 1526911183000,
            "oldValue": "+380(44)2099960",
            "newValue": "+380(44)2099961"
        },
        {
            "date": 1472459279000,
            "oldValue": "+380(66)1234567",
            "newValue": "+380(44)2099960"
        },
        {
            "date": 1472459158000,
            "oldValue": "+380(44)2099960",
            "newValue": "+380(66)1234567"
        }
    ],
    "phone2": [
        {
            "date": 1480662376000,
            "oldValue": "+380(44)2099960",
            "newValue": "+380(67)5240103"
        },
        {
            "date": 1476337833000,
            "oldValue": "+380(67)5240103",
            "newValue": "+380(44)2099960"
        },
        {
            "date": 1476337813000,
            "oldValue": "+380(44)2099960",
            "newValue": "+380(67)5240103"
        },
        {
            "date": 1472459279000,
            "oldValue": "+380(66)1234567",
            "newValue": "+380(44)2099960"
        }
    ],
    "phone3": [
        {
            "date": 1476337833000,
            "oldValue": "",
            "newValue": "+380(99)2014193"
        },
        {
            "date": 1472459279000,
            "oldValue": "+380(66)1234567",
            "newValue": ""
        },
        {
            "date": 1472459158000,
            "oldValue": "",
            "newValue": "+380(66)1234567"
        }
    ],
    "phone4": [
        {
            "date": 1481005771000,
            "oldValue": "+380(99)1111111",
            "newValue": ""
        },
        {
            "date": 1481005768000,
            "oldValue": "",
            "newValue": "+380(99)1111111"
        },
        {
            "date": 1476864638000,
            "oldValue": "+380(66)2199170",
            "newValue": ""
        }
    ]
}