Use this resource to retrieve the value mappings for a code value based on identifiers, such as internal ID or alias.
Get history of a crosswalk by time range (v3)
Retrieves all the change events of a crosswalk for a specific time range based on an internal ID or alias.
GET request
To retrieve all the change events of a crosswalk for a specific time range based on an internal ID or alias, submit a GET request with the following URI:
You can append query parameters to the URI to specify the time range, page number, page size, and modification type.
The following table describes the query parameters:
Parameter
Description
assetKey
Internal ID or alias of a crosswalk.
from
Start date and time of the time range, which is inclusive. Time range must be in the following 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, which is exclusive. Time range must be in the following 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.
modificationType
Optional. Type of modification. Value can be CREATE, UPDATE, or DELETE.
GET response
The response contains the change events of a crosswalk for a specific time range.
The following table describes the attributes in the response body:
Attributes
Type
Description
pageSize
Number
Number of records displayed per page.
page
Number
Page from which the response was retrieved.
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 modification events.
id
String
ID of the crosswalk. For more information, see Asset IDs.
name
String
Name of the crosswalk.
internalId
String
Unique identifier of the crosswalk.
alias
String
Alternative identifier of the crosswalk.
assetType
String
Optional. Type of asset. Set the value to REFERENCEDATASET, CODELIST, CROSSWALK, or HIERARCHY.
asset
Object
Includes details about the crosswalk.
modificationType
String
Type of change made to the crosswalk. Value can be CREATE, UPDATE, or DELETE.
fieldChanges
Object
Displays the previous and new values of the fields with changes.
attributeChanges
Object
Displays the previous and new values of the attributes with changes.
eventTime
String
Date and time when the crosswalk was last modified.
userName
String
User name of the user who initiated the modification.
GET example
To retrieve all the change events of a crosswalk for a specific time range based on the internal ID or alias, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v3/crosswalks/cl_audit/summary/audit?from=2023-01-01T00:00:00Z&to=2024-01-01T00:00:00Z HTTP/1.1 Accept: application/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
The following sample response shows the change events of the crosswalk from 2023-01-01T00:00:00Z to 2024-01-01T00:00:00Z:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 1247
Delete value mappings of a crosswalk by mapped source and target code values (v3)
Delete value mappings of a crosswalk by mapped source and target code values based on an internal ID or alias.
POST request
To delete value mappings of a crosswalk by mapped source and target code values based on an internal ID or alias, submit a POST request with the following URI:
Use the following parameters in the request body to specify the value mappings of a crosswalk to delete:
Field
Type
Description
crosswalkKey
String
Internal ID or alias of a crosswalk.
action
String
Action to perform.
mappings
Array
List of mappings for the specified crosswalk.
Code
String
Source code value of a crosswalk mapping.
targetCode
String
Target code value of a crosswalk mapping.
POST response
A 204 no content response is returned.
POST example
To delete value mappings of a crosswalk by mapped source and target code values based on the internal ID or alias, you might use the following request:
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v3/crosswalks/sapcountry_to_isocountry/mappings HTTP/1.1 Content-Type: application/json Content-Length: 384