POST api/FlavourAPI/NewSorting

Request Information

URI Parameters

None.

Body Parameters

flavourDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name_En

string

None.

Name_Ar

string

None.

Image

string

None.

SequenceId

integer

None.

IsUploadImage

boolean

None.

PriceLayer1

decimal number

None.

PriceLayer2

decimal number

None.

PriceLayer3

decimal number

None.

Flag

integer

None.

IsActive

boolean

None.

CreatedBy

integer

None.

IsDeleted

boolean

None.

Message

string

None.

MessageAr

string

None.

UserId

integer

None.

AdminId

integer

None.

UserBrandId

integer

None.

RoleId

integer

None.

Status

boolean

None.

datasetxml

string

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name_En": "sample string 2",
  "Name_Ar": "sample string 3",
  "Image": "sample string 4",
  "SequenceId": 1,
  "IsUploadImage": true,
  "PriceLayer1": 1.0,
  "PriceLayer2": 1.0,
  "PriceLayer3": 1.0,
  "Flag": 6,
  "IsActive": true,
  "CreatedBy": 7,
  "IsDeleted": true,
  "Message": "sample string 9",
  "MessageAr": "sample string 10",
  "UserId": 11,
  "AdminId": 12,
  "UserBrandId": 13,
  "RoleId": 14,
  "Status": true,
  "datasetxml": "sample string 16",
  "StatusCode": 17
}

application/xml, text/xml

Sample:
<flavourDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s">
  <AdminId>12</AdminId>
  <CreatedBy>7</CreatedBy>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 9</Message>
  <MessageAr>sample string 10</MessageAr>
  <RoleId>14</RoleId>
  <Status>true</Status>
  <StatusCode>17</StatusCode>
  <UserBrandId>13</UserBrandId>
  <UserId>11</UserId>
  <datasetxml>sample string 16</datasetxml>
  <Flag>6</Flag>
  <Id>1</Id>
  <Image>sample string 4</Image>
  <IsUploadImage>true</IsUploadImage>
  <Name_Ar>sample string 3</Name_Ar>
  <Name_En>sample string 2</Name_En>
  <PriceLayer1>1</PriceLayer1>
  <PriceLayer2>1</PriceLayer2>
  <PriceLayer3>1</PriceLayer3>
  <SequenceId>1</SequenceId>
</flavourDTO>

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.