Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/08/2024 01:18 AM
Hi Team,
We are planning to integrate workfront into saviynt, has anyone onboarded workfront.. would like to know what all API's was utilized to perform CRUD operations and authentication method to establish a connection... as there is no technical contact from app end.
Thanks
04/08/2024 08:09 PM
Authentication Endpoint:
The Workfront API provides endpoints to interact with user-related resources, allowing you to manage users within the Workfront platform. Here are the main API URLs for working with users:
1. **Retrieve Users**:
- Endpoint: `/user`
- Method: GET
- Description: Retrieve information about users.
- Example:
```
GET https://yourdomain.attask-ondemand.com/attask/api/v9.0/user
```
2. **Retrieve Specific User**:
- Endpoint: `/user/{user_id}`
- Method: GET
- Description: Retrieve information about a specific user by their ID.
- Example:
```
GET https://yourdomain.attask-ondemand.com/attask/api/v9.0/user/{user_id}
```
3. **Create User**:
- Endpoint: `/user`
- Method: POST
- Description: Create a new user.
- Example:
```
POST https://yourdomain.attask-ondemand.com/attask/api/v9.0/user
Content-Type: application/json
{
"firstName": "John",
"lastName": "Doe",
"username": "johndoe",
// Other required fields
}
```
4. **Update User**:
- Endpoint: `/user/{user_id}`
- Method: PUT
- Description: Update an existing user's information.
- Example:
```
PUT https://yourdomain.attask-ondemand.com/attask/api/v9.0/user/{user_id}
Content-Type: application/json
{
"firstName": "Updated First Name",
// Other fields to update
}
```
5. **Delete User**:
- Endpoint: `/user/{user_id}`
- Method: DELETE
- Description: Delete a user.
- Example:
```
DELETE https://yourdomain.attask-ondemand.com/attask/api/v9.0/user/{user_id}
```
6. **Search Users**:
- Endpoint: `/search`
- Method: POST
- Description: Search for users using Workfront Query Language (WQL).
- Example:
```
POST https://yourdomain.attask-ondemand.com/attask/api/v9.0/search
Content-Type: application/json
{
"from": "USER",
"select": ["ID", "firstName", "lastName"],
"where": {
"isActive": true
}
}
```
These are the main API URLs for working with users in the Workfront API. Make sure to replace `yourdomain` with your actual Workfront domain and `{user_id}` with the ID of the specific user you are working with. Additionally, ensure you have the necessary permissions to perform CRUD operations on users within your Workfront organization.
04/25/2024 10:40 AM
Hi @rushikeshvartak ,
Thanks for your response, I was going through the workfront documentation and saw this.
have you used any method mentioned above in the image?
04/25/2024 07:30 PM
You can use Oauth2
04/25/2024 08:13 PM
Hi @rushikeshvartak , Main problem is Oauth2 uses Authorization code flow and not directly getting the access token from processing of request.
2) for machine to machine they recommend JWT flow, with use of public/private key not sure whether in saviynt we can use that
04/25/2024 08:50 PM
JWT is also supported refer developers handbook