POST api/Shops/PostToStylists

Request Information

URI Parameters

None.

Body Parameters

STYLIST
NameDescriptionTypeAdditional information
StylistID

integer

None.

StylistName

string

None.

StylistCategory

string

None.

StylistDescription

string

None.

StylistLogo

string

None.

StylistUrl

string

None.

StylistType

string

None.

StylistLocation

string

None.

StylistCountry

string

None.

Visible

integer

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StylistID": 1,
  "StylistName": "sample string 2",
  "StylistCategory": "sample string 3",
  "StylistDescription": "sample string 4",
  "StylistLogo": "sample string 5",
  "StylistUrl": "sample string 6",
  "StylistType": "sample string 7",
  "StylistLocation": "sample string 8",
  "StylistCountry": "sample string 9",
  "Visible": 10,
  "UserID": "sample string 11"
}

application/xml, text/xml

Sample:
<STYLIST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <StylistCategory>sample string 3</StylistCategory>
  <StylistCountry>sample string 9</StylistCountry>
  <StylistDescription>sample string 4</StylistDescription>
  <StylistID>1</StylistID>
  <StylistLocation>sample string 8</StylistLocation>
  <StylistLogo>sample string 5</StylistLogo>
  <StylistName>sample string 2</StylistName>
  <StylistType>sample string 7</StylistType>
  <StylistUrl>sample string 6</StylistUrl>
  <UserID>sample string 11</UserID>
  <Visible>10</Visible>
</STYLIST>

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 'STYLIST'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.