One of the challenges I find with the documentation for the thingworx rest APIs is that it doesn't follow an industry format like swagger.
Here is an example of a swagger document: https://petstore.swagger.io/
As you can see it's very easy to follow the types of payloads you create.
The javadocs are not very easy to use to create JSON payloads and fields.
Is there swagger documents for the thingworx apis somewhere?
TWX online help has some material: