A data type is a description of the data that is exchanged over the
network. It can be reused in the whole API version.
Procedure
Click the + button in the top right corner of the left panel.
Information noteTip: If you want to create your data type directly in a previously created section, you can do so by clicking the + button to the right of the section name.
Click Data type.
Enter a Name for your data type, Contact for example, and enter a Description if needed.
Optional: Select the Section in which you want to include the data type.
If you have an existing JSON example of your data type, you can use it to generate your properties by clicking Generate from JSON example.
Enter your example and click Generate.
Example
All of the properties in the example are created in your data type.
To add your properties manually, select a Type.
The type is object by default, you can click it to display
all the types available.
Click Add property to create a new property and define the Name and Type.
Optional: Toggle the Required button to Yes if the property is required.
Add a Description if needed, and click more attributes to add more information to your data type.
Example
Add as many properties as needed, then click Save.