Skip to main content
PUT
Replace Record Legacy Activity

Authorizations

Authorization
string
header
required

User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.

Path Parameters

companyId
string<uuid>
required

Company identifier

entityType
enum<string>
required

The type of the record the activity belongs to.

Available options:
event,
exposure,
policy,
quote,
submission
entityId
string<uuid>
required

Entity identifier

Body

application/json
entries
object[]
required

The record's legacy activity, in the legacy display order.

Maximum array length: 10000

Response

The record's preserved activity was replaced

entryCount
integer
required

Entries now preserved on the record.

sourceRowCount
integer
required

Legacy activity rows those entries stand for.

movedEntryCount
integer
required

Entries that were preserved on another record and now sit on this one.