online-help.platform.features.premier_subscription.connectors.inbound-rest-api.endpoints.expense.title
Expenses
Overview
All the API methods available for expense.
Parameters
Allows the API to create and view your expenses. You can retrieve individual expenses as well as a list of all your expenses.
description
optional
String
A description of the expense
status
optional
String
Custom status of the expense if any are defined in expense settings
customer
optional
Long
The customer ID this expense is for
locationId
optional
Long
The Id of the location this expense is for
category
optional
Long
Category ID of the expense's categories if any are defined in expense settings
assignedTo
optional
String
A expense can be assigned to user existing in MobiWork
externalId
required
String
The third-party client's internal ID
dueDate
required
String
The date which the expense is due
address
optional
Address Object
The address object associated with this expense
contact
optional
Contact Object
The contact object associated with this expense
Example
<expense>
<customStatusName></customStatusName>
<amount></amount>
<categoryName>1</categoryName>
<createdById>123</createdById>
<createdByName></createdByName>
<createdDate>Mon Sep 26 06:35:29 EDT 2018</createdDate>
<entityId></entityId>
<entityName>Name</entityName>
<entityReferenceId>160</entityReferenceId>
<entityReferenceName></entityReferenceName>
<entityType>Type</entityType>
<expenseId>10</expenseId>
<externalId>33445</externalId>
</expense>