This API supports UPDATE operations for API Mapper Sets, which are collections of API Mappers associated with a specific Application.
Notice
Accessing the APIs is through a dedicated domain/URL, according to your PlainID Tenant LocationUsing HTML Encoded Special Characters
Use HTML encoded patterns when working with values that contain special characters like spaces, dashes, etc. Refer to this HTML URL Encoding Reference for a full list.
Important note about headers
Refer to the headers below to modify your cURL sample. Check if the following headers are in the sample, if not, ensure you add it to your cURL sample before pasting into your API tool.
Headers
*RequiredHeader | Value | cURL Line |
---|---|---|
Accept | `application/json` | `-H "Accept:application/json"` |
Content-Type | `application/json` | `-H "Content-Type:application/json"` |
cURL Sample Guidelines
In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right. They will then appear in the cURL sample on the bottom of the page in the correct format.
Object Limits
To ensure a smooth API Mapper Import, take note of the following limits:
- API Mappers per Application - 100
- Associated Asset Types per API Mapper - 5
- Mappings to Attributes per Asset Type per API Mapper - 20
- Mappings to Actions per Asset Type per API Mapper - 80
For more details about Administration API Authentication, check out the Authentication APIs documentation. Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123
The Environment ID can be found under the Details Tab in the Environment Settings.
Authorization Workspace ID. This can be found in your Authorization Workspace Settings under Workspace ID.
Fields to update in the API Mapper Set.
{
"apiMappersSetId": "App1",
"applicationIds": [
"App1"
],
"apiMappers": [
{
"mapperId": "mapper_1",
"displayName": "mapper-1",
"isActive": true,
"matchPattern": "/bank/*/accountNum/**",
"matchType": "EXACT",
"restMethods": [
"GET",
"POST"
],
"priority": 1,
"isRequireIdentitySourcesFiltering": true,
"filteringType": "INCLUDE",
"identitySourceIds": [
"sourceId1234567"
],
"assetTemplates": [
{
"templateId": "accounts",
"attributes": [
{
"attributeId": "acctType",
"source": "PATH",
"path": "[0]"
}
],
"actions": [
{
"actionId": "read",
"source": "BODY",
"value": "fetchData",
"path": "$.function"
}
]
},
{
"templateId": "loans",
"attributes": [],
"actions": []
}
]
},
{
"mapperId": "mapper_2",
"displayName": "mapper-2",
"description": "desc",
"isActive": true,
"matchPattern": "/bank/*/loans/**",
"matchType": "EXACT",
"restMethods": [
"POST"
],
"priority": 2,
"isRequireIdentitySourcesFiltering": false,
"filteringType": "INCLUDE",
"identitySourceIds": [
"sourceId1234567"
],
"assetTemplates": [
{
"templateId": "loans",
"attributes": [],
"actions": []
}
]
}
]
}
API Mapper Set
API Mapper Set Unique Identifier.
Associated Application IDs. These IDs can be found in the individual Application Details section under Application ID.
API Mapper
API Mapper Unique Identifier. This can be found the API Mappers details section within the relevant Application.
API Mapper Name
API Mapper Description
Indicates if the Mapper is active.
The URL pattern to which the Mapper applies.
Indicates if the matching is performed using a wildcard or exact match.
HTTP Methods that are applicable for the pattern.
Mapper priority. Set the API Mapper priority to adjust the processing priority. For more information, see Managing API Mappers.
Indicates if the API Mapper requires Identity Source filtering.
Indicates which Identity Source filtering type is required. This parameter is required if isRequireIdentitySourcesFiltering is set to true
.
Indicates which Identity Sources need to be filtered. This parameter is required if isRequireIdentitySourcesFiltering is set to true
. This can be located in the Attribute Source tab in the Identity Workspace Settings.
A list of Asset Templates associates with the API Mappers. You can locate Asset Template IDs under the relevant Assets' Details tab.
asset template api mapping
Asset Template unique identifier. You can locate the relevant Asset Template ID under the relevant Asset details.
List of Attributes associated with the Asset Template containing API Mappers. You can locate the relevant Attribute IDs under the relevant Assets' Asset Attribute tab.
Attribute unique identifier. You can locate the relevant Attribute ID under the relevant Asset's Asset Attribute tab.
Attribute Source. You can locate it in the Attribute Mapping Settings section under the relevant Asset Type's Asset Attribute.
JSON Path or relevant Path for the Attribute. You can locate it in the Attribute Mapping Settings section under the relevant Asset Type's Asset Attribute tab.
A list of Actions associated with the Asset Template. You can locate the relevant Action IDs under the relevant Assets' Actions tab.
Action unique identifier. You can locate the relevant Action ID under the relevant Asset Type's Actions tab.
Action source. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Action value. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Action path. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Successful operation
{
"data": {
"apiMappersSetId": "App1",
"applicationIds": [
"App1"
],
"apiMappers": [
{
"mapperId": "mapper_1",
"displayName": "mapper-1",
"isActive": true,
"matchPattern": "/bank/*/accountNum/**",
"matchType": "EXACT",
"restMethods": [
"GET",
"POST"
],
"priority": 1,
"isRequireIdentitySourcesFiltering": true,
"filteringType": "INCLUDE",
"identitySourceIds": [
"sourceId1234567"
],
"assetTemplates": [
{
"templateId": "accounts",
"attributes": [
{
"attributeId": "acctType",
"source": "PATH",
"path": "[0]"
}
],
"actions": [
{
"actionId": "read",
"source": "BODY",
"value": "fetchData",
"path": "$.function"
}
]
},
{
"templateId": "loans",
"attributes": [],
"actions": []
}
]
},
{
"mapperId": "mapper_2",
"displayName": "mapper-2",
"isActive": true,
"matchPattern": "/bank/*/loans/**",
"matchType": "EXACT",
"restMethods": [
"POST"
],
"priority": 2,
"isRequireIdentitySourcesFiltering": false,
"filteringType": "INCLUDE",
"identitySourceIds": [
"sourceId1234567"
],
"assetTemplates": [
{
"templateId": "loans",
"attributes": [],
"actions": []
}
]
}
]
}
}
API Mapper Set
API Mapper Set
API Mapper Set Unique Identifier.
Associated Application IDs. These IDs can be found in the individual Application Details section under Application ID.
API Mapper
API Mapper Unique Identifier. This can be found the API Mappers details section within the relevant Application.
API Mapper Name
API Mapper Description
Indicates if the Mapper is active.
The URL pattern to which the Mapper applies.
Indicates if the matching is performed using a wildcard or exact match.
HTTP Methods that are applicable for the pattern.
Mapper priority. Set the API Mapper priority to adjust the processing priority. For more information, see Managing API Mappers.
Indicates if the API Mapper requires Identity Source filtering.
Indicates which Identity Source filtering type is required. This parameter is required if isRequireIdentitySourcesFiltering is set to true
.
Indicates which Identity Sources need to be filtered. This parameter is required if isRequireIdentitySourcesFiltering is set to true
. This can be located in the Attribute Source tab in the Identity Workspace Settings.
A list of Asset Templates associates with the API Mappers. You can locate Asset Template IDs under the relevant Assets' Details tab.
asset template api mapping
Asset Template unique identifier. You can locate the relevant Asset Template ID under the relevant Asset details.
List of Attributes associated with the Asset Template containing API Mappers. You can locate the relevant Attribute IDs under the relevant Assets' Asset Attribute tab.
Attribute unique identifier. You can locate the relevant Attribute ID under the relevant Asset's Asset Attribute tab.
Attribute Source. You can locate it in the Attribute Mapping Settings section under the relevant Asset Type's Asset Attribute.
JSON Path or relevant Path for the Attribute. You can locate it in the Attribute Mapping Settings section under the relevant Asset Type's Asset Attribute tab.
A list of Actions associated with the Asset Template. You can locate the relevant Action IDs under the relevant Assets' Actions tab.
Action unique identifier. You can locate the relevant Action ID under the relevant Asset Type's Actions tab.
Action source. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Action value. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Action path. You can locate it in the API Action Mappers section under the relevant Asset Type's Action tab.
Validation Error
{
"errors": [
{
"code": "APIV-004",
"args": {
"0": "apiMapperSetId",
"path": "$.apiMappersSetId"
},
"id": "EBS8Z6",
"status": "400",
"name": "apiMappersSetIdUniquenessError",
"message": "Api Mapper Set ID: [apiMapperSetId] must be unique"
}
]
}
Response object
Unauthorized
Forbidden
Object not found
Payload Validation Error
Internal Server Error