POST api/category/saveVehicleCategory
Request Information
URI Parameters
None.
Body Parameters
VehicleTypeName | Description | Type | Additional information |
---|---|---|---|
VehicleTypeID | integer |
None. |
|
TypeName | string |
None. |
|
CompanyID | integer |
None. |
|
CreatedOn | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedOn | date |
None. |
|
ModifiedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
vehicleCategories | string |
None. |
|
MasterImage | string |
None. |
|
AnimatedImage | string |
None. |
|
Rating | decimal number |
None. |
|
TurnOverValue | string |
None. |
|
Description | string |
None. |
|
MaxTurnOverValue | integer |
None. |
|
TotalTurnOverValue | decimal number |
None. |
|
TrunOverValueDisplayLabel | string |
None. |
|
ScreenTitle | string |
None. |
|
categories | Collection of Category |
None. |
Request Formats
application/json, text/json
Sample:
{ "VehicleTypeID": 1, "TypeName": "sample string 1", "CompanyID": 1, "CreatedOn": "2024-11-21T12:58:35.438847+03:00", "CreatedBy": 1, "ModifiedOn": "2024-11-21T12:58:35.438847+03:00", "ModifiedBy": 1, "IsDeleted": true, "vehicleCategories": "sample string 2", "MasterImage": "sample string 3", "AnimatedImage": "sample string 4", "Rating": 1.1, "TurnOverValue": "sample string 5", "Description": "sample string 6", "MaxTurnOverValue": 1, "TotalTurnOverValue": 1.1, "TrunOverValueDisplayLabel": "sample string 7", "ScreenTitle": "sample string 8", "categories": [ { "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-11-21T12:58:35.438847+03:00", "CreatedBy": 1, "ModifiedOn": "2024-11-21T12:58:35.438847+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" }, { "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-11-21T12:58:35.438847+03:00", "CreatedBy": 1, "ModifiedOn": "2024-11-21T12:58:35.438847+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:
<VehicleType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models"> <AnimatedImage>sample string 4</AnimatedImage> <CompanyID>1</CompanyID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-11-21T12:58:35.438847+03:00</CreatedOn> <Description>sample string 6</Description> <IsDeleted>true</IsDeleted> <MasterImage>sample string 3</MasterImage> <MaxTurnOverValue>1</MaxTurnOverValue> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-11-21T12:58:35.438847+03:00</ModifiedOn> <Rating>1.1</Rating> <ScreenTitle>sample string 8</ScreenTitle> <TotalTurnOverValue>1.1</TotalTurnOverValue> <TrunOverValueDisplayLabel>sample string 7</TrunOverValueDisplayLabel> <TurnOverValue>sample string 5</TurnOverValue> <TypeName>sample string 1</TypeName> <VehicleTypeID>1</VehicleTypeID> <categories> <Category> <BrandID>1</BrandID> <CategoryID>1</CategoryID> <CategoryName>sample string 1</CategoryName> <CompanyID>1</CompanyID> <CoverURL>sample string 12</CoverURL> <CreatedBy>1</CreatedBy> <CreatedOn>2024-11-21T12:58:35.438847+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-11-21T12:58:35.438847+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> <Category> <BrandID>1</BrandID> <CategoryID>1</CategoryID> <CategoryName>sample string 1</CategoryName> <CompanyID>1</CompanyID> <CoverURL>sample string 12</CoverURL> <CreatedBy>1</CreatedBy> <CreatedOn>2024-11-21T12:58:35.438847+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-11-21T12:58:35.438847+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> </categories> <vehicleCategories>sample string 2</vehicleCategories> </VehicleType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.