A record (Prospect, Account, Sequence, etc.) favorited by a particular user.
createdAt | string <date-time>
The date and time the favorite was created. |
targetId | integer
The ID of record that was favorited. |
targetType | string <= 255 characters
The type of record that was favorited. |
updatedAt | string <date-time>
The date and time the favorite was last updated. |
{- "createdAt": "2019-08-24T14:15:22Z",
- "targetId": 0,
- "targetType": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
(user (data (object) or links (object))) The user who created the favorite. Relationship creator cannot be used as a filter. | |
data (object) or links (object) (user) The user who's favorite this is. You can use only the attribute id to filter favorites by user (e.g. filter[user][id]=X). |
{- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "user": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
{- "data": [
- {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "targetId": 0,
- "targetType": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "user": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "targetId": 0,
- "targetType": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "user": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "targetId": 0,
- "targetType": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "user": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "targetId": 0,
- "targetType": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "user": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}