Artifact Methods
POST
{
"category": "Documents",
"type": "string",
"expirationDate": "2021-08-23"
}
Data Explanation
Data | Description |
---|---|
category | string; ‘Documents’ |
type | string |
expirationDate | Date (YYYY-MM-DD); optional |
monitorSubjectID | string (uuid) |
API Reference: Create an Artifact for a Subject
PUT
API Reference: Update an Artifact for a Subject
GET
With this functionality, you can retrieve a specific artifact for a specific subject.
API Reference: Get the Artifact by Id for a Subject
POST Search
{
"desc": true,
"page": 0,
"size": 0,
"sortBy": "NAME",
"expirationDates": [
{
"startDate": "2021-08-27",
"endDate": "2021-08-27"
}
],
"categoryTypesMap": {
"Documents": [
"Certificate of Insurance"
]
},
"statuses": [
"Active",
"Expiring in 30 Days",
"Expiring in 7 Days",
"Expired",
"Missing"
],
"filter": "string"
}
Data Explanation
Data | Description |
---|---|
desc | True to sort the search results in descending order, false to sort them in ascending order |
page | Integer (min 0, default 0). Optional. The page number of the search to return |
size | Integer (min 1, max 1000, default 30). Optional. The size of each page |
sortBy | String (enum). Optional. The sort order of the results. Allowable values are: |
expirationDates | JSON Object Array. Optional. Date filters to apply based on each Artifact's expiration date. Each object has the following fields: To match an expirationDate filter an Artifact's expirationDate must be greater than or equal to the startDate (if not null) and less than or equal to the endDate (if not null). JSON Objects in this array have OR logic applied to each other, meaning that an Artifact only needs to match one to be returned in the search. |
categoryTypesMap | JSON Object. Optional. Key-value pairs in this Object have OR logic applied to each other, meaning that an Artifact only needs to match one to be returned in the search. |
statuses | String (enum) Array. Optional.
|
filter | String. Optional. |
API Reference: Search all Artifacts with optional filters
Updated 9 days ago