Contract endpoint
This topic provides a quick reference for the method signatures of contract API methods.
Location: http://smile.example.com:port/stage/smile/ws/v2/contract
WSDL: http://smile.example.com:port/stage/smile/ws/v2/contract?wsdl
Method | Method signature | Purpose |
---|---|---|
addSubscriptionContract() |
|
Adds a contract to a subscription. |
commitContractTermination() |
|
Terminate a contract on a subscription. |
getActiveSubscriptionContract() |
|
Returns details about a contract on a subscription. |
getAvailableContractsForPlan() |
|
Returns contracts available to subscriptions on a particular plan. |
getContractsForService() |
|
Returns contracts on a particular service. |
getCurrentSubscriptionContract() |
|
Returns the current contract for a subscription. |
getSubscriptionContractById() |
|
Returns a subscription contract by ID. |
getSubscriptionContracts() |
|
Returns a lists of all contracts for a subscription. |
proposeContractTermination() |
|
Propose a contract termination on a subscription. |
updateSubscriptionContract() |
|
Updates a subscription contract with new values. |