POST api/Customer/Membership/Link?Signature={Signature}&Language={Language}

Add a memebrship.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Signature

SHA256(Body + Client_Key + Login_Salt)

string

Required

Language

API.LANGUAGE

Default value is en_US

Body Parameters

Requests.Customers.Memberships.Link
NameDescriptionTypeAdditional information
ClientCode

string

None.

DateTime

date

None.

Content

Forms.Customers.Memberships.Link

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "DateTime": "2024-11-18T11:37:46.8382583+08:00",
  "Content": {
    "Identity": null,
    "MembershipNumber": "sample string 1",
    "MembershipPassword": "sample string 2",
    "ForceLink": true
  }
}

text/html

Sample:
{"ClientCode":"sample string 1","DateTime":"2024-11-18T11:37:46.8382583+08:00","Content":{"Identity":null,"MembershipNumber":"sample string 1","MembershipPassword":"sample string 2","ForceLink":true}}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Responses.Customers.Memberships.Link
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

Messages

Collection of Models.Message

None.

ClientCode

string

None.

DateTime

date

None.

Content

Models.Membership

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "Messages": [],
  "ClientCode": "sample string 2",
  "DateTime": "2024-11-18T11:37:46.853885+08:00",
  "Content": null
}

text/html

Sample:
{"IsSuccessful":true,"Messages":[],"ClientCode":"sample string 2","DateTime":"2024-11-18T11:37:46.853885+08:00","Content":null}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.