POST api/BusinessCategoryAPI/NewSortBusinessCategory

Request Information

URI Parameters

None.

Body Parameters

BusinessCategoryDTO
NameDescriptionTypeAdditional information
Id

integer

None.

TitleEn

string

None.

TitleAr

string

None.

DescEn

string

None.

DescAr

string

None.

BannerImage

string

None.

divBannerImage

string

None.

SideImage

string

None.

divSideImage

string

None.

ShortDescEn

string

None.

ShortDescAr

string

None.

IconClass

string

None.

LogoImage

string

None.

divLogo

string

None.

IsCounters

boolean

None.

IsWhatWeDo

boolean

None.

IsAddress

boolean

None.

IsActive

boolean

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Result

string

None.

FlagId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TitleEn": "sample string 2",
  "TitleAr": "sample string 3",
  "DescEn": "sample string 4",
  "DescAr": "sample string 5",
  "BannerImage": "sample string 6",
  "divBannerImage": "sample string 7",
  "SideImage": "sample string 8",
  "divSideImage": "sample string 9",
  "ShortDescEn": "sample string 10",
  "ShortDescAr": "sample string 11",
  "IconClass": "sample string 12",
  "LogoImage": "sample string 13",
  "divLogo": "sample string 14",
  "IsCounters": true,
  "IsWhatWeDo": true,
  "IsAddress": true,
  "IsActive": true,
  "CreatedBy": 19,
  "ModifiedBy": 20,
  "DeletedBy": 21,
  "Status": true,
  "StatusCode": 23,
  "Message": "sample string 24",
  "Result": "sample string 25",
  "FlagId": 26
}

application/xml, text/xml

Sample:
<BusinessCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YRGlobalServices.DTO_s">
  <BannerImage>sample string 6</BannerImage>
  <CreatedBy>19</CreatedBy>
  <DeletedBy>21</DeletedBy>
  <DescAr>sample string 5</DescAr>
  <DescEn>sample string 4</DescEn>
  <FlagId>26</FlagId>
  <IconClass>sample string 12</IconClass>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsAddress>true</IsAddress>
  <IsCounters>true</IsCounters>
  <IsWhatWeDo>true</IsWhatWeDo>
  <LogoImage>sample string 13</LogoImage>
  <Message>sample string 24</Message>
  <ModifiedBy>20</ModifiedBy>
  <Result>sample string 25</Result>
  <ShortDescAr>sample string 11</ShortDescAr>
  <ShortDescEn>sample string 10</ShortDescEn>
  <SideImage>sample string 8</SideImage>
  <Status>true</Status>
  <StatusCode>23</StatusCode>
  <TitleAr>sample string 3</TitleAr>
  <TitleEn>sample string 2</TitleEn>
  <divBannerImage>sample string 7</divBannerImage>
  <divLogo>sample string 14</divLogo>
  <divSideImage>sample string 9</divSideImage>
</BusinessCategoryDTO>

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.