list_actions
GET /list_actions
To get the TOTAL COUNT of the list of actions for search criteria.
Use this method FIRST to determine how many total records there are for the given criteria.
After you call this method, then call the method below, and pass the required paging parameters.
/list_actions?token=XXXXX
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_actions": 9
}
GET /list_actions
To get a list of actions.
/list_actions?token=XXXXX&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| page_number |
The page number in the entire list. eg Page 1 |
| page_size |
The number of rows to return. eg 10 rows |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"list_actions": [
{
"action_code_365": "CREATEBARCODE",
"action_description": "Create Barcode"
},
{
"action_code_365": "PRICECHANGE",
"action_description": "Price Change"
},
{
"action_code_365": "PURCHASEORDER",
"action_description": "Purchase Order"
},
{
"action_code_365": "SALESORDER",
"action_description": "Sales Order"
},
{
"action_code_365": "STOCKTAKING",
"action_description": "Stock Taking"
},
{
"action_code_365": "TRANSFEROUT",
"action_description": "Transfer Out"
},
{
"action_code_365": "VIEWCOST",
"action_description": "View Cost"
},
{
"action_code_365": "VIEWSALES",
"action_description": "View Sales"
},
{
"action_code_365": "VIEWSTOCK",
"action_description": "View Stock"
}
]
}