POST api/Customer/SearchCustomer
Request Information
URI Parameters
None.
Body Parameters
GetCustomerByLogonNameRequestName | Description | Type | Additional information |
---|---|---|---|
LogonName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LogonName": "sample string 1" }
application/xml, text/xml
Sample:
<GetCustomerByLogonNameRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <LogonName>sample string 1</LogonName> </GetCustomerByLogonNameRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCustomerListResponseName | Description | Type | Additional information |
---|---|---|---|
CustomerList | Collection of CustomerItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerList": [ { "Id": "e5bbb972-fa0f-4240-985a-d4cbe70c03ce", "Name": "sample string 2", "Surname": "sample string 3", "Email": "sample string 4", "IsCorporateAccount": true, "GsmNumber": "sample string 6" }, { "Id": "e5bbb972-fa0f-4240-985a-d4cbe70c03ce", "Name": "sample string 2", "Surname": "sample string 3", "Email": "sample string 4", "IsCorporateAccount": true, "GsmNumber": "sample string 6" } ] }
application/xml, text/xml
Sample:
<GetCustomerListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <CustomerList> <GetCustomerListResponse.CustomerItem> <Email>sample string 4</Email> <GsmNumber>sample string 6</GsmNumber> <Id>e5bbb972-fa0f-4240-985a-d4cbe70c03ce</Id> <IsCorporateAccount>true</IsCorporateAccount> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </GetCustomerListResponse.CustomerItem> <GetCustomerListResponse.CustomerItem> <Email>sample string 4</Email> <GsmNumber>sample string 6</GsmNumber> <Id>e5bbb972-fa0f-4240-985a-d4cbe70c03ce</Id> <IsCorporateAccount>true</IsCorporateAccount> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </GetCustomerListResponse.CustomerItem> </CustomerList> </GetCustomerListResponse>