Click or drag to resize

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
)

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:
https://api.dc1.computing.cloud.it/wsenduser/v1.3/jsonp/GetCredit/ArubaCloud.Response.Credit.call/ARU-0000/e20cf5fa-ce5c-489c-9160-b26efdc1bad8

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