Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
Provides access to Workbench Activity data.
Endpoints
The resources available in this module.
ActivityListApi
Provides API access to the Activities (#/Admin/ActivityList.aspx) Web Workbench screen.
/api/ActivityListApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST | Admin User | - |
ActivityLookupApi
Provides API access to the Activities Lookup functionality.
/api/ActivityLookupApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST | Admin User | - | GridRequestParametersApi (finCoCode and jobCode are required) |
Models
The definitions of models specific to endpoints in this module.
ActivityKey
Property | Type | Description |
---|---|---|
ActivityCode | String | The unique code of the Activity. |
ActivityLine
Property | Type | Description |
---|---|---|
Key | The unique key for the line. | |
ActivityCode | String | The unique code of the Activity. |
ActivityCodeValue | The unique code of the Activity. | |
Description | String | The description of the Activity. |
DescriptionValue | The description of the Activity. | |
ActivityCodeDescription | String | The Activity Code and Description. |
ActivityType | String | Type of activity this is and where it can be used in Workbench. |
ActivityTypeValue | Type of activity this is and where it can be used in Workbench. | |
CostCategory | String | |
CostCategorySequenceNo | Integer | The Sequence Number of the Category. |
CostCategoryValue | String | |
ActivitySubType | String | The sub-type of the Activity. |
ActivitySubTypeValue | The sub-type of the Activity. | |
GstType | String | |
GstTypeValue | ||
WorkCentreCode | String | The default Work Centre for this activity. |
WorkCentreCodeValue | The default Work Centre for this activity. | |
SalesCode | String | The Sales Code attributed to this activity. |
SalesCodeValue | The Sales Code attributed to this activity. | |
DrGLAccount | String | The General Ledger account that this activity will debit to. |
DrGLAccountValue | The General Ledger account that this activity will debit to. | |
CrGLAccount | String | The General Ledger account that this activity will credit to. |
CrGLAccountValue | The General Ledger account that this activity will credit to. | |
BaseCostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
OverheadCostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
OtherCostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
AllowanceCostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
Time1CostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
Time2CostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
Time3CostValue | Boolean | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. |
InactiveValue | Boolean | The Inactive flag on the Activity. |
UpdatedDate | String | The Date this record was last updated. |
⬆️ Back to top
ActivityLookupLine
Property | Type | Description |
---|---|---|
Key | The unique key for the line. | |
Code | The unique code of the Activity. | |
Description | String | The description of the Activity. |
ActivityType | String | The type of the Activity. |
ActivitySubType | String | The sub-type of the Activity. |
⬆️ Back to top
Examples
Get the list of Activities.
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response Sample
|
Get list of filtered activity
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Request
Response
Response Sample
|
⬆️ Back to top
On this page
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|