Anaplan connection JSON

ejeong
All-Star
All-Star

Hello, 

can anyone share connection detail if anyone did this onboarding ? 

Thanks

9 REPLIES 9

adriencosson
Regular Contributor III
Regular Contributor III

Hi @ejeong ,

Following this link : https://help.anaplan.com/use-basic-authentication-3a4a2905-3d55-4199-a980-d1a89ffdcb7e , it appears that ANAPLAN uses Basic Authentication to enable applications to connect through APIs.

Therefore, you should be able to use the below sample JSON, matching their token response path :

{
  "authentications": {
    "acctAuth": {
      "authType": "Basic",
      "url": "hhttps://auth.anaplan.com/token/authenticate",
      "httpMethod": "POST",
      "httpParams": {},
      "httpHeaders": {},
      "httpContentType": "text/html",
      "properties": {
        "userName": "username",
        "password": "password"
      },
      "expiryError": "Couldn't authenticate you",
      "authError": [
        "Couldn't authenticate you"
      ],
      "timeOutError": "Read timed out",
      "errorPath": "statusMessage",
      "maxRefreshTryCount": 5,
      "tokenResponsePath": "tokenInfo.tokenValue",
      "tokenType": "Basic",
      "accessToken": "Basic abc",
    }
  }
}

Saviynt Reference documentation : https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm 

Regards,
Adrien COSSON

@adriencosson i meant entire connection detail (import account / ent, create account...etc). Can you please share that as well?

pmahalle
Valued Contributor II
Valued Contributor II

Hi @ejeong ,

You can use below sample JSON for connection make changes as per your response:

{
"authentications": {
"acctAuth": {
"authType": "Basic",
"url": "<URL>",
"httpMethod": "POST",
"httpParams": {},
"httpHeaders": {},
"httpContentType": "text/html",
"properties": {
"userName": "username",
"password": "password"
},
"expiryError": "Couldn't authenticate you",
"authError": [
"Couldn't authenticate you"
],
"timeOutError": "Read timed out",
"errorPath": "statusMessage",
"maxRefreshTryCount": 5,
"tokenResponsePath": "tokenInfo.tokenValue",
"tokenType": "Basic",
"accessToken": "Basic sdidsfjl",
}
}
}


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

@pmahalle 

Can you pls share entire jsons for connection (e.g import account / create account...etc

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Examples-for-JSON-Construction.htm

Above document has the sample / reference JSON

Thanks,
Devang Gandhi
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

@dgandhi 

Thanks. I know how to write JSON for rest connector..

I wanted to confirm if all API is availble to onboard Analplan in Saviynt

 

 

Recon is not possible as it’s csv. 

Ankyt19
Regular Contributor
Regular Contributor

Recon is possible till user and workspace/Model level . 

Create user is possible along with required workspace .

Can you share JSONs