POST api/v1/Push/InsertTransaction

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
pending
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubscriberDetails": {
    "SubscriberName": "sample string 1",
    "PublicationType": 0,
    "PublicationId": 2,
    "SyncInterval": 3,
    "PushInterval": 4,
    "TaskRefreshInterval": 5,
    "ClearDownInterval": 6,
    "ServerName": "sample string 7",
    "DatabaseName": "sample string 8",
    "LastEventTime": "2024-11-21T09:42:25.4805296+00:00",
    "ErrorMessage": "sample string 10",
    "ExpiryDays": 11,
    "HasTempCommands": true,
    "LocalDbName": "sample string 13",
    "ServiceUrl": "sample string 14",
    "ServerDatetime": "2024-11-21T09:42:25.4805296+00:00",
    "LiveStatusCompanyId": 16,
    "IsMobile": true,
    "LicenceCount": 18,
    "DefaultFileSetId": 19,
    "LicenceKey": "sample string 20",
    "SubscriptionStatus": 0,
    "SnaphotFileName": "sample string 21",
    "LastSnapshotCTVersion": 22,
    "SubscriberId": 23,
    "ScriptPending": "sample string 24",
    "SubscriberTraceLevel": 0,
    "SyncResponse": {
      "LastRowVersion": 1,
      "SqlCommands": [
        {
          "TableName": "sample string 1",
          "ChangeOperation": "sample string 2",
          "RowData": "sample string 3"
        },
        {
          "TableName": "sample string 1",
          "ChangeOperation": "sample string 2",
          "RowData": "sample string 3"
        },
        {
          "TableName": "sample string 1",
          "ChangeOperation": "sample string 2",
          "RowData": "sample string 3"
        }
      ],
      "SqlCommandBytes": "QEBA",
      "ErrorMessage": "sample string 2",
      "HasTempCommands": true
    },
    "IsPendingSelect": true
  },
  "PendingTrans": [
    {
      "SubscriberName": "sample string 1",
      "ActionTime": "2024-11-21T09:42:25.4805296+00:00",
      "TableName": "sample string 2",
      "RowString": "sample string 3"
    },
    {
      "SubscriberName": "sample string 1",
      "ActionTime": "2024-11-21T09:42:25.4805296+00:00",
      "TableName": "sample string 2",
      "RowString": "sample string 3"
    },
    {
      "SubscriberName": "sample string 1",
      "ActionTime": "2024-11-21T09:42:25.4805296+00:00",
      "TableName": "sample string 2",
      "RowString": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<PendingTransactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Push">
  <PendingTrans>
    <PendingTransaction>
      <ActionTime>2024-11-21T09:42:25.4805296+00:00</ActionTime>
      <RowString>sample string 3</RowString>
      <SubscriberName>sample string 1</SubscriberName>
      <TableName>sample string 2</TableName>
    </PendingTransaction>
    <PendingTransaction>
      <ActionTime>2024-11-21T09:42:25.4805296+00:00</ActionTime>
      <RowString>sample string 3</RowString>
      <SubscriberName>sample string 1</SubscriberName>
      <TableName>sample string 2</TableName>
    </PendingTransaction>
    <PendingTransaction>
      <ActionTime>2024-11-21T09:42:25.4805296+00:00</ActionTime>
      <RowString>sample string 3</RowString>
      <SubscriberName>sample string 1</SubscriberName>
      <TableName>sample string 2</TableName>
    </PendingTransaction>
  </PendingTrans>
  <SubscriberDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
    <d2p1:IsPendingSelect>true</d2p1:IsPendingSelect>
    <d2p1:LastSnapshotCTVersion>22</d2p1:LastSnapshotCTVersion>
    <d2p1:LicenceKey>sample string 20</d2p1:LicenceKey>
    <d2p1:ScriptPending>sample string 24</d2p1:ScriptPending>
    <d2p1:SnaphotFileName>sample string 21</d2p1:SnaphotFileName>
    <d2p1:SubscriberId>23</d2p1:SubscriberId>
    <d2p1:SubscriberTraceLevel>Off</d2p1:SubscriberTraceLevel>
    <d2p1:SubscriptionStatus>Created</d2p1:SubscriptionStatus>
    <d2p1:SyncResponse>
      <d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
      <d2p1:HasTempCommands>true</d2p1:HasTempCommands>
      <d2p1:LastRowVersion>1</d2p1:LastRowVersion>
      <d2p1:SqlCommandBytes>QEBA</d2p1:SqlCommandBytes>
      <d2p1:SqlCommands>
        <d2p1:SyncCommand>
          <d2p1:ChangeOperation>sample string 2</d2p1:ChangeOperation>
          <d2p1:RowData>sample string 3</d2p1:RowData>
          <d2p1:TableName>sample string 1</d2p1:TableName>
        </d2p1:SyncCommand>
        <d2p1:SyncCommand>
          <d2p1:ChangeOperation>sample string 2</d2p1:ChangeOperation>
          <d2p1:RowData>sample string 3</d2p1:RowData>
          <d2p1:TableName>sample string 1</d2p1:TableName>
        </d2p1:SyncCommand>
        <d2p1:SyncCommand>
          <d2p1:ChangeOperation>sample string 2</d2p1:ChangeOperation>
          <d2p1:RowData>sample string 3</d2p1:RowData>
          <d2p1:TableName>sample string 1</d2p1:TableName>
        </d2p1:SyncCommand>
      </d2p1:SqlCommands>
    </d2p1:SyncResponse>
    <d2p1:ClearDownInterval>6</d2p1:ClearDownInterval>
    <d2p1:DatabaseName>sample string 8</d2p1:DatabaseName>
    <d2p1:DefaultFileSetId>19</d2p1:DefaultFileSetId>
    <d2p1:ErrorMessage>sample string 10</d2p1:ErrorMessage>
    <d2p1:ExpiryDays>11</d2p1:ExpiryDays>
    <d2p1:HasTempCommands>true</d2p1:HasTempCommands>
    <d2p1:IsMobile>true</d2p1:IsMobile>
    <d2p1:LastEventTime>2024-11-21T09:42:25.4805296+00:00</d2p1:LastEventTime>
    <d2p1:LicenceCount>18</d2p1:LicenceCount>
    <d2p1:LiveStatusCompanyId>16</d2p1:LiveStatusCompanyId>
    <d2p1:LocalDbName>sample string 13</d2p1:LocalDbName>
    <d2p1:PublicationId>2</d2p1:PublicationId>
    <d2p1:PublicationType>None</d2p1:PublicationType>
    <d2p1:PushInterval>4</d2p1:PushInterval>
    <d2p1:ServerDatetime>2024-11-21T09:42:25.4805296+00:00</d2p1:ServerDatetime>
    <d2p1:ServerName>sample string 7</d2p1:ServerName>
    <d2p1:ServiceUrl>sample string 14</d2p1:ServiceUrl>
    <d2p1:SubscriberName>sample string 1</d2p1:SubscriberName>
    <d2p1:SyncInterval>3</d2p1:SyncInterval>
    <d2p1:TaskRefreshInterval>5</d2p1:TaskRefreshInterval>
  </SubscriberDetails>
</PendingTransactions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "Result": []
}

application/xml, text/xml

Sample:
<TransactionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Push">
  <ErrorMessage>sample string 1</ErrorMessage>
  <Result xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</TransactionResult>