Skip to content

Instantly share code, notes, and snippets.

@hanzelkatomas
Last active October 15, 2025 11:11
Show Gist options
  • Select an option

  • Save hanzelkatomas/075933cb180630fb8ef8c9e143a1f314 to your computer and use it in GitHub Desktop.

Select an option

Save hanzelkatomas/075933cb180630fb8ef8c9e143a1f314 to your computer and use it in GitHub Desktop.
capabilities JSON
{
"syncTypes": [
{
"syncType": "incrementalMultiselect",
"solutionSpecific": "AP",
"name": "Incremental Multiselect Sync",
"onlyManual": true,
"isPrivileged": false,
"parameters": [
{
"name": "duration",
"label": "My duration",
"type": "Duration",
"defaultValue": null,
"description": "Type in duration",
"required": true
},
{
"name": "scheduledDateTime",
"label": "Scheduled Date & Time",
"type": "DateTime",
"defaultValue": null,
"description": "Select when to schedule the sync",
"required": true
},
{
"name": "startDateTime",
"label": "Start Date & Time",
"type": "DateTime",
"defaultValue": "2024-01-01T09:00:00",
"description": "Starting date and time for the sync period",
"required": null
},
{
"name": "endDateTime",
"label": "End Date & Time",
"type": "DateTime",
"defaultValue": null,
"description": "Ending date and time for the sync period",
"required": true
},
{
"name": "duration2",
"label": "Second duration (default value)",
"type": "Duration",
"defaultValue": {
"value": 1,
"unit": "days"
},
"description": "Type in duration",
"required": null
},
{
"name": "number",
"label": "Number input",
"type": "Number",
"defaultValue": 3,
"description": "This is number",
"required": null
},
{
"name": "entities",
"label": "Entities",
"type": "Multiselect",
"defaultValue": null,
"description": "Select entities to sync",
"options": [
{
"value": "Vendor",
"label": "Vendor"
},
{
"value": "Currency",
"label": "Currency"
},
{
"value": "UnitOfMeasure",
"label": "Unit of Measure"
},
{
"value": "Item",
"label": "Item"
},
{
"value": "PaymentTerm",
"label": "Payment Term"
},
{
"value": "TaxRate",
"label": "Tax Rate"
},
{
"value": "Account",
"label": "Account"
},
{
"value": "PurchaseOrder",
"label": "Purchase Order"
},
{
"value": "Receiving",
"label": "Receiving"
},
{
"value": "CreditMemo",
"label": "Credit Memo"
},
{
"value": "CustomerPayment",
"label": "Customer Payment"
},
{
"value": "Employee",
"label": "Employee"
},
{
"value": "Invoice",
"label": "Invoice"
},
{
"value": "PaymentMethod",
"label": "Payment Method"
},
{
"value": "VendorPayment",
"label": "Vendor Payment"
},
{
"value": "Customer",
"label": "Customer"
}
],
"required": true
}
]
},
{
"syncType": "initial",
"solutionSpecific": "AP",
"name": "Initial Full Sync",
"onlyManual": true,
"isPrivileged": false,
"parameters": [
{
"name": "startDate",
"label": "Start Date",
"type": "Date",
"defaultValue": null,
"description": null,
"options": null,
"required": null
}
]
},
{
"syncType": "incremental",
"solutionSpecific": "AP",
"name": "Incremental Sync",
"onlyManual": false,
"isPrivileged": false,
"parameters": [
{
"name": "entities",
"label": "Entities",
"type": "Multiselect",
"defaultValue": null,
"description": "Select entities to sync",
"options": [
{
"value": "Vendor",
"label": "Vendor"
},
{
"value": "Currency",
"label": "Currency"
},
{
"value": "UnitOfMeasure",
"label": "Unit of Measure"
},
{
"value": "Item",
"label": "Item"
},
{
"value": "PaymentTerm",
"label": "Payment Term"
},
{
"value": "TaxRate",
"label": "Tax Rate"
},
{
"value": "Account",
"label": "Account"
},
{
"value": "PurchaseOrder",
"label": "Purchase Order"
},
{
"value": "Receiving",
"label": "Receiving"
},
{
"value": "CreditMemo",
"label": "Credit Memo"
},
{
"value": "CustomerPayment",
"label": "Customer Payment"
},
{
"value": "Employee",
"label": "Employee"
},
{
"value": "Invoice",
"label": "Invoice"
},
{
"value": "PaymentMethod",
"label": "Payment Method"
},
{
"value": "VendorPayment",
"label": "Vendor Payment"
}
],
"required": null
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment