Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
???
Endpoints
The resources available in this module.
ActivitiesListApi
Return all Workbench Activities.
/api/ActivityListApi
Method
Description
Performed As
Request Query
Request Body
Response
POST
Returns all Workbench Activities as in the Activity list screen.
Logged in User
-
-
ActivityLookupApi
Return filtered Workbench Activities.
/api/ActivityLookupApi
Method
Description
Performed As
Request Query
Request Body
Response
POST
Returns all filtered Workbench Activities
Logged in User
-
-
Models
The definitions of models specific to endpoints in this module.
AdminActivityLine
Field
Description
ActivityCode
The unique code for the activity.
Description
Description of the activity.
ActivityCodeDescription
???
ActivityType
Determines what kind of activity this is and where it can be used in Workbench.
CostCategory
ActivitySubType
Subcategory of activity.
GstType
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 | 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 | 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. | |
DrGLAccount | The General Ledger account that this activity will debit to. | |||
CrGLAccount | The General Ledger account that this activity will credit to. | |||
UpdatedDate | Date of last update. | |||
ActivityCodeValue | The code for the activity. | |||
DescriptionValue | Activity description | |||
ActivityTypeValue | Activity type | |||
CostCategoryValue | ??? | |||
CostCategorySequenceNo | ??? | |||
GstTypeValue | Type of GST | |||
ActivitySubTypeValue | ??? | |||
WorkCentreCodeValue | ??? | |||
SalesCodeValue | ??? | |||
DrGLAccountValue | ??? | |||
CrGLAccountValue | ??? | |||
BaseCostValue | 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 | ??? | |||
Select | ??? | |||
IncludedValue | ??? | |||
Included | ??? | |||
Inactive | ??? | |||
Selected | ??? | |||
Delete | ??? | |||
Status | ??? | |||
ReadonlyFlag | ??? | |||
ReadonlyMessage | ??? | |||
OriginalKey | ??? | |||
CurrentKey | ??? | |||
Key | ??? | |||
Index | ??? |
AdminActivityKey
Field
Description
ActivityCode
???
RetentionActivityCode
???
CopyFromActivity
???
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|