POST api/Region/AddRegion
Request Information
URI Parameters
None.
Body Parameters
RegionModelName | Description | Type | Additional information |
---|---|---|---|
Region_Id | integer |
None. |
|
Zone_Id | integer |
None. |
|
RegionCode | string |
None. |
|
RegionName | string |
None. |
|
IsActive | boolean |
None. |
|
CreationDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Region_Id": 1, "Zone_Id": 1, "RegionCode": "sample string 2", "RegionName": "sample string 3", "IsActive": true, "CreationDate": "2024-12-23T03:05:32.8253722+05:30", "ModifiedDate": "2024-12-23T03:05:32.8253722+05:30", "CreatedBy": 6, "ModifiedBy": 1 }
application/xml, text/xml
Sample:
<RegionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel"> <CreatedBy>6</CreatedBy> <CreationDate>2024-12-23T03:05:32.8253722+05:30</CreationDate> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2024-12-23T03:05:32.8253722+05:30</ModifiedDate> <RegionCode>sample string 2</RegionCode> <RegionName>sample string 3</RegionName> <Region_Id>1</Region_Id> <Zone_Id>1</Zone_Id> </RegionModel>
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>