PUT api/Shops/PutToUpdateShops?shopId={shopId}&profileId={profileId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

integer

Required

profileId

string

Required

Body Parameters

SHOP
NameDescriptionTypeAdditional information
ShopID

integer

None.

ShopName

string

None.

ShopCategory

string

None.

ShopDescription

string

None.

ShopLogo

string

None.

ShopUrl

string

None.

ShopType

string

None.

ShopLocation

string

None.

ShopCountry

string

None.

Visible

integer

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShopID": 1,
  "ShopName": "sample string 2",
  "ShopCategory": "sample string 3",
  "ShopDescription": "sample string 4",
  "ShopLogo": "sample string 5",
  "ShopUrl": "sample string 6",
  "ShopType": "sample string 7",
  "ShopLocation": "sample string 8",
  "ShopCountry": "sample string 9",
  "Visible": 10,
  "UserID": "sample string 11"
}

application/xml, text/xml

Sample:
<SHOP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <ShopCategory>sample string 3</ShopCategory>
  <ShopCountry>sample string 9</ShopCountry>
  <ShopDescription>sample string 4</ShopDescription>
  <ShopID>1</ShopID>
  <ShopLocation>sample string 8</ShopLocation>
  <ShopLogo>sample string 5</ShopLogo>
  <ShopName>sample string 2</ShopName>
  <ShopType>sample string 7</ShopType>
  <ShopUrl>sample string 6</ShopUrl>
  <UserID>sample string 11</UserID>
  <Visible>10</Visible>
</SHOP>

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

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.