Quality management APIs
Gets a list of documents. A document is
| HTTP method | GET |
| URI | https://api.rambase.net/quality/documents?searchPhrase={SearchPhrase}&includeArchived={IncludeArchived}&folderId={FolderId}&includeSubFolders={includeSubFolders} |
| Supported formats | Xml, Html, Json (ex. $format=json) |
| Maximum page size ($top) | 80 |
| Successful HTTP status code | 200 |
| API resource identifier | 6034, version 71 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
| searchPhrase String, optional | Search phrase |
| includeArchived Boolean, optional |
Include archived documents
Default: false |
| folderId Integer, optional |
Folder identifier
Minimum: 100000, Default: 100000 |
| includeSubFolders Boolean, optional |
Search in subfolders
Default: false |
| $showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
| $lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
| $access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
| $db String, optional | Set the database/company for the request |
| $expand String, optional | Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information. |
| $select String, optional | Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information. |
| $useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
| $format String, optional | Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json" |
| $top String, optional | Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10. |
| $pageKey String, optional | Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response. |
| $filter String, optional | Use to filter the result list, see the Filtering and sorting page for more information. |
| $orderby String, optional | Use to order the result list, see the Filtering and sorting page for more information. |
| $inlinecount String, optional | Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none" |
Read more about filters and sorting on how to use filter parameters and named filters.
| Active() Named filter | All active, non archived documents |
| CreatedByMe() Named filter | Show all documents created by me |
| ToApproveByMe() Named filter | Show all documents which should be approved by me |
| ToReviseByMe() Named filter | Show all documents that should be revised by me |
| ToVerifyByMe() Named filter | Show all documents which should be verified by me |
| ApprovedVersion Integer | Number of the latest document version. |
| ApprovedVersionApprovedAt Datetime | Date and time for when document version was approved. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| ApprovedVersionApprover Integer | Employee identifier. Available macros: currentUser() |
| ApprovedVersionApproverSuccessor Integer | Employee identifier. Available macros: currentUser() |
| ApprovedVersionAuthor Integer | Employee identifier. Available macros: currentUser() |
| ApprovedVersionAuthorSuccessor Integer | Employee identifier. Available macros: currentUser() |
| ApprovedVersionContentType String | Document type. Can be quiz, message, file url or structured content. |
| ApprovedVersionVerifier Integer | Employee identifier. Available macros: currentUser() |
| ApprovedVersionVerifierSuccessor Integer | Employee identifier. Available macros: currentUser() |
| Approver Integer | Employee identifier. Available macros: currentUser() |
| ApproverSuccessor Integer | Employee identifier. Available macros: currentUser() |
| Author Integer | Employee identifier. Available macros: currentUser() |
| AuthorSuccessor Integer | Employee identifier. Available macros: currentUser() |
| CreatedAt Datetime | Date and time when document was created. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| CreatedBy Integer | Employee identifier. Available macros: currentUser() |
| Description String | Description of document. |
| FolderId Integer | Folder identifier. |
| LastVersion Integer | Number of the latest document version. |
| LastVersionApprovedAt Datetime | Date and time for when document version was approved. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| LastVersionContentType String | Document type. Can be quiz, message, file url or structured content. |
| LastVersionStatus Integer | Status of quality document version. |
| QualityDocumentId Integer | Identifier of the quality document. |
| Status Integer | Status of the document. |
| Title String | Title of the document. |
| ValidTo Datetime | Date until which the quality document version is valid. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| Verifier Integer | Employee identifier. Available macros: currentUser() |
| VerifierSuccessor Integer | Employee identifier. Available macros: currentUser() |
Read more about filters and sorting on how to use sortable parameters
| ApprovedVersionApprovedAt Datetime | Date and time for when document version was approved |
| ApprovedVersionApprover Integer | Employee identifier |
| ApprovedVersionApproverSuccessor Integer | Employee identifier |
| ApprovedVersionAuthor Integer | Employee identifier |
| ApprovedVersionAuthorSuccessor Integer | Employee identifier |
| ApprovedVersionContentType String | Document type. Can be quiz, message, file url or structured content |
| ApprovedVersionVerifier Integer | Employee identifier |
| ApprovedVersionVerifierSuccessor Integer | Employee identifier |
| Approver Integer | Employee identifier |
| ApproverSuccessor Integer | Employee identifier |
| Author Integer | Employee identifier |
| AuthorSuccessor Integer | Employee identifier |
| CreatedAt Datetime | Date and time when document was created |
| CreatedBy Integer | Employee identifier |
| Description String | Description of document |
| FolderId Integer | Folder identifier |
| LastVersionApprovedAt Datetime | Date and time for when document version was approved |
| LastVersionContentType String | Document type. Can be quiz, message, file url or structured content |
| LastVersionStatus Integer | Status of quality document version |
| QualityDocumentId Integer | Identifier of the quality document |
| Status Integer | Status of the document |
| Title String | Title of the document |
| ValidTo Datetime | Date until which the quality document version is valid |
| Verifier Integer | Employee identifier |
| VerifierSuccessor Integer | Employee identifier |
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
QualityDocumentId
Identifier of the quality document
>{Integer}</QualityDocumentId>Title
Title of the document
>{String}</Title>RevisionDuration
Specify the number of years or a specific date for document review. A null or blank value means no limit, while a specific date triggers an immediate revision.
Possible domain values can be found here
>{Integer}</RevisionDuration>Description
Description of document
>{String}</Description>RequiresTraining
Determines whether training is required
>{Boolean}</RequiresTraining>CreatedAt
Automatically generated timestamp field maintained by the execution engine (when a document is created)
>{Datetime}</CreatedAt>UpdatedAt
Date and time for when a document was updated
>{Datetime}</UpdatedAt>ArchivedAt
Date and time when quality document was archived.
>{Datetime}</ArchivedAt>QualityDocumentLink
API reference to the item
>{String}</QualityDocumentLink>Paging
Detailed paging information for this list.
>PageSize
Number of elements in the list, as defined in $top. Default is 10.
>{Integer}</PageSize>Position
Position of the first element in the list
>{Integer}</Position>Page
Page index
>{Integer}</Page>FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
>{String}</FirstPage>PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
>{String}</PreviousPage>NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
>{String}</NextPage>LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
>{String}</LastPage>Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
>{Integer}</Size>QualityDocumentId
Identifier of the quality document
": "{Integer}",Status
Status of the document
Possible domain values can be found here
": "{Integer}",Title
Title of the document
": "{String}",RevisionDuration
Specify the number of years or a specific date for document review. A null or blank value means no limit, while a specific date triggers an immediate revision.
Possible domain values can be found here
": "{Integer}",Description
Description of document
": "{String}",RequiresTraining
Determines whether training is required
": "{Boolean}",CreatedAt
Automatically generated timestamp field maintained by the execution engine (when a document is created)
": "{Datetime}",UpdatedAt
Date and time for when a document was updated
": "{Datetime}",ArchivedAt
Date and time when quality document was archived.
": "{Datetime}",QualityDocumentLink
API reference to the item
": "{String}"Paging
Detailed paging information for this list.
": {PageSize
Number of elements in the list, as defined in $top. Default is 10.
": "{Integer}",Position
Position of the first element in the list
": "{Integer}",Page
Page index
": "{Integer}",FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
": "{String}",PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
": "{String}",NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
": "{String}",LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
": "{String}",Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
": "{Integer}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return: