SpiraPlan: REST Web Service (v6.0)

See all operations

PUT: project-templates/{project_template_id}/custom-lists/{custom_list_id}

Description

Updates a custom list and any associated values in the system

This will not add any new custom values, for that you need to use the AddCustomListValue() function

How to Execute

To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):

https://api.inflectra.com/Spira/Services/v6_0/RestService.svc/project-templates/{project_template_id}/custom-lists/{custom_list_id}

Request Parameters

Name Description
project_template_id The id of the current project template
custom_list_id The id of the list being updated

Request Body

Property Description
CustomPropertyListId The id of the custom list
ProjectTemplateId The id of the project template the custom list belongs to
Name The name of the custom list
Active Whether the list is active or not
SortedOnValue Whether the list is sorted on value or not
Values The collection of values in the custom list

Return Data

The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.