CIM77 - Service reports alleen laatste 5

This commit is contained in:
“VeLiTi”
2024-05-16 15:56:20 +02:00
parent 7612073a5f
commit e4cc9f4ef3
6 changed files with 50 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ if (!empty($responses)){$responses = decode_payload($responses);}else{$responses
$responses = $responses[0];
//CALL TO API FOR History
$api_url = '/v1/equipments/equipmentID='.$_GET['equipmentID'].'&type=ServiceReport&history=';
$api_url = '/v1/equipments/equipmentID='.$_GET['equipmentID'].'&type=ServiceReport&history=1';
$history = ioServer($api_url,'');
//Decode Payload