Activity Records

Get activities by IDs

Retrieves the activity records with the given IDs, limited to those logged against the given parent entity. IDs that do not exist, belong to another entity or are not visible to the caller are silently left out.

Authorization. The caller must be able to access the parent entity. No OAuth2 scope beyond a valid token is required.

Errors. 400 if no parent entity ID or no activity ID is given, and 400 with error code 40000 if the caller cannot access the parent entity; 404 if the parent entity does not exist in the caller's tenant.

post/activities/fetch

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/activities/fetch
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token

Request body

employerIdstring uuid
customerIdstring uuid
leadIdstring uuid
workflowIdstring uuid
meetingIdstring uuid
idsstring[] required

Response

The matching activity records (possibly fewer than requested)

idstring uuid
versioninteger
typeIdstring uuid
htmlContentstring
createdBystring uuid
employerIdstring uuid
leadIdstring uuid
customerIdstring uuid
workflowIdstring uuid
meetingIdstring uuid
tenantIdstring uuid
createdDatestring date-time
creatorNamestring
lastEditedAtstring date-time
lastEditedBystring uuid
lastModifiedDatestring date-time
lastModifiedBystring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.