POST api/Alarm/UpdateStatusTicket
Update Ticket Jita Status
Request Information
URI Parameters
None.
Body Parameters
{AlarmId , New Status (1. Abierto, 2. Resuelto, 3. Cerrado)}
IF_JIRA_CHANGE_STATUS| Name | Description | Type | Additional information |
|---|---|---|---|
| AlarmId | integer |
None. |
|
| Status | integer |
None. |
|
| Comment | string |
None. |
|
| AlaTagId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AlarmId": 1,
"Status": 2,
"Comment": "sample string 3",
"AlaTagId": 4
}
application/xml, text/xml
Sample:
<IF_JIRA_CHANGE_STATUS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.Models"> <AlaTagId>4</AlaTagId> <AlarmId>1</AlarmId> <Comment>sample string 3</Comment> <Status>2</Status> </IF_JIRA_CHANGE_STATUS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Results| Name | Description | Type | Additional information |
|---|---|---|---|
| OBJETO | Object |
None. |
|
| MENSAJE | string |
None. |
|
| STATUS | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"OBJETO": {},
"MENSAJE": "sample string 2",
"STATUS": "sample string 3"
}
application/xml, text/xml
Sample:
<Results xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.Models"> <MENSAJE>sample string 2</MENSAJE> <OBJETO /> <STATUS>sample string 3</STATUS> </Results>