See additional fields
Details of the request:
- URI: api/v8.6/additionalfield
- Type: POST
-
Required headings:
- Content-Type: application/json
- Authorization: TOKEN
Parameters:
Name | Data type | Obligatory | Description |
---|---|---|---|
ProjectId | Number | No | Id of the Ci project. |
CiId | Text | No | ID of the CI, if application is foreign it receives its foreign id. |
CategoryId | Number | No | Id of the Ci category. |
TypeId | Number | No | Type of Ci. |
Body of the petition:
Example:
{
"TypeId": "14"
}
Answer:
[
{
"Alias": "ADD_STR_1",
"Caption": "Prueba caracteristica en 80",
"Id": 92,
"IdLookField": 0,
"Mandatory": false,
"Order": 0,
"Type": 1,
"Value": null,
"ValueLookField": null,
"Visible": false
},
{
"Alias": "ADD_STR_2",
"Caption": "Home",
"Id": 213,
"IdLookField": 0,
"Mandatory": false,
"Order": 0,
"Type": 1,
"Value": null,
"ValueLookField": null,
"Visible": false
},
…
]
Error messages:
Code | HTTP status | Error Message |
---|---|---|
400 | BadRequest | InvalidToken |
404 | BadRequest | InvalidUserId |
400 | BadRequest | InvalidCiId |
400 | BadRequest | InvalidProjectIdByDefault |
404 | NotFound | NotFoundCiId |
404 | NotFound | NotFoundTypeId |
500 | InternalServerError | FailureGetListAditionalFields |