internal.matching.freelancersalesstatusupdated¶
Event Name: internal.matching.freelancersalesstatusupdated
Description¶
This event is published when the sales status for a freelancer is updated in a match.
Schema¶
| Property | Type | Description |
|---|---|---|
freelancerId |
Guid |
The ID of the freelancer. |
oldSalesStatus |
SalesStatus |
The previous sales status. |
salesStatus |
SalesStatus |
The new sales status. |
salesNotes |
string? |
Optional notes from sales. |
costPerHour |
decimal? |
Optional cost per hour. |
salesPerHour |
decimal? |
Optional sales per hour. |
notSoldReason |
int? |
Optional reason for not being sold. |
declaredAvailabilityDate |
DateTime? |
Optional date of declared availability. |
entityId |
string |
The Aggregate Id. |
eventId |
Guid |
The ID of the event. |
timeOfEvent |
long |
The unix timestamp of when the event occurred. |
actor |
Actor |
The actor who triggered the event. |
Example¶
{
"freelancerId": "00000000-0000-0000-0000-000000000000",
"oldSalesStatus": "NoSale",
"salesStatus": "NoSale",
"salesNotes": "Some notes",
"costPerHour": 100.0,
"salesPerHour": 120.0,
"notSoldReason": 1,
"declaredAvailabilityDate": "2023-01-01T00:00:00Z",
"entityId": "00000000-0000-0000-0000-000000000000",
"eventId": "00000000-0000-0000-0000-000000000000",
"timeOfEvent": 1672531200,
"actor": {
"actorId": "00000000-0000-0000-0000-000000000000",
"actorType": "System"
}
}