Forum Discussion
MrDeveloper
Dec 03, 2024Copper Contributor
PartnerCenter Rest Api WebHooks
Hi everyone, I’m using the webhooks of partnercenter rest api, but there is a problem compared to what described in the technical specifications.
In the documentation https://learn.microsoft.com/en-us/partner-center/developer/partner-center-webhook-events#createtransfer-event it is specified that the ResourceUri consists of "{baseURL}/webhooks/v{version}/customers/{customer_id}/transfers/{transfer_id}" but this is not the case!
The notifications come with a ResourceUri "{baseURL}/webhooks/v{version}/customers/{customer_id}" and this creates a problem as it is not possible to trace the TrasferId in a safe way.
Please can someone fix it?
- MrDeveloperCopper Contributor
{ "EventName":"create-transfer", "ResourceUri":"https://api.partnercenter.microsoft.com/v1/customers/4cfba01c-47d4-4b91-9559-740129e7352b", "ResourceName":"Transfer", "AuditUri":"https://api.partnercenter.microsoft.com/auditactivity/v1/auditrecords/b7d51f66-66a6-4e15-8244-e69bfd3344e2_4cfba01c-47d4-4b91-9559-740129e7352b_bf8c56ab-7094-4429-847e-73f019e4ab7c_createtransfer_638696114586278540", "ResourceChangeUtcDate":"2024-12-12T14:44:18.627854+00:00" }
This is an example about the most recent notification that we have received. The "ResourceUri" property is different from the one specified in the documentation.