POST api/LatestProduct/UploadLatestProductImage

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LatestProductModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

LogoPath

string

None.

ProductPath

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

ModifiedBy

string

None.

CreatedOn

date

None.

ProductId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "LogoPath": "sample string 4",
  "ProductPath": "sample string 5",
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": "sample string 8",
  "ModifiedBy": "sample string 9",
  "CreatedOn": "2019-05-23T14:55:14.2973858+05:00",
  "ProductId": 1
}

application/xml, text/xml

Sample:
<LatestProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Product">
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedOn>2019-05-23T14:55:14.2973858+05:00</CreatedOn>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LogoPath>sample string 4</LogoPath>
  <ModifiedBy>sample string 9</ModifiedBy>
  <Name>sample string 2</Name>
  <ProductId>1</ProductId>
  <ProductPath>sample string 5</ProductPath>
</LatestProductModel>