Request Detail:
- Base URL: {host}/ASMSAPI/
- URI: api/v9/article/{id}/project/{projectId}/folders/associated
- 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/article/{id}/project/{projectId}/folders/associated
Parameters:
Name | Guy | Obligatory | Description |
---|---|---|---|
Id | Numerical | Yes | Item identifier. |
projectId | Numerical | Yes | Project ID. |
Examples of uri:
api/v9/article/1746/project/2/folders/associated
Answer:
The service will return a Json with the following structure:
{
"content": [
{
"folderId": 1,
"hierarchy": "Folder artículos",
"imageIndex": 0,
"name": "Folder artículos",
"parentId": null,
"projectId": 4,
"stateId": 1,
"statusName": null
}
],
"totalItems": 1
}
}
Error messages:
Code | HTTP status | Error Message |
---|---|---|
500 | InternalServerError | FailureAddRelation |