Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

HTTP method: POST

URL: http://intellisms/services/rest/admin/addCredits

Parameters

parameter name
description
example value
resellerReseller's usernamereseller
passwordReseller's passwordpassword
customerNameName of customer to add credits to. Customer must belong to the reseller.cheescakeshop
creditsToAddNumber of credits to add to the account group. Can be negative to subtract credits1000

Example:

http://intellisms/services/rest/admin/addCredits?reseller=reseller&password=password&customerName= cheescakeshop&creditsToAdd=1000

Return values:

return value name
description
example
creditsNumber of credits after operation1500
statusError code, 0 for no error1

Mock

There is mock REST service implemented. It always returns status 0 ("success") and number of credits after the operation is equal to number of added credits.

  • No labels