POST member_services/Authentication

This method is used to authenticate member information and return the corresponding member object.

Requires: HTTPS, Basic Auth.

Return Codes:

OK - Details authenticated.

Not Found - No member matches the supplied request.

Not Acceptable - Authentication denied.

Bad Request - Supplied authentication request object contains invalid data.

Request Information

Parameters

NameDescriptionAdditional information
request
Authentication request object containing either a correct email and password combination or member number and surname combination.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MemberNumber": 1,
  "Surname": "sample string 2",
  "Email": "sample string 3",
  "Password": "sample string 4"
}

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "MemberCode": 1,
    "MemberNumber": 3,
    "Memberships": [
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      }
    ],
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Title": "sample string 6",
    "Email": "sample string 7",
    "Password": "sample string 8",
    "Gender": "sample string 9",
    "DateOfBirth": "2026-04-02T18:24:05.8178053-05:00",
    "HomeAddress": {
      "Street1": "sample string 1",
      "Street2": "sample string 2",
      "Suburb": "sample string 3",
      "State": "sample string 4",
      "Postcode": "sample string 5",
      "City": "sample string 6",
      "Country": "sample string 7",
      "HomePhone": "sample string 8",
      "WorkPhone": "sample string 9",
      "MobilePhone": "sample string 10"
    },
    "IsPrimary": true,
    "PrimaryMemberId": 1,
    "GiftPurchaserId": 1,
    "ConcessionCardNumber": "sample string 12",
    "Incomplete": true,
    "MemberPhoto": "sample string 14"
  },
  {
    "MemberCode": 1,
    "MemberNumber": 3,
    "Memberships": [
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      }
    ],
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Title": "sample string 6",
    "Email": "sample string 7",
    "Password": "sample string 8",
    "Gender": "sample string 9",
    "DateOfBirth": "2026-04-02T18:24:05.8178053-05:00",
    "HomeAddress": {
      "Street1": "sample string 1",
      "Street2": "sample string 2",
      "Suburb": "sample string 3",
      "State": "sample string 4",
      "Postcode": "sample string 5",
      "City": "sample string 6",
      "Country": "sample string 7",
      "HomePhone": "sample string 8",
      "WorkPhone": "sample string 9",
      "MobilePhone": "sample string 10"
    },
    "IsPrimary": true,
    "PrimaryMemberId": 1,
    "GiftPurchaserId": 1,
    "ConcessionCardNumber": "sample string 12",
    "Incomplete": true,
    "MemberPhoto": "sample string 14"
  },
  {
    "MemberCode": 1,
    "MemberNumber": 3,
    "Memberships": [
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      },
      {
        "Linkfield": "sample string 1",
        "TypeName": "sample string 2",
        "Cancelled": true,
        "Activated": true,
        "UniquePackageId": "sample string 3",
        "MemberCode": 5,
        "TypeCode": 6,
        "Cost": 7.0,
        "Tax": 8.0,
        "Paid": 9.0,
        "JoinDate": "2026-04-02T18:24:05.8178053-05:00",
        "ExpiryDate": "2026-04-02T18:24:05.8178053-05:00",
        "IsGift": true,
        "PurchaserRenewal": true,
        "PackageID": "sample string 10",
        "PaymentGatewayReference": "sample string 11",
        "Coupon": {
          "CouponCode": "sample string 1",
          "DiscountAmount": 2.0,
          "StockID": 3
        },
        "CardDiscount": {
          "DiscountAmount": 1.0,
          "StockID": 2
        }
      }
    ],
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Title": "sample string 6",
    "Email": "sample string 7",
    "Password": "sample string 8",
    "Gender": "sample string 9",
    "DateOfBirth": "2026-04-02T18:24:05.8178053-05:00",
    "HomeAddress": {
      "Street1": "sample string 1",
      "Street2": "sample string 2",
      "Suburb": "sample string 3",
      "State": "sample string 4",
      "Postcode": "sample string 5",
      "City": "sample string 6",
      "Country": "sample string 7",
      "HomePhone": "sample string 8",
      "WorkPhone": "sample string 9",
      "MobilePhone": "sample string 10"
    },
    "IsPrimary": true,
    "PrimaryMemberId": 1,
    "GiftPurchaserId": 1,
    "ConcessionCardNumber": "sample string 12",
    "Incomplete": true,
    "MemberPhoto": "sample string 14"
  }
]