Skip to content

Activity

Return, update, create and delete a list of time billing activities

Released
Updated
URLSupports
/{cf_uri}/TimeBilling/Activity
GETPUTPOSTDELETE

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
UID
Required
Guid (36)Unique guid identifier created for an activity. ONLY required for updating an existing activity. NOT required when creating a new activity.
DisplayID
Required
String (30)The Activity ID
NameString (30)The Activity name.
DescriptionString (255)Description of the activity.
IsActiveBooleanTrue indicates the activity is active. False indicates the activity is inactive.
TypeString (255)Type indicates if activity is tracked with units of time: Hourly NonHourly
UnitOfMeasurementString (255)Hourly - If Type = Hourly then UnitOfMeasurement = Hour NonHourly - specify the type of measurement
StatusString (255)Can consist of the following: Chargeable used to include on time billing invoices. NonChargeable used when not charging customers but still wanting to include on activity slip.
ChargeableDetailsobjectThe following set of information pulls through details for chargeable activity information. Required if Status = Chargeable
ChargeableDetails.UseDescriptionOnSalesBooleanTrue indicates the activity description is to be used in the notes field of time billing invoices. False indicates the description is not to be used on the notes field of time billing invoices.
ChargeableDetails.IncomeAccountobjectThe following set of information pulls through details for the Income Account
ChargeableDetails.IncomeAccount.UID
Required
Guid (36)Foreign Key : Unique identifier for the account in the form of a guid.
ChargeableDetails.IncomeAccount.Name
Read-only
String (30)Account name belonging to the account record.
ChargeableDetails.IncomeAccount.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100 { 'DisplayID': '1-1100' }
ChargeableDetails.IncomeAccount.URI
Read-only
StringUniform resource identifier associated with the account object.
ChargeableDetails.TaxCodeobjectThe following set of information pulls through details for the Tax Code
ChargeableDetails.TaxCode.UID
Required
GUID (36)Foreign Key : Unique tax code identifier in the form of a guid
ChargeableDetails.TaxCode.Code
Read-only
String (3)3 digit code assigned to the tax code.
ChargeableDetails.TaxCode.URI
Read-only
StringUniform resource identifier associated with the tax code object.
ChargeableDetails.RateStringRate which can consit of the following: EmployeeBillingRate - sourced from the employee contact card CustomerBillingRate - sourced from the customer contact card ActivityRate - entered on activity and is exclusive of tax
ChargeableDetails.ActivityRateExcludingTaxDecimal (13.2)Only available If Rate = ActivityRate Amount charged for one unit of the activity.
LastModified
Read-only
DateTimeDateTime of the last time this resource was modified through a direct action to the object. eg a field was updated.
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersion
Required
StringIncrementing number that can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing activity. NOT required when creating a new activity.

Example json GET response

Example

json
{
  "UID": "a6a6239d-b051-49cb-979c-8d850e4bfdcb",
  "DisplayID": "Service01",
  "Name": "Service-VIC",
  "Description": "VIC service department",
  "IsActive": "true",
  "Type": "Hourly",
  "UnitOfMeasurement": "Hour",
  "Status": "Chargeable",
  "LastModified": "2019-05-01T00:47:43.757",
  "URI": "{cf_uri}/TimeBilling/Activity/a6a6239d-b051-49cb-979c-8d850e4bfdcb",
  "RowVersion": "-6180064588659163136"
}

The {cf_uri} is provided by the businessId parameter as described here.