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.
ActivitiesListApi
Return all Workbench Activities.
/api/ActivityListApi
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
Return filtered Workbench ActivitiesProvides 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.
AdminActivityLineActivityKey
Property | Type | Length | Description |
---|---|---|---|
ActivityCode * | String | 10 | The unique code |
of the |
Activity. |
ActivityLine
Property | Type | Length | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Key | String | Description of the activityActivityKey | The unique key for the line. | ||||||||||||||||||||||||||
ActivityCodeDescriptionActivityCode | String | 10 | Activity Code Description | ||||||||||||||||||||||||||
ActivityType | String | Type of activity this is and where it can be used in Workbench. | |||||||||||||||||||||||||||
CostCategory | String | ||||||||||||||||||||||||||||
ActivitySubType | String | Subcategory of activity. | |||||||||||||||||||||||||||
GstType | String | ||||||||||||||||||||||||||||
WorkCentreCode | String | The default Work Centre for this activity. | |||||||||||||||||||||||||||
SalesCode | String | The Sales Code attributed to this activity. | |||||||||||||||||||||||||||
DrGLAccount | String | The General Ledger account that this activity will debit to. | |||||||||||||||||||||||||||
CrGLAccount | String | The General Ledger account that this activity will credit to. | |||||||||||||||||||||||||||
UpdatedDate | String | Date of last update. | |||||||||||||||||||||||||||
ActivityCodeValue | The code for the activity. | ||||||||||||||||||||||||||||
DescriptionValue | Activity description | ||||||||||||||||||||||||||||
ActivityTypeValue | Activity type | ||||||||||||||||||||||||||||
CostCategoryValue | String |
| |||||||||||||||||||||||||||
CostCategorySequenceNo | Integer |
| |||||||||||||||||||||||||||
GstTypeValue | Tax type | ||||||||||||||||||||||||||||
ActivitySubTypeValue | Sub type of Activity | ||||||||||||||||||||||||||||
WorkCentreCodeValue | Code of the Work centre | ||||||||||||||||||||||||||||
SalesCodeValue | Sale code | ||||||||||||||||||||||||||||
DrGLAccountValue | The unique code of the Activity. | ||||||||||||||||||||||||||||
ActivityCodeValue | 10 | The unique code of the Activity. | |||||||||||||||||||||||||||
Description | String | 50 | The description of the Activity. | ||||||||||||||||||||||||||
DescriptionValue | 50 | 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 | 12 | 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 | 10 | The sub-type of the Activity. | |||||||||||||||||||||||||||
GstType | String | 10 | |||||||||||||||||||||||||||
GstTypeValue | 10 | ||||||||||||||||||||||||||||
WorkCentreCode | String | 10 | The default Work Centre for this activity. | ||||||||||||||||||||||||||
WorkCentreCodeValue | 10 | The default Work Centre for this activity. | |||||||||||||||||||||||||||
SalesCode | String | 10 | The Sales Code attributed to this activity. | ||||||||||||||||||||||||||
SalesCodeValue | 10 | The Sales Code attributed to this activity. | |||||||||||||||||||||||||||
DrGLAccount | String | 50 | The General Ledger account that this activity will debit to. | ||||||||||||||||||||||||||
DrGLAccountValue | 50 | The General Ledger account that this activity will debit to. | |||||||||||||||||||||||||||
CrGLAccount | String | 50 | The General Ledger account that this activity will credit to. | ||||||||||||||||||||||||||
CrGLAccountValue | 50 | The General Ledger account that this activity will credit to. | |||||||||||||||||||||||||||
BaseCostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
OverheadCostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
OtherCostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
AllowanceCostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
Time1CostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
Time2CostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
Time3CostValue | Boolean | 50 | The cost areas of the Employee Class will be transferred to the transaction, and which ones will be ignored. | ||||||||||||||||||||||||||
InactiveValue | Boolean | Select | IncludedValue | Included | Boolean | Inactive | Integer | Selected | Delete | Status | String | ReadonlyFlag | Integer | ReadonlyMessage | String | OriginalKey | CurrentKey | Key | Index | Integer | The Inactive flag on the Activity. | ||||||||
UpdatedDate | String | The Date this record was last updated. |
⬆️ Back to top
AdminActivityKeyActivityLookupLine
Property | Type | Length | Description | ActivityCode|
---|---|---|---|---|
Key | The unique key for the line. | |||
Code | 10 | The unique code of the Activity. | ||
Description | String | Activity code | ||
RetentionActivityCode | String | Retention info | ||
CopyFromActivity | Boolean | Source 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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|