POST api/Journals

Creates a new journal.

Request

Parameters

Name Description Default
notesFormat Format of the journal notes. rtf

Body

Content Type: application/xml
Schema: TBA
XML document containing the journal definition.

Response

Body

Content Type: application/xml
Identifier for the new journal, or an error message.

XML
<Response>                     
  <Result>                     
    <Status>string</Status>    <!--Always 'Success'--> 
    <ID>long</ID>              <!--Unique journal ID--> 
  </Result>                    
  <Message>string</Message>    <!--Error message--> 
</Response>                    

Status Codes

Code Condition
201 CreatedThe journal was successfully created.
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.