Skip to content

Update Integrations

The Update Integrations feature allows to modify oemInfo credentials and the pollInterval field values. The oemInfo details (body, headers, queryParams) for the Token URL, Refresh Token, and Feed URL can be updated. While the Feed URL endpoint itself cannot be changed, other URL endpoints like the Token and Refresh Token can be modified.

No other fields, apart from pollIntervalMinutes and oemInfo credentials, can be altered.

Update an integration using the Update Integrations API.

Update Integration with OemInfo

Here’s an example to update the OEM details in request body for an integration which is to update the TokenUrl credentials.

Sample Request

{
"oemInfo": [
{
"urlType": "Token",
"url": "https://oem.com/token",
"httpMethod": "POST",
"sequence": 1
},
{
"urlType": "Feed",
"url": "https://oem.com/aemp",
"httpMethod": "GET",
"headers": {
"Authorization": "Bearer {$.Response[1].Body.access_token}"
},
"sequence": 2
}
]
}

!!!Note * Feed Endpoint URL cannot be updated, while oemInfo credentials to access Feed Endpoint could be updated * Only oemInfo, pollIntervalMinutes fields could be updated.

Update Integration with pollIntervalMinutes

Here’s an example to update the pollIntervalMinutes field in request body for an integration.

Sample Request

{
"pollIntervalMinutes": 60
}