Detalles de la petición
-
Uri: /api/v9/item/{ItemId}
-
Tipo: PUT
-
Encabezados requeridos:
- content-type: application/json
- X-Authorization: Bearer {token}
Parámetros
Nombre | Tipo de dato | Obligatorio | Descripción |
---|---|---|---|
ItemId | Número | Si | Identificador del caso |
itemType | String | Sí | Tipo de caso |
consoleType | String | Sí | Tipo de consola |
modelId | Int | Sí | Identificador del modelo |
stateId | Int | Sí | Identificador del estado |
listAdditionalField | List | Sí | Solo son obligatorios los campos adicionales requeridos. |
itemVersion | Int | Sí | Versión del caso |
Cuerpo de la petición
{
"categoryId": 623,
"cause": "",
"ciId": 0,
"commentary": "",
"companyId": 578,
"consoleType": "specialist",
"constructionInitialDate": null, "constructionFinalDate": null,
"correctActions": "",
"currentTime": 0,
"customerId": 0,
"description": "Test postman ", "estimatedCost": 0,
"estimatedTime": 0,
"foregroundColorRgb": "",
"followUpActions": "",
"groupId": 5,
"hasMoreInformation": false,
"hasPendingSurvey": false,
"impactId": 7203,
"incorrectActions": "",
"instalationInitialDate": null,
"instalationFinalDate": null,
"instance": 1632254175313,
"isFeeAvailable": true,
"itemType": 4,
"itemVersion": 2,
"knownError": null,
"majorProblem": null,
"modelId": 70,
"priorityId": 9,
"priorityReason": "",
"projectId": 19,
"providerId": null,
"psoInitialDate": null,
"psoFinalDate": null,
"realCost": 0,
"recomendations": "",
"registryTypeId": 7199,
"responsibleId": 4479,
"serviceId": 140,
"stateId": 267,
"subject": "Prueba póstman",
"surveyToken": "",
"testInitialDate": null,
"testFinalDate": null,
"thirdParty": false,
"transformed": false,
"unitId": null,
"urgencyId": 5,
"listAdditionalField": [
{
"boolValue": null,
"catalogId": null,
"dataSourceId": null,
"dateValue": null,
"description": "[ES] Nombre Aplicativo", "enable": true,
"fieldId": 977,
"fieldType": 3,
"fieldTypeName": "List",
"floatValue": null,
"identifier": "A001",
"inputStream": null,
"intValue": 118,
"itemId": 84486,
"mandatory": true,
"name": "[ES] Software 1",
"order": 1,
"projectId": null,
"stringValue": "Aranda Data Safe",
"type": 4,
"url": null,
"visible": true
},
{
"boolValue": null,
"catalogId": null,
"dataSourceId": null,
"dateValue": null,
"description": "[ES] Nombre Aplicativo", "enable": true,
"fieldId": 978,
"fieldType": 3,
"fieldTypeName": "List",
"floatValue": null,
"identifier": "A002",
"inputStream": null,
"intValue": 146,
"itemId": 84486,
"mandatory": true,
"name": "[ES] Software 2",
"order": 2,
"projectId": null,
"stringValue": "Aranda Virtual Support", "type": 4,
"url": null,
"visible": true
},
{
"boolValue": null,
"catalogId": null,
"dataSourceId": null,
"dateValue": null,
"description": "[ES] Nombre Aplicativo", "enable": true,
"fieldId": 979,
"fieldType": 3,
"fieldTypeName": "List",
"floatValue": null,
"identifier": "A003",
"inputStream": null,
"intValue": 156,
"itemId": 84486,
"mandatory": true,
"name": "[ES] Software 3",
"order": 3,
"projectId": null,
"stringValue": "Aranda Field Service",
"type": 4,
"url": null,
"visible": true
},
{
"boolValue": null,
"catalogId": null,
"dataSourceId": null,
"dateValue": null,
"description": "[ES] Nombre Aplicativo", "enable": true,
"fieldId": 980,
"fieldType": 3,
"fieldTypeName": "List", "floatValue": null,
"identifier": "A004",
"inputStream": null,
"intValue": 176,
"itemId": 84486,
"mandatory": true,
"name": "[ES] Software 4",
"order": 4,
"projectId": null,
"stringValue": "Aranda Path Management", "type": 4,
"url": null,
"visible": true
}
]
}
Respuesta
{
"itemVersion": 3, "result": true
}
Parámetros Response
Nombre | Tipo de dato | Descripción |
---|---|---|
result | Boleano | Resultado de la operación |
itemVersion | Número | Versión del caso |
Mensajes de error
Código | Estado HTTP | Mensaje de error |
---|---|---|
400 | BadRequest | \r\nNombre del parámetro: Consoletype |
400 | BadRequest | \r\nNombre del parámetro: Id |
400 | BadRequest | \r\nNombre del parámetro: Itemtype |