GetAgencyBalance method can be used to get realtime Balance in TBO Account. Service URL (REST) to be used: http://Sharedapi.tektravels.com/SharedData.svc/rest/GetAgencyBalance
Level
Element
Format
Remark
Mandatory/ Optional
1
ClientId
String
ApiIntegrationNew (Staging)tboprod (Production)
Mandatory
2
TokenAgencyId
It will be received in authenticate response
3
TokenMemberId
4
EndUserIp
IP address of the End User
5
TokenId
Comments
Status
Enumeration
Mandatory Not Set = 0 Successful = 1,Failed = 2
AgencyType
Agency Type
Mandatory Not Set = 0, Cash = 1, Credit = 2
CashBalance
Decimal
Cash Balance
CreditBalance
Credit Balance
Error
5.1
ErrorCode
Integer
Code corresponding to the Error
5.2
ErrorMessage
Contains error message
Mandatory (Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)