POST api/Login

Request Information

URI Parameters

None.

Body Parameters

MilkflowerClient
NameDescriptionTypeAdditional information
ClientName

string

None.

Email

string

None.

PostCode

string

None.

Password

string

None.

Barcode

string

None.

ShopName

string

None.

ShopId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Email": "sample string 2",
  "PostCode": "sample string 3",
  "Password": "sample string 4",
  "Barcode": "sample string 5",
  "ShopName": "sample string 6",
  "ShopId": 7
}

application/xml, text/xml

Sample:
<MilkflowerClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBKRateManagment.Models">
  <Barcode>sample string 5</Barcode>
  <ClientName>sample string 1</ClientName>
  <Email>sample string 2</Email>
  <Password>sample string 4</Password>
  <PostCode>sample string 3</PostCode>
  <ShopId>7</ShopId>
  <ShopName>sample string 6</ShopName>
</MilkflowerClient>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MilkflowerClient'.

Response Information

Resource Description

MilkflowerClient
NameDescriptionTypeAdditional information
ClientName

string

None.

Email

string

None.

PostCode

string

None.

Password

string

None.

Barcode

string

None.

ShopName

string

None.

ShopId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ClientName": "sample string 1",
  "Email": "sample string 2",
  "PostCode": "sample string 3",
  "Password": "sample string 4",
  "Barcode": "sample string 5",
  "ShopName": "sample string 6",
  "ShopId": 7
}

application/xml, text/xml

Sample:
<MilkflowerClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBKRateManagment.Models">
  <Barcode>sample string 5</Barcode>
  <ClientName>sample string 1</ClientName>
  <Email>sample string 2</Email>
  <Password>sample string 4</Password>
  <PostCode>sample string 3</PostCode>
  <ShopId>7</ShopId>
  <ShopName>sample string 6</ShopName>
</MilkflowerClient>