TBS Apps API

<back to all web services

UserMigratedInfoRequestV2

Requires Authentication
The following routes are available for this service:
GET,POST/UserMigratedInfoV2Gets migration data for the clientGets migration data for the client
UserMigratedInfoResponseV2 Parameters:
NameParameterData TypeRequiredDescription
UserMigratedInfoformList<UserMigrationInfo>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
UserMigrationInfo Parameters:
NameParameterData TypeRequiredDescription
MigrationNameformstringNo
MigrationDateformDateTimeNo
BalanceformdecimalNo
FreeBetBalanceformdecimalNo
FreeBetCountformintNo
WelcomeBonusformdecimalNo
MigratedBonusBalanceformdecimalNo
MigratedBalanceformdecimalNo
ClientTypeformstringNo
DateJourneyCompletedformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /UserMigratedInfoV2 HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UserMigratedInfoRequestV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UserMigratedInfoResponseV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
  <ErrorNo xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</ErrorNo>
  <Identity xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</Identity>
  <Message xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">String</Message>
  <UserMigratedInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.ApiModels">
    <d2p1:UserMigrationInfo>
      <d2p1:Balance>0</d2p1:Balance>
      <d2p1:ClientType>String</d2p1:ClientType>
      <d2p1:DateJourneyCompleted>0001-01-01T00:00:00</d2p1:DateJourneyCompleted>
      <d2p1:FreeBetBalance>0</d2p1:FreeBetBalance>
      <d2p1:FreeBetCount>0</d2p1:FreeBetCount>
      <d2p1:MigratedBalance>0</d2p1:MigratedBalance>
      <d2p1:MigratedBonusBalance>0</d2p1:MigratedBonusBalance>
      <d2p1:MigrationDate>0001-01-01T00:00:00</d2p1:MigrationDate>
      <d2p1:MigrationName>String</d2p1:MigrationName>
      <d2p1:WelcomeBonus>0</d2p1:WelcomeBonus>
    </d2p1:UserMigrationInfo>
  </UserMigratedInfo>
</UserMigratedInfoResponseV2>