PUT /testrun/{id}/customfield/{customFieldId}

Updates the value of a test run custom field, given the Test Run and the Test Run Custom Field ids. The custom field value should be a valid value according to the field type.

- Toggle Fields values should be "true", "false", "0" or "1"

- Number Fields values should be a string containing a number, e.g. "320". Decimal Number are also accepted,for instance, "320.5". The decimal places are always separated by a "."

- Single Select and Radio Button Fields values should be a single string containing the option value, e.g. "Option A". The value should be a valid option for that custom field. The values are not case sensitive.

- Multiple Select Fields values should be an array of the string of option values, e.g. ["Option A", "Option B"]. All the selected values should be valid for that custom field. The option values are not case sensitive.

- Date Fields should follow the ISO format yyyy-MM-dd, where yyyy represents the year, MM the month in year and dd the day in the month. For instance, a valid value would be "2020-05-02".

- Date Time fields should be in UTC following the ISO format yyyy-MM-dd'T'HH:mm'Z'. The date part follows the same date format, while HH represents the hours (0-24), mm the minutes in hour and Z indicates the hour in UTC. For instance, a valid date time value would be "2020-05-02T10:30Z".

An error will be returned when there are invalid custom field values. It is also possible to delete a Test Run custom field value by providing a null or empty value (e.g., "" or []). It is not possible to delete a value of a required Test Run Custom Field value.

Servers

Path parameters

Name Type Required Description
id String Yes

The id of the Test Run

customFieldId String Yes

The id of the Test Run Custom Field

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.