Announcements
Hello!
I'm working on setting up a payments webhook for an integration with Business Central. I received a notification of an updated payment with this body
{"value"=>[{"resource"=>"https://api.businesscentral.dynamics.com/v2.0/production/api/v2.0/companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments(93ec736e-e32a-ed11-97e8-0022481cbde5)", "changeType"=>"updated", "clientState"=>"bob", "subscriptionId"=>"ed3ba66f2a7c4c90a5b77897e1df4c71", "expirationDateTime"=>"2022-09-05T15:13:07Z", "lastModifiedDateTime"=>"2022-09-02T17:20:24.287Z"}]}
But then when I requested the data I received an error. The endpoint I tried is
companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments(93ec736e-e32a-ed11-97e8-0022481cbde5)
And the response I received is BadRequest_ResourceNotFound\n message: 'Resource not found for the segment ''customerPayments''
Additionally, if I did
companies(690400bd-27f5-ec11-82ec-000d3a29997f)/customerPayments
I would receive this response
{"@odata.context"=>"">api.businesscentral.dynamics.com/.../$metadata, "value"=>[]}
Am I doing something wrong? I'd appreciate any help you can provide!
Thanks-
-Andrew
Hello,
If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.
Thanks.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156