POST api/Customer/AddCustomerLN
Request Information
URI Parameters
None.
Body Parameters
CustomerDetailName | Description | Type | Additional information |
---|---|---|---|
AppId | string |
None. |
|
AppKey | string |
None. |
|
memberId | integer |
None. |
|
memberNo | integer |
None. |
|
memberTypeId | integer |
None. |
|
end_date | date |
None. |
|
customerType | string |
None. |
|
groupId | integer |
None. |
|
shopId | integer |
None. |
|
Sales Office | string |
None. |
|
Sold-To Business Partner | string |
None. |
|
Sold-To Business Partner (Description) | string |
None. |
|
PhoneNo | string |
None. |
|
Full Name | string |
None. |
|
string |
None. |
||
Office | string |
None. |
|
Mobile | string |
None. |
|
status | string |
None. |
|
Address Line 1 | string |
None. |
|
Address Line 2 | string |
None. |
|
Address Line 3 | string |
None. |
|
Address Line 4 | string |
None. |
|
UserId | integer |
None. |
|
cardDuplicateNo | integer |
None. |
|
memberSecurityCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppId": "sample string 1", "AppKey": "sample string 2", "memberId": 3, "memberNo": 4, "memberTypeId": 5, "end_date": "2025-04-04T08:33:31.536042+08:00", "customerType": "sample string 7", "groupId": 8, "shopId": 9, "Sales Office": "sample string 10", "Sold-To Business Partner": "sample string 11", "Sold-To Business Partner (Description)": "sample string 12", "PhoneNo": "sample string 13", "Full Name": "sample string 14", "Email": "sample string 15", "Office": "sample string 16", "Mobile": "sample string 17", "status": "sample string 18", "Address Line 1": "sample string 19", "Address Line 2": "sample string 20", "Address Line 3": "sample string 21", "Address Line 4": "sample string 22", "UserId": 23, "cardDuplicateNo": 24, "memberSecurityCode": "sample string 25" }
text/xml
Sample:
<CustomerDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <AppId>sample string 1</AppId> <AppKey>sample string 2</AppKey> <PhoneNo>sample string 13</PhoneNo> <UserId>23</UserId> <addressline1>sample string 19</addressline1> <addressline2>sample string 20</addressline2> <addressline3>sample string 21</addressline3> <addressline4>sample string 22</addressline4> <alternate_card_no>sample string 11</alternate_card_no> <cardDuplicateNo>24</cardDuplicateNo> <customerType>sample string 7</customerType> <customer_name>sample string 12</customer_name> <email>sample string 15</email> <end_date>2025-04-04T08:33:31.536042+08:00</end_date> <groupId>8</groupId> <memberId>3</memberId> <memberNo>4</memberNo> <memberSecurityCode>sample string 25</memberSecurityCode> <memberTypeId>5</memberTypeId> <mobile_no>sample string 17</mobile_no> <phone_office>sample string 16</phone_office> <shopCode>sample string 10</shopCode> <shopId>9</shopId> <spouse_name>sample string 14</spouse_name> <status>sample string 18</status> </CustomerDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerResponseLNName | Description | Type | Additional information |
---|---|---|---|
Updated | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Updated": "sample string 1", "ErrorMessage": "sample string 2" }
text/xml
Sample:
<CustomerResponseLN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Updated>sample string 1</Updated> </CustomerResponseLN>