Web Services
The following web service functions are used by the Alpha Trading API, currently.
Validate Account
Method: POST
Description: This method will validate the account and return unique GUID. The user needs to pass this GUID in future service calls along with other inputs. This GUID will expire after 30 min, automatically, for idle user.
Service: http://185.62.85.23:6006/TS_ReportingAPI.svc/ValidateAccount
Input
public class LoginCredential
{
public string UserId;
public string Password;
public int ConnectionId; // Primary Key of Gateway Connection table
}Output
public class ValidationResponse
{
public int ConnectionId;
public Result result;
public string message;
public int AccountId;
public string UserId;
public string Password;
public bool IsAuthenticated;
public bool Active;
public string Guid;
}
public enum Result
{
SUCCESS = 0,
FAILED
}Get Account Audit Report
Method: POST
Description: This method will return the audit report of an account. Only Master/Slave Accounts (not supported Index & Coverage accounts).
Service: http://185.62.85.23:6006/TS_ReportingAPI.svc/GetAccountAuditReportAbbrevi
Input
Output
Last updated
Was this helpful?