This feature requires a CommCare Software Plan
This feature (Data Forwarding) is only available to CommCare users with a Pro Plan or higher. For more details, see the CommCare Software Plan page.
Purpose: view or modify data forwarding endpoints (See documentation for data integration and forwarding)
Base URL: https://www.commcarehq.org/a/[domain]/api/[version]/data-forwarding/
Single Item URL: https://www.commcarehq.org/a/[domain]/api/[version]/data-forwarding/[id]
Name | Description | Example |
---|---|---|
Format | Return data format (optional) Supported: xml (default), json | format=json |
API | Endpoint | HTTP Operation | GET/POST data |
---|---|---|---|
List forwarding rules | Base URL | GET | None |
Create new forwarding rule | Base URL | POST | JSON Formatted data |
Update forwarding rule | Single Item URL | PUT | JSON Formatted data |
Delete forwarding rule | (not yet supported) |
https://www.commcarehq.org/a/demo/api/v0.4/data-forwarding/
Sample Output
{ "meta":{ "limit":20, "next":null, "offset":0, "previous":null, "total_count":3 }, "objects":[ { "domain":"demo", "id":"ccbadc6655b2e7692dccbbd884c14418", "resource_uri":"/a/demo/api/v0.4/data-forwarding/ccbadc6655b2e7692dccbbd884c14418/", "type":"CaseRepeater", "url":"http://www.example.com/case-endpoint/", "version":"2.0" }, { "domain":"demo", "id":"ccbadc6655b2e7692dccbbd884c148b3", "resource_uri":"/a/demo/api/v0.4/data-forwarding/ccbadc6655b2e7692dccbbd884c148b3/", "type":"FormRepeater", "url":"http://www.example.com/form-endpoint/", "version":null }, { "domain":"demo", "id":"ccbadc6655b2e7692dccbbd884c13d60", "resource_uri":"/a/demo/api/v0.4/data-forwarding/ccbadc6655b2e7692dccbbd884c13d60/", "type":"ShortFormRepeater", "url":"http://www.example.com/short-form-endpoint/", "version":"2.0" }, { "domain":"demo", "id":"ccbadc6655b2e7692dccbbd884c13d60", "resource_uri":"/a/demo/api/v0.4/data-forwarding/ccbadc6655b2e7692dccbbd884c13d60/", "type":"AppStructureRepeater", "url":"http://www.example.com/app-structure-endpoint/", "version":"2.0" } ] }