My Products
Help

Finding correct UI fields in JSON

by Thomas Adrian - Consili (Updated ‎25-09-2020 09:45 by Thomas Adrian - Consili )

Is it possible to somehow find out which JSON attribute that a specific field in the Visma.NET UI points to.

 

Example:

On a customer there is a field in the UI called "Betalningsvillkor",  How do I know which field this is in the API? 

 

it would also be helpful to know which API endpoint each UI field is available in.

 

thanks

Thomas

 

2 REPLIES 2
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

The best way to find out this information apart from getting the document via the API and looking at the fields is to check Swagger.

 

What ScreenID corresponds to what endpoint van be seen in the header:

2020-09-25 09_54_29-Visma.net Integrations Documentation.png

 

For what the fields are corresponding to, you can check the description of the model:

2020-09-25 09_57_27-Visma.net Integrations Documentation.png

mrtnsn
CONTRIBUTOR ***

by mrtnsn

You can use the inspect tool in the GUI; ctrl + alt + click on the field you want info about.

 

Screenshot 2020-09-25 at 09.44.20.png

 

If it's not active for you, you have to first activate it from: Users (screen SM201010), find your user and activate the "Customizer" role