Create a document - template
Returns a blank template that specifies which fields may be submitted to create a new document. Substitutions variables—which are prefixed with a dollar sign—are included in the template for your convenience. You should replace the substitution variables with your own values. For fields that you want to leave undefined, you can leave the substitution variables as is or substitute the variables with "null". For some fields, a sensible default will be used if the value is undefined.
The modified template can then be submitted using the create document call to create the new document.
JSON Request URL: GET https://www.teamworklive.com/api/documents/new.json
curl -s -u <email>:<api-key> https://www.teamworklive.com/api/documents/new.json
The JSON response output will be shown here. You can see an example of the actual response output if you are signed in.
XML Request URL: GET https://www.teamworklive.com/api/documents/new.xml
curl -s -u <email>:<api-key> https://www.teamworklive.com/api/documents/new.xml
The XML response output will be shown here. You can see an example of the actual response output if you are signed in.