POST api/Customer/GetCustomerByLogonName

Request Information

URI Parameters

None.

Body Parameters

GetCustomerByLogonNameRequest
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
CustomerList

Collection of CustomerItem

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerList": [
    {
      "Id": "5f47f8e9-873c-4686-825a-f4495612ad57",
      "Name": "sample string 2",
      "Surname": "sample string 3",
      "Email": "sample string 4",
      "IsCorporateAccount": true,
      "GsmNumber": "sample string 6"
    },
    {
      "Id": "5f47f8e9-873c-4686-825a-f4495612ad57",
      "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>5f47f8e9-873c-4686-825a-f4495612ad57</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>5f47f8e9-873c-4686-825a-f4495612ad57</Id>
      <IsCorporateAccount>true</IsCorporateAccount>
      <Name>sample string 2</Name>
      <Surname>sample string 3</Surname>
    </GetCustomerByLogonNameResponse.CustomerItem>
  </CustomerList>
</GetCustomerByLogonNameResponse>