POST {scope}/AccountingIntegration/{accountingType}/Resync
Kicks off the a resync request for the specified sync record. This action is idempotent in the sense that once a sync has successfully pushed all orders, calling this again for that sync will have no effect other than to confirm that the sync has been successful.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
scope | string |
Required |
|
accountingType | string |
Required |
Body Parameters
SyncRecordName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
States | Collection of SyncState |
None. |
|
UserId | string |
None. |
|
Packets | Collection of SyncPacket |
None. |
|
IntegrationType | EAccountingIntegrationType |
None. |
|
IntegrationId | string |
None. |
Request Formats
text/json, application/json
Sample:
{ "Id":"30000", "States":[], "UserId":"5000", "IntegrationType":"Xero", "IntegrationId":"1234abcd1234abcd" }
text/xml, application/xml
Sample:
{ <SyncRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="subscriber.mindbodyonline.com"> <Id>30000</Id> <States></States>, <UserId>5000</UserId>, <IntegrationType>Xero</IntegrationType>, <IntegrationId>1234abcd1234abcd</IntegrationId> </SyncRecord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.