POST api/MembershipMerge/MembershipMerge

Request Information

URI Parameters

None.

Body Parameters

Collection of MembershipMerge
NameDescriptionTypeAdditional information
OriginalCode

string

None.

DuplicateCode

string

None.

ExpiryDate

date

None.

Address

MembershipMergeAddress

None.

MembershipList

Collection of MembershipMergeList

None.

MembershipBenefits

Collection of MembershipMergeBenefits

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OriginalCode": "sample string 1",
    "DuplicateCode": "sample string 2",
    "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
    "Address": {
      "OrganizationUnitId": 1,
      "OriginalCode": "sample string 2",
      "Address1": "sample string 3",
      "Address2": "sample string 4",
      "City": "sample string 5",
      "State": "sample string 6",
      "Country": "sample string 7",
      "PostalZipCode": "sample string 8",
      "ContactNumber": "sample string 9",
      "ContactEmail": "sample string 10",
      "ContacPerson": "sample string 11"
    },
    "MembershipList": [
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "VisitorType": "sample string 4",
        "FirstName": "sample string 5",
        "MiddleName": "sample string 6",
        "LastName": "sample string 7",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
        "PrimaryMember": "sample string 8"
      },
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "VisitorType": "sample string 4",
        "FirstName": "sample string 5",
        "MiddleName": "sample string 6",
        "LastName": "sample string 7",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
        "PrimaryMember": "sample string 8"
      }
    ],
    "MembershipBenefits": [
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "TicketCode": "sample string 4",
        "TicketDescription": "sample string 5",
        "MaxTicket": 1,
        "MaxTicketType": "sample string 6",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00"
      },
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "TicketCode": "sample string 4",
        "TicketDescription": "sample string 5",
        "MaxTicket": 1,
        "MaxTicketType": "sample string 6",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00"
      }
    ]
  },
  {
    "OriginalCode": "sample string 1",
    "DuplicateCode": "sample string 2",
    "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
    "Address": {
      "OrganizationUnitId": 1,
      "OriginalCode": "sample string 2",
      "Address1": "sample string 3",
      "Address2": "sample string 4",
      "City": "sample string 5",
      "State": "sample string 6",
      "Country": "sample string 7",
      "PostalZipCode": "sample string 8",
      "ContactNumber": "sample string 9",
      "ContactEmail": "sample string 10",
      "ContacPerson": "sample string 11"
    },
    "MembershipList": [
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "VisitorType": "sample string 4",
        "FirstName": "sample string 5",
        "MiddleName": "sample string 6",
        "LastName": "sample string 7",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
        "PrimaryMember": "sample string 8"
      },
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "VisitorType": "sample string 4",
        "FirstName": "sample string 5",
        "MiddleName": "sample string 6",
        "LastName": "sample string 7",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00",
        "PrimaryMember": "sample string 8"
      }
    ],
    "MembershipBenefits": [
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "TicketCode": "sample string 4",
        "TicketDescription": "sample string 5",
        "MaxTicket": 1,
        "MaxTicketType": "sample string 6",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00"
      },
      {
        "OrganizationUnitId": 1,
        "OriginalCode": "sample string 2",
        "LineId": "sample string 3",
        "TicketCode": "sample string 4",
        "TicketDescription": "sample string 5",
        "MaxTicket": 1,
        "MaxTicketType": "sample string 6",
        "ExpiryDate": "2024-11-21T03:42:22.3071734-06:00"
      }
    ]
  }
]

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"