POST api/Customer/GetCustomerInformation
Request Information
URI Parameters
None.
Body Parameters
GetCustomerInformationRequestName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
UserId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Surname | string |
None. |
|
Gsm | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "UserId": "1f69700c-3ce3-4e79-82b9-fe66e7a97440", "Name": "sample string 2", "Surname": "sample string 3", "Gsm": "sample string 4" }
application/xml, text/xml
Sample:
<GetCustomerInformationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <Email>sample string 1</Email> <Gsm>sample string 4</Gsm> <Name>sample string 2</Name> <Surname>sample string 3</Surname> <UserId>1f69700c-3ce3-4e79-82b9-fe66e7a97440</UserId> </GetCustomerInformationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCustomerInformationResponseName | Description | Type | Additional information |
---|---|---|---|
CustomerInfoList | Collection of CustomerInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerInfoList": [ { "Name": "sample string 1", "Surname": "sample string 2", "Gsm": "sample string 3", "AvonPartnerNumber": "sample string 4", "UserId": "b39bf98a-da8e-42e6-837f-1ff7ff891930", "Email": "sample string 6", "RegisterDate": "2025-05-23T23:32:30.9989195+03:00", "Gender": 8, "BirthDate": "2025-05-23T23:32:30.9989195+03:00", "IsSendEmailAvalible": true, "IsSendSmsAvailable": true, "IsSendPhoneCallAvailable": true, "IsActive": true, "EnrollmentStatus": 13 }, { "Name": "sample string 1", "Surname": "sample string 2", "Gsm": "sample string 3", "AvonPartnerNumber": "sample string 4", "UserId": "b39bf98a-da8e-42e6-837f-1ff7ff891930", "Email": "sample string 6", "RegisterDate": "2025-05-23T23:32:30.9989195+03:00", "Gender": 8, "BirthDate": "2025-05-23T23:32:30.9989195+03:00", "IsSendEmailAvalible": true, "IsSendSmsAvailable": true, "IsSendPhoneCallAvailable": true, "IsActive": true, "EnrollmentStatus": 13 } ] }
application/xml, text/xml
Sample:
<GetCustomerInformationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <CustomerInfoList> <GetCustomerInformationResponse.CustomerInfo> <AvonPartnerNumber>sample string 4</AvonPartnerNumber> <BirthDate>2025-05-23T23:32:30.9989195+03:00</BirthDate> <Email>sample string 6</Email> <EnrollmentStatus>13</EnrollmentStatus> <Gender>8</Gender> <Gsm>sample string 3</Gsm> <IsActive>true</IsActive> <IsSendEmailAvalible>true</IsSendEmailAvalible> <IsSendPhoneCallAvailable>true</IsSendPhoneCallAvailable> <IsSendSmsAvailable>true</IsSendSmsAvailable> <Name>sample string 1</Name> <RegisterDate>2025-05-23T23:32:30.9989195+03:00</RegisterDate> <Surname>sample string 2</Surname> <UserId>b39bf98a-da8e-42e6-837f-1ff7ff891930</UserId> </GetCustomerInformationResponse.CustomerInfo> <GetCustomerInformationResponse.CustomerInfo> <AvonPartnerNumber>sample string 4</AvonPartnerNumber> <BirthDate>2025-05-23T23:32:30.9989195+03:00</BirthDate> <Email>sample string 6</Email> <EnrollmentStatus>13</EnrollmentStatus> <Gender>8</Gender> <Gsm>sample string 3</Gsm> <IsActive>true</IsActive> <IsSendEmailAvalible>true</IsSendEmailAvalible> <IsSendPhoneCallAvailable>true</IsSendPhoneCallAvailable> <IsSendSmsAvailable>true</IsSendSmsAvailable> <Name>sample string 1</Name> <RegisterDate>2025-05-23T23:32:30.9989195+03:00</RegisterDate> <Surname>sample string 2</Surname> <UserId>b39bf98a-da8e-42e6-837f-1ff7ff891930</UserId> </GetCustomerInformationResponse.CustomerInfo> </CustomerInfoList> </GetCustomerInformationResponse>