List of Services Request Details
- Base URL: {host}/ASMSAPI/
- Uri: /api/v9/project/{id}/{itemType}/services/search?console={console}&clientId={clientId}&co mpanyId={companyId}&ciId={ciId}&application={application}&criteria={criteria}
- Type: GET
-
Required headings:
- content-type: application/json
- X-Authorization: Bearer {token}
URL Description
- {host}: It represents the domain of the environment in which the API is located.
- ASMSAPI/: Fixed API prefix.
- URI: Specific endpoint for the request.
⚐ EXAMPLE URL:
https://{host}/ASMSAPI/api/v9/project/{id}/{itemType}/services/search?console={console}&clientId={clientId}&co mpanyId={companyId}&ciId={ciId}&application={application}&criteria={criteria}
Parameters
Name | Data type | Obligatory | Description |
---|---|---|---|
Id | Number | Yes | Project ID |
itemType | Number | Yes | Case Type |
console | Number | Yes | Console Type, Specialist = 1, Client = 2, Administrator = 3 |
clientId | Number | Yes | Customer ID |
companyId | Number | No | Company Identifier |
CiId | Number | No | IC ID |
Application | Text | Yes | Application Name, ASDK |
Criteria | Text | Yes | Text to search |
Body of the petition
N/A
Example URI:
- /api/v9/project/25/4/services/search?console=Specialist&clientId=&companyId=&ciId=&a pplication=ASDK&criteria=a
**Respuesta**
{
"content": [
{
"id": 81,
"name": "[ES] Cambios o sugerencias", "proyectId": null
},
{
"id": 136,
"name": "[ES] Cambios New",
"proyectId": null
},
{
"id": 138,
"name": "[ES] Servicio Carlos",
"proyectId": null }
],
"totalItems": 3
}
Error messages
Code | HTTP status | Error Message |
---|---|---|
500 | InternalServerError | FailureGetServices |