getIdentityTransferConfiguration
The Capacitor SDK adds a tid
as a URL query parameter to outgoing network requests.
getIdentityTransferConfiguration(): Promise<MXOResult<MXOIdentityTransferConfiguration>>
Example of usage:
MedalliaMXO.getIdentityTransferConfiguration()
.then(mxoResult => {
if (mxoResult.value && mxoResult.value.apiName) {
// error case
console.error(mxoResult.value)
} else {
// success case
console.log("Configuration: ", mxoResult.value)
}
})
.catch(error => {
console.error(error)
})
try {
const {value} = await MedalliaMXO.getIdentityTransferConfiguration()
if (value && value.apiName) {
// error case
console.error(value)
} else {
// success case
console.log("Configuration: ", value)
}
} catch (error) {
console.error(error)
}