Sequence Gap Reconciliation Input

Input representation of the details that are used to identify and reconcile gaps in sequence values based on the sequence policy or target object.

JSON Example 

This example shows a sample request that specifies the list of sequence policies for gap reconciliation.

1{
2  "sequencePolicyIds": [
3    "1vdxx0000000abc",
4    "1vdxx0000000def"
5  ]
6}

This example shows a sample request that specifies the target invoice object for gap reconciliation.

1{
2  "targetObjects": [
3    "Invoice"
4  ]
5}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
sequence​PolicyIdsString[]List of IDs of the sequence policies.Required if the targetObjects property isn’t specified. You must not specify both properties.65.0
target​ObjectsString[]List of objects to which the policies are applied. Valid values are Invoice; or CreditMemo—Available in API version 66.0 and later.Required if the sequencePolicyIds property isn’t specified. You must not specify both properties.65.0