POST api/{database}/Task

Creates a new Task with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The Task with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "approve": true,
  "canApprove": true,
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "contactId": "sample string 5",
  "createdByUserId": "sample string 6",
  "customerId": "sample string 7",
  "database": "sample string 8",
  "dateCreated": "sample string 9",
  "description": "sample string 10",
  "document": "sample string 11",
  "endDate": "sample string 12",
  "endTime": "sample string 13",
  "executed": "sample string 14",
  "intendedForUserId": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "multipleAssignments": "sample string 15",
  "organizationId": 1,
  "origin": "sample string 16",
  "person": "sample string 17",
  "priority": "sample string 18",
  "settled": true,
  "settleDate": "sample string 20",
  "settleTime": "sample string 21",
  "startDate": "sample string 22",
  "startTime": "sample string 23",
  "supplierId": "sample string 24",
  "taskId": 25,
  "taskRead": "sample string 26",
  "taskType": "sample string 27",
  "text": "sample string 28",
  "timeCreated": "sample string 29"
}

application/xml, text/xml

Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <Approve>true</Approve>
  <CanApprove>true</CanApprove>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <ContactId>sample string 5</ContactId>
  <CreatedByUserId>sample string 6</CreatedByUserId>
  <CustomerId>sample string 7</CustomerId>
  <Database>sample string 8</Database>
  <DateCreated>sample string 9</DateCreated>
  <Description>sample string 10</Description>
  <Document>sample string 11</Document>
  <EndDate>sample string 12</EndDate>
  <EndTime>sample string 13</EndTime>
  <Executed>sample string 14</Executed>
  <IntendedForUserId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </IntendedForUserId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MultipleAssignments>sample string 15</MultipleAssignments>
  <OrganizationId>1</OrganizationId>
  <Origin>sample string 16</Origin>
  <Person>sample string 17</Person>
  <Priority>sample string 18</Priority>
  <SettleDate>sample string 20</SettleDate>
  <SettleTime>sample string 21</SettleTime>
  <Settled>true</Settled>
  <StartDate>sample string 22</StartDate>
  <StartTime>sample string 23</StartTime>
  <SupplierId>sample string 24</SupplierId>
  <TaskId>25</TaskId>
  <TaskRead>sample string 26</TaskRead>
  <TaskType>sample string 27</TaskType>
  <Text>sample string 28</Text>
  <TimeCreated>sample string 29</TimeCreated>
</Task>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "approve": true,
  "canApprove": true,
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "contactId": "sample string 5",
  "createdByUserId": "sample string 6",
  "customerId": "sample string 7",
  "database": "sample string 8",
  "dateCreated": "sample string 9",
  "description": "sample string 10",
  "document": "sample string 11",
  "endDate": "sample string 12",
  "endTime": "sample string 13",
  "executed": "sample string 14",
  "intendedForUserId": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "multipleAssignments": "sample string 15",
  "organizationId": 1,
  "origin": "sample string 16",
  "person": "sample string 17",
  "priority": "sample string 18",
  "settled": true,
  "settleDate": "sample string 20",
  "settleTime": "sample string 21",
  "startDate": "sample string 22",
  "startTime": "sample string 23",
  "supplierId": "sample string 24",
  "taskId": 25,
  "taskRead": "sample string 26",
  "taskType": "sample string 27",
  "text": "sample string 28",
  "timeCreated": "sample string 29"
}

application/xml, text/xml

Sample:
<Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <Approve>true</Approve>
  <CanApprove>true</CanApprove>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <ContactId>sample string 5</ContactId>
  <CreatedByUserId>sample string 6</CreatedByUserId>
  <CustomerId>sample string 7</CustomerId>
  <Database>sample string 8</Database>
  <DateCreated>sample string 9</DateCreated>
  <Description>sample string 10</Description>
  <Document>sample string 11</Document>
  <EndDate>sample string 12</EndDate>
  <EndTime>sample string 13</EndTime>
  <Executed>sample string 14</Executed>
  <IntendedForUserId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </IntendedForUserId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MultipleAssignments>sample string 15</MultipleAssignments>
  <OrganizationId>1</OrganizationId>
  <Origin>sample string 16</Origin>
  <Person>sample string 17</Person>
  <Priority>sample string 18</Priority>
  <SettleDate>sample string 20</SettleDate>
  <SettleTime>sample string 21</SettleTime>
  <Settled>true</Settled>
  <StartDate>sample string 22</StartDate>
  <StartTime>sample string 23</StartTime>
  <SupplierId>sample string 24</SupplierId>
  <TaskId>25</TaskId>
  <TaskRead>sample string 26</TaskRead>
  <TaskType>sample string 27</TaskType>
  <Text>sample string 28</Text>
  <TimeCreated>sample string 29</TimeCreated>
</Task>