POST api/DealerGroup/AddDealerGroup
Request Information
URI Parameters
None.
Body Parameters
DealerGroupModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DealerGroup_Id | integer |
None. |
|
| City_Id | integer |
None. |
|
| DealerGroupName | string |
None. |
|
| DealerGroupCode | string |
None. |
|
| DealerGroupAddress | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DealerGroup_Id": 1,
"City_Id": 1,
"DealerGroupName": "sample string 2",
"DealerGroupCode": "sample string 3",
"DealerGroupAddress": "sample string 4",
"IsActive": true,
"CreationDate": "2025-12-01T04:32:47.2713478+05:30",
"ModifiedDate": "2025-12-01T04:32:47.2713478+05:30",
"CreatedBy": 7,
"ModifiedBy": 1
}
application/xml, text/xml
Sample:
<DealerGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel"> <City_Id>1</City_Id> <CreatedBy>7</CreatedBy> <CreationDate>2025-12-01T04:32:47.2713478+05:30</CreationDate> <DealerGroupAddress>sample string 4</DealerGroupAddress> <DealerGroupCode>sample string 3</DealerGroupCode> <DealerGroupName>sample string 2</DealerGroupName> <DealerGroup_Id>1</DealerGroup_Id> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-12-01T04:32:47.2713478+05:30</ModifiedDate> </DealerGroupModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>