POST api/Product/UpdateProductCoverImage?productId={productId}&imageUrl={imageUrl}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

integer

Required

imageUrl

string

Required

Body Parameters

None.

Response Information

Resource Description

UpdateProductCoverImageResponse
NameDescriptionTypeAdditional information
ResponseObject

boolean

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": true,
  "Code": 0,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateProductCoverImageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts">
  <Code>None</Code>
  <Message>sample string 2</Message>
  <ResponseObject>true</ResponseObject>
</UpdateProductCoverImageResponse>