Detalhes da solicitação:
- URL base: {host}/ASMSAPI/
- URI: api/v9/ci/?id={id}
- Tipo: GET
-
Títulos obrigatórios:
- Tipo de conteúdo: application/json
- Autorização X: Portador {token}
Descrição do URL
- {host}: Ele representa o domínio do ambiente no qual a API está localizada.
- ASMSAPI/: Prefixo de API fixo.
- URI: Ponto de extremidade específico para a solicitação.
⚐ URL DE EXEMPLO:
https://{host}/ASMSAPI/api/v9/ci/?id={id}
Parâmetros:
Nome | Tipo de dado | Obrigatório | Descrição |
---|---|---|---|
Id | Int | Sim | InvalidTempItemId |
Responder:
{
`"acceptDate": 1620331200000,
`"additionals": [],
`"assetTag": "MABC02152018 - 1020R",
`"authorId": 4834,
`"barCode": "Probando Postman 2 actualizando", "brandId": 1050,
`"brandName": **null**,
`"categoryId": 31,
`"categoryImage": "<!DOCTYPE html> </html>",
`"categoryName": "[ES] RS Servicio Soporte",
`"checkOutDate": 1620331200000,
`"checkinDate": 1620331200000,
`"closedDate": **null**,
`"costCenterId": 7,
`"costCenterName": "hijo de pepito",
`"createdDate": 1623339419940,
`"depreciationMethod": 1,
`"description": "Descripción XXX Actualizando", "fileId": 141,
`"hasReconciliation": **false**,
`"id": 278,
`"impactId": 1,
`"impactName": "[ES] BAJO",
`"installationDate": **null**,
`"interfaceId": **null**,
`"isClosed": **false**,
`"licenseNumber": "1",
`"locationId": **null**,
`"manufacturerId": 193,
`"manufacturerName": "GRUPO MUTUAL ALAJUELA DE AHORRO Y PRESTAMO S.A "modelId": 30,
`"modelName": "[ES] Reportes",
`"modifiedDate": 1630499442117,
`"modifierId": 4883,
`"name": "SOPORTE TECNICO 010101",
`"picture": **null**,
`"price": 0.00,
`"providerId": 193,
`"providerName": "GRUPO MUTUAL ALAJUELA DE AHORRO Y PRESTAMO S.A.",
`"reasonId": **null**,
`"reasonName": **null**,
`"reponsibleDate": 1620331200000,
`"residualValue": **null**,
`"responsibleId": 6919,
`"responsibleName": "Duvan Carmona",
`"rfid": "RFID MABC02152018 - 1020R",
`"riskId": **null**,
`"riskName": "",
`"serial": "MABC02152018 - 1020R",
`"stateId": 17,
`"stateName": "[ES] Activo",
`"stringStateColor": "141.244.112",
`"type": 21,
`"unitId": 5004,
`"unitName": **null**,
`"unitSize": "120",
`"usefulLife": **null**,
`"version": 4,
`"hasMoreInformation": **false**,
`"isVotingProcess": **false**,
`"pictureId": **null**,
`"projects": [
`{
`"id": 25,
`"name": "[ES]ASMS"
`}
`]
}
Mensagens de erro:
Código | Status HTTP | Mensagem de erro |
---|---|---|
400 | Solicitação BadRequest | NeedsSomeArgument |
500 | Erro de servidor interno | FalhaGetDetailCi |
{
`"exceptionMessage": "NeedsSomeArgument", "message": "FailureGetDetail",
`"operation": "GetDetail",
`"serviceName": "CI"
}
{
`"exceptionMessage": "",
`"message": "FailureGetDetail", "operation": "GetDetail",
`"serviceName": "CI"
}