API documentation for OmniVista 2500 UPAM??
Topic
I’m lookin for correct API call to get guest accounts from local OmniVista 2500.
looking at OV Cirrus API documentation I need the equivalent of
/api/ov/v1/organizations/{orgId}/am/accounts/guest/accounts
https://eu.manage.ovcirrus.com/apidoc/apidoc.html#tag/Guestaccount/paths/~1ov~1v1~1organizations~1%7BorgId%7D~1am~1accounts~1guest~1accounts/get
I have looked at https://ovc4x.ovcirrus.com/api/openapi but it doesn’t have anything regarding UPAM or accounts.
I found some old API request inside github script for Employee accounts but when I try to call it using this:
/api/ham/userAccount/getAllAccountList
I get this error which state it’s deprecated
{"result":"success","errorCode":-1,"errorMessage":"upam.deprecatedAPI","data":null,"translated":{"resultTranslated":"success","errorCodeTranslated":"-1","errorMessageTranslated":"Deprecated API, the interface will no longer be maintained","messageObjects":{}}}
Answers
Hi,
In order to get the guest account listed in OmniVista 2500, please uses these following requests. Be sure to be authenticated before using this request.
URL : https://{OVIP}/api/ham/guest/account/getPageAccountList
METHOD : POST
PAYLOAD : {
"start": "",
"querySize": 1000,
"queryBy": "Account"
}
The response will contain every guest accounts and more details.
Regards,
Romain