POST api/Documents/Add
Request Information
URI Parameters
None.
Body Parameters
DocumentsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Property_Id | integer |
None. |
|
| Document_Name | string |
None. |
|
| File_Path | string |
None. |
|
| Uploaded_By | integer |
None. |
|
| Upload_Date | date |
None. |
|
| IsActive | boolean |
Required |
|
| CreatedBy | string |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Property_Id": 2,
"Document_Name": "sample string 3",
"File_Path": "sample string 4",
"Uploaded_By": 5,
"Upload_Date": "2025-12-11T04:33:43.8235205+05:30",
"IsActive": true,
"CreatedBy": "sample string 8",
"CreatedDate": "2025-12-11T04:33:43.8235205+05:30",
"UpdatedBy": "sample string 10",
"UpdatedDate": "2025-12-11T04:33:43.8235205+05:30"
}
application/xml, text/xml
Sample:
<DocumentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model"> <CreatedBy>sample string 8</CreatedBy> <CreatedDate>2025-12-11T04:33:43.8235205+05:30</CreatedDate> <Document_Name>sample string 3</Document_Name> <File_Path>sample string 4</File_Path> <Id>1</Id> <IsActive>true</IsActive> <Property_Id>2</Property_Id> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedDate>2025-12-11T04:33:43.8235205+05:30</UpdatedDate> <Upload_Date>2025-12-11T04:33:43.8235205+05:30</Upload_Date> <Uploaded_By>5</Uploaded_By> </DocumentsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.