Hi Development Team ,
Greetings.
I am in the process of developing an application using the SugarCRM APIs.
I have encountered some issues while trying to locate the task API within the documentation, specifically for tasks' creation, updating, and viewing.
Despite this, I attempted to manipulate some of the endpoints, which yielded positive results.
I have shared the endpoints that I am currently utilizing:
Creating a task:curl --location --request POST 'https://account_url/rest/v11_21/Tasks' \
--header 'OAuth-Token: auth_token' \
--header 'Content-Type: application/json' \
--data '{
"name": "create_sample_task",
"status": "Completed"
}'
Viewing a task:
curl --location --request GET 'https://account_url/rest/v11_21/Tasks/task_id' \ --header 'OAuth-Token: auth_token' \ --header 'Content-Type: application/json' \
Updating a task:
curl --location --request PUT 'https://account_url/rest/v11_21/Tasks/task_id' \ --header 'OAuth-Token: auth_token' \ --header 'Content-Type: application/json' \ --data '{ "name": "update_sample_task", "status": "Completed" }'
Could you please confirm if the endpoints I am using are correct? If not, I would greatly appreciate your guidance in steering me towards the correct ones.
I am looking forward to your prompt response.