REST API - Cannot Syncronize system - Error 503

Hello

I’m trying to synconize my system by using REST API. I’m able to get the token with

eu.airvantage.net/api/oauth/token

and to retrieve system information with eu.airvantage.net/api/v1/systems

BUt when I try to syncronize the system (I removed here just the real values for access_token and uids)

eu.airvantage.net/v1/operations … ess_token=

with follow json body:

{
“action” : “READYAGENT_DM_SYNCHRONIZE”,
“systems” : {
“uids” : [""]
}
}

I’m getting

503 Service Unavailable

No server is available to handle this request.

Thank you in advance for answer

Hi,

you missed api in the url:
GET https://{server}/api/v1/users/current?access_token={token}

By the way, you have a basic tutorial about API here:
doc.airvantage.net/av/howto/clo … arted_api/

Regards.

Hello

You are right. I made a big mistake.

Thank you very much. Now It’s working.