Expenses
Subcategories: Attachments, Notes
The expense resource is used to view, create, update, and delete expenses.
Resource Plural Label |
Expenses |
Resource Name |
__ORACO__Expense_c |
Get All Expenses
Request: GET
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c
Request Path Parameters
There are no request path parameters for this task.
Request Query Parameters
Use these finder parameters to query the resource:
Finder Name | Description |
---|---|
Primary Key |
Finds an Expense with the specified primary key. Finder Variables:
|
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Create an Expense
Request: POST
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c
Request Path Parameters
There are no request path parameters for this task.
Request Body
This table summarizes the supported request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Get an Expense
Request: GET
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Expense. |
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Update an Expense
Request: PATCH
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Expense. |
Request Body
This table summarizes the request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Replace an Expense
Request: PUT
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Expense. |
Request Body
This table summarizes the request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Delete an Expense
Request: DELETE
URI: /crmRestApi/resources/11.13.18.05/__ORACO__Expense_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Expense. |
Request Body
There are no elements in the request body for this task.
Response Body
There are no elements in the response body for this task.
List of Values
This table lists all the list of values of the resource.
LOV Name | Source Attribute in LOV | Target Attribute in Resource |
---|---|---|
ViewAccessor_CurrencyCode |
CurrencyCode |
CurrencyCode |
FK_LOVVA_For___ORACO__PresettleRprtNum_c |
Id |
__ORACO__PresettleRprtNum_Id_c |
LOVVA_For___ORACO__PresettleRprtNum_c |
RecordName |
__ORACO__PresettleRprtNum_c |
LOVVA_For___ORACO__Type_c |
LookupCode |
__ORACO__Type_c |
Resource Attributes
This table lists all the attributes of the resource.
Attribute Name | Attribute Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the expense. UI Label: Record ID |
RowType |
string |
The type of the expense. Properties: The maximum length is 80. |
RecordName |
string |
The name of the expense. Properties: The maximum length is 80. UI Label: Expense Number |
CreatedBy |
string |
The user who created the expense. Properties: The maximum length is 32. UI Label: Created By |
CreationDate |
datetime |
The date when the expense was created. UI Label: Creation Date |
LastUpdatedBy |
string |
The user who last updated the expense. Properties: The maximum length is 32. UI Label: Last Updated By |
LastUpdateDate |
datetime |
The date when the expense was last updated. UI Label: Last Update Date |
LastUpdateLogin |
string |
The login of the user who last updated the expense. Properties: The maximum length is 32. |
UserLastUpdateDate |
datetime |
The date and time of the last user update made from a personal device. This value is different from LAST_UPDATE_DATE if the record was originally updated in a different database (i.e. a different mobile database or the server). |
CurrencyCode |
string |
The currency code associated with the expense. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. UI Label: Currency Code |
CurcyConvRateType |
string |
The currency conversion rate type associated with the expense. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. |
CorpCurrencyCode |
string |
The corporate currency code of the expense. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. |
SourceType |
string |
The type of the source object such as, Opportunities or Partners, as defined in the object metadata. Properties: The maximum length is 0. |
__ORACO__Amount_c |
number |
The amount of the representative's expense. UI Label: Amount |
__ORACO__PresettleRprtNum_Id_c |
integer |
The unique identifier of the presettlement report for which the line details are entered. UI Label: Presettlement Report Number |
__ORACO__PresettleRprtNum_c |
string |
The name of the presettlement report for which the line details are entered. Properties: The maximum length is 1500. UI Label: Presettlement Report Number |
__ORACO__Type_c |
string |
The type of the expense that the representative is reporting. Properties: The maximum length is 1500. UI Label: Type |
__ORACO__AuxiliaryAttribute01_c |
string |
Additional internal fields for development usage. Properties: The maximum length is 80. UI Label: Auxiliary Attribute 01 |
__ORACO__AuxiliaryAttribute02_c |
string |
Additional internal fields for development usage. Properties: The maximum length is 80. UI Label: Auxiliary Attribute 02 |
__ORACO__AuxiliaryAttribute03_c |
string |
Additional internal fields for development usage. Properties: The maximum length is 80. UI Label: Auxiliary Attribute 03 |
__ORACO__AuxiliaryAttribute04_c |
string |
Additional internal fields for development usage. Properties: The maximum length is 80. UI Label: Auxiliary Attribute 04 |
__ORACO__AuxiliaryAttribute05_c |
string |
Additional internal fields for development usage. Properties: The maximum length is 80. UI Label: Auxiliary Attribute 05 |
__ORACO__AuxiliaryAttribute06_c |
integer |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 06 |
__ORACO__AuxiliaryAttribute07_c |
integer |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 07 |
__ORACO__AuxiliaryAttribute08_c |
integer |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 08 |
__ORACO__AuxiliaryAttribute09_c |
integer |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 09 |
__ORACO__AuxiliaryAttribute10_c |
integer |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 10 |
__ORACO__AuxiliaryAttribute11_c |
date |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 11 |
__ORACO__AuxiliaryAttribute12_c |
date |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 12 |
__ORACO__AuxiliaryAttribute13_c |
datetime |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 13 |
__ORACO__AuxiliaryAttribute14_c |
datetime |
Additional internal fields for development usage. UI Label: Auxiliary Attribute 14 |