SolarWinds Backup Help

Getting customer info by ID in JSON-RPC API

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

Required parameters

Parameter Description Supported values
PartnerId

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

Int

Sample request

{
	"id": "jsonrpc",
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
	"method": "GetPartnerInfoById",
	"jsonrpc": "2.0",
	"params": {
		"PartnerId": 33495
	}
}
		

Sample response

{
	"id": "jsonrpc",
	"jsonrpc": "2.0",
	"result": {
		"result": {
			"AdvancedPartnerProperties": {
				"RegionId": 0,
				"ResponsibleUserId": 0
			},
			"ChildServiceTypes": [
				"AllInclusive",
				"SoftwareOnly"
			],
			"Company": {
				"BankAccountNumber": "",
				"BillingContactPersonId": 0,
				"ChamberOfCommerceNumber": "916YY1000",
				"FaxNumber": "+15013670000",
				"LegalCompanyName": "",
				"PhoneNumber": "+15013670000",
				"PostAddress": {
					"Address": "Liberty Blvd. 1B",
					"City": "Little Rock",
					"Country": "USA",
					"District": "N/A",
					"State": "AR",
					"ZipCode": "72210"
				},
				"VatNumber": "CY99999999L",
				"WebsiteAddress": "www.smart-telecom.com/ar"
			},
			"CreationTime": 1464945793,
			"Discount": 0,
			"ExternalCode": "",
			"Flags": null,
			"Id": 33495,
			"Level": "Distributor",
			"LocationId": 1,
			"MailFrom": "",
			"MailingOption": "Undefined",
			"Name": "Smart Telecom Arkansas",
			"ParentId": 33491,
			"PrivateFlags": null,
			"Privilege": "Regular",
			"RegistrationOrigin": "Domestic",
			"ServiceType": "AllInclusive",
			"State": "InTrial",
			"TrialExpirationTime": 1467537793,
			"TrialRegistrationTime": 1464945793,
			"Uid": "5ac797ca-8ab2-4fa5-b526-f59368e162o0",
			"UpdatePackagesMaxAllowedVersion": ""
		}
	},
	"visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}