Enumerating customer properties in JSON-RPC API

To get the list of properties for your own company or your customer's, use the EnumeratePartnerProperties method.

Required parameters

Parameter Description Supported values
partnerId The ID of the customer <int> Integer

Sample request

{
    "id": "jsonrpc",
    "visa": "{{visa}}",
    "method": "EnumeratePartnerProperties",
    "jsonrpc": "2.0",
    "params": {
	    "partnerId": 12345
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": [
	    {
		"Id": 23,
		"Name": "AllowNonLoopbackAccess"
	    },
	    {
		"Id": 1,
		"Name": "AllowedAutoUpdatePolicies"
	    },
	    {
		"Id": 3,
		"Name": "AutomaticPaymentStatus"
	    },
	    {
		"Id": 5,
		"Name": "CreditCardInfo"
	    },
	    {
		"Id": 7,
		"Name": "DefaultUserEmail"
	    },
	    {
		"Id": 6,
		"Name": "DoubleCheckAvailable"
	    },
	    {
		"Id": 8,
		"Name": "EulaAccepted"
	    },
	    {
		"Id": 9,
		"Name": "GoogleAnalyticsId"
	    },
	    {
		"Id": 10,
		"Name": "Id3"
	    },
	    {
		"Id": 11,
		"Name": "Id4"
	    },
	    {
		"Id": 12,
		"Name": "Id5"
	    },
	    {
		"Id": 13,
		"Name": "Id6"
	    },
	    {
		"Id": 14,
		"Name": "LiveChatAvailable"
	    },
	    {
		"Id": 24,
		"Name": "O365_EAP_Partner"
	    },
	    {
		"Id": 15,
		"Name": "OriginIPAddress"
	    },
	    {
		"Id": 16,
		"Name": "OriginKeywordId"
	    },
	    {
		"Id": 17,
		"Name": "OriginUserAgent"
	    },
	    {
		"Id": 4,
		"Name": "PartnerBillingType"
	    },
	    {
		"Id": 21,
		"Name": "PartnerStateChangePolicy"
	    },
	    {
		"Id": 18,
		"Name": "RegistrationSource"
	    },
	    {
		"Id": 19,
		"Name": "RegistrationURL"
	    },
	    {
		"Id": 20,
		"Name": "StorageNodeLiability"
	    },
	    {
		"Id": 22,
		"Name": "TrackingToken"
	    },
	    {
		"Id": 2,
		"Name": "VisiblePartnerEntityName"
	    }
	]
    },
    "visa": "{{visa}}"
}