POST api/brand/saveBrand
Request Information
URI Parameters
None.
Body Parameters
BrandName | Description | Type | Additional information |
---|---|---|---|
BrandID | integer |
None. |
|
CompanyID | integer |
None. |
|
DealerBrandID | integer |
None. |
|
DealerID | integer |
None. |
|
BrandName | string |
None. |
|
LogoURL | string |
None. |
|
Description | string |
None. |
|
TurnOverYear | string |
None. |
|
TurnOverValue | string |
None. |
|
BrandURL | string |
None. |
|
MaxTurnOverValue | integer |
None. |
|
TotalTurnOverValue | decimal number |
None. |
|
IsAutoExtraBrand | boolean |
None. |
|
AutoExtraSortOrder | integer |
None. |
|
CreatedOn | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedOn | date |
None. |
|
ModifiedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
IsChecked | boolean |
None. |
|
brandCategories | string |
None. |
|
SortOrder | integer |
None. |
|
IsDealerBrand | boolean |
None. |
|
ColorCodeID | integer |
None. |
|
ColorCode | string |
None. |
|
ColorName | string |
None. |
|
categories | Collection of Category |
None. |
|
setupDocuments | Collection of SetupDocument |
None. |
Request Formats
application/json, text/json
Sample:
{ "BrandID": 1, "CompanyID": 1, "DealerBrandID": 1, "DealerID": 1, "BrandName": "sample string 1", "LogoURL": "sample string 2", "Description": "sample string 3", "TurnOverYear": "sample string 4", "TurnOverValue": "sample string 5", "BrandURL": "sample string 6", "MaxTurnOverValue": 1, "TotalTurnOverValue": 1.1, "IsAutoExtraBrand": true, "AutoExtraSortOrder": 1, "CreatedOn": "2024-10-04T20:20:54.420588+03:00", "CreatedBy": 1, "ModifiedOn": "2024-10-04T20:20:54.420588+03:00", "ModifiedBy": 1, "IsDeleted": true, "IsChecked": true, "brandCategories": "sample string 7", "SortOrder": 1, "IsDealerBrand": true, "ColorCodeID": 1, "ColorCode": "sample string 8", "ColorName": "sample string 9", "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-10-04T20:20:54.420588+03:00", "CreatedBy": 1, "ModifiedOn": "2024-10-04T20:20:54.420588+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-10-04T20:20:54.420588+03:00", "CreatedBy": 1, "ModifiedOn": "2024-10-04T20:20:54.420588+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" } ], "setupDocuments": [ { "DocumentID": 1, "CompanyID": 1, "DocumentURL": "sample string 1", "OriginalName": "sample string 2", "EncryptedName": "sample string 3", "EntityID": 1, "FileName1": "sample string 4", "IsDeleted": true, "CreatedBy": 1, "CreatedOn": "2024-10-04T20:20:54.420588+03:00", "ModifiedBy": 1, "ModifiedOn": "2024-10-04T20:20:54.420588+03:00" }, { "DocumentID": 1, "CompanyID": 1, "DocumentURL": "sample string 1", "OriginalName": "sample string 2", "EncryptedName": "sample string 3", "EntityID": 1, "FileName1": "sample string 4", "IsDeleted": true, "CreatedBy": 1, "CreatedOn": "2024-10-04T20:20:54.420588+03:00", "ModifiedBy": 1, "ModifiedOn": "2024-10-04T20:20:54.420588+03:00" } ] }
application/xml, text/xml
Sample:
<Brand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Models"> <AutoExtraSortOrder>1</AutoExtraSortOrder> <BrandID>1</BrandID> <BrandName>sample string 1</BrandName> <BrandURL>sample string 6</BrandURL> <ColorCode>sample string 8</ColorCode> <ColorCodeID>1</ColorCodeID> <ColorName>sample string 9</ColorName> <CompanyID>1</CompanyID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:20:54.420588+03:00</CreatedOn> <DealerBrandID>1</DealerBrandID> <DealerID>1</DealerID> <Description>sample string 3</Description> <IsAutoExtraBrand>true</IsAutoExtraBrand> <IsChecked>true</IsChecked> <IsDealerBrand>true</IsDealerBrand> <IsDeleted>true</IsDeleted> <LogoURL>sample string 2</LogoURL> <MaxTurnOverValue>1</MaxTurnOverValue> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:20:54.420588+03:00</ModifiedOn> <SortOrder>1</SortOrder> <TotalTurnOverValue>1.1</TotalTurnOverValue> <TurnOverValue>sample string 5</TurnOverValue> <TurnOverYear>sample string 4</TurnOverYear> <brandCategories>sample string 7</brandCategories> <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-10-04T20:20:54.420588+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-04T20:20:54.420588+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-10-04T20:20:54.420588+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-04T20:20:54.420588+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> <setupDocuments> <SetupDocument> <CompanyID>1</CompanyID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:20:54.420588+03:00</CreatedOn> <DocumentID>1</DocumentID> <DocumentURL>sample string 1</DocumentURL> <EncryptedName>sample string 3</EncryptedName> <EntityID>1</EntityID> <FileName1>sample string 4</FileName1> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:20:54.420588+03:00</ModifiedOn> <OriginalName>sample string 2</OriginalName> </SetupDocument> <SetupDocument> <CompanyID>1</CompanyID> <CreatedBy>1</CreatedBy> <CreatedOn>2024-10-04T20:20:54.420588+03:00</CreatedOn> <DocumentID>1</DocumentID> <DocumentURL>sample string 1</DocumentURL> <EncryptedName>sample string 3</EncryptedName> <EntityID>1</EntityID> <FileName1>sample string 4</FileName1> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-10-04T20:20:54.420588+03:00</ModifiedOn> <OriginalName>sample string 2</OriginalName> </SetupDocument> </setupDocuments> </Brand>
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.