Order Service
Using this API, category for which you wanted to reorder services can be modified/updated.
Resource Informations
| Name | Value |
|---|---|
| Requires authentication? | Yes |
| Rate limited? | Yes |
Request
Request headers
| Key | Value |
|---|---|
| Authorization | Bearer token |
| Content-Type | application/json |
HTTP request URL for SSMS
PUT https://{tenantId}.{hostname}/digitanium/v3/mpower/services/order?category=<CATEGORY>
HTTP request URL for SHIFT
PUT https://{hostname}/auth/realms/{tenantId}/mpower/v1/services/order/?category={CATEGORY}
note
API requests must be made over https. Calls made over plain http will fail.
Parameters (Required)
| Field Name | Type | Description |
|---|---|---|
| category (Required) | String | Category for which you wanted to Reorder Services. Possible values partner, backend, operator, information |
Request body
| Field Name | Type | Description |
|---|---|---|
| uuid | String | UUID of the service for which position to be modified |
| position | Integer | Position of the service where it needs to be in app |
Sample Request
[
{
"uuid": "*****",
"position": 1,
},
{
"uuid": "*****",
"position": 1,
}, ...
]
Response
| Field Name | Type | Description |
|---|---|---|
| uuid | UUID | Unique ID of service provider |
| name | String | Name of the service |
Sample Response
[
{
"uuid": "*****",
"name": "operator"
},
{
"uuid": "*****",
"name": "operator one"
}
]
Response Status Information
| Status | Type | Description |
|---|---|---|
| 200 | OK | For successfull update |
| 400 | status | Bad request |
| 401 | status | Unauthorized |