POST api/Memberbenefit/Update

Updates the benefits for a member. This API can handle single and multiple benefits data.

Request Information

URI Parameters

None.

Body Parameters

Array of Membership Benefits.

Collection of MembershipBenefits
NameDescriptionTypeAdditional information
MembershipCode

CRM ID is a unique ID for each customer,this id will be referred throughout the entire process. Required : Y

string

Required

TicketCode

FocusPoint's Ticket Code. Master Data: A-36 -> PLUS PARKING, A-8 -> ZSM Adult, A-9 -> ZSM Child, ADM -> ZSM Guest, SOCRIDE -> Zoo Society Ride Coupon, SOCSMREXHB -> Society Summer Exhibit Coupon, Required : Y

string

Required

Max length: 20

TicketDescription

FocusPoint's Ticket Description. Required : N

string

Max length: 20

MaxTicket

Specifies the benefit quantity. Required : Y

integer

Required

MaxTicketType

ForPeriod : Only specified quantity can be redeemed within the benefit's expiration period. perVisit : Specified quantity can be redemeed each time when the member visits. Required : Y

string

Max length: 20

ExpiryDate

Benefit's Expiry Date. Required : Y

date

Required

LineId

Unique ID for the Benefit on the CRM side Required : Y

integer

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "MembershipCode": "sample string 1",
    "TicketCode": "sample string 2",
    "TicketDescription": "sample string 3",
    "MaxTicket": 1,
    "MaxTicketType": "sample string 4",
    "ExpiryDate": "2024-11-21T04:07:59.4501613-06:00",
    "LineId": 1
  },
  {
    "MembershipCode": "sample string 1",
    "TicketCode": "sample string 2",
    "TicketDescription": "sample string 3",
    "MaxTicket": 1,
    "MaxTicketType": "sample string 4",
    "ExpiryDate": "2024-11-21T04:07:59.4501613-06:00",
    "LineId": 1
  }
]

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"