POST Member/Add

Register new member to system. add Authorization header, with value "Bearer your-simple-access-token-here". generated "your-simple-access-token-here" with a combination of ClientId and ClientSecret ( ClientSecret + '#' + ClientSecret). Please encript "your-simple-access-token-here" with SHA256 and then encript value with MD5. Please encript password with SHA256 and then encript value with MD5.

Request Information

URI Parameters

None.

Body Parameters

AddMemberParameterModel
NameDescriptionTypeAdditional information
ClientID

string

None.

FacebookID

string

None.

Gender

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Phone

string

None.

StagesID

integer

None.

StagesValue

string

None.

Address

string

None.

ChildName

string

None.

ChildBirthdate

string

None.

AgePregnant

integer

None.

SpgID

integer

None.

Birthdate

string

None.

PlaceOfBirth

string

None.

ProfilePicture

string

None.

Password

string

None.

KTPImage

string

None.

KTPNumber

string

None.

KKImage

string

None.

KKNumber

string

None.

ZipCode

string

None.

ProvinceID

integer

None.

DistrictID

integer

None.

SubDistrictID

integer

None.

EventCode

string

None.

Remarks

string

None.

Channel

string

None.

Childs

Collection of AddChildParameterModel

None.

IsNewsLetter

boolean

None.

DistrictPointID

integer

None.

ProductBeforeID

integer

None.

ESignature

string

None.

Consent

boolean

None.

ProfilePictures

string

None.

KTPImages

string

None.

KKImages

string

None.

ID

integer

None.

ConfirmPassword

string

None.

Fullname

string

None.

CurrentUserID

integer

None.

AcceptDate

string

None.

CodeGimmick

string

None.

ClusterID

integer

None.

ClusterName

string

None.

StoreCodeID

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": "sample string 1",
  "FacebookID": "sample string 2",
  "Gender": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Email": "sample string 6",
  "Phone": "sample string 7",
  "StagesID": 1,
  "StagesValue": "sample string 8",
  "Address": "sample string 9",
  "ChildName": "sample string 10",
  "ChildBirthdate": "sample string 11",
  "AgePregnant": 12,
  "SpgID": 1,
  "Birthdate": "sample string 13",
  "PlaceOfBirth": "sample string 14",
  "ProfilePicture": "sample string 15",
  "Password": "sample string 16",
  "KTPImage": "sample string 17",
  "KTPNumber": "sample string 18",
  "KKImage": "sample string 19",
  "KKNumber": "sample string 20",
  "ZipCode": "sample string 21",
  "ProvinceID": 1,
  "DistrictID": 1,
  "SubDistrictID": 1,
  "EventCode": "sample string 22",
  "Remarks": "sample string 23",
  "Channel": "sample string 24",
  "Childs": [
    {
      "ID": 1,
      "ParentID": 2,
      "Gender": "sample string 3",
      "Name": "sample string 4",
      "PlaceOfBirth": "sample string 5",
      "Birthdate": "sample string 6",
      "ProductBeforeId": 7,
      "BirthdateChild": "2024-11-17T01:41:00.44519+07:00"
    },
    {
      "ID": 1,
      "ParentID": 2,
      "Gender": "sample string 3",
      "Name": "sample string 4",
      "PlaceOfBirth": "sample string 5",
      "Birthdate": "sample string 6",
      "ProductBeforeId": 7,
      "BirthdateChild": "2024-11-17T01:41:00.44519+07:00"
    }
  ],
  "IsNewsLetter": true,
  "DistrictPointID": 1,
  "ProductBeforeID": 1,
  "ESignature": "sample string 26",
  "Consent": true,
  "ProfilePictures": "sample string 28",
  "KTPImages": "sample string 29",
  "KKImages": "sample string 30",
  "ID": 31,
  "ConfirmPassword": "sample string 32",
  "Fullname": "sample string 33",
  "CurrentUserID": 34,
  "AcceptDate": "sample string 35",
  "CodeGimmick": "sample string 36",
  "ClusterID": 37,
  "ClusterName": "sample string 38",
  "StoreCodeID": 39,
  "IsActive": true
}

Response Information

Resource Description

ResultModelOfMemberModel
NameDescriptionTypeAdditional information
StatusCode

string

None.

StatusMessage

string

None.

Value

MemberModel

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "StatusMessage": "sample string 2",
  "Value": {
    "Gender": "sample string 1",
    "Address": "sample string 2",
    "Birthdate": "sample string 3",
    "PlaceOfBirth": "sample string 4",
    "ProfilePicture": "sample string 5",
    "IsApproved": true,
    "IsActive": true,
    "IsBlacklist": true,
    "ProvinceID": 1,
    "RegionID": 1,
    "DistrictID": 1,
    "SubDistrictID": 1,
    "ZipCode": "sample string 9",
    "AcceptDate": "2024-11-17T01:41:00.4764072+07:00",
    "ID": 10,
    "FirstName": "sample string 11",
    "LastName": "sample string 12",
    "Email": "sample string 13",
    "Phone": "sample string 14"
  }
}