Skip to main content

Uniphore Customer Portal

Update an Annotation Header

Update an existing annotation header, change it's value/name or enable/disable it. Take caution when renaming annotation headers as it will impact all of the annotations that use the header, we recommend not drastically changing the header to a different name/meaning altogether, instead use the add an annotation header request to make a new annotation header.

To get a list of your existing annotation headers, use the get annotation headers request.

Endpoint

Method: PUT

URL: /annotation/header

Request Parameter

Parameter Name

Data Type

Description

Required/Optional

id

Integer

The ID of the annotation header that you would like to update - this ensures that you update the correct annotation header.

If an id is entered that is not in the system, then a new annotation header will be created with a auto-generated id, not the id included in the request.

Required

header

String

The name of the annotation header once it's updated, this is what will be used as part of the actual annotations.

Required

enabled

Boolean

Enable (true) or disable (false) the header for use in your system once it's updated.

Required

See Sample Request for an example

Response and Error Code

Response Code

Condition

200

OK

Response Parameter

Parameter Name

Data Type

Description

id

Integer

The ID of the annotation header that you have updated, if you entered an invalid ID then a new annotation header has been created, with the ID shown here and not the ID in your request.

header

String

The new name of the annotation header, this is what will be used as part of the actual annotations.

enabled

Boolean

If the header is Enabled (true) or disabled (parameter will not be displayed if false) for use in your system.

See Sample Response for an example.

Sample Request
{
    "id": "2563",
    "header": "Example Header1",
    "enabled": false
}
Sample Response
{
    "id": "2563",
    "header": "Ben Test2"
}