POST api/v1/Subscriber/SubscriberStatus

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
subName
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubName": "sample string 1",
  "SubKey": "sample string 2",
  "LastRowVersion": 3,
  "SubscriberId": 4,
  "PublicationType": 0,
  "PublicationId": 5,
  "Balances": [
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:52:59.3800393+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:52:59.3800393+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:52:59.3800393+00:00",
      "LastSpendTime": "sample string 4"
    }
  ],
  "BalanceBytes": "QEBA"
}

application/xml, text/xml

Sample:
<SubscriberName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <BalanceBytes>QEBA</BalanceBytes>
  <Balances>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:52:59.3800393+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:52:59.3800393+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:52:59.3800393+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
  </Balances>
  <LastRowVersion>3</LastRowVersion>
  <PublicationId>5</PublicationId>
  <PublicationType>None</PublicationType>
  <SubKey>sample string 2</SubKey>
  <SubName>sample string 1</SubName>
  <SubscriberId>4</SubscriberId>
</SubscriberName>

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>