2

I'm following the directions in the AtTask API documentation to get an API key. My user is a system administrator, but the request always returns an error.

Request:

GET /attask/api/v4.0/user?action=getApiKey&username=user@company.com&password=********&method=put

Response:

{
    "error": {
        "class": "java.lang.UnsupportedOperationException",
        "message": "APIModel V4_0 does not support action getApiKey (USER)"
    }
}

2 Answers2

2

the following should work

GET /attask/api-unsupported/user?action=getApiKey&username=user@company.com&password=********&method=put
michael johnson
  • 757
  • 1
  • 4
  • 10
0

It seems that now api keys are supported only in the latest (unstable) version of api. Try to pass unsupported or internal instead v4.0. That way you will get the latest features of api.

bhovhannes
  • 5,511
  • 2
  • 27
  • 37