GetAgencyBalance method can be used to know the Agency Balance in TBO Account. Service URL (REST) to be used: http://api.tektravels.com/SharedServices/SharedData.svc/rest/GetAgencyBalance
Level
Element
Format
Comments
Mandatory/ Optional
1
ClientId
String
Client ID – ApiIntegrationNew
Mandatory
2
TokenAgencyId
Agency ID
3
TokenMemberId
Member ID
4
EndUserIp
IP address of the End User
5
TokenId
Token ID
Mandatory (Token Id received in authenticate response)
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)