Skip to main content

I am getting a bearer token when i am running the json code below with the specified url, but i don`t know how to implement this json body in TimeXtender, is there any documentation available or a solution for this?

 

{

 

  "id": "",

 

  "language": "en",

 

  "data": {

 

    "resourceType": "AUTH",

 

    "item": {

 

          "loginName": "api@user", 

 

          "password": "password",

 

          "module": "API"

 

    }

 

  }

 

}

Hi @r.brummans 

Please try to specify everything in one call including authorization, rather than separate calls. Please see the following question which may be relevant:

Also please see the following documentation for TimeXtender REST data source and Cdata REST data source:

For TimeXtender REST please try basic authentication

For Cdata REST please try to set the Oauth grant type to password

If you still have issues connecting, please share an error message in order to aid troubleshooting


Hi @r.brummans 

It is possible to do such a call, I haven’t updated the existing guide with this, but you will need to do it in two steps.

First you create an endpoint where you use the snippet in a post call. Like I do here

Then you can get the bearer token from this and use it as a dynamic value.

 


Hi @r.brummans please let us know if the issue is resolved, and if so please help us by marking a best answer above. If you have any follow up questions please let us know


Hi Christian,

 

We can also use the case of Arthur van Rijn, it is the same question (same company) and close this question.


Reply