Spend management endpoint

This topic provides a quick reference for the method signatures of spend management API methods.

Location: http://smile.example.com:port/stage/smile/ws/v2/spendmanagement

WSDL: http://smile.example.com:port/stage/smile/ws/v2/spendmanagement?wsdl

Table 1. Spend management API methods
Method Method signature Purpose
getSubscriptionSpendLimitState()
SubscriptionSpendLimit getSubscriptionSpendLimitState(
 string usn, 
 string spendLimitId)
Returns the current state of a specified spend limit for a subscription.
getSubscriptionSpendLimitStates()
SubscriptionSpendLimitState getSubscriptionSpendLimitStates(
 string usn)
Returns the current state of all spend limits for a subscription.
getSubscriptionUsageAlertGroup()
SubscriptionUsageAlertGroup getSubscriptionUsageAlertGroup(
 string usn,
 string usageAlertGroupId)
Returns the current state of a specified usage alert group for a subscription.
getSubscriptionUsageAlertGroups()
SubscriptionUsageAlertGroups getSubscriptionUsageAlertGroups(
 string usn)
Returns the current state of all usage alert groups for a subscription.
getSubscriptionValuePoolState()
SubscriptionValuePool getSubscriptionValuePoolState(
 string usn, 
 string valuePoolId)
Returns the current state of a specified value pool for a subscription.
getSubscriptionValuePoolStates()
SubscriptionValuePoolState getSubscriptionValuePoolStates(
 string usn)
Returns the current state of all value pools for a subscription.
setSpendLimitAlertThresholdOverrides()
void setSpendLimit AlertThresholdOverrides(
 string usn,
 SubscriptionSpendLimitAlertThresholdOverrideRequest subscriptionSpendLimitAlertThresholdOverrideRequest)
Changes the alert thresholds for a subscription spend limit.
setSpendLimitOverride()
void setSpendLimitOverride(
 string usn,
 SubscriptionSpendLimitOverrideRequest subscriptionSpendLimitOverrideRequest)
Permanently changes the value of a subscription spend limit.
setTemporarySpendLimitOverride()
void setTemporarySpend LimitOverride(
 string usn,
 TemporarySubscriptionSpendLimitOverrideRequest temporarySubscriptionSpendLimitOverrideRequest)
Temporarily changes the value of a subscription spend limit.