POST api/District/Save
Request Information
URI Parameters
None.
Body Parameters
DistrictName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DistrictKey | string |
None. |
|
DistrictName | string |
None. |
|
RecordStatus | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "DistrictKey": "sample string 2", "DistrictName": "sample string 3", "RecordStatus": "sample string 4", "CreatedDate": "2025-01-05T06:24:04.0420299+05:00", "CreatedBy": 1, "ModifiedDate": "2025-01-05T06:24:04.0420299+05:00", "ModifiedBy": 1 }
application/xml, text/xml
Sample:
<District xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FactoryInspection.Repository.Entities"> <CreatedBy>1</CreatedBy> <CreatedDate>2025-01-05T06:24:04.0420299+05:00</CreatedDate> <DistrictKey>sample string 2</DistrictKey> <DistrictName>sample string 3</DistrictName> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-01-05T06:24:04.0420299+05:00</ModifiedDate> <RecordStatus>sample string 4</RecordStatus> </District>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |