Table 15. API Resources for Service Agreements
|
|
|
|
GET |
/serviceAgreements |
accountId |
Returns all service agreements for the current period. |
POST |
/serviceAgreements |
None |
Creates a service agreement and adds it to the billing hierarchy. The payload contains serviceAgreementId or (billerId, accountNumber saNumber). |
GET |
/serviceAgreements/{serviceAgreementId} |
None |
Returns information for a service agreement. |
PUT |
/serviceAgreements/{serviceAgreementId} |
None |
Updates information for a service agreement. |
PUT |
/serviceAgreements/{serviceAgreementId} |
None |
Cancels a service agreement. The payload must contain endDate=now to cancel a service agreement. |