public interface Endpoint
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(java.lang.String entry,
java.lang.String value)
Use this method to add a header value to the existing http header map for the request
|
void |
getAfterRule()
Use this method to get the name of the rule to run after the webservice request completes.
|
java.lang.Object |
getAttribute(java.lang.String name)
Use this method to get the value of an attribute
|
sailpoint.object.Attributes |
getAttributes()
Use this method to get all the available attributes
|
void |
getBaseUrl()
Use this method to get the base url (endpoint) of the operation that is to be performed for the particular operation
|
void |
getBeforeRule()
Use this method to get the name of the rule to run before the webservice request completes
|
void |
getBody()
Use this method to get the http payload information as a map.
|
void |
getContextUrl()
Use this method to get the context url for the particular operation (create user, update user, account aggregation, etc...)
|
void |
getFullUrl()
Use this method to get the complete url (endpoint) of the operation that is to be performed for the particular operation
|
void |
getHeader()
Use this method to get the header values for the request
|
void |
getHttpMethodType()
Use this method to get the http method type (put, post, get, patch, delete) for the particular operation (create user, update user, account aggregation, etc...)
|
void |
getOperationType()
Use this method to get the operation type (Account Aggregation, Group Aggregation, Create Account, etc...) for the particular operation record (create user, update user, account aggregation, etc...)
|
void |
getResMappingObj()
Use this method to get the response mapping for the response attributes returned from the JSON response of the managed source.
|
void |
getResponseCode()
Use this method to get the value of successful response codes as a list (200,201,299).
|
void |
getRootPath()
Use this method to get the root of the JSON response returned from the managed source for the particular operation (create user, update user, account aggregation, etc...)
Example root path for the json below: $.results |
void |
getSequenceNumberForEndpoint()
Use this method to get the sequence number for the particular operation (create user, update user, account aggregation, etc...)
|
void |
getUniqueNameForEndPoint()
Use this method to get the unique operation name for the particular operation (create user, update user, account aggregation, etc...)
|
void |
setBaseUrl(java.lang.String value)
Use this method to set the base url (endpoint) of the operation that is to be performed for the particular operation
|
void |
setBody(java.util.Map value)
Use this method to set the http payload information as a map.
|
void |
setContextUrl(java.lang.String value)
Use this method to set the context url for the particular operation (create user, update user, account aggregation, etc...)
|
void |
setFullUrl(java.lang.String value)
Use this method to set the complete url (endpoint) of the operation that is to be performed for the particular operation
|
void |
setHeader(java.util.Map value)
Use this method to set the header values for the request
|
void |
setHttpMethodType(java.lang.String value)
Use this method to set the http method type (put, post, get, patch, delete) for the particular operation (create user, update user, account aggregation, etc...)
|
void |
setOperationType(java.lang.String value)
Use this method to set the operation type (Account Aggregation, Group Aggregation, Create Account, etc...) for the particular operation record (create user, update user, account aggregation, etc...)
|
void |
setResMappingObj(java.util.Map value)
Use this method to set the response mapping for the response attributes returned from the JSON response of the managed source.
|
void |
setResponseCode(java.util.List value)
Use this method to set the value of successful response codes as a list (200,201,299).
|
void |
setRootPath(java.lang.String value)
Use this method to set the root of the JSON response returned from the managed source for the particular operation (create user, update user, account aggregation, etc...)
Example root path for the json below: $.results |
void getAfterRule()
void getBeforeRule()
void setContextUrl(java.lang.String value)
value - the name of the context urlvoid getContextUrl()
void setHttpMethodType(java.lang.String value)
value - the name of the http method type [get, post, put, patch, delete]void getHttpMethodType()
void setOperationType(java.lang.String value)
value - the name of the operation typevoid getOperationType()
void setRootPath(java.lang.String value)
$.results
{
"results": [
{
"id": "12345",
"name": "John Doe"
"email": "john.doe@sailpoint.com"
},
{
"id": "54321",
"name": "Jane Doe",
"email": "jane.doe@sailpoint.com"
}
]
}
value - the name of the root of the JSON response resultsvoid getRootPath()
$.results
{
"results": [
{
"id": "12345",
"name": "John Doe"
"email": "john.doe@sailpoint.com"
},
{
"id": "54321",
"name": "Jane Doe",
"email": "jane.doe@sailpoint.com"
}
]
}
void setFullUrl(java.lang.String value)
Example full url for Airtable Get Users call ex: https://api.airtable.com/v0/appe0bVnLjyV97hyg/Users
value - the full url as a stringvoid getFullUrl()
Example full url for Airtable Get Users call ex: https://api.airtable.com/v0/appe0bVnLjyV97hyg/Users
void setBaseUrl(java.lang.String value)
Example base url for Airtable Get Users call
ex: https://api.airtable.com/v0/appe0bVnLjyV97hyg
value - the base url as a stringvoid getBaseUrl()
Example base url for Airtable Get Users call
ex: https://api.airtable.com/v0/appe0bVnLjyV97hyg
void getSequenceNumberForEndpoint()
void getUniqueNameForEndPoint()
void setResMappingObj(java.util.Map value)
{
"results": [
{
"fields": {
"id": "12345",
"name": "John Doe"
"email": "john.doe@sailpoint.com"
}
},
{
"fields": {
"id": "54321",
"name": "Jane Doe",
"email": "jane.doe@sailpoint.com"
}
}
]
}
Root path: $.results
{
"id": "fields.id",
"name": "fields.name",
"email": "fields.email"
}
value - the mapping of account schema attribute to the JSON path value in the JSON responsevoid getResMappingObj()
{
"results": [
{
"fields": {
"id": "12345",
"name": "John Doe"
"email": "john.doe@sailpoint.com"
}
},
{
"fields": {
"id": "54321",
"name": "Jane Doe",
"email": "jane.doe@sailpoint.com"
}
}
]
}
Root path: $.results
{
"id": "fields.id",
"name": "fields.name",
"email": "fields.email"
}
void setHeader(java.util.Map value)
//Set Header Content-Type
Map headerMap = requestEndPoint.getHeader();
headerMap.put("Content-Type", "application/json");
requestEndPoint.setHeader(headerMap);
value - the map of http headers to send with the requestvoid getHeader()
//Set Header Content-Type
Map headerMap = requestEndPoint.getHeader();
headerMap.put("Content-Type", "application/json");
requestEndPoint.setHeader(headerMap);
void addHeader(java.lang.String entry,
java.lang.String value)
requestEndPoint.addHeader("Authorization", "Bearer " + accessToken);
entry - the key for the headervalue - the value for the headervoid setBody(java.util.Map value)
bodyFormat, bodyFormData, jsonBody. The bodyFormat value can be raw
value - the http payload mapvoid getBody()
bodyFormat, bodyFormData, jsonBody.void setResponseCode(java.util.List value)
value - the list of successful response code valuesvoid getResponseCode()
sailpoint.object.Attributes getAttributes()
java.lang.Object getAttribute(java.lang.String name)
name - the name of the attribute