POST api/Customer/GetCustomerByLogonName
Request Information
URI Parameters
None.
Body Parameters
GetCustomerByLogonNameRequest| Name | 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
GetCustomerByLogonNameResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerList | Collection of CustomerItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"CustomerList": [
{
"Id": "4a3be1e2-9aa7-493d-86e1-8fd53beab79a",
"Name": "sample string 2",
"Surname": "sample string 3",
"Email": "sample string 4",
"IsCorporateAccount": true,
"GsmNumber": "sample string 6"
},
{
"Id": "4a3be1e2-9aa7-493d-86e1-8fd53beab79a",
"Name": "sample string 2",
"Surname": "sample string 3",
"Email": "sample string 4",
"IsCorporateAccount": true,
"GsmNumber": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<GetCustomerByLogonNameResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<CustomerList>
<GetCustomerByLogonNameResponse.CustomerItem>
<Email>sample string 4</Email>
<GsmNumber>sample string 6</GsmNumber>
<Id>4a3be1e2-9aa7-493d-86e1-8fd53beab79a</Id>
<IsCorporateAccount>true</IsCorporateAccount>
<Name>sample string 2</Name>
<Surname>sample string 3</Surname>
</GetCustomerByLogonNameResponse.CustomerItem>
<GetCustomerByLogonNameResponse.CustomerItem>
<Email>sample string 4</Email>
<GsmNumber>sample string 6</GsmNumber>
<Id>4a3be1e2-9aa7-493d-86e1-8fd53beab79a</Id>
<IsCorporateAccount>true</IsCorporateAccount>
<Name>sample string 2</Name>
<Surname>sample string 3</Surname>
</GetCustomerByLogonNameResponse.CustomerItem>
</CustomerList>
</GetCustomerByLogonNameResponse>