These group of APIs are called "Target group controller" APIs. These are used to perform various activities (GET, POST, PUT) on target groups.
Following are some of the most used APIs in this category:
- Deactivate target
- Create target groups
- Get target groups
- Get target periods
- Get targets details
- Get target communication template
- Upsert target communication
- Get target channels
- Delete target group
- Create target period
- Update target period
- Create targets
- Modify targets
Each API might contain:
- Query params
- Body params (only for POST, PUT APIs)
- Headers
- Path params (variables present in the path of the URL of the API)
Status of the APIs will be as follows:
Status code | Interpretation of the code |
---|---|
200 | OK, meaning API is success |
401 | Unauthorised, meaning no permission to access |
403 | Forbidden |
404 | Not found |
201 | Created, for POST operations |
P.S: When using POST APIs, don't forgot that they "need mandatory request body". :-)