Petition Details
- URL Base: {host}/ASMSAPI/
- URI:
/api/v9/catalog/{id}
- Guy:POST
-
Required Headers:
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/catalog/{id}
Parameters
Name | Data type | Obligatory | Description |
---|---|---|---|
value | Text | Yes | Value Name |
ParentId | Number | NO |
Body of the petition
{
"Value": "Colombia",
"ParentId": "217122"
}
Answer
{
"result": true
}
Response Parameters
Name | Data type | Description |
---|---|---|
result | Boolean | Indicates whether the operation was successful |
Error Messages
Code | HTTP status | Error Message |
---|---|---|
403 | Unauthorized | DoNotHavePermissionForThisAction |
400 | Bad Request | FailureAddCatalogValue |