GET
Displays a list of projects stored in the system. If the number of projects returned exceeds the display maximum, the results are paged.
When submitting a GET request, you can use the following query parameters to filter the results. For more information about using query parameters, please refer to [REST:Filtering list resources].
Parameters
name | description | type | default |
---|---|---|---|
start-index | When working with large lists of projects, displays the results from a set point. If omitted, the first page of projects is returned. | query | 0 |
udf.UDFNAME\[OPERATOR\]=UDFVALUE | Displays only projects that include the specified UDF value. The system will only return projects with standalone UDFs; it will not return projects with UDFs that belong to a UDT. When filtering results, you can repeat this parameter. | query | |
udt.name=UDTNAME | Displays only projects that include data for the specified UDT name. When filtering results, you can repeat this parameter. | query | |
udt.UDTNAME.UDFNAME\[OPERATOR\]=UDFVALUE | Displays only projects that include the specified value for a UDF within a UDT. The system will only return projects with UDFs that belong to a UDT; it will not return projects with standalone UDFs. When filtering results, you can repeat this parameter. | query | |
last-modified | Displays only the projects modified since the specified date, in YYYY-MM-DDThh:mm:ssTZD format. For more information on this format, please refer to the ISO 8601 Complete Date (plus hours, minutes and seconds) standard. | query | |
open-date | Displays only the projects submitted since 00:00:00 of the specified date, in YYYY-MM-DD format. | query | |
name | Displays only the projects that match the project name against the provided parameter. When filtering results, you can repeat this parameter. | query |
Output Payload
element | produceable content type(s) |
---|---|
projects (XML) |
|
description | |
The system returns a response that includes a list of projects and URI links, starting from the start-index offset. |
POST
Creates a new project in the system. The system will automatically assign the project a LIMS ID.
When POSTing a project, the following rules apply:
- You must provide a contact for the project using the researcher element. The researcher you specify must link to an existing researcher in the system and be assigned to a lab.
- You must provide a name for the project using the name child element.
- You can use the close-date child element to specify a 'close date' for the project, but only if an 'open date' is provided with the open-date child element.
Input Payload
element | consumeable content type(s) |
---|---|
project (XML) |
|
description | |
The information about the project you want to add to the system. Here is an example |
Output Payload
element | produceable content type(s) |
---|---|
project (XML) |
|
description | |
When the project is successfully created, the system returns an HTTP 201 (Created) code with a
response body that includes information about the new project.
Here is an example response in xml format:\\
\\
{{ |