See all operations
POST: system/custom-lists/{custom_list_id}/values
Description
Adds a custom list value to a specified custom list
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/v7_0/RestService.svc/system/custom-lists/{custom_list_id}/values
Request Parameters
Name
|
Description
|
custom_list_id
|
ID of the custom list to add this value to
|
Request Body
<ArrayOfRemoteSystemCustomListValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<RemoteSystemCustomListValue>
<ConcurrencyGuid i:nil="true" />
<Guid i:nil="true" />
<LastUpdateDate i:nil="true" />
<Active>false</Active>
<CustomPropertyListId>0</CustomPropertyListId>
<CustomPropertyValueId i:nil="true" />
<Name i:nil="true" />
<ParentCustomPropertyValueId i:nil="true" />
</RemoteSystemCustomListValue>
</ArrayOfRemoteSystemCustomListValue>
[{"CustomPropertyValueId":null,
"CustomPropertyListId":0,
"Name":null,
"Active":false,
"ParentCustomPropertyValueId":null,
"Guid":null,
"ConcurrencyGuid":null,
"LastUpdateDate":null}]
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.
<ArrayOfRemoteSystemCustomListValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<RemoteSystemCustomListValue>
<ConcurrencyGuid i:nil="true" />
<Guid i:nil="true" />
<LastUpdateDate i:nil="true" />
<Active>false</Active>
<CustomPropertyListId>0</CustomPropertyListId>
<CustomPropertyValueId i:nil="true" />
<Name i:nil="true" />
<ParentCustomPropertyValueId i:nil="true" />
</RemoteSystemCustomListValue>
</ArrayOfRemoteSystemCustomListValue>
[{"CustomPropertyValueId":null,
"CustomPropertyListId":0,
"Name":null,
"Active":false,
"ParentCustomPropertyValueId":null,
"Guid":null,
"ConcurrencyGuid":null,
"LastUpdateDate":null}]