Websites
Websites Documentation
Website [LIST]
Website [LIST]
Request
Endpoint
GET /api/v2/contacts/87e03312-7df2-44f3-ad58-d6594cad3db4/people/bc76e94c-04b0-4593-bdd1-f2220599894d/websites
Content-Type: application/vnd.api+jsonBody
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OKBody
{
"data": [
{
"id": "bbcc3414-eb7a-483c-b4df-6cb672a00475",
"type": "websites",
"attributes": {
"created_at": "2022-01-12T17:18:39Z",
"primary": true,
"updated_at": "2022-01-12T17:18:39Z",
"updated_in_db_at": "2022-01-12T17:18:39Z",
"url": "http://barton.org/ivette_davis"
}
}
],
"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