POST api/MembershipList/Update
Updates Membership List.This API can handle single and multiple Membership List updation. This API can be used to update the member list alone with out updating the member or benefits.
Request Information
URI Parameters
None.
Body Parameters
Array of Membership List.
Collection of MembershipListName | Description | Type | Additional information |
---|---|---|---|
MembershipCode |
FocusPoint Customer Code : AutoGeneratedID. Required : N |
string |
None. |
LineId |
one row per household; number consecutively within the household. Sample: AlternateId 001 , LineId : 1 ,ExpiryDate : 2018-09-30 12:35:33 Required : Y |
integer |
Required |
VisitorType |
Speecifies the VisitorType of the members in the membership list. Adult = 0, Guest =1, Child = 2 Required : Y |
character |
None. |
Name |
Members FirstName. Required : Y |
string |
Required Max length: 50 |
MiddleName |
Members MiddleName. Required : N |
string |
Max length: 50 |
LastName |
Members LastName. Required : Y |
string |
Required Max length: 50 |
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 |
ExpiryDate |
Specifeis the expirydate of the member in the membership list. Sample: AlternateId 001 , LineId : 1 ,ExpiryDate : 2018-09-30 12:35:33 Required : Y |
date |
Required |
PrimaryMember |
Specifies the member who owns a membership. Flag: Y or N Required : Y |
string |
Max length: 1 |
Request Formats
application/json, text/json
[ { "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-21T03:36:57.9907143-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-21T03:36:57.9907143-06:00", "PrimaryMember": "sample string 7" } ]
Response Information
Resource Description
stringResponse Formats
application/json, text/json
"sample string 1"