Preparing Information for Partner Attestation
Check whether the owner of that customer account must confirm the following statement regarding Partner Attestation:
Partner Attestation - I attest to the following on behalf of my organization
[ ] I confirm that my organization is acting as an indirect partner when choosing a reseller and as a direct partner in the absence of selecting a reseller.
To check this, use the checkAccount custom operation of your application instance, as explained below.
Important: Checking whether a customer must confirm this statement is a custom operation. The user whose key and secret you use to access the APS REST API must have http://www.parallels.com/Office365/Office365app and GET in its list of allowed operations.
HTTP Request
GET https://BRAND_DOMAIN/aps/2/resources/APS_ID_OF_APPLICATION_INSTANCE/checkAccount?accountId=SYSTEM_ID_OF_CUSTOMER_ACCOUNT&planId=0
HTTP Response
This HTTP response contains a JSON object. In this JSON object, you need to use the value of the enforce_partner_attestation_of_no_self_dealing parameter (true or false). If it is true, the customer must read and confirm the statement. Otherwise, you must not show the statement to the customer.
Note: The value of this parameter is taken from the EnforcePartnerAttestationOfNoSelfDealing setting specified in Settings.config
. The value of EnforcePartnerAttestationOfNoSelfDealing is set to true by default.
Example
HTTP Request
GET https://example.com/aps/2/resources/811ec898-99ba-4a69-8bcc-af7bee73c598/checkAccount?accountId=1000042&planId=0
HTTP Response
{
...
"enforce_partner_attestation_of_no_self_dealing": true,
...
}