Last active
November 20, 2020 17:49
-
-
Save eddychilakiller/8badae78b334c1265ff88a511bd81224 to your computer and use it in GitHub Desktop.
prueba GLPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Crea un nuevo ticket | |
| curl -X "POST" "http://10.100.10.3/apirest.php/Ticket/" \ | |
| -H 'Content-Type: application/json' \ | |
| -H 'Session-Token: j22ba8v4n19g9n6ao84moom5bc' \ | |
| -H 'App-Token: prueba1' \ | |
| -H 'Authorization: ' \ | |
| -d $'{ | |
| "input": { | |
| "status": 1, | |
| "global_validation": 2, | |
| "itilcategories_id": 1, | |
| "priority": 2, | |
| "type": 2, | |
| "requesttypes_id": 2, | |
| "date": "2020-11-01 00:00:00", | |
| "time_to_resolve": "14-11-2020 00:00", | |
| "urgency": 2, | |
| "impact": 1, | |
| "locations_id": 1, | |
| "name": "REQ 2020Nov11: Solicitud de actualización de imagen institucional", | |
| "content": " Prueba en el req 2020Nov11" | |
| } | |
| }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment