Services
Barrings operations services
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
A masmovil tenant |
subscriptionId |
path |
integer(int64) |
true |
Subscription identifier |
serviceId |
path |
integer(int64) |
true |
Service identifier |
Request example
1
2
3
4
|
curl -X GET https://barrings.masstack.com/v2/orgs/masmovil/subscriptions/22222/services/11111 \
-H "Accept: application/json"
|
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
A masmovil tenant |
subscriptionId |
path |
integer(int64) |
true |
Subscription identifier |
serviceId |
path |
integer(int64) |
true |
Service identifier |
body |
body |
ServiceOperationRequest |
true |
Contains services set and the reason to operate over a subscription |
1
2
3
4
|
{
"reason": "CUST",
"active": true
}
|
Name |
Type |
Required |
Description |
reason |
string |
true |
Reason |
active |
boolean |
true |
none |
Property |
Values |
reason |
one of [CUST, PROD] |
Request example
1
2
3
4
5
6
7
8
9
|
curl -X PATCH https://barrings.masstack.com/v2/orgs/masmovil/subscriptions/22222/services/11111 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'reason': 'CUST',
'active': true
}"
|
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
A masmovil tenant |
subscriptionId |
path |
integer(int64) |
true |
Subscription identifier |
Request example
1
2
3
4
|
curl -X GET https://barrings.masstack.com/v2/orgs/masmovil/subscriptions/22222/services \
-H "Accept: application/json"
|
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
A masmovil tenant |
subscriptionId |
path |
integer(int64) |
true |
Subscription identifier |
body |
body |
MultiServicesOperationRequest |
true |
Contains services set and the reason to operate over a subscription |
1
2
3
4
5
6
7
8
9
|
{
"reason": "CUST",
"services": [
{
"serviceId": 10,
"active": true
}
]
}
|
Name |
Type |
Required |
Description |
reason |
string |
true |
Reason |
services |
[ServiceDto] |
true |
[Service with status] |
Property |
Values |
reason |
one of [CUST, PROD] |
Request example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
curl -X PATCH https://barrings.masstack.com/v2/orgs/masmovil/subscriptions/22222/services \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'reason': 'CUST',
'services': [
{
'serviceId': 10,
'active': true
}
]
}"
|