POST api/v1/Sync/BalanceCheck

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:50:56.2659543+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:50:56.2659543+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:50:56.2659543+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:50:56.2659543+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:50:56.2659543+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:50:56.2659543+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:
{
  "UserBalances": [
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:50:56.2815836+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:50:56.2815836+00:00",
      "LastSpendTime": "sample string 4"
    },
    {
      "UserId": "sample string 1",
      "Balance": 2.0,
      "LastSpendDate": "2024-11-21T09:50:56.2815836+00:00",
      "LastSpendTime": "sample string 4"
    }
  ],
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UserBalanceCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <ErrorMessage>sample string 1</ErrorMessage>
  <UserBalances>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:50:56.2815836+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:50:56.2815836+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
    <UserBalance>
      <Balance>2</Balance>
      <LastSpendDate>2024-11-21T09:50:56.2815836+00:00</LastSpendDate>
      <LastSpendTime>sample string 4</LastSpendTime>
      <UserId>sample string 1</UserId>
    </UserBalance>
  </UserBalances>
</UserBalanceCollection>