Websites
Websites Documentation
Website [LIST]
Website [LIST]
Request
Endpoint
GET /api/v2/contacts/3be7a927-bb3a-4c11-b860-7b160d53080c/people/fb3656e0-2799-4d8e-aeff-5cb81a09a463/websites
Content-Type: application/vnd.api+jsonBody
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OKBody
{
"data": [
{
"id": "baeeeb15-c5dc-42fd-adff-e76ef2291273",
"type": "websites",
"attributes": {
"created_at": "2021-11-23T14:37:43Z",
"primary": true,
"updated_at": "2021-11-23T14:37:43Z",
"updated_in_db_at": "2021-11-23T14:37:43Z",
"url": "http://hartmann.info/clement"
}
}
],
"meta": {
"pagination": {
"page": 1,
"per_page": 25,
"total_count": 1,
"total_pages": 1
},
"sort": null,
"filter": {
}
}
}Fields
data
Type
[Website]
Description An array of Websites
Website [POST]
Website [POST]
Request
Endpoint
Body
Parameters
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
Required No
primary
Type
boolean
Description If the website is primary or not; Accepts "true" or "false"
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
url
Type
string
Description The url of the website
Required No
Response
Headers
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
primary
Type
boolean
Description If the website is primary or not; Accepts "true" or "false"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
url
Type
string
Description The url of the website
Website [GET]
Website [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
primary
Type
boolean
Description If the website is primary or not; Accepts "true" or "false"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
url
Type
string
Description The url of the website
Website [PUT]
Website [PUT]
Request
Endpoint
Body
Parameters
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
Required No
overwrite
Type
boolean
Description
Only used for updating a record where you want to ignore the server's ' 'updated_in_db_at value and force overwrite the values for the record. ' 'Must be true to work.
Required No
primary
Type
boolean
Description If the website is primary or not; Accepts "true" or "false"
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
url
Type
string
Description The url of the website
Required No
Response
Headers
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
primary
Type
boolean
Description If the website is primary or not; Accepts "true" or "false"
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
url
Type
string
Description The url of the website
Website [DELETE]
Website [DELETE]
Request
Endpoint
Body
Response
Headers
Body
Last updated