Sequence Gap Reconciliation (POST)

Restore a missing sequence value identified by using this API in gapless-enabled sequences. This sequence value can be used later in the subsequent sequence policy numbering, ensuring there are no gaps.

Special Access Rules 

You need the Billing Admin permission set to use this API.

Resource 

1/connect/sequences/gap-reconciliation

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/sequences/gap-reconciliation

Available Version 

65.0

HTTP Methods 

POST

Request Body for POST 

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

Response Body for POST 

Sequence Gap Reconciliation