Skip to main content

Farm Change

Represents a farm that is created, changed, or deleted.

Event Name​

farm_changed

Payload​

KeyTypeDescription
ChangeTypestringThe type of change (created, updated, deleted).
FarmFarmThe farm info that was changed.
ReferenceIdGuidThe id of the event.
SenderSenderInformation regarding the initiator of the event.
AccountIdGuidThe id of the affected Account.
OrganizationIdintThe 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
}