V2
Services
Access to services
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| orgId | path | string | true | organization name |
| subscriptionId | path | integer(int64) | true | subscription identifier |
| query | query | Query | false | User ‘filter’ to get ‘active’ or ‘inactive’ services |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | SubscriptionServices |
| 400 | Bad Request | Invalid request body | ErrorMessage |
| 404 | Not Found | Resource not found | ErrorMessage |
| 405 | Method Not Allowed | Method not allowed | None |
200 - instance of SubscriptionServices
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| subscription_id | integer(int64) | false | identification subscription |
| items | [Service] | false | none |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| orgId | path | string | true | organization name |
| subscriptionId | path | integer(int64) | true | subscription identifier |
| serviceId | path | integer(int64) | true | service identifier |
| body | body | ServiceStatus | true | Change service status |
Request body - instance of ServiceStatus
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| active | boolean | false | active = True - Activate a service active = False - Deactivate a service |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorMessage |
| 404 | Not Found | Resource not found | ErrorMessage |
| 405 | Method Not Allowed | Method not allowed | None |
400 - instance of ErrorMessage
Custom schema example
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | integer(int32) | false | Custom error code |
| status | string | false | Status |
| message | string | false | Status message |
| detailMsg | string | false | Detailed description of the error |
Endpoints
Signups
Users
Accounts
Invoices
Terms
Payment info
Account migrations
Subscriptions
Products
Services
Bonuses
Promotions
Barrings
Workorders
Penalties