Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
10Overview
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 | Length | Description |
---|---|---|---|
ActivityCode * | String | 10 | The unique code of the Activity. |
ActivityLine
Property | Type | Length | Description |
---|---|---|---|
Key | The unique key for the line. | ||
ActivityCode | String | 10 | The unique code of the Activity. |
ActivityCodeValue | The unique code of the Activity. | ||
Description | String | 50 | The description of the Activity. |
DescriptionValue | The description of the Activity. | ||
ActivityCodeDescription | String | The Activity Code and Description. | |
ActivityType | String | 12 | 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 | 10 | The sub-type of the Activity. |
ActivitySubTypeValue | The sub-type of the Activity. | ||
GstType | String | 10 | |
GstTypeValue | |||
WorkCentreCode | String | 10 | The default Work Centre for this activity. |
WorkCentreCodeValue | The default Work Centre for this activity. | ||
SalesCode | String | 10 | The Sales Code attributed to this activity. |
SalesCodeValue | The Sales Code attributed to this activity. | ||
DrGLAccount | String | 50 | The General Ledger account that this activity will debit to. |
DrGLAccountValue | The General Ledger account that this activity will debit to. | ||
CrGLAccount | String | 50 | 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 | Length | Description |
---|---|---|---|
Key | The unique key for the line. | ||
Code | 10 | The unique code of the Activity. | |
Description | String | 50 | The description of the Activity. |
ActivityType | String | 12 | The type of the Activity. |
ActivitySubType | String | 10 | 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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|