Choice
A Choice resource represents a Relativity admin or workspace choice. You can use the REST API to read and query choices. You can also interact with choices through the Services API. Note that Service API also allows you to create, update, and delete choices.
For general information about choices, see the Relativity Documentation site.
This page contains the following information:
GET method
You can use the GET method to retrieve a single Choice or a collection of Choices. You can find a general overview of this functionality in Retrieve resources.
Retrieve all admin Choices
You can retrieve a collection of all admin Choices with a GET method.
Sample URL
The URL indicates that you are retrieving a collection of Choice resources. You don't need to provide a body with this GET request.
/Relativity.REST/Relativity/Choice
Response
Retrieve a single admin Choice
When you retrieve a single Choice, you must also supply a unique identifier (such as a GUID or ArtifactID) for the resource.
Sample URL
The URL contains the identifier for a Choice resource. You don't need to provide a body with a GET request.
/Relativity.REST/Relativity/Choice/1038579
Response
Retrieve all workspace Choices
You can retrieve a collection of Choices with a GET method.
Sample URL
The URL indicates that you are retrieving a collection of Choice resources. You don't need to provide a body with this GET request.
/Relativity.Rest/Workspace/1014823/Choice
Response
Retrieve a single workspace Choice
When you retrieve a single Choice, you must supply a unique identifier (such as a GUID or ArtifactID) for the resource.
Sample URL
The URL contains the identifier for a Choice resource. You don't need to provide a body with a GET request.
/Relativity.REST/Workspace/1014823/Choice/1037418
Response
POST method
You can use the POST method to query admin and workspace choices. For detailed information about Relativity REST API query syntax, see Perform queries.
Query admin Choices
You can set conditions used to query admin Choice resources.
Sample URL
/Relativity.REST/Relativity/Choice/QueryResult
Request
Response
Query workspace Choices
You can set conditions used to query workspace Choice resources.
Sample URL
/Relativity.REST/Workspace/1014823/Choice/QueryResult