Yıldırım
VISMA

Return document type on webhook message for "salesorder_changed" event

by Yıldırım (Updated ‎02-02-2021 13:30 by Yıldırım VISMA )
Status: Delivered

When webhooks for subscription on event salesorder_changed are triggered, ordertype is not included in the source (EntityLocation).
-----------------------------------------------------
After implementation
"relativeResourceUri":"api/v1/salesorder/SO/000001",
"resourceUri":"https://integration.visma.net/API/controller/api/v1/salesorder/SO/000001",



2 Comments
Yıldırım
VISMA
by Yıldırım
Status changed to: Status: Accepted
SvenTore
CONTRIBUTOR *
by SvenTore

API should not return the full URL, and although the relative url is not a security issue the best information to return is simply the order number, and the order type, it two different fields