Validates connectivity between C3 and Microsoft Partner Center. This API verifies that the Partner Center integration is configured correctly and that C3 can successfully retrieve the partner profile information associated with the configured Microsoft Partner Center account.
Endpoint
GET {{apiUrl}}/api/PartnerConsent/testPartnerCenterConnectivity
Access Permissions
Allowed Roles: Finance Admin
Request Headers
| Header | Value |
|---|---|
| Authorization | Bearer <access_token> |
| Content-Type | application/json |
Request Body
This endpoint does not require a request body.
Successful Response
A successful request confirms that C3 can communicate with Microsoft Partner Center and retrieves the configured partner profile information.
Sample Response
{
"OperationType": null,
"Status": "Success",
"RequestCorrelationID": "cab1a528-8c5c-4afd-92a1-9d8efd58fb2f",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": {
"CompanyName": "Contoso Ltd",
"CountryCode": "US",
"State": "WA",
"City": "Redmond",
"AddressLine1": "123 Example Street",
"AddressLine2": "Suite 100",
"PostalCode": "98052",
"FirstName": "John",
"LastName": "Doe",
"ContactPhoneNumber": "+1-555-0100",
"CurrencyCode": "USD"
}
}
Response Properties
| Property | Description |
|---|---|
| OperationType | Reserved for internal use. Can be ignored. |
| Status | Indicates the result of the request. Possible values: Success or Error. |
| RequestCorrelationID | Unique identifier generated by C3 for request tracking and troubleshooting. |
| ErrorMessage | Error message returned if connectivity validation fails. |
| ErrorDetail | Additional information related to the error. |
| Data | Partner profile information retrieved from Microsoft Partner Center. |
Partner Profile Attributes
| Attribute | Description |
|---|---|
| CompanyName | Name of the partner organization. |
| CountryCode | Country code associated with the partner profile. |
| State | State or province associated with the partner profile. |
| City | City associated with the partner profile. |
| AddressLine1 | Primary business address. |
| AddressLine2 | Secondary business address, if available. |
| PostalCode | Postal or ZIP code associated with the partner profile. |
| FirstName | Primary contact first name. |
| LastName | Primary contact last name. |
| ContactPhoneNumber | Primary contact phone number. |
| CurrencyCode | Default currency associated with the partner profile. |
Error Response
The API returns an error response if Partner Center connectivity cannot be established.
Sample Error Response
{
"OperationType": null,
"Status": "Error",
"RequestCorrelationID": "cc26d792-730e-4b1b-9da8-958d7677153f",
"ErrorMessage": "{\"ErrorValue\":\"ERROR_DESC_MS_FAILED_TO_GET_PARTNER_PROFILE\""}",
"ErrorDetail": null,
"Data": []
}
Error Response Properties
| Property | Description |
|---|---|
| OperationType | Reserved for internal use. Can be ignored. |
| Status | Indicates the result of the request. Possible values: Success or Error. |
| RequestCorrelationID | Unique identifier generated by C3 for request tracking and troubleshooting. |
| ErrorMessage | Error details associated with the Partner Center connectivity failure. |
| ErrorDetail | Additional information related to the error. |
| Data | Empty collection returned when no partner information can be retrieved. |
Known Error Codes
| Error Value | Description |
|---|---|
| ERROR DESC MS FAILED TO GET PARTNER PROFILE | C3 was unable to retrieve the partner profile from Microsoft Partner Center. This indicates consent, configuration, or connectivity issues. |