Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Anaplan connection JSON

ejeong
Valued Contributor
Valued Contributor

Hello, 

can anyone share connection detail if anyone did this onboarding ? 

Thanks

9 REPLIES 9

adriencosson
Valued Contributor
Valued Contributor

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

ejeong
Valued Contributor
Valued Contributor

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

pmahalle
All-Star
All-Star

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",
}
}
}


Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept As Solution to help other who may have a same problem. Give Kudos 🙂

ejeong
Valued Contributor
Valued Contributor

@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 Accept As Solution and give Kudos to help others who may have a similar problem.

ejeong
Valued Contributor
Valued Contributor

@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. 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

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


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.