Getting Customer Information History in JSON-RPC API

To get information on a customer's history using the customer's ID, use the GetPartnerInfoHistory method.

Required parameters

Parameter Description Supported values
partnerId

The ID of the customer the device is created for (retrieved through the GetPartnerInfo method)

<std::string>

Sample request

{
    "id": "jsonrpc",
    "visa": "{{visa}}",
    "method": "GetPartnerInfoHistory",
    "jsonrpc": "2.0",
    "params": {
	"partnerId": 123456
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": [
	    [
		{
		    "Company": {
			"PostAddress": null
			},
		    "ExternalPartnerProperties": null,
		    "Id": 123456,
		    "Level": "Reseller",
		    "Name": null,
		    "ParentId": 123456
		},
		{
		    "Timestamp": 1530019465
		}
	    ],
	    [
		{
		    "Company": {
			"PostAddress": null
		    },
		    "ExternalPartnerProperties": null,
		    "Id": 123456,
		    "Level": "Reseller",
		    "Name": null,
		    "ParentId": 234567
		},
		{
		    "Timestamp": 1674213687
		}
	    ],
	    [
		{
		    "Company": {
			"PostAddress": null
		    },
		    "ExternalPartnerProperties": null,
		    "Id": 123456,
		    "Level": "Reseller",
		    "Name": null,
		    "ParentId": 234567
		},
		{
		    "Timestamp": 1674213688
		}
	    ]
	]
    },
    "visa": "{{visa}}"
}