POST api/v1/Subscriber/SetSubscriberStatus

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
currentStatus
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "LicenceKey": "sample string 1",
  "SubscriptionStatus": 0,
  "SnaphotFileName": "sample string 2",
  "LastSnapshotCTVersion": 3,
  "SubscriberId": 4,
  "ScriptPending": "sample string 5",
  "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
}

application/xml, text/xml

Sample:
<SubscriberStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <IsPendingSelect>true</IsPendingSelect>
  <LastSnapshotCTVersion>3</LastSnapshotCTVersion>
  <LicenceKey>sample string 1</LicenceKey>
  <ScriptPending>sample string 5</ScriptPending>
  <SnaphotFileName>sample string 2</SnaphotFileName>
  <SubscriberId>4</SubscriberId>
  <SubscriberTraceLevel>Off</SubscriberTraceLevel>
  <SubscriptionStatus>Created</SubscriptionStatus>
  <SyncResponse>
    <ErrorMessage>sample string 2</ErrorMessage>
    <HasTempCommands>true</HasTempCommands>
    <LastRowVersion>1</LastRowVersion>
    <SqlCommandBytes>QEBA</SqlCommandBytes>
    <SqlCommands>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
    </SqlCommands>
  </SyncResponse>
</SubscriberStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "LicenceKey": "sample string 1",
  "SubscriptionStatus": 0,
  "SnaphotFileName": "sample string 2",
  "LastSnapshotCTVersion": 3,
  "SubscriberId": 4,
  "ScriptPending": "sample string 5",
  "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
}

application/xml, text/xml

Sample:
<SubscriberStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <IsPendingSelect>true</IsPendingSelect>
  <LastSnapshotCTVersion>3</LastSnapshotCTVersion>
  <LicenceKey>sample string 1</LicenceKey>
  <ScriptPending>sample string 5</ScriptPending>
  <SnaphotFileName>sample string 2</SnaphotFileName>
  <SubscriberId>4</SubscriberId>
  <SubscriberTraceLevel>Off</SubscriberTraceLevel>
  <SubscriptionStatus>Created</SubscriptionStatus>
  <SyncResponse>
    <ErrorMessage>sample string 2</ErrorMessage>
    <HasTempCommands>true</HasTempCommands>
    <LastRowVersion>1</LastRowVersion>
    <SqlCommandBytes>QEBA</SqlCommandBytes>
    <SqlCommands>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
    </SqlCommands>
  </SyncResponse>
</SubscriberStatus>