Farm Change
Represents a farm that is created, changed, or deleted.
Event Name
farm_changed
Payload
Key | Type | Description |
---|---|---|
ChangeType | string | The type of change (created, updated, deleted). |
Farm | Farm | The farm info that was changed. |
ReferenceId | Guid | The id of the event. |
Sender | Sender | Information regarding the initiator of the event. |
AccountId | Guid | The id of the affected Account. |
OrganizationId | int | The id of the affected Organization. |
Example
{
"ChangeType": "created",
"Farm": {
"Id": "0002fda6-0000-0000-0000-000000000000",
"CustomerId": "0002a442-0000-0000-0000-000000000000",
"Name": "Animal",
"Status": true,
"CreatedDateTime": "2016-04-26T19:18:35.0189393+00:00",
"ModifiedDateTime": "2016-04-26T19:18:35.0189393+00:00",
"PartnerFarmId": null
},
"ReferenceId": "a8795fde-f36b-4509-af9b-e62459bae979",
"Sender": {
"Username": null,
"UserId": 1234
},
"AccountId": "0002fbb6-0000-0000-0000-000000000000",
"OrganizationId": 100
}