POST api/NewsEventsAPI/NewAddNewsEvents

Request Information

URI Parameters

None.

Body Parameters

NewsEventsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

integer

None.

TitleEn

string

None.

TitleAr

string

None.

DescEn

string

None.

DescAr

string

None.

ImagePath

string

None.

divImagePath

string

None.

NewsDate

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Message

string

None.

Status

boolean

None.

StatusCode

integer

None.

Result

string

None.

BusinessCategoryList

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

FlagId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": 2,
  "TitleEn": "sample string 3",
  "TitleAr": "sample string 4",
  "DescEn": "sample string 5",
  "DescAr": "sample string 6",
  "ImagePath": "sample string 7",
  "divImagePath": "sample string 8",
  "NewsDate": "sample string 9",
  "IsActive": true,
  "IsDeleted": true,
  "Message": "sample string 12",
  "Status": true,
  "StatusCode": 14,
  "Result": "sample string 15",
  "BusinessCategoryList": "sample string 16",
  "CreatedBy": 17,
  "ModifiedBy": 18,
  "DeletedBy": 19,
  "FlagId": 20
}

application/xml, text/xml

Sample:
<NewsEventsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YRGlobalServices.DTO_s">
  <BusinessCategoryList>sample string 16</BusinessCategoryList>
  <CategoryId>2</CategoryId>
  <CreatedBy>17</CreatedBy>
  <DeletedBy>19</DeletedBy>
  <DescAr>sample string 6</DescAr>
  <DescEn>sample string 5</DescEn>
  <FlagId>20</FlagId>
  <Id>1</Id>
  <ImagePath>sample string 7</ImagePath>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 12</Message>
  <ModifiedBy>18</ModifiedBy>
  <NewsDate>sample string 9</NewsDate>
  <Result>sample string 15</Result>
  <Status>true</Status>
  <StatusCode>14</StatusCode>
  <TitleAr>sample string 4</TitleAr>
  <TitleEn>sample string 3</TitleEn>
  <divImagePath>sample string 8</divImagePath>
</NewsEventsDTO>

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.