POST api/Sponsor/UpdateSponsorDetailsById

Request Information

URI Parameters

None.

Body Parameters

SponsorViewModel
NameDescriptionTypeAdditional information
sponsormasterid

integer

None.

propertymasterid

integer

None.

statusid

integer

None.

fromdate

date

None.

todate

date

None.

status

string

None.

isactive

boolean

None.

propertytype

string

None.

listingtype

string

None.

logininfoid

integer

None.

propertyimagelink

string

None.

title

string

None.

issponsored

boolean

None.

propertyurl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sponsormasterid": 1,
  "propertymasterid": 2,
  "statusid": 3,
  "fromdate": "2025-12-06T10:17:24.5755074+05:30",
  "todate": "2025-12-06T10:17:24.5755074+05:30",
  "status": "sample string 6",
  "isactive": true,
  "propertytype": "sample string 8",
  "listingtype": "sample string 9",
  "logininfoid": 10,
  "propertyimagelink": "sample string 11",
  "title": "sample string 12",
  "issponsored": true,
  "propertyurl": "sample string 14"
}

application/xml, text/xml

Sample:
<SponsorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <fromdate>2025-12-06T10:17:24.5755074+05:30</fromdate>
  <isactive>true</isactive>
  <issponsored>true</issponsored>
  <listingtype>sample string 9</listingtype>
  <logininfoid>10</logininfoid>
  <propertyimagelink>sample string 11</propertyimagelink>
  <propertymasterid>2</propertymasterid>
  <propertytype>sample string 8</propertytype>
  <propertyurl>sample string 14</propertyurl>
  <sponsormasterid>1</sponsormasterid>
  <status>sample string 6</status>
  <statusid>3</statusid>
  <title>sample string 12</title>
  <todate>2025-12-06T10:17:24.5755074+05:30</todate>
</SponsorViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>