POST api/MemberAndMembershipList/Add
Creates New Member and their Membership list. This API can handle single and multiple Member and their Membership list data. Each Member will have list of membership list.
Request Information
URI Parameters
None.
Body Parameters
Array of Member and Membership List.
Collection of MemberAndMembershipListName | Description | Type | Additional information |
---|---|---|---|
MembershipCode |
FocusPoint Customer Code : AutoGeneratedID. Required : N |
string |
None. |
JoinDate |
Join Date: First time the member joined. Sample - 2017-09-30 12:35:33. Required : Y |
date |
Required |
Status |
Denotes the status of the member. Active = 1, Expired = 0, Cancelled = 2 Required : Y |
string |
Max length: 1 |
ExpiryDate |
Store Zoo customer's Expiry Date. Sample - 2018-09-30 12:35:33. Required : Y |
date |
Required |
AlternateId |
CRM ID is a unique ID for each customer,this id will be referred throughout the entire process. Required : Y |
string |
Required Max length: 50 |
MembershipList |
List Of membershipList Required : Y |
Collection of MembershipList |
Required |
Request Formats
application/json, text/json
[ { "MembershipCode": "sample string 1", "JoinDate": "2024-11-21T05:26:18.9216311-06:00", "Status": "sample string 2", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "AlternateId": "sample string 3", "MembershipList": [ { "MembershipCode": "sample string 1", "LineId": 1, "VisitorType": "A", "Name": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "AlternateId": "sample string 6", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "PrimaryMember": "sample string 7" }, { "MembershipCode": "sample string 1", "LineId": 1, "VisitorType": "A", "Name": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "AlternateId": "sample string 6", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "PrimaryMember": "sample string 7" } ] }, { "MembershipCode": "sample string 1", "JoinDate": "2024-11-21T05:26:18.9216311-06:00", "Status": "sample string 2", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "AlternateId": "sample string 3", "MembershipList": [ { "MembershipCode": "sample string 1", "LineId": 1, "VisitorType": "A", "Name": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "AlternateId": "sample string 6", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "PrimaryMember": "sample string 7" }, { "MembershipCode": "sample string 1", "LineId": 1, "VisitorType": "A", "Name": "sample string 3", "MiddleName": "sample string 4", "LastName": "sample string 5", "AlternateId": "sample string 6", "ExpiryDate": "2024-11-21T05:26:18.9216311-06:00", "PrimaryMember": "sample string 7" } ] } ]
Response Information
Resource Description
stringResponse Formats
application/json, text/json
"sample string 1"