Table of Contents

Search

  1. Preface
  2. Introducing Reference 360
  3. Getting started with Reference 360
  4. Manage system reference data
  5. Manage reference data sets
  6. Manage code lists
  7. Manage code values
  8. Manage crosswalks
  9. Import data
  10. Manage hierarchies
  11. Manage attributes
  12. Manage workflows
  13. Manage jobs
  14. Reference 360 REST API
  15. Glossary

Reference 360

Reference 360

Get modified code lists by time range

Get modified code lists by time range

Retrieve the modified code lists for a time range. Modified code lists include code lists that users published or code values that users directly imported during the time range.
By default, the request returns the first 100 records. To retrieve more records or to view the next page of records, use the query parameters. You can retrieve a maximum of 10000 records in a request.

GET request

To retrieve the modified code lists for a time range, submit a GET request with the following URI:
/rdm-service/external/v1/codelists/modifications?from=<from>&to=<to>
To specify the page number and page size, submit a GET request with the following query parameters appended to the URI:
/rdm-service/external/v1/codelists/modifications?from=<from>&to=<to>&pageSize=<page size>&page=<page number>

GET request query parameters

You can append query parameters to the URI to specify the time range, page number, and page size.
Parameter
Description
from
Start date and time of the time range. The start point is inclusive. Time range must be in the ISO-8601 format: yyyy-MM-dd'T'HH:mm:ss'Z'. For example, you might use
2019-12-12T14:04:04Z
.
to
End date and time of the time range. The end point is exclusive. Time range must be in the ISO-8601 format: yyyy-MM-dd’T’HH:mm:ss’Z'. For example, you might use
2019-12-15T14:04:04Z
.
page
Optional. Page number to display. Default is
0
.
pageSize
Optional. Number of records to display per page. Default value is
100
. Maximum value is
10000
.

GET response

The response contains data about the modified code lists.
The following table describes the attributes in the response:
Field
Type
Description
page
Number
Page number displayed.
pageSize
Number
Number of records displayed per page.
totalNumberOfElements
Number
Total number of records found.
numberOfElements
Number
Number of records returned in the current page.
lastPage
Boolean
Indicates whether the current page is the last page in the total result.
firstPage
Boolean
Indicates whether the current page is the first page in the total result.
content
Array
Includes the list of code values.
id
String
Included in the content object.
ID of the code list.
updateDate
String
Included in the content object.
Last updated date of the change.
changeType
String
Included in the content object.
Type of change made to the code list. Values are
DIRECT_IMPORT
and
PUBLISH_DRAFT
.

GET example

To retrieve the first page of modified code lists for a time range, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/codelists/modifications?from=2019-12-11T13:29:55Z&to=2019-12-12T13:29:55Z&page=0&pageSize=100 HTTP/1.1 Accept: application/json
The following sample response shows the first page of modified code lists:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 282 { "pageSize":100, "page":0, "totalNumberOfElements":1000, "numberOfElements":1, "lastPage":true, "firstPage":true, "content":[ { "id":"3f23f14a44bae0f6e2bb8aa2", "updateDate":"2019-12-11T13:29:55Z", "changeType":"DIRECT_IMPORT" } ] }

0 COMMENTS

We’d like to hear from you!