Create Comment

HTTP Request

POSThttps://staging.api-gw.propdata.net/notes/api/v1/comments/

Example Response

{
"id": 0,
"site": 0,
"relations": [],
"comments": "string",
"created": "2021-03-01T14:10:09.181Z",
"modified": "2021-03-01T14:10:09.181Z",
"deleted": "2021-03-01T14:10:09.181Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"agent_id": -2147483648,
"user_id": 0,
"obj_model": "string",
"obj_id": -2147483648,
"category": "string",
"content": "string",
"pinned": false,
"files": []
}

NameDescription

id

integer

ID

site

integer

Site

relations

array

Choices: [ 1,2,3...2147483648 ]

comments

string

Comments

created

string

Created

modified

string

Modified

deleted

string

Deleted

uuid

string

Uuid

source_ref

nullable

string<= 100 characters

Source ref

agent_id

nullable

integer

Agent id

user_id

integer

User id

obj_model

required

string

Obj model

Choices: websitesagentsbranchesteamsresidentialcommercialholidayprojectscontactsprofilesleadssubscribersfilescmsarticlescomments

obj_id

required

integer

Obj id

category

required

string

Category

Choices: EmailEnquiryExpenditureExternal ReferralGeneral CommunicationGeneral NoteInternal ReferralMatch And Mail CommunicationMarketingPhone CallShowdayValuationViewingComment

content

nullable

string

Content

pinned

boolean

Pinned

files

nullable

array of integers

Files

Choices: [ 1,2,3...2147483648 ]

Responses

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