POST api/HomePageCounterAPI/NewHomePageCounterList

Request Information

URI Parameters

None.

Body Parameters

HomePageCountersDTO
NameDescriptionTypeAdditional information
Id

integer

None.

TextEn

string

None.

TextAr

string

None.

Value

string

None.

IconClass

string

None.

ImagePath

string

None.

divImagePath

string

None.

SortIndex

integer

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Message

string

None.

Status

boolean

None.

StatusCode

integer

None.

Result

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

FlagId

integer

None.

CountryNameEn

string

None.

CountryNameAr

string

None.

CountryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TextEn": "sample string 2",
  "TextAr": "sample string 3",
  "Value": "sample string 4",
  "IconClass": "sample string 5",
  "ImagePath": "sample string 6",
  "divImagePath": "sample string 7",
  "SortIndex": 8,
  "IsActive": true,
  "IsDeleted": true,
  "Message": "sample string 11",
  "Status": true,
  "StatusCode": 13,
  "Result": "sample string 14",
  "CreatedBy": 15,
  "ModifiedBy": 16,
  "DeletedBy": 17,
  "FlagId": 18,
  "CountryNameEn": "sample string 19",
  "CountryNameAr": "sample string 20",
  "CountryId": 21
}

application/xml, text/xml

Sample:
<HomePageCountersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drCafeCoffeeAPI.DTOs">
  <CountryId>21</CountryId>
  <CountryNameAr>sample string 20</CountryNameAr>
  <CountryNameEn>sample string 19</CountryNameEn>
  <CreatedBy>15</CreatedBy>
  <DeletedBy>17</DeletedBy>
  <FlagId>18</FlagId>
  <IconClass>sample string 5</IconClass>
  <Id>1</Id>
  <ImagePath>sample string 6</ImagePath>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 11</Message>
  <ModifiedBy>16</ModifiedBy>
  <Result>sample string 14</Result>
  <SortIndex>8</SortIndex>
  <Status>true</Status>
  <StatusCode>13</StatusCode>
  <TextAr>sample string 3</TextAr>
  <TextEn>sample string 2</TextEn>
  <Value>sample string 4</Value>
  <divImagePath>sample string 7</divImagePath>
</HomePageCountersDTO>

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.