User Task: post
Create a new User Task.
Request - POST https://api-uat.vtopenview.com/userTasks
You will need to supply a request body with this method.
You will need to include your access token upon making a request. For more information, see the authentication and authorization page.
Example request with authorization:
curl -- POST Base URI: https://api-uat.vtopenview.com/userTasks
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"
Request Body
Example request body:
Content-Type: application/json
{
"userId": long,
"AssignedUserId": long,
"title": string,
"description": string,
"StartDate": "datetime",
"EndDate": "datetime",
"PropertyId": long,
"High": boolean,
"Medium": boolean,
"Low": boolean,
"Completed": boolean,
"ToDoList": [
{
"Description":"string",
"Completed": boolean
"Order": integer
}
],
"Negotiators": [
{
"UserId": long
}
]
}
Response
If successful, this method returns a response body with the following structure:
Example response:
HTTPS 200 OK
Content-Type: application/json
{
"UserTasks": [
{
"TaskId": long,
"UserId": long,
"AssignedUserId": long,
"Title": "string",
"Description": "string",
"StartDate": "date",
"EndDate": "date",
"PropertyId": long,
"PropertyDisplayAs": "string",
"RecordId": long,
"RecordType": integer,
"RecordDisplay": "string",
"High": boolean,
"Medium":boolean,
"Low": boolean,
"Completed": boolean,
"Lettings": boolean,
"Sales": boolean,
"ToDoList": [
{
"ToDoId": long,
"TaskId": long,
"Description":"string",
"Completed": boolean,
"Order": integer
}
],
"Negotiators": [
{
"TaskId": long,
"UserId": long,
"UserName":"string",
"Forename":"string",
"Surname":"string",
"CompanyId":integer,
"Avatar":"string",
"Email""string"
}
]
}
]
}