POST api/Customer/AddCustomerForMaxis
Request Information
URI Parameters
None.
Body Parameters
CustomerInfoName | Description | Type | Additional information |
---|---|---|---|
AppId | string |
None. |
|
AppKey | string |
None. |
|
memberId | integer |
None. |
|
memberNo | integer |
None. |
|
memberTypeId | integer |
None. |
|
groupId | integer |
None. |
|
shopId | integer |
None. |
|
cityId | integer |
None. |
|
areaId | integer |
None. |
|
defaultBrach | integer |
None. |
|
maritalStatus | integer |
None. |
|
cardDuplicateNo | integer |
None. |
|
customer_name | string |
None. |
|
PhoneNo | string |
None. |
|
Address | string |
None. |
|
memberPoints | decimal number |
None. |
|
start_date | date |
None. |
|
end_date | date |
None. |
|
occupation | string |
None. |
|
spouse_name | string |
None. |
|
string |
None. |
||
phones_residence | string |
None. |
|
phone_office | string |
None. |
|
mobile_no | string |
None. |
|
status | string |
None. |
|
comments | string |
None. |
|
dob | string |
None. |
|
anniversary | string |
None. |
|
cnic | string |
None. |
|
gender | string |
None. |
|
expiryDate | string |
None. |
|
address | string |
None. |
|
alternate_card_no | string |
None. |
|
family_code | string |
None. |
|
customer_title | string |
None. |
|
external_security_code | string |
None. |
|
external_reference | string |
None. |
|
memberSecurityCode | string |
None. |
|
customerType | string |
None. |
|
UserId | integer |
None. |
|
CustomerCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppId": "sample string 1", "AppKey": "sample string 2", "memberId": 3, "memberNo": 4, "memberTypeId": 5, "groupId": 6, "shopId": 7, "cityId": 8, "areaId": 9, "defaultBrach": 10, "maritalStatus": 11, "cardDuplicateNo": 12, "customer_name": "sample string 13", "PhoneNo": "sample string 14", "Address": "sample string 15", "memberPoints": 16.1, "start_date": "2025-04-04T08:32:42.1212717+08:00", "end_date": "2025-04-04T08:32:42.1212717+08:00", "occupation": "sample string 19", "spouse_name": "sample string 20", "email": "sample string 21", "phones_residence": "sample string 22", "phone_office": "sample string 23", "mobile_no": "sample string 24", "status": "sample string 25", "comments": "sample string 26", "dob": "sample string 27", "anniversary": "sample string 28", "cnic": "sample string 29", "gender": "sample string 30", "expiryDate": "sample string 31", "address": "sample string 32", "alternate_card_no": "sample string 33", "family_code": "sample string 34", "customer_title": "sample string 35", "external_security_code": "sample string 36", "external_reference": "sample string 37", "memberSecurityCode": "sample string 38", "customerType": "sample string 39", "UserId": 40, "CustomerCode": "sample string 41" }
text/xml
Sample:
<CustomerInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <Address>sample string 15</Address> <AppId>sample string 1</AppId> <AppKey>sample string 2</AppKey> <CustomerCode>sample string 41</CustomerCode> <PhoneNo>sample string 14</PhoneNo> <UserId>40</UserId> <address>sample string 32</address> <alternate_card_no>sample string 33</alternate_card_no> <anniversary>sample string 28</anniversary> <areaId>9</areaId> <cardDuplicateNo>12</cardDuplicateNo> <cityId>8</cityId> <cnic>sample string 29</cnic> <comments>sample string 26</comments> <customerType>sample string 39</customerType> <customer_name>sample string 13</customer_name> <customer_title>sample string 35</customer_title> <defaultBrach>10</defaultBrach> <dob>sample string 27</dob> <email>sample string 21</email> <end_date>2025-04-04T08:32:42.1212717+08:00</end_date> <expiryDate>sample string 31</expiryDate> <external_reference>sample string 37</external_reference> <external_security_code>sample string 36</external_security_code> <family_code>sample string 34</family_code> <gender>sample string 30</gender> <groupId>6</groupId> <maritalStatus>11</maritalStatus> <memberId>3</memberId> <memberNo>4</memberNo> <memberPoints>16.1</memberPoints> <memberSecurityCode>sample string 38</memberSecurityCode> <memberTypeId>5</memberTypeId> <mobile_no>sample string 24</mobile_no> <occupation>sample string 19</occupation> <phone_office>sample string 23</phone_office> <phones_residence>sample string 22</phones_residence> <shopId>7</shopId> <spouse_name>sample string 20</spouse_name> <start_date>2025-04-04T08:32:42.1212717+08:00</start_date> <status>sample string 25</status> </CustomerInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerResponseName | Description | Type | Additional information |
---|---|---|---|
code | string |
None. |
|
msg | string |
None. |
|
CustomerCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "msg": "sample string 2", "CustomerCode": "sample string 3" }
text/xml
Sample:
<CustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <CustomerCode>sample string 3</CustomerCode> <code>sample string 1</code> <msg>sample string 2</msg> </CustomerResponse>