Options
			
				
					
	
			
		
	- Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Mute
 - Printer Friendly Page
 
Hi, I would like to know how I can retreive column information for the response of an endpoint?
For example. To get account data, the following uri is used.
https://integration.visma.net/API/controller/api/v1/account
As a response I get the the account. Besides this I would like get the definition of it. Like this:
[ { "accountID": 0, "accountCD": "string", "accountGroupCD": "string", "accountClass": "string", "type": "Asset", "active": true, "description": "string", "useDefaultSub": true, "postOption": "string", "currency": "string", "taxCategory": "string", "cashAccount": true, "publicCode1": 0, "externalCode1": "string", "externalCode2": "string", "analysisCode": "string", "lastModifiedDateTime": "2023-01-24T09:16:53.779Z" } ]
What is the uri to get this information?
Thanks for your help.
Solved! Go to Solution.
		3 REPLIES 3
	
		
		
			
			
			
					
	
			FYI: @Magnus Johnsen: In combination with your answer and openapi2jsonschema, I found what I needed.
Convert OpenAPI definitions into JSON schemas for all types in the API - airbytehq/openapi2jsonschema
	
	
	
	
Hi,
You can find all the modelDTO's in the Swagger documentation, either directly under the endpoint itself:
Or in the bttom of the site: