POST api/category/updateCategory

Request Information

URI Parameters

None.

Body Parameters

Category
NameDescriptionTypeAdditional information
CategoryID

integer

None.

DealerID

integer

None.

DealerCategoryID

integer

None.

CategoryName

string

None.

LogoURL

string

None.

Description

string

None.

TurnOverYear

string

None.

TurnOverValue

string

None.

TypeName

string

None.

IconURL

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

ModifiedOn

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

Section2

string

None.

SectionValue2

string

None.

Section3

string

None.

SectionValue3

string

None.

VehicleTypeID

integer

None.

BrandID

integer

None.

CoverURL

string

None.

SectionTypeID1

integer

None.

SectionTypeID2

integer

None.

SectionTypeID3

integer

None.

MaxSectionValue1

integer

None.

MaxSectionValue2

integer

None.

MaxSectionValue3

integer

None.

TotalSectionValue1

decimal number

None.

TotalSectionValue2

decimal number

None.

TotalSectionValue3

decimal number

None.

VehicleRating

decimal number

None.

SortOrder

integer

None.

CompanyID

integer

None.

IsChecked

boolean

None.

NewTypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryID": 1,
  "DealerID": 1,
  "DealerCategoryID": 1,
  "CategoryName": "sample string 1",
  "LogoURL": "sample string 2",
  "Description": "sample string 3",
  "TurnOverYear": "sample string 4",
  "TurnOverValue": "sample string 5",
  "TypeName": "sample string 6",
  "IconURL": "sample string 7",
  "CreatedOn": "2024-10-04T21:43:05.1316444+03:00",
  "CreatedBy": 1,
  "ModifiedOn": "2024-10-04T21:43:05.1316444+03:00",
  "ModifiedBy": 1,
  "IsDeleted": true,
  "Section2": "sample string 8",
  "SectionValue2": "sample string 9",
  "Section3": "sample string 10",
  "SectionValue3": "sample string 11",
  "VehicleTypeID": 1,
  "BrandID": 1,
  "CoverURL": "sample string 12",
  "SectionTypeID1": 1,
  "SectionTypeID2": 1,
  "SectionTypeID3": 1,
  "MaxSectionValue1": 1,
  "MaxSectionValue2": 1,
  "MaxSectionValue3": 1,
  "TotalSectionValue1": 1.1,
  "TotalSectionValue2": 1.1,
  "TotalSectionValue3": 1.1,
  "VehicleRating": 1.1,
  "SortOrder": 1,
  "CompanyID": 1,
  "IsChecked": true,
  "NewTypeName": "sample string 13"
}

application/xml, text/xml

Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models">
  <BrandID>1</BrandID>
  <CategoryID>1</CategoryID>
  <CategoryName>sample string 1</CategoryName>
  <CompanyID>1</CompanyID>
  <CoverURL>sample string 12</CoverURL>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-10-04T21:43:05.1316444+03:00</CreatedOn>
  <DealerCategoryID>1</DealerCategoryID>
  <DealerID>1</DealerID>
  <Description>sample string 3</Description>
  <IconURL>sample string 7</IconURL>
  <IsChecked>true</IsChecked>
  <IsDeleted>true</IsDeleted>
  <LogoURL>sample string 2</LogoURL>
  <MaxSectionValue1>1</MaxSectionValue1>
  <MaxSectionValue2>1</MaxSectionValue2>
  <MaxSectionValue3>1</MaxSectionValue3>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-10-04T21:43:05.1316444+03:00</ModifiedOn>
  <NewTypeName>sample string 13</NewTypeName>
  <Section2>sample string 8</Section2>
  <Section3>sample string 10</Section3>
  <SectionTypeID1>1</SectionTypeID1>
  <SectionTypeID2>1</SectionTypeID2>
  <SectionTypeID3>1</SectionTypeID3>
  <SectionValue2>sample string 9</SectionValue2>
  <SectionValue3>sample string 11</SectionValue3>
  <SortOrder>1</SortOrder>
  <TotalSectionValue1>1.1</TotalSectionValue1>
  <TotalSectionValue2>1.1</TotalSectionValue2>
  <TotalSectionValue3>1.1</TotalSectionValue3>
  <TurnOverValue>sample string 5</TurnOverValue>
  <TurnOverYear>sample string 4</TurnOverYear>
  <TypeName>sample string 6</TypeName>
  <VehicleRating>1.1</VehicleRating>
  <VehicleTypeID>1</VehicleTypeID>
</Category>

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.