list_user_actions
GET /list_user_actions
To get the TOTAL COUNT of the list of user 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_user_actions?token=XXXXX&&user_name_365=your_user_name&action_code_365=all&store_code_365=all
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| user_name_365 |
User name as is provided to login in 365 |
| action_code_365 |
Action code as is in 365. If you want all actions pass the value 'all' |
| store_code_365 |
Store code as is in 365 to search for user permissions. If you want all stores pass the value 'all' |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_user_actions": 2
}
GET /list_user_actions
/list_user_actions?token=XXXXX&&user_name_365=your_user_name&action_code_365=all&store_code_365=all&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| user_name_365 |
User name as is provided to login in 365 |
| action_code_365 |
Action code as is in 365. If you want all actions pass the value 'all' |
| store_code_365 |
Store code as is in 365 to search for user permissions. If you want all stores pass the value 'all' |
| 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_user_actions": [
{
"action": {
"action_code_365": "TRANSFEROUT",
"action_description": "Transfer Out"
},
"list_stores": [
{
"store_code_365": "001",
"store_name": "STORE 1",
"to_store_code_365": "002",
"to_store_name": "store 2"
},
{
"store_code_365": "002",
"store_name": "store 2",
"to_store_code_365": "001",
"to_store_name": "STORE 1"
}
]
},
{
"action": {
"action_code_365": "VIEWCOST",
"action_description": "View Cost"
},
"list_stores": [
{
"store_code_365": "001",
"store_name": "STORE 1",
"to_store_code_365": "N/A",
"to_store_name": "N/A"
},
{
"store_code_365": "002",
"store_name": "store 2",
"to_store_code_365": "N/A",
"to_store_name": "N/A"
},
{
"store_code_365": "100",
"store_name": "POWERSOFT365",
"to_store_code_365": "N/A",
"to_store_name": "N/A"
}
]
}
]
}