ExpenseSheetItem

An object representing an item on an Expense Sheet.

Supported API Calls: Get | Add | Update | Delete

Object Properties

Property

Type

Description

Id

integer

The ID of the expense sheet item.

ParentId

integer

ID of the parent object it is related to (that is, is it related to a customer? A lead? A supplier?

ParentObject

string (100)

ParentObject identifies what kind of object the Expense Sheet Item is relatd to. Value is lead, customer, supplier, account (if an organization), person, opportunity, project, or case.

ParentName

string (100)

Name of parent object (for example, if a customer, the customer's name).

ExpenseId

integer

The ID of the parent expense sheet object.

ActivityDate

DateTime

Date of the expense item.

Description

string(100)

Text for the description field.

OwnerId

integer

ID of the internal user who owns the expense item.

ProductId

integer

ID of the allowable expense type.

PriceBookEntryId

integer

The ID of this item in the Expense Pricebook.

Quantity

float

The dollar amount or distance (if mileage expense).

Rate

float

If mileage, the rate.

TotalTax

float

Total of the item's tax.

TotalExpense

float

Total expense claimed.

CurrencyIsoCode

string (100)

Currency symbol used for the value on display.

ExpenseType

string(100)

The expense type.

Get

Description

Returns the details of a specified ExpenseSheetItem.

URL

https://{company}.bluecamroo.com/api/ExpenseSheetItem/{id}

HTTP Method

GET

Parameters

None

Data Return

Returns an ExpenseSheetItem object in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Add

Description

Adds an ExpenseSheetItem object.

URL

https://{company}.bluecamroo.com/api/ExpenseSheetItem/add

HTTP Method

POST

Parameters

An ExpenseSheetItem object

Data Return

Returns the ExpenseSheetItem object in the requested format (e.g., JSON or XML)

HTTP Return Status Code

201: Created

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Update

Description

Updates the specified ExpenseSheetItem.

URL

https://{company}.bluecamroo.com/api/ExpenseSheetItem/update

HTTP Method

PUT

Parameters

An ExpenseSheetItem object

Data Return

Returns the ExpenseSheetItem object in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Delete

Description

Deletes the specified ExpenseSheetItem.

URL

https://{company}.bluecamroo.com/api/ExpenseSheetItem/delete/{id}

HTTP Method

DELETE

Parameters

None

Data Return

None

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)