GET /api/v2/contacts/7cb56bd0-790b-4828-a20d-ffad60c8c145/people/d8a02bcd-9041-4ed1-a5c2-d1025db393c9/twitter_accounts
Content-Type: application/vnd.api+json
Body
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
Description
The timestamp of when this resource was created
Required
No
primary
Typeboolean
Description
Whether or not this Twitter Account is the Person's primary account
Required
No
remote_id
Typeinteger
Description
The id for this Twitter Account from Twitter.com (this will likely be null)
Required
No
screen_name
Typestring
Description
The screen name for the Person's Twitter Account
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
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
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
primary
Typeboolean
Description
Whether or not this Twitter Account is the Person's primary account
remote_id
Typeinteger
Description
The id for this Twitter Account from Twitter.com (this will likely be null)
screen_name
Typestring
Description
The screen name for the Person's Twitter Account
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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.
Twitter Account [GET]
Twitter Account [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
primary
Typeboolean
Description
Whether or not this Twitter Account is the Person's primary account
remote_id
Typeinteger
Description
The id for this Twitter Account from Twitter.com (this will likely be null)
screen_name
Typestring
Description
The screen name for the Person's Twitter Account
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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.
Twitter Account [PUT]
Twitter Account [PUT]
Request
Endpoint
Body
Parameters
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
Required
No
overwrite
Typeboolean
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
Typeboolean
Description
Whether or not this Twitter Account is the Person's primary account
Required
No
remote_id
Typeinteger
Description
The id for this Twitter Account from Twitter.com (this will likely be null)
Required
No
screen_name
Typestring
Description
The screen name for the Person's Twitter Account
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
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
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
primary
Typeboolean
Description
Whether or not this Twitter Account is the Person's primary account
remote_id
Typeinteger
Description
The id for this Twitter Account from Twitter.com (this will likely be null)
screen_name
Typestring
Description
The screen name for the Person's Twitter Account
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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.
POST /api/v2/contacts/079be6f4-8e4a-45ea-ae47-01c093b9e7ec/people/af1124b8-5ff7-4956-a3fd-7869b1f5ecca/twitter_accounts
Content-Type: application/vnd.api+json
GET /api/v2/contacts/225b7351-0980-4eed-9ba9-7ab414abd240/people/07877f35-263d-4f2a-b22c-e230f8ba1cd0/twitter_accounts/edac1c43-52f9-4e6f-8559-d0d8b6481189
Content-Type: application/vnd.api+json
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
PUT /api/v2/contacts/55808288-0139-4805-96d3-84d9e134fcfd/people/d0b9fbc2-dd05-4505-8a92-4c5fe183e5e4/twitter_accounts/44f47d20-7572-454b-b358-62e9d3866804
Content-Type: application/vnd.api+json