matching.declarationofinterestcompleted¶
Event Name: matching.declarationofinterestcompleted
Description¶
This event is published when a declaration of interest is completed.
Schema¶
| Property | Type | Description |
|---|---|---|
declarationOfInterestId |
Guid |
The ID of the declaration of interest. |
notifyThroughSms |
bool |
Whether to notify through SMS. |
subject |
string |
The subject of the email. |
fromEmail |
string |
The email address of the sender. |
fromEmailName |
string |
The name of the sender. |
smsSenderId |
string |
The ID of the SMS sender. |
dois |
IEnumerable<FreelancerDOI> |
A list of freelancer declarations of interest. |
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. |
FreelancerDOI Schema¶
| Property | Type | Description |
|---|---|---|
freelancerDeclarationOfInterestId |
Guid |
The ID of the freelancer's declaration of interest. |
fullName |
string |
The full name of the freelancer. |
email |
string |
The email of the freelancer. |
mobilePhone |
string |
The mobile phone of the freelancer. |
message |
string |
The message. |
smsNotification |
string? |
The SMS notification message. |
notifyThroughSms |
bool |
Whether to notify the freelancer through SMS. |
Example¶
{
"declarationOfInterestId": "00000000-0000-0000-0000-000000000000",
"notifyThroughSms": true,
"subject": "Declaration of Interest Completed",
"fromEmail": "sender@example.com",
"fromEmailName": "Sender Name",
"smsSenderId": "SMS_SENDER",
"dois": [
{
"freelancerDeclarationOfInterestId": "00000000-0000-0000-0000-000000000001",
"fullName": "John Doe",
"email": "john.doe@example.com",
"mobilePhone": "+1234567890",
"message": "I am interested.",
"smsNotification": "You have a new message.",
"notifyThroughSms": true
}
],
"entityId": "00000000-0000-0000-0000-000000000000",
"eventId": "00000000-0000-0000-0000-000000000000",
"timeOfEvent": 1672531200,
"actor": {
"actorId": "00000000-0000-0000-0000-000000000000",
"actorType": "System"
}
}