This schema is used internally by Spark, not for OpCo integration.
Object representing a record of an action that an associate took on behalf of a user.
{
"opcoId": "BEL-CEBEO",
"associateEmail": "john.doe@sonepar.com",
"accountId": "account-id",
"action": "PLACE_ORDER",
"userId": "user-id",
"occurredAt": "2021-08-14T12:17:47.720Z"
}
the opco identifier
"BEL-CEBEO"
the email of the associate user, it represents his unique identifier.
"jhon.doe@sonepar.com"
A unique identifier of the account for which the associate works on behalf of its users.
"account-id"
unique identifier of the user for which the associate work on behalf of.
"user-id"
The action that an associate did on behalf of a user.
"PLACE_ORDER"
The date when the action took place
"2021-10-12T08:30:22.804Z"