GET api/Winning/GetCustomerByMail?mail={mail}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mail

string

Required

Body Parameters

None.

Response Information

Resource Description

CustomerViewModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Mail

string

None.

Phone

string

None.

FirstName

string

None.

LastName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Mail": "sample string 2",
  "Phone": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5"
}

application/xml, text/xml

Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.ViewModel">
  <CustomerId>1</CustomerId>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Mail>sample string 2</Mail>
  <Phone>sample string 3</Phone>
</CustomerViewModel>