POST api/CigarProfile

Request Information

URI Parameters

None.

Body Parameters

CigarProfileRequest
NameDescriptionTypeAdditional information
CigarId

integer

None.

BrandId

integer

None.

StrengthId

integer

None.

FlavoursId

string

None.

UserComments

string

None.

UserCigarsId

integer

None.

UserId

integer

None.

UserEmail

string

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CigarId": 1,
  "BrandId": 2,
  "StrengthId": 3,
  "FlavoursId": "sample string 4",
  "UserComments": "sample string 5",
  "UserCigarsId": 6,
  "UserId": 7,
  "UserEmail": "sample string 8",
  "CreatedDate": "2019-11-14T07:36:49.5350469-05:00",
  "ModifiedDate": "2019-11-14T07:36:49.5350469-05:00",
  "IsActive": true,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<CigarProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MidnightAffinityModel">
  <BrandId>2</BrandId>
  <CigarId>1</CigarId>
  <CreatedDate>2019-11-14T07:36:49.5350469-05:00</CreatedDate>
  <FlavoursId>sample string 4</FlavoursId>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2019-11-14T07:36:49.5350469-05:00</ModifiedDate>
  <StrengthId>3</StrengthId>
  <UserCigarsId>6</UserCigarsId>
  <UserComments>sample string 5</UserComments>
  <UserEmail>sample string 8</UserEmail>
  <UserId>7</UserId>
</CigarProfileRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.