POST api/PropertyImages/Add

Request Information

URI Parameters

None.

Body Parameters

Collection of PropertyImagesModel
NameDescriptionTypeAdditional information
Id

integer

None.

Property_Id

integer

None.

Image_Url

string

None.

Uploaded_By

integer

None.

Uploaded_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,
    "Image_Url": "sample string 3",
    "Uploaded_By": 4,
    "Uploaded_Date": "2025-12-11T04:30:30.1850102+05:30",
    "IsActive": true,
    "CreatedBy": "sample string 7",
    "CreatedDate": "2025-12-11T04:30:30.1860073+05:30",
    "UpdatedBy": "sample string 9",
    "UpdatedDate": "2025-12-11T04:30:30.1860073+05:30"
  },
  {
    "Id": 1,
    "Property_Id": 2,
    "Image_Url": "sample string 3",
    "Uploaded_By": 4,
    "Uploaded_Date": "2025-12-11T04:30:30.1850102+05:30",
    "IsActive": true,
    "CreatedBy": "sample string 7",
    "CreatedDate": "2025-12-11T04:30:30.1860073+05:30",
    "UpdatedBy": "sample string 9",
    "UpdatedDate": "2025-12-11T04:30:30.1860073+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPropertyImagesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model">
  <PropertyImagesModel>
    <CreatedBy>sample string 7</CreatedBy>
    <CreatedDate>2025-12-11T04:30:30.1860073+05:30</CreatedDate>
    <Id>1</Id>
    <Image_Url>sample string 3</Image_Url>
    <IsActive>true</IsActive>
    <Property_Id>2</Property_Id>
    <UpdatedBy>sample string 9</UpdatedBy>
    <UpdatedDate>2025-12-11T04:30:30.1860073+05:30</UpdatedDate>
    <Uploaded_By>4</Uploaded_By>
    <Uploaded_Date>2025-12-11T04:30:30.1850102+05:30</Uploaded_Date>
  </PropertyImagesModel>
  <PropertyImagesModel>
    <CreatedBy>sample string 7</CreatedBy>
    <CreatedDate>2025-12-11T04:30:30.1860073+05:30</CreatedDate>
    <Id>1</Id>
    <Image_Url>sample string 3</Image_Url>
    <IsActive>true</IsActive>
    <Property_Id>2</Property_Id>
    <UpdatedBy>sample string 9</UpdatedBy>
    <UpdatedDate>2025-12-11T04:30:30.1860073+05:30</UpdatedDate>
    <Uploaded_By>4</Uploaded_By>
    <Uploaded_Date>2025-12-11T04:30:30.1850102+05:30</Uploaded_Date>
  </PropertyImagesModel>
</ArrayOfPropertyImagesModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.