IJsonpWsEndUserGetCredit Method
|
This method obtain update value of account's amount.
By GetCredit() method it's possible verify authenticated account's amount
By GetCredit() method it's possible also granted trust.
Namespace:
Aruba.Cloud.WsEndUser
Assembly:
Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "GetCredit/{jsonp}/{userName}/{token}")]
Stream GetCredit(
string jsonp,
string userName,
string token
)<OperationContractAttribute>
<WebGetAttribute(ResponseFormat := WebMessageFormat.Json, UriTemplate := "GetCredit/{jsonp}/{userName}/{token}")>
Function GetCredit (
jsonp As String,
userName As String,
token As String
) As Stream[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat::Json, UriTemplate = L"GetCredit/{jsonp}/{userName}/{token}")]
Stream^ GetCredit(
String^ jsonp,
String^ userName,
String^ token
)[<OperationContractAttribute>]
[<WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "GetCredit/{jsonp}/{userName}/{token}")>]
abstract GetCredit :
jsonp : string *
userName : string *
token : string -> Stream
function GetCredit(
jsonp : String,
userName : String,
token : String
) : Stream
Parameters
- jsonp
- Type: SystemString
ArubaCloud.Response.Credit.call - userName
- Type: SystemString
Type string to indicate account. Format: ARU-XXXX - token
- Type: SystemString
Type string to rappresent valid token for authenticated account
Return Value
Type:
Stream
The method returns an object containing information about the user's credit WsResultOfCredit.
Examples
It’s possible call method by follow notation:
Below an example of response:
ArubaCloud.Response.Credit.call({
"ExceptionInfo": null,
"ResultCode": 0,
"ResultMessage": null,
"Success": true,
"Value": {
"OverdraftLimit": 0,
"Value": 131.4400
}
})
See Also