This example demonstrates an API call for sending and retrieving Docusign data.
The source of this page shows a JSON Formatted data structure POSTed to the API call. A JSON data structure is returned containing a reference number and envelope ID for the contract. Another JSON data structure then POSTs this data to retrieve all data from the contract once it has been signed, and display it in the grid below.
This API call has been restricted to only accept British Gas contracts using the details hard coded in this page.
The production API calls behave on the same principles as this example, and every API call that requires data to be POSTed or PUTed to it has a different JSON data structure that it expects in the payload, and a different JSON data structure that it returns.
MainDetailsData Key |
Description |
UsageRatesData Key |
Description |
MeterDetailsData Key |
Description |
AuxiliaryDetailsData Key |
Description |
TemplateOptions |
Description |