Add an Annotation Header
Add an annotation header to your system. Use the get annotation headers request to check that none of the annotations already in the system are similar to the annotation header that you want to add. Use the update annotation header request to rename, enable/disable an existing annotation header if applicable.
Endpoint
Method: POST
URL: /annotation/header
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| Integer | A space for the ID of the annotation header, leave this blank, the ID will be auto-generated as part of the request. | N/A |
| String | The name of the annotation header to add, this is what will be used as part of the actual annotations. | Required |
| Boolean | Enable ( | Required |
Note
The header
and enabled
parameters can be updated later using the update annotation header request.
See Sample Request for an example.
Response and Error Code
Response Code | Condition |
---|---|
201 | Created |
Response Parameter
Parameter Name | Data Type | Description |
---|---|---|
| Integer | The auto-generated ID of the annotation header just created. |
| String | The name of the annotation header just created, this is what will be used as part of the actual annotations. |
| Boolean | If the header is Enabled ( |
See Sample Response for an example.
Sample Request
{ "id": "", "header": "Example Header 1", "enabled": true }
Sample Response
{ "id": "2563", "header": "Example Header 1", "enabled": true }