list_members
GET /list_members
To get the TOTAL COUNT of the list of members 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_members?token=XXXXX&active_type=active
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the active members. 'inactive' = Only the inactive members. 'all' = All the members(active and inactive) |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_members": 2
}
GET /list_members
To get a list of members.
/list_members?token=XXXXX&active_type=active&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the active members. 'inactive' = Only the inactive members. 'all' = All the members(active and inactive) |
| 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_members": [
{
"customer_code_365": "10000056",
"customer_code_secondary": "60000055",
"customer_account_code": "122156",
"is_company": true,
"company_name": ".",
"last_name": "",
"first_name": "",
"store_code_365": "100",
"active": true,
"date_of_birth": "",
"gender": "",
"tel_1": "",
"tel_2": "",
"mobile": "",
"sms": "",
"fax": "",
"email": "",
"website": "",
"category_code_365": "",
"category_name": "",
"category_2_code_365": "",
"category_2_name": "",
"company_activity_code_365": "",
"company_activity_name": "",
"credit_limit_amount": 999999.99,
"customer_id": "",
"vat_registration_number": "",
"tax_office": "",
"remarks": "",
"address_line_1": "",
"address_line_2": "",
"address_line_3": "",
"postal_code": "",
"town": "",
"country_code_iso2": "",
"country_name": "",
"contact_last_name": "",
"contact_first_name": "",
"default_price": 0,
"loyalty_factor": 0,
"text_field_1_value": "",
"text_field_2_value": "",
"text_field_3_value": "",
"text_field_4_value": "",
"text_field_5_value": "",
"number_field_1_value": 0,
"number_field_2_value": 0,
"number_field_3_value": 0,
"number_field_4_value": 0,
"number_field_5_value": 0,
"date_field_1_value": "",
"date_field_2_value": "",
"date_field_3_value": "",
"date_field_4_value": "",
"date_field_5_value": "",
"registration_date": "",
"expire_date": "",
"creation_date": "2014-01-01",
"renew_date": "",
"pin": "",
"card_number": "",
"number_visits": 0,
"remaining_visits": 0,
"list_classes": [
{
"class_code_365": "0000000079",
"class_name": "ART+DRAMA",
"agent_code_365": "07",
"agent_first_name": "TEMBRIOTIS",
"agent_last_name": "PANIKOS",
"start_date": "2014-10-02",
"end_date": "",
"student_status": "enrolled",
"examination_date": "",
"examination_grade": 0,
"examination_status": "notexamined"
},
{
"class_code_365": "0000000059",
"class_name": "PRE-PRIMARY C",
"agent_code_365": "01",
"agent_first_name": "PAPAKYRIACOU",
"agent_last_name": "AVGI",
"start_date": "2014-10-02",
"end_date": "",
"student_status": "enrolled",
"examination_date": "",
"examination_grade": 0,
"examination_status": "notexamined"
}
]
},
{
"customer_code_365": "10000057",
"customer_code_secondary": "60000056",
"customer_account_code": "122157",
"is_company": true,
"company_name": "..",
"last_name": "",
"first_name": "",
"store_code_365": "100",
"active": true,
"date_of_birth": "",
"gender": "",
"tel_1": "",
"tel_2": "",
"mobile": "",
"sms": "",
"fax": "",
"email": "",
"website": "",
"category_code_365": "",
"category_name": "",
"category_2_code_365": "",
"category_2_name": "",
"company_activity_code_365": "",
"company_activity_name": "",
"credit_limit_amount": 999999.99,
"customer_id": "",
"vat_registration_number": "",
"tax_office": "",
"remarks": "",
"address_line_1": "",
"address_line_2": "",
"address_line_3": "",
"postal_code": "",
"town": "",
"country_code_iso2": "",
"country_name": "",
"contact_last_name": "",
"contact_first_name": "",
"default_price": 0,
"loyalty_factor": 0,
"text_field_1_value": "",
"text_field_2_value": "",
"text_field_3_value": "",
"text_field_4_value": "",
"text_field_5_value": "",
"number_field_1_value": 0,
"number_field_2_value": 0,
"number_field_3_value": 0,
"number_field_4_value": 0,
"number_field_5_value": 0,
"date_field_1_value": "",
"date_field_2_value": "",
"date_field_3_value": "",
"date_field_4_value": "",
"date_field_5_value": "",
"registration_date": "",
"expire_date": "",
"creation_date": "2014-01-01",
"renew_date": "",
"pin": "",
"card_number": "",
"number_visits": 0,
"remaining_visits": 0,
"list_classes": [
{
"class_code_365": "0000000044",
"class_name": "ZUMBA MYRTO",
"agent_code_365": "09",
"agent_first_name": "CHRYSOSTOMOU",
"agent_last_name": "AGA",
"start_date": "2011-09-12",
"end_date": "",
"student_status": "enrolled",
"examination_date": "",
"examination_grade": 0,
"examination_status": "notexamined"
}
]
}
]
}