JSON

ChangeInfo (XML)

Information about a change.

Namespace:http://familysearch.org/v1/
URI:http://familysearch.org/v1/ChangeInfo

Attributes

Name Type Description
objectModifier changeObjectModifier An optional modifier for the object to which the operation applies. For example, if the object is a Fact, a modifier could be applied to indicate that fact applies to a person, couple, or child-and-parents relationship.
operation changeOperation The operation of the change.
reason string The reason for the change.
objectType changeObjectType The type of the object to which the operation applies.

Elements

Name Type Occurs Description
original ResourceReference 0..1 The subject representing the original value(s) that existed before the change.
parent ResourceReference 0..1 The parent change that triggered, caused, or included this change.
removed ResourceReference 0..1 The subject representing the removed value(s) that existed before the change.
resulting ResourceReference 0..1 The subject representing the result of the change.

Example

<?xml version="1.0" encoding="UTF-8"?>
<ChangeInfo xmlns="http://familysearch.org/v1/" objectModifier="..." operation="..." reason="..." objectType="...">
  <original resourceId="..." resource="..." />
  <parent resourceId="..." resource="..." />
  <removed resourceId="..." resource="..." />
  <resulting resourceId="..." resource="..." />
</ChangeInfo>