Creates one or more tasks/appointments.
Content Type:
application/xml
Schema:
http://download.overtech.com.au/schemas/XmlTask.xsd
XML document describing the tasks to create.
Content Type:
application/xml
Details of the task(s) or an error message.
XML |
---|
<Response> <Result> <!--Array of 'Item'--> <Item> <Index>int</Index> <!--0-based index of the task--> <Status>string</Status> <!--'Success' or 'Failed'--> <ID>long</ID> <!--Unique identifier for the task--> <ValidationErrors>string</ValidationErrors> <!--Formatted list of validation errors--> </Item> </Result> <Message>string</Message> <!--Error message--> </Response> |
Code | Condition |
---|---|
200 OK | Some tasks were created and some failed, or there were no tasks to import. |
201 Created | The task(s) were created successfully. |
400 Bad Request | The XML document was invalid or resulted in invalid task record(s). |
401 Unauthorized | Access token is invalid, expired or not specified. |
406 Not Acceptable | Content type specified in the Accept header isn't supported. |
500 Internal Server Error | An internal error occurred. |
501 Not Implemented | Server does not have the required plug-in. |