list_attributes
GET /list_attributes
To get the TOTAL COUNT of list of attributes 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_attributes?token=XXXXX&attributeNo=1
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| attributeNo |
From 1 to 6. The system provides 6 extra user defined attributes. |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_attributes": 2
}
GET /list_items
To get a list of attributes.
/list_attributes?token=XXXXX&attributeNo=1&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| attributeNo |
From 1 to 6. The system provides 6 extra user defined attributes. |
| 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_attributes": [
{
"attribute_code_365": "ATTR1",
"attribute_name": "ATTRIBUTE 1",
"attribute_secondary_code": ""
}
]
}