Help Contents
-
System Administration
-
User Guide & Application Administration Guide
-
Using Enterprise Tester
-
Application Administration
-
Searching & TQL
-
API
-
API / Permissions
-
Features
-
Resources
-
Agile Run
-
Agile Run All Relationships
-
Agile Run Relationships
-
Agile Runs
-
Agile Run Step Attachments
-
Agile Run Step Incident
-
Agile Run Step Incidents
-
Agile Run Step Result Attachment
-
API / Resources / Resources / Search #1
-
API / Resources / Resources / Search #2
-
Assigned To Search
-
Attachment Contents
-
Automated Test
-
Automated Test All Relationships
-
Automated Test Assignment
-
Automated Test Assignment All Relationships
-
Automated Test Assignment Relationships
-
Automated Test Assignment Runs
-
Automated Test Assignments
-
Automated Test Relationships
-
Automated Test Run
-
Automated Test Run Attachment
-
Automated Test Run Attachments
-
Automated Test Run Data
-
Automated Test Run Incident
-
Automated Test Run Incidents
-
Automated Test Run Node Attachment
-
Automated Test Run Node Attachments
-
Automated Test Run Result Children
-
Automated Test Run Result Node
-
Automated Test Run Result Root Nodes
-
Automated Test Runs
-
Automated Tests
-
Automated Test Schedule
-
Automated Test Schedule Import Configuration
-
Automated Test Schedule Import Configurations
-
Automated Test Schedules
-
Automated Test Schedule Schedule Configuration
-
Automated Test Schedule Schedule Configuration Run
-
Automated Test Schedule Schedule Configurations
-
Automated Test Type
-
Automated Test Types
-
Background Task
-
Background Tasks
-
Custom Field
-
Custom Fields (Resources)
-
Custom Field Type
-
Custom Field Types
-
Event Types Search
-
Execution Package
-
Execution Package Children
-
Execution Packages
-
Export File
-
External Source Metadata
-
External Sources Metadata
-
External System
-
External System's Links
-
External System Link
-
External System Link Copy
-
External System Link Field Values
-
External System Links
-
External System Links Search
-
External System Link Ticket
-
External System Link Ticket Link
-
External Systems
-
External System Type
-
External System Types
-
Grid Widget Data
-
Grid Widget State
-
Grid Widget States
-
Group
-
Group Permission Projects
-
Group Permissions
-
Groups
-
Groups Search
-
Group Users
-
Incident
-
Incident All Relationships
-
Incident Attachment
-
Incident Attachments
-
Incident Comments
-
Incident Relationships
-
Incident Relationships All Relationships
-
Incidents
-
Latest Performance Measurement
-
Mail Queue Messages
-
Mail Sender Settings
-
Notification
-
Notification Entity Type Search
-
Notifications (Resources)
-
Organisation (Resources)
-
Organisation Picklist
-
Organisation Picklist Search
-
Organisation Relationship Types
-
Organisations
-
Permission
-
Permissions (Resources)
-
Project (Resources)
-
Project Assignees
-
Project Categories
-
Project Category
-
Project Category Children
-
Project Group Permissions
-
Project Picklist
-
Project Picklist Search
-
Projects
-
Projects Search
-
Project Templates
-
Project Tickets
-
Project User Permissions
-
Relationship (Resources)
-
Relationships (Resources)
-
Relationship Type (Resources)
-
Relationship Types
-
Requirement
-
Requirement All Relationships
-
Requirement Attachment
-
Requirement Attachments
-
Requirement Children
-
Requirement Comments
-
Requirement Package
-
Requirement Package Children
-
Requirement Packages
-
Requirement Relationships
-
Requirements (Resources)
-
Resources / Custom Fields
-
Resources / Notifications
-
Resources / Organisation
-
Resources / Permissions
-
Resources / Project
-
Resources / Relationship
-
Resources / Relationships
-
Resources / Relationship Type
-
Resources / Requirements
-
Resources / Script
-
Resources / Search
-
Resources / Widgets
-
Root
-
Rover Execution Tree
-
Rover Licensing Info
-
Script's Assignments
-
Script (Resources)
-
Script All Relationships
-
Script Assignment
-
Script Assignment All Relationships
-
Script Assignment Relationships
-
Script Assignment Runs
-
Script Assignments
-
Script Attachment
-
Script Attachments
-
Script Package
-
Script Package Children
-
Script Packages
-
Script Relationships
-
Script Run
-
Script Runs
-
Scripts
-
Search (Resources)
-
Search Index
-
Search Indexes
-
Step Result
-
Step Result Attachment
-
Step Result Attachments
-
Step Result Incident
-
Step Result Incidents
-
Swagger API
-
Swagger API List
-
Synchronizer Schedule
-
Synchronizer Schedule Run
-
Synchronizer Schedules
-
System Event
-
System Events
-
System Info
-
Temporary Attachment Set
-
Temporary Attachment Set Attachment
-
Temporary Attachments Set
-
Test Automated Test Assignments
-
Time Zone
-
User
-
User Groups
-
User Mail
-
User Password
-
User Permission Projects
-
User Permissions
-
Users
-
Users and Group Search
-
Users Search
-
Agile Run
-
Swagger
-
API / Permissions
-
Using Enterprise Tester
-
Platform Plugins
-
Troubleshooting
-
Earlier Versions of this Documentation
-
Support & Bug Fixes
-
NextGen
-
Enterprise Tester 6.7.1
Resource: Custom Field ( /api/customfield/{name} )
Custom field resource
This resource supports the following methods: DELETE, GET, PATCH
Methods
DELETE
Delete a custom field
Status Codes
These are the expected status codes returned by the service. In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
204 - NoContent | Returned if delete was successful. |
404 - NotFound | Returned if custom field does not exist. |
GET
Retrieves a custom field by its identifier.
Status Codes
These are the expected status codes returned by the service. In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successfully. |
404 - NotFound | Returned if the custom field type does not exist. |
Example of retrieving a custom field by its name.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{name} | IsRegression | The name of the custom field to retrieve. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=utf-8 |
Response Body
{ "Id": "4b4329a0-44a3-4e3c-a527-6973bb2b063b", "Name": "IsRegression", "CustomFieldTypeName": "Checkbox", "Label": "Is Regression?", "Description": null, "Required": false, "Entities": [ "TestScript", "Requirement", "Incident" ], "Scopes": [ { "Type": "Project", "Id": "d17289f6-8f43-4074-88d0-3841f9830b19", "Name": "Test Project" } ], "Expands": [ "Configuration", "Options", "Type" ], "Self": "http://localhost/api/customfield/IsRegression", "Links": [ { "Href": "http://localhost/api/customfieldtype/checkbox", "Rel": "CustomFieldType" } ] }
Status Code
200 - OK
PATCH
Updates an existing custom field.
Currently the Patch operation is limited to working with picklist values of those custom fields which support it only.
Required Permissions
- Project/EditProjectPickLists
- Administration/Organisation/EditOrganisationPickLists
Status Codes
These are the expected status codes returned by the service. In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
204 - NoContent | Returned if it updated the custom field successfully. |
403 - Forbidden | Returned if ET would not complete request (normally due to a validation failure or you don't have the necessary permissions to complete the request). |
404 - NotFound | Returned if the custom field does not exist. |
Example - PATCH (add a picklist value)
Create a new picklist value.
Request Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Request Body
{ "update": { "pickListValues": [{ "add": { "ownerId": "d31d4c3e-dfea-4204-a9dd-a54f00b8af79", "text": "Test 3", "sortOrder": 3 } }] } }
Status Code
204 - No Content
Example - PATCH (modify an existing picklist value)
Create a new picklist value.
Request Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Request Body
{ "update": { "pickListValues": [{ "set": { "ownerId": "d31d4c3e-dfea-4204-a9dd-a54f00b8af79", "id": "08c84773-e7dc-4ab8-929b-8ee04a18c368", "text": "Test 4", "sortOrder": 2 } }] } }
Status Code
204 - No Content
Example - PATCH (remove an existing picklist value)
Request Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Request Body
{ "update": { "pickListValues": [{ "remove": { "ownerId": "d31d4c3e-dfea-4204-a9dd-a54f00b8af79", "id": "08c84773-e7dc-4ab8-929b-8ee04a18c368" }] } } }
Status Code
204 - No Content
Example - PATCH (add and remove in the same call)
Request Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json |
Request Body
{ "update": { "pickListValues": [{ "remove": { "ownerId": "d31d4c3e-dfea-4204-a9dd-a54f00b8af79", "id": "08c84773-e7dc-4ab8-929b-8ee04a18c368" }] } } }
Status Code
204 - No Content