Adds the given delegated form to the given categories it is not yet a member of, and removes it from the categories that it is a member of and which are not among the given categories
Request
Request URI
Method | Request URI |
---|---|
POST | https://{company-name}.helloid.com/api/v1/delegatedforms/{delegated-form}/categories |
Request parameters
Parameter | Description |
---|---|
{company-name} | The company name of the target company |
{delegated-form} | The identifier (GUID) of the delegated form to add to / remove from categories |
Sample request body
The request body is simply a JSON array containing the identifiers of the categories the form is to be a member of.
[
"ad4a81d4-96b1-4ad9-acd9-8fe3d3512f25",
"8ecb8ac9-a568-4b67-ab98-aba2a7a90194",
"3515b9c8-25a1-472f-8b00-188dcb02dc3a"
]
Response
Response status
Code | Description |
---|---|
200(OK) | Indicates that the operation was successful. |
400(BAD REQUEST) | Indicates that the operation was not successful. There were validation errors or the request body was malformed. |
401(UNAUTHORIZED) | Indicates that no authentication header was given or the api key and secret were invalid. If the api key and secret were valid check the configuration in your portal, it is possibilty these were IP restricted or are disabled. |
Please also see error result.
Please also see common HTTP status codes.