lists Related to Entity

Description

The collection of lists connected to fields of the specified entity type.

URL

/qcbin/rest/domains/{domain}/projects/{project}/customization/entities/{entity name}/lists

Remarks

The collection contains lists used to populate values of fields of the specified entity type.

The entity type name is in the singular. For example, test or requirement.

To get all the used lists in the project, use the used-lists Collection

HTTP Methods

GET: Returns the project lists related to the entity.

PUT: N/A

DELETE: N/A

POST: N/A

Media Type
GET
PUT
DELETE
POST
application/xml
check
-
-
-
application/json
check
-
-
-

Returns

One of the HTTP Return Codes.

An XML string compliant with the Lists Schema or a string containing the data in another supported format.

Examples

JSON example

GET /qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/customization/entities/defect/lists
Accept: application/json

{
    "lists": [
        {
            "Name": "Operating System (Environment)",
            "Id": 183,
            "LogicalName": "hp.qc.operating-system-environment",
            "Items": [
                {
                    "logicalName": "hp.qc.operating-system-mac-os",
                    "value": "Apple Mac OS"
                },
                {
                    "logicalName": "hp.qc.operating-system-linux",
                    "value": "Linux"
                },
                {
                    "logicalName": "hp.qc.operating-system-windows",
                    "value": "Microsoft Windows"
                }
            ]
        }
        …
      ]
}