Petition Details
- Base URL: {host}/ASMSAPI/
- URI:
/api/v9/item/list/parent/{childId}/close
- 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/item/list/parent/{childId}/close
Parameters
Name | Data type | Obligatory | Description | |
---|---|---|---|---|
childId | Number | Yes | Identifier of the case that was closed. |
-
Body of the petition
- N/A
- Answer
{
"content":[
{
"id": 1,
"itemType": 2,
"idbyProject": "RF-240"
}
],
"totalItems":1
}
Parameters Response
Name | Data type | Description |
---|---|---|
Id | Number | Case ID |
itemType | Number | Case Type |
idbyProject | Text | Case Project Identifier |
Error messages
Code | HTTP status | Error Message |
---|---|---|
500 | InternalServerError | { ‘exceptionMessage’: ‘xxxxxxxxx’, ‘message’: ‘FailureCloseRelatedParent’, ‘serviceName’: ‘ItemREST’, ‘operation’: ‘CloseRelatedParent’ } |