Update Lead

HTTP Request

PATCHhttps://staging.api-gw.propdata.net/contacts/api/v1/leads/{id}/

Example Response

{
"id": 0,
"site": 0,
"meta": {},
"created": "2021-03-01T14:10:08.097Z",
"modified": "2021-03-01T14:10:08.097Z",
"deleted": "2021-03-01T14:10:08.097Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"agent": -2147483648,
"team": -2147483648,
"active": false,
"telephonic": false,
"source": "string",
"asking_price": "0.00",
"source_description": "string",
"residential": -2147483648,
"holiday": -2147483648,
"commercial": -2147483648,
"project": -2147483648,
"message": "string",
"description": "string",
"lead_type": "string",
"contact": 0,
"profile": 0
}

NameDescription

id

required

integer

id of Record

NameDescription

id

integer

ID

site

integer

Site

meta

string

Meta

created

string

Created

modified

string

Modified

deleted

string

Deleted

uuid

string

Uuid

source_ref

nullable

string<= 100 characters

Source ref

agent

nullable

integer

Agent

team

nullable

integer

Team

active

boolean

Active

telephonic

boolean

Telephonic

source

required

string

Source

Choices: BayutBoardCanvassingDubizzleEmail CampaignFacebookFlyer / PamphletGoogle DisplayGoogle SearchInstagramMobi SitePamphletPartnerPrint AdPrivate PropertyPromotionProperty 24Property FinderProperty PortalRadio AdReferralShowhouseSocial MediaSpouse / PartnerTV AdWalk-inWebsiteOther

asking_price

nullable

string

Asking price

source_description

nullable

string

Source description

residential

nullable

integer

Residential

holiday

nullable

integer

Holiday

commercial

nullable

integer

Commercial

project

nullable

integer

Project

message

required

stringnon-empty

Message

description

nullable

string

Description

lead_type

required

string

Lead type

Choices: BuyerSellerTenantLandlordGeneral Enquiry

contact

required

integer

Contact

profile

nullable

integer

Profile

Responses

200
400 Bad request body
403 You do not have permission to perform this action
404 Not found
500 Internal server error
503 This website is not active