Hi All,
I am currently working on POC by integrating the Adobe campaign classic with Workfront. In that, I want to post comments into the Workfront task from the Adobe campaign classic via REST API. I explored all the REST API endpoints in this link https://developer.workfront.com/ , but could not find the POST method that I was expecting. Could any one of please respond to me and provide a thoughtful answer/solution?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello ignatius,
Do you want to post an update into the task?
Then you can use the endpoint NOTE using a POST request with a body like this:
{
"tags": [
{
"objID": "<userId>",
"objObjCode": "USER"
}
],
"objID": "<taskId>",
"subject": "Task update",
"noteText": "Task was updated",
"isMessage": true,
"noteObjCode": "TASK",
"json": "{}"
Regards.
Lars
Views
Replies
Total Likes
Hello ignatius,
Do you want to post an update into the task?
Then you can use the endpoint NOTE using a POST request with a body like this:
{
"tags": [
{
"objID": "<userId>",
"objObjCode": "USER"
}
],
"objID": "<taskId>",
"subject": "Task update",
"noteText": "Task was updated",
"isMessage": true,
"noteObjCode": "TASK",
"json": "{}"
Regards.
Lars
Views
Replies
Total Likes
Hi Lars,
Thank you so much.
It works for me
Views
Replies
Total Likes
Hi Lars, didnt work for me.
POST : /attask/api/v9.0/note
{
"error": {
"message": "refObjCode cannot be null",
"title": null,
"msgKey": "exception.attask",
"attributes": [
""
],
"code": 0
}
}
Views
Replies
Total Likes
Hello Lalit,
can you please post your full API call? Besides that, did you also try the same using the current API (version 18)?
v9.0 is a bit outdated...
Regards
Lars
Views
Replies
Total Likes
Views
Likes
Replies