Difference between revisions of "API done contacts"
From Charitylog Manual
Line 1: | Line 1: | ||
[[API Details|Go to API overview]] | [[API Details|Go to API overview]] | ||
− | These are completed actions. | + | These are completed actions, which are equivalent to the top half of Record a Contact in the web application. They are created like this, using the referral number |
+ | |||
+ | [POST] https<nowiki/>://api.dizions.co.uk/v2/done_contacts/referral/127 | ||
+ | |||
+ | This will return the id, which can be used for editing, like this: | ||
+ | |||
+ | [POST] https<nowiki/>://api.dizions.co.uk/done_contacts/456 | ||
+ | |||
+ | The body must contain all of the following keys for creation, and at least one for editing: user, stage, start_date, end_date and description. |
Revision as of 12:48, 12 August 2021
These are completed actions, which are equivalent to the top half of Record a Contact in the web application. They are created like this, using the referral number
[POST] https://api.dizions.co.uk/v2/done_contacts/referral/127
This will return the id, which can be used for editing, like this:
[POST] https://api.dizions.co.uk/done_contacts/456
The body must contain all of the following keys for creation, and at least one for editing: user, stage, start_date, end_date and description.