GET Members by Criteria
Endpoint
URL: https://api.akaun.com/core2/tnt/dm/membership-cards/query
Method: GET
Headers:
Authorization: <JWT Token>tenantCode: <Tenant Code>Content-Type: application/json
Description
This endpoint gets existing members by query criteria.
Postman / cURL Example
GET 'https://api.akaun.com/core2/tnt/dm/membership-cards/query?calcTotalRecords=true&guids=a7524e4a-5c1c-49ca-8518-db8664c56ff8' \
--header 'Authorization: <JWT Token>' \
--header 'tenantCode: testing'Query Parameters
Pagination & Sorting
limit(default: 100)offset(default: 0)orderByorder(default:ASC)calcTotalRecords(boolean)
Filtering Fields
guids: Setentity_hdr_guids: Setcard_nomember_idid_noid_typephoneis_phone_encodedemailref_1,ref_2,ref_3,ref_4,ref_5login_subject_guidstart_dateend_dateentity_hdr_guidcompany_guidbranch_guidcreated_fromcreated_tocontact_key_guidnameclient_keyclient_sourcemembership_class_guid: UUIDmembership_class_guids: Setmembership_class_codegenderdob(ISO datetime)country_codehdr_created_date_tohdr_created_date_onhdr_created_date_fromhdr_updated_date_tohdr_updated_date_fromhdr_updated_date_onstatus_01card_no_likename_likeid_no_likeid_type_likephone_likeemail_likemember_id_likeend_date_fromend_date_todob_fromdob_tostart_date_fromstart_date_tocard_typecard_type_guids: Setclient_customer_codenationalityoccupationmarital_statuscard_end_date_fromcard_end_date_tocard_start_date_fromcard_start_date_toxtn_icnoxtn_hand_phonextn_home_phonextn_office_phonextn_email
Response
Content-Type: application/json
Example Response
{
"totalRecords": 1,
"offset": 0,
"limit": 100,
"code": "OK_RESPONSE",
"message": "",
"data": [
{
"bl_crm_membership_hdr": {
"guid": "a7524e4a-5c1c-49ca-8518-db8664c56ff8",
"parent_guid": null,
"company_guid": null,
"branch_guid": null,
"login_subject_guid": null,
"entity_hdr_guid": "43f946be-6054-4a86-99a1-c2fc9d7bb3ec",
"entity_line_guid": null,
"contact_key_guid": "88080b90-9b96-48cc-8dd6-c3570dd1e64e",
"card_type_guid": null,
"membership_class_guid": null,
"membership_class_code": null,
"card_no": "930425035605",
"card_no_old": null,
"id_no": null,
"id_type": null,
"name": "Tanvir",
"phone": null,
"email": null,
"ref_1": null,
"ref_2": null,
"ref_3": null,
"ref_4": null,
"ref_5": null,
"start_date": null,
"end_date": null,
"card_start_date": null,
"card_end_date": null,
"client_key": null,
"client_source": null,
"client_value": null,
"client_customer_code": null,
"status_01": null,
"status_02": null,
"xtn_icno": null,
"xtn_hand_phone": null,
"xtn_home_phone": null,
"xtn_office_phone": null,
"xtn_email": null,
"gender": null,
"dob": null,
"country_code": null,
"remarks": null,
"obj_status": null,
"member_id": "1000079",
"card_type": null,
"nationality": null,
"ethnicity": null,
"language_code": null,
"title": null,
"region_code": null,
"marital_status": null,
"occupation": null,
"job_title": null,
"job_industry": null,
"job_role": null,
"country_alpha3_code": null,
"country_alpha2_code": null,
"status_logic": null,
"referral_code": "wuNnvu",
"addresses_json": {},
"job_skills": {},
"property_json": {},
"module_guid": null,
"applet_guid": null,
"namespace": null,
"created_by_subject_guid": "a982e148-3026-45db-b0e5-075003d5d3a4",
"updated_by_subject_guid": "a982e148-3026-45db-b0e5-075003d5d3a4",
"created_date": "2025-11-21T05:40:37.317102Z",
"updated_date": "2025-11-21T05:42:58.547494Z",
"status": "ACTIVE",
"revision": "6cc03cfe-d4d5-4905-a98f-411faba4b1f2",
"vrsn": null,
"branch_name": null,
"branch_code": null,
"sales_agent_guid": null,
"sales_agent_name": null,
"sales_agent_code": null
},
"bl_crm_membership_ext": []
}
]
}Notes
- Use
calcTotalRecords=trueonly when necessary, as it may add overhead.