Location of the created task
import { createTask } from "@dvelop-sdk/task";
const taskLocation = await createTask({
systemBaseUri: "https://umbrella-corp.d-velop.cloud",
authSessionId: "dQw4w9WgXcQ"
}, {
subject: "Cover up lab accident",
assignees: ["XiFkyR35v2Y"]
});
console.log(taskLocation); // some/task/location
Create a task.
Location of the created task
import { createTask } from "@dvelop-sdk/task";
const taskLocation = await createTask({
systemBaseUri: "https://umbrella-corp.d-velop.cloud",
authSessionId: "dQw4w9WgXcQ"
}, {
subject: "Cover up lab accident",
assignees: ["XiFkyR35v2Y"]
});
console.log(taskLocation); // some/task/location
Create a task.