My Products
Help

Customer payment date

by Thomas Adrian - Consili

I am trying to find out which json field correspond to the date a customer payment have been payed/registerered

but the fieldname in the dialog is not the same as in the api.

 

1. which field in customerpayment endpoint is the payment date

2. why do the dialog not correspond to the json fields?

 

2020-11-12 09_07_15.jpg

2 REPLIES 2
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

 

The value you are pointing to in the UI corresponds to "applicationDate" in the JSON:

2020-11-12 09_25_41-Customer payments.png2020-11-12 09_26_26-Postman.png

 

The datafield name does not always have the same name as the field in the JSON.

If you are unsure of what a field in the DTO represents you can check the Swagger documentation, go to the endpoint, method and click model:

2020-11-12 09_31_39-Visma.net Integrations Documentation.png

thanks!