Retrieves a list of journals for a file.
| Name | Description | Default |
|---|---|---|
id
|
Unique file ID. | |
member
|
Filter by unique member ID/code. Omit for all members. |
|
from
|
Start of period. |
|
to
|
End of period. |
|
Content Type:
application/xml
or
application/json
Data set containing the journals, or an error message.
| XML JSON |
|---|
<Response>
<Result> <!--Array of 'Item'-->
<Item>
<Description>string</Description>
<Date>datetime</Date> <!--Date and start time-->
<Units>int</Units> <!--Minutes-->
<Rate>decimal</Rate> <!--Rate per hour-->
<Charge>decimal</Charge> <!--Value of time recorded-->
<WrittenOff>decimal</WrittenOff> <!--Adjustment-->
<JournalID>long</JournalID> <!--Unique journal ID-->
<ActivityType>long</ActivityType> <!--Activity type code-->
<DBRecordID>long</DBRecordID> <!--Primary key of related record-->
<ProductID>long</ProductID> <!--Unique product ID-->
<HasNotes>bool</HasNotes> <!--Whether the journal has notes-->
<MemberID>long</MemberID>
<Member>string</Member> <!--Member code-->
</Item>
</Result>
<Message>string</Message> <!--Error message-->
</Response>
|
{
"Result": [{
"Description": "string",
"Date": "datetime", // Date and start time
"Units": "int", // Minutes
"Rate": "decimal", // Rate per hour
"Charge": "decimal", // Value of time recorded
"WrittenOff": "decimal", // Adjustment
"JournalID": "long", // Unique journal ID
"ActivityType": "long", // Activity type code
"DBRecordID": "long", // Primary key of related record
"ProductID": "long", // Unique product ID
"HasNotes": "bool", // Whether the journal has notes
"MemberID": "long",
"Member": "string" // Member code
}],
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 200 OK | The operation completed successfully. |
| 400 Bad Request | Invalid file ID or date range. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 403 Forbidden | User does not have permission to list journals on the file. |
| 404 Not Found | File not found. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 500 Internal Server Error | An internal error occurred. |