Validates connectivity between C3 and the Microsoft Pricing API. This API verifies that the configured Microsoft Pricing API integration is operational and that C3 can successfully authenticate and retrieve pricing information from Microsoft.
Endpoint
GET {{apiUrl}}/api/PartnerConsent/testMicrosoftPricingAPIConnectivity
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 authenticate and communicate with the Microsoft Pricing API.
Sample Response
{
"OperationType": null,
"Status": "Success",
"RequestCorrelationID": "a63ccc9b-9951-4231-87bd-1e0107881525",
"ErrorMessage": null,
"ErrorDetail": null,
"Data": {
"Response": "Success",
"ResponseHeaders": null
}
}
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 | Contains Microsoft Pricing API validation results. |
Response Attributes
| Attribute | Description |
|---|---|
| Response | Indicates whether connectivity validation succeeded. |
| ResponseHeaders | Additional response headers returned by the Microsoft Pricing API, if available. |
Error Response
The API returns an error response if authentication with Microsoft Pricing API fails or pricing information cannot be retrieved.
Sample Error Response
{
"OperationType": null,
"Status": "Error",
"RequestCorrelationID": "f20ed227-9042-4358-8eb9-3306c353f72d",
"ErrorMessage": "{\"ErrorValue\":\"ERROR_DESC_MS_PRICING_API_FAILED_TO_GET_ACCESS\"}",
"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 | Details related to Microsoft Pricing API authentication or connectivity failures. |
| ErrorDetail | Additional information related to the error. |
| Data | Empty collection returned when connectivity validation fails. |
Known Error Codes
| Error Value | Description |
|---|---|
| ERROR DESC MS PRICING API FAILED TO GET ACCESS | C3 was unable to authenticate with or retrieve data from the Microsoft Pricing API. This may indicate consent, configuration, licensing, or Microsoft service connectivity issues. |