<?php
$xml_string='<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ReadTestTransactionsDetailsResponse xmlns="http://www.rta.ae/ActiveMatrix/ESB/ReadTestTransactionDetailsService/ReadTestTransactionDetailsServiceSchema/XMLSchema">
         <testTransactionsDetails>
            <testTransactionReferenceNumber>10002494</testTransactionReferenceNumber>
            <testDate>2020-11-18+04:00</testDate>
            <testStartTime>2020-11-18T10:26:34+04:00</testStartTime>
            <testTokenNumber>100</testTokenNumber>
            <testTransactionStatusCode>14</testTransactionStatusCode>
            <testTransactionStatusDesc>Paid</testTransactionStatusDesc>
            <testTransactionStatusDescAr>مدفوع</testTransactionStatusDescAr>
            <boothOperatorName>shi_koshis</boothOperatorName>
            <testCompletionTime>2020-11-18T10:29:46+04:00</testCompletionTime>
            <vehiclePlateNumber>1035</vehiclePlateNumber>
            <vehiclePlateSourceId>2</vehiclePlateSourceId>
            <vehiclePlateSourceDesc>Dubai</vehiclePlateSourceDesc>
            <vehiclePlateSourceDescAr>دبي</vehiclePlateSourceDescAr>
            <vehiclePlateCategoryId>31</vehiclePlateCategoryId>
            <vehiclePlateCategoryDesc>Private</vehiclePlateCategoryDesc>
            <vehiclePlateCategoryDescAr>خصوصي</vehiclePlateCategoryDescAr>
            <vehiclePlateCodeId>101</vehiclePlateCodeId>
            <vehiclePlateCodeDesc>B</vehiclePlateCodeDesc>
            <vehiclePlateCodeDescAr>B</vehiclePlateCodeDescAr>
            <trafficFileNumber>10107792</trafficFileNumber>
            <chassisNumber>5TFAW5F16FX428879</chassisNumber>
            <numberOfCylinders>8</numberOfCylinders>
            <unloadedWeight>1100</unloadedWeight>
            <loadedWeight>2900</loadedWeight>
            <numberOfSeats>5</numberOfSeats>
            <numberOfDoors>4</numberOfDoors>
            <fuelTypeId>1</fuelTypeId>
            <fuelTypeDesc>Benzene</fuelTypeDesc>
            <fuelTypeDescAr>بنزين</fuelTypeDescAr>
            <engineNumber>NONE</engineNumber>
            <vehicleManufacturerId>10251</vehicleManufacturerId>
            <vehicleManufacturerDesc>TOYOTA</vehicleManufacturerDesc>
            <vehicleManufacturerDescAr>TOYOTA</vehicleManufacturerDescAr>
            <vehicleModelId>310000000152</vehicleModelId>
            <vehicleModelDesc>TUNDRA</vehicleModelDesc>
            <vehicleModelDescAr>TUNDRA</vehicleModelDescAr>
            <vehicleColors>
               <vehicleColor>
                  <sequenceId>0</sequenceId>
                  <colorCode>11</colorCode>
                  <colorDesc>Brown</colorDesc>
                  <colorDescAr>بني</colorDescAr>
               </vehicleColor>
            </vehicleColors>
            <vehicleModelYear>2015</vehicleModelYear>
            <vehicleClassId>3</vehicleClassId>
            <vehicleClassDesc>Light Vehicle</vehicleClassDesc>
            <vehicleClassDescAr>مركبة خفيفة</vehicleClassDescAr>
            <vehicleTestingPartnerId>2</vehicleTestingPartnerId>
            <vehicleTestingPartnerDesc>Al Shirawi Enterprises</vehicleTestingPartnerDesc>
            <vehicleTestingPartnerDescAr>مشاريع الشيراوي</vehicleTestingPartnerDescAr>
            <vehicleTestingPartnerBranchId>2</vehicleTestingPartnerBranchId>
            <vehicleTestingPartnerBranchDesc>Al Shirawi Al Quoz</vehicleTestingPartnerBranchDesc>
            <vehicleTestingPartnerBranchDescAr>مشاريع الشيراوي القوز</vehicleTestingPartnerBranchDescAr>
            <testServiceCode>1</testServiceCode>
            <testServiceDesc>Renewal Test</testServiceDesc>
            <testServiceDescAr>فحص التجديد</testServiceDescAr>
            <vehicleTestAttemptNumber>1</vehicleTestAttemptNumber>
            <overallTestResultCode>1</overallTestResultCode>
            <overallTestResultDesc>Pass</overallTestResultDesc>
            <overallTestResultDescAr>ناجح</overallTestResultDescAr>
            <mileage>10002494</mileage>
            <workingShiftSequence>2</workingShiftSequence>
            <axles>
               <axle>
                  <number>2</number>
                  <weight>0</weight>
               </axle>
            </axles>
            <inspectors>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>2</relatedTestId>
                  <relatedTestDesc>Braking systems Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الفرامل</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:26:34+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:27:20+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:26:34+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:27:20+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>5</relatedTestId>
                  <relatedTestDesc>Steering and steering wheel</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام التوجيه وعجلة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>6</relatedTestId>
                  <relatedTestDesc>Visibility Test</relatedTestDesc>
                  <relatedTestDescAr>فحص الوضوح</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>8</relatedTestId>
                  <relatedTestDesc>Axles, wheels, tyres, suspension Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المحاور ، العجلات ، الأطارات ، والتعليق</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>9</relatedTestId>
                  <relatedTestDesc>Chassis and Attachments Test</relatedTestDesc>
                  <relatedTestDescAr>فحص البدن وملحقاته</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>10</relatedTestId>
                  <relatedTestDesc>Other equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المعدات الأخرى</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>11</relatedTestId>
                  <relatedTestDesc>Exhaust emissions Test</relatedTestDesc>
                  <relatedTestDescAr>فحص انبعاثات العادم</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:26:34+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:27:20+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>15</relatedTestId>
                  <relatedTestDesc>Vehicle Information Test for Renewal</relatedTestDesc>
                  <relatedTestDescAr>فحص هوية المركبة للتجديد</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>25</relatedTestId>
                  <relatedTestDesc>Dashboard</relatedTestDesc>
                  <relatedTestDescAr>لوحة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T10:27:26+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T10:29:40+04:00</testCompletionTime>
               </inspector>
            </inspectors>
            <countOfDefects>0</countOfDefects>
            <automatedTestsReadings>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30101</parameterId>
                  <parameterDesc>Service break imbalance on front axle</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهة اليمنى واليسرى</parameterDescAr>
                  <readingValue>5</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30102</parameterId>
                  <parameterDesc>Service break imbalance on rear axle</parameterDesc>
                  <parameterDescAr>عدم التوازن لفرامل الخدمه على المحور الخلفي</parameterDescAr>
                  <readingValue>4</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testElementId>401</testElementId>
                  <testElementDesc>Parking Brake / Hand brake Performance</testElementDesc>
                  <testElementDescAr>اداء فرامل اليد او فرامل الوقوف</testElementDescAr>
                  <parameterId>40101</parameterId>
                  <parameterDesc>Parking break imbalance between LHS and RHS</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد</parameterDescAr>
                  <readingValue>0</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120101</parameterId>
                  <parameterDesc>Vehicle on Petrol CO Reading</parameterDesc>
                  <parameterDescAr>نسبة أول اكسيد الكربون للبترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120102</parameterId>
                  <parameterDesc>Vehicle on Petrol HC Reading</parameterDesc>
                  <parameterDescAr>نسبة كربيد الهيدروجين لمركبات البترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>PPM VOL</readingUnit>
               </testReading>
            </automatedTestsReadings>
         </testTransactionsDetails>
         <testTransactionsDetails>
            <testTransactionReferenceNumber>10002495</testTransactionReferenceNumber>
            <testDate>2020-11-18+04:00</testDate>
            <testStartTime>2020-11-18T12:22:06+04:00</testStartTime>
            <testTokenNumber>101</testTokenNumber>
            <testTransactionStatusCode>14</testTransactionStatusCode>
            <testTransactionStatusDesc>Paid</testTransactionStatusDesc>
            <testTransactionStatusDescAr>مدفوع</testTransactionStatusDescAr>
            <boothOperatorName>shi_koshis</boothOperatorName>
            <testCompletionTime>2020-11-18T12:24:40+04:00</testCompletionTime>
            <vehiclePlateNumber>1035</vehiclePlateNumber>
            <vehiclePlateSourceId>2</vehiclePlateSourceId>
            <vehiclePlateSourceDesc>Dubai</vehiclePlateSourceDesc>
            <vehiclePlateSourceDescAr>دبي</vehiclePlateSourceDescAr>
            <vehiclePlateCategoryId>31</vehiclePlateCategoryId>
            <vehiclePlateCategoryDesc>Private</vehiclePlateCategoryDesc>
            <vehiclePlateCategoryDescAr>خصوصي</vehiclePlateCategoryDescAr>
            <vehiclePlateCodeId>101</vehiclePlateCodeId>
            <vehiclePlateCodeDesc>B</vehiclePlateCodeDesc>
            <vehiclePlateCodeDescAr>B</vehiclePlateCodeDescAr>
            <trafficFileNumber>10107792</trafficFileNumber>
            <chassisNumber>5TFAW5F16FX428879</chassisNumber>
            <numberOfCylinders>8</numberOfCylinders>
            <unloadedWeight>1100</unloadedWeight>
            <loadedWeight>2900</loadedWeight>
            <numberOfSeats>5</numberOfSeats>
            <numberOfDoors>4</numberOfDoors>
            <fuelTypeId>1</fuelTypeId>
            <fuelTypeDesc>Benzene</fuelTypeDesc>
            <fuelTypeDescAr>بنزين</fuelTypeDescAr>
            <engineNumber>NONE</engineNumber>
            <vehicleManufacturerId>10251</vehicleManufacturerId>
            <vehicleManufacturerDesc>TOYOTA</vehicleManufacturerDesc>
            <vehicleManufacturerDescAr>TOYOTA</vehicleManufacturerDescAr>
            <vehicleModelId>310000000152</vehicleModelId>
            <vehicleModelDesc>TUNDRA</vehicleModelDesc>
            <vehicleModelDescAr>TUNDRA</vehicleModelDescAr>
            <vehicleColors>
               <vehicleColor>
                  <sequenceId>0</sequenceId>
                  <colorCode>11</colorCode>
                  <colorDesc>Brown</colorDesc>
                  <colorDescAr>بني</colorDescAr>
               </vehicleColor>
            </vehicleColors>
            <vehicleModelYear>2015</vehicleModelYear>
            <vehicleClassId>3</vehicleClassId>
            <vehicleClassDesc>Light Vehicle</vehicleClassDesc>
            <vehicleClassDescAr>مركبة خفيفة</vehicleClassDescAr>
            <vehicleTestingPartnerId>2</vehicleTestingPartnerId>
            <vehicleTestingPartnerDesc>Al Shirawi Enterprises</vehicleTestingPartnerDesc>
            <vehicleTestingPartnerDescAr>مشاريع الشيراوي</vehicleTestingPartnerDescAr>
            <vehicleTestingPartnerBranchId>2</vehicleTestingPartnerBranchId>
            <vehicleTestingPartnerBranchDesc>Al Shirawi Al Quoz</vehicleTestingPartnerBranchDesc>
            <vehicleTestingPartnerBranchDescAr>مشاريع الشيراوي القوز</vehicleTestingPartnerBranchDescAr>
            <testServiceCode>1</testServiceCode>
            <testServiceDesc>Renewal Test</testServiceDesc>
            <testServiceDescAr>فحص التجديد</testServiceDescAr>
            <vehicleTestAttemptNumber>1</vehicleTestAttemptNumber>
            <overallTestResultCode>1</overallTestResultCode>
            <overallTestResultDesc>Pass</overallTestResultDesc>
            <overallTestResultDescAr>ناجح</overallTestResultDescAr>
            <mileage>10002495</mileage>
            <workingShiftSequence>2</workingShiftSequence>
            <axles>
               <axle>
                  <number>2</number>
                  <weight>0</weight>
               </axle>
            </axles>
            <inspectors>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>2</relatedTestId>
                  <relatedTestDesc>Braking systems Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الفرامل</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:22:06+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:23:42+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:22:06+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:23:42+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>5</relatedTestId>
                  <relatedTestDesc>Steering and steering wheel</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام التوجيه وعجلة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>6</relatedTestId>
                  <relatedTestDesc>Visibility Test</relatedTestDesc>
                  <relatedTestDescAr>فحص الوضوح</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>8</relatedTestId>
                  <relatedTestDesc>Axles, wheels, tyres, suspension Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المحاور ، العجلات ، الأطارات ، والتعليق</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>9</relatedTestId>
                  <relatedTestDesc>Chassis and Attachments Test</relatedTestDesc>
                  <relatedTestDescAr>فحص البدن وملحقاته</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>10</relatedTestId>
                  <relatedTestDesc>Other equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المعدات الأخرى</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>11</relatedTestId>
                  <relatedTestDesc>Exhaust emissions Test</relatedTestDesc>
                  <relatedTestDescAr>فحص انبعاثات العادم</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:22:06+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:23:42+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>15</relatedTestId>
                  <relatedTestDesc>Vehicle Information Test for Renewal</relatedTestDesc>
                  <relatedTestDescAr>فحص هوية المركبة للتجديد</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>25</relatedTestId>
                  <relatedTestDesc>Dashboard</relatedTestDesc>
                  <relatedTestDescAr>لوحة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:23:47+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:24:35+04:00</testCompletionTime>
               </inspector>
            </inspectors>
            <countOfDefects>0</countOfDefects>
            <automatedTestsReadings>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30101</parameterId>
                  <parameterDesc>Service break imbalance on front axle</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهة اليمنى واليسرى</parameterDescAr>
                  <readingValue>5</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30102</parameterId>
                  <parameterDesc>Service break imbalance on rear axle</parameterDesc>
                  <parameterDescAr>عدم التوازن لفرامل الخدمه على المحور الخلفي</parameterDescAr>
                  <readingValue>4</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testElementId>401</testElementId>
                  <testElementDesc>Parking Brake / Hand brake Performance</testElementDesc>
                  <testElementDescAr>اداء فرامل اليد او فرامل الوقوف</testElementDescAr>
                  <parameterId>40101</parameterId>
                  <parameterDesc>Parking break imbalance between LHS and RHS</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد</parameterDescAr>
                  <readingValue>0</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120101</parameterId>
                  <parameterDesc>Vehicle on Petrol CO Reading</parameterDesc>
                  <parameterDescAr>نسبة أول اكسيد الكربون للبترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120102</parameterId>
                  <parameterDesc>Vehicle on Petrol HC Reading</parameterDesc>
                  <parameterDescAr>نسبة كربيد الهيدروجين لمركبات البترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>PPM VOL</readingUnit>
               </testReading>
            </automatedTestsReadings>
         </testTransactionsDetails>
         <testTransactionsDetails>
            <testTransactionReferenceNumber>10002496</testTransactionReferenceNumber>
            <testDate>2020-11-18+04:00</testDate>
            <testStartTime>2020-11-18T12:33:20+04:00</testStartTime>
            <testTokenNumber>102</testTokenNumber>
            <testTransactionStatusCode>14</testTransactionStatusCode>
            <testTransactionStatusDesc>Paid</testTransactionStatusDesc>
            <testTransactionStatusDescAr>مدفوع</testTransactionStatusDescAr>
            <boothOperatorName>shi_koshis</boothOperatorName>
            <testCompletionTime>2020-11-18T12:36:03+04:00</testCompletionTime>
            <vehiclePlateNumber>1035</vehiclePlateNumber>
            <vehiclePlateSourceId>2</vehiclePlateSourceId>
            <vehiclePlateSourceDesc>Dubai</vehiclePlateSourceDesc>
            <vehiclePlateSourceDescAr>دبي</vehiclePlateSourceDescAr>
            <vehiclePlateCategoryId>31</vehiclePlateCategoryId>
            <vehiclePlateCategoryDesc>Private</vehiclePlateCategoryDesc>
            <vehiclePlateCategoryDescAr>خصوصي</vehiclePlateCategoryDescAr>
            <vehiclePlateCodeId>101</vehiclePlateCodeId>
            <vehiclePlateCodeDesc>B</vehiclePlateCodeDesc>
            <vehiclePlateCodeDescAr>B</vehiclePlateCodeDescAr>
            <trafficFileNumber>10107792</trafficFileNumber>
            <chassisNumber>5TFAW5F16FX428879</chassisNumber>
            <numberOfCylinders>8</numberOfCylinders>
            <unloadedWeight>1100</unloadedWeight>
            <loadedWeight>2900</loadedWeight>
            <numberOfSeats>5</numberOfSeats>
            <numberOfDoors>4</numberOfDoors>
            <fuelTypeId>1</fuelTypeId>
            <fuelTypeDesc>Benzene</fuelTypeDesc>
            <fuelTypeDescAr>بنزين</fuelTypeDescAr>
            <engineNumber>NONE</engineNumber>
            <vehicleManufacturerId>10251</vehicleManufacturerId>
            <vehicleManufacturerDesc>TOYOTA</vehicleManufacturerDesc>
            <vehicleManufacturerDescAr>TOYOTA</vehicleManufacturerDescAr>
            <vehicleModelId>310000000152</vehicleModelId>
            <vehicleModelDesc>TUNDRA</vehicleModelDesc>
            <vehicleModelDescAr>TUNDRA</vehicleModelDescAr>
            <vehicleColors>
               <vehicleColor>
                  <sequenceId>0</sequenceId>
                  <colorCode>11</colorCode>
                  <colorDesc>Brown</colorDesc>
                  <colorDescAr>بني</colorDescAr>
               </vehicleColor>
            </vehicleColors>
            <vehicleModelYear>2015</vehicleModelYear>
            <vehicleClassId>3</vehicleClassId>
            <vehicleClassDesc>Light Vehicle</vehicleClassDesc>
            <vehicleClassDescAr>مركبة خفيفة</vehicleClassDescAr>
            <vehicleTestingPartnerId>2</vehicleTestingPartnerId>
            <vehicleTestingPartnerDesc>Al Shirawi Enterprises</vehicleTestingPartnerDesc>
            <vehicleTestingPartnerDescAr>مشاريع الشيراوي</vehicleTestingPartnerDescAr>
            <vehicleTestingPartnerBranchId>2</vehicleTestingPartnerBranchId>
            <vehicleTestingPartnerBranchDesc>Al Shirawi Al Quoz</vehicleTestingPartnerBranchDesc>
            <vehicleTestingPartnerBranchDescAr>مشاريع الشيراوي القوز</vehicleTestingPartnerBranchDescAr>
            <testServiceCode>1</testServiceCode>
            <testServiceDesc>Renewal Test</testServiceDesc>
            <testServiceDescAr>فحص التجديد</testServiceDescAr>
            <vehicleTestAttemptNumber>1</vehicleTestAttemptNumber>
            <overallTestResultCode>1</overallTestResultCode>
            <overallTestResultDesc>Pass</overallTestResultDesc>
            <overallTestResultDescAr>ناجح</overallTestResultDescAr>
            <mileage>10002496</mileage>
            <workingShiftSequence>2</workingShiftSequence>
            <axles>
               <axle>
                  <number>2</number>
                  <weight>0</weight>
               </axle>
            </axles>
            <inspectors>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>2</relatedTestId>
                  <relatedTestDesc>Braking systems Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الفرامل</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:33:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:34:03+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:33:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:34:03+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>5</relatedTestId>
                  <relatedTestDesc>Steering and steering wheel</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام التوجيه وعجلة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>6</relatedTestId>
                  <relatedTestDesc>Visibility Test</relatedTestDesc>
                  <relatedTestDescAr>فحص الوضوح</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>8</relatedTestId>
                  <relatedTestDesc>Axles, wheels, tyres, suspension Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المحاور ، العجلات ، الأطارات ، والتعليق</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>9</relatedTestId>
                  <relatedTestDesc>Chassis and Attachments Test</relatedTestDesc>
                  <relatedTestDescAr>فحص البدن وملحقاته</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>10</relatedTestId>
                  <relatedTestDesc>Other equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المعدات الأخرى</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>11</relatedTestId>
                  <relatedTestDesc>Exhaust emissions Test</relatedTestDesc>
                  <relatedTestDescAr>فحص انبعاثات العادم</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:33:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:34:03+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>15</relatedTestId>
                  <relatedTestDesc>Vehicle Information Test for Renewal</relatedTestDesc>
                  <relatedTestDescAr>فحص هوية المركبة للتجديد</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>25</relatedTestId>
                  <relatedTestDesc>Dashboard</relatedTestDesc>
                  <relatedTestDescAr>لوحة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:35:20+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:35:59+04:00</testCompletionTime>
               </inspector>
            </inspectors>
            <countOfDefects>0</countOfDefects>
            <automatedTestsReadings>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30101</parameterId>
                  <parameterDesc>Service break imbalance on front axle</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهة اليمنى واليسرى</parameterDescAr>
                  <readingValue>5</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30102</parameterId>
                  <parameterDesc>Service break imbalance on rear axle</parameterDesc>
                  <parameterDescAr>عدم التوازن لفرامل الخدمه على المحور الخلفي</parameterDescAr>
                  <readingValue>4</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testElementId>401</testElementId>
                  <testElementDesc>Parking Brake / Hand brake Performance</testElementDesc>
                  <testElementDescAr>اداء فرامل اليد او فرامل الوقوف</testElementDescAr>
                  <parameterId>40101</parameterId>
                  <parameterDesc>Parking break imbalance between LHS and RHS</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد</parameterDescAr>
                  <readingValue>0</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120101</parameterId>
                  <parameterDesc>Vehicle on Petrol CO Reading</parameterDesc>
                  <parameterDescAr>نسبة أول اكسيد الكربون للبترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120102</parameterId>
                  <parameterDesc>Vehicle on Petrol HC Reading</parameterDesc>
                  <parameterDescAr>نسبة كربيد الهيدروجين لمركبات البترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>PPM VOL</readingUnit>
               </testReading>
            </automatedTestsReadings>
         </testTransactionsDetails>
         <testTransactionsDetails>
            <testTransactionReferenceNumber>10002498</testTransactionReferenceNumber>
            <testDate>2020-11-18+04:00</testDate>
            <testStartTime>2020-11-18T13:01:48+04:00</testStartTime>
            <testTokenNumber>104</testTokenNumber>
            <testTransactionStatusCode>14</testTransactionStatusCode>
            <testTransactionStatusDesc>Paid</testTransactionStatusDesc>
            <testTransactionStatusDescAr>مدفوع</testTransactionStatusDescAr>
            <boothOperatorName>shi_koshis</boothOperatorName>
            <testCompletionTime>2020-11-18T13:06:23+04:00</testCompletionTime>
            <vehiclePlateNumber>1036</vehiclePlateNumber>
            <vehiclePlateSourceId>2</vehiclePlateSourceId>
            <vehiclePlateSourceDesc>Dubai</vehiclePlateSourceDesc>
            <vehiclePlateSourceDescAr>دبي</vehiclePlateSourceDescAr>
            <vehiclePlateCategoryId>31</vehiclePlateCategoryId>
            <vehiclePlateCategoryDesc>Private</vehiclePlateCategoryDesc>
            <vehiclePlateCategoryDescAr>خصوصي</vehiclePlateCategoryDescAr>
            <vehiclePlateCodeId>101</vehiclePlateCodeId>
            <vehiclePlateCodeDesc>B</vehiclePlateCodeDesc>
            <vehiclePlateCodeDescAr>B</vehiclePlateCodeDescAr>
            <trafficFileNumber>10418486</trafficFileNumber>
            <chassisNumber>JTMHY05J8D4015549</chassisNumber>
            <numberOfCylinders>8</numberOfCylinders>
            <unloadedWeight>1100</unloadedWeight>
            <loadedWeight>3200</loadedWeight>
            <numberOfSeats>8</numberOfSeats>
            <numberOfDoors>4</numberOfDoors>
            <fuelTypeId>1</fuelTypeId>
            <fuelTypeDesc>Benzene</fuelTypeDesc>
            <fuelTypeDescAr>بنزين</fuelTypeDescAr>
            <engineNumber>3UR3144731</engineNumber>
            <vehicleManufacturerId>10251</vehicleManufacturerId>
            <vehicleManufacturerDesc>TOYOTA</vehicleManufacturerDesc>
            <vehicleManufacturerDescAr>TOYOTA</vehicleManufacturerDescAr>
            <vehicleModelId>310000000477</vehicleModelId>
            <vehicleModelDesc>LAND CRUISER</vehicleModelDesc>
            <vehicleModelDescAr>LAND CRUISER</vehicleModelDescAr>
            <vehicleColors>
               <vehicleColor>
                  <sequenceId>0</sequenceId>
                  <colorCode>1</colorCode>
                  <colorDesc>White</colorDesc>
                  <colorDescAr>ابيض</colorDescAr>
               </vehicleColor>
               <vehicleColor>
                  <sequenceId>1</sequenceId>
                  <colorCode>18</colorCode>
                  <colorDesc>Pearl</colorDesc>
                  <colorDescAr>لؤلؤي</colorDescAr>
               </vehicleColor>
            </vehicleColors>
            <vehicleModelYear>2013</vehicleModelYear>
            <vehicleClassId>3</vehicleClassId>
            <vehicleClassDesc>Light Vehicle</vehicleClassDesc>
            <vehicleClassDescAr>مركبة خفيفة</vehicleClassDescAr>
            <vehicleTestingPartnerId>2</vehicleTestingPartnerId>
            <vehicleTestingPartnerDesc>Al Shirawi Enterprises</vehicleTestingPartnerDesc>
            <vehicleTestingPartnerDescAr>مشاريع الشيراوي</vehicleTestingPartnerDescAr>
            <vehicleTestingPartnerBranchId>2</vehicleTestingPartnerBranchId>
            <vehicleTestingPartnerBranchDesc>Al Shirawi Al Quoz</vehicleTestingPartnerBranchDesc>
            <vehicleTestingPartnerBranchDescAr>مشاريع الشيراوي القوز</vehicleTestingPartnerBranchDescAr>
            <testServiceCode>1</testServiceCode>
            <testServiceDesc>Renewal Test</testServiceDesc>
            <testServiceDescAr>فحص التجديد</testServiceDescAr>
            <vehicleTestAttemptNumber>1</vehicleTestAttemptNumber>
            <overallTestResultCode>2</overallTestResultCode>
            <overallTestResultDesc>Failed</overallTestResultDesc>
            <overallTestResultDescAr>راسب</overallTestResultDescAr>
            <mileage>10002498</mileage>
            <workingShiftSequence>2</workingShiftSequence>
            <axles>
               <axle>
                  <number>2</number>
                  <weight>0</weight>
               </axle>
            </axles>
            <inspectors>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>2</relatedTestId>
                  <relatedTestDesc>Braking systems Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الفرامل</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:01:48+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:02:28+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:01:48+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:02:28+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>5</relatedTestId>
                  <relatedTestDesc>Steering and steering wheel</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام التوجيه وعجلة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>6</relatedTestId>
                  <relatedTestDesc>Visibility Test</relatedTestDesc>
                  <relatedTestDescAr>فحص الوضوح</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>8</relatedTestId>
                  <relatedTestDesc>Axles, wheels, tyres, suspension Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المحاور ، العجلات ، الأطارات ، والتعليق</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>9</relatedTestId>
                  <relatedTestDesc>Chassis and Attachments Test</relatedTestDesc>
                  <relatedTestDescAr>فحص البدن وملحقاته</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>10</relatedTestId>
                  <relatedTestDesc>Other equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المعدات الأخرى</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>11</relatedTestId>
                  <relatedTestDesc>Exhaust emissions Test</relatedTestDesc>
                  <relatedTestDescAr>فحص انبعاثات العادم</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:01:48+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:02:28+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>15</relatedTestId>
                  <relatedTestDesc>Vehicle Information Test for Renewal</relatedTestDesc>
                  <relatedTestDescAr>فحص هوية المركبة للتجديد</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>25</relatedTestId>
                  <relatedTestDesc>Dashboard</relatedTestDesc>
                  <relatedTestDescAr>لوحة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:04:21+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:06:18+04:00</testCompletionTime>
               </inspector>
            </inspectors>
            <countOfDefects>1</countOfDefects>
            <defects>
               <defect>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <defectiveElementId>701</defectiveElementId>
                  <defectiveElementDesc>Condition and operation</defectiveElementDesc>
                  <defectiveElementDescAr>الحالة وتشغيلها</defectiveElementDescAr>
                  <defectiveParameterId>70106</defectiveParameterId>
                  <defectiveParameterDesc>Rear registration plate lamps</defectiveParameterDesc>
                  <defectiveParameterDescAr>اضائة لوحة الأرقام الخلفيه</defectiveParameterDescAr>
                  <defectCode>7010605</defectCode>
                  <defectDesc>Defective</defectDesc>
                  <defectDescAr>معطّل</defectDescAr>
                  <defectSeverityId>2</defectSeverityId>
                  <defectSeverityDesc>Major</defectSeverityDesc>
                  <defectSeverityDescAr>رئيسي</defectSeverityDescAr>
                  <defectRemarksByInspector>none</defectRemarksByInspector>
               </defect>
            </defects>
            <automatedTestsReadings>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30101</parameterId>
                  <parameterDesc>Service break imbalance on front axle</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهة اليمنى واليسرى</parameterDescAr>
                  <readingValue>5</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30102</parameterId>
                  <parameterDesc>Service break imbalance on rear axle</parameterDesc>
                  <parameterDescAr>عدم التوازن لفرامل الخدمه على المحور الخلفي</parameterDescAr>
                  <readingValue>4</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testElementId>401</testElementId>
                  <testElementDesc>Parking Brake / Hand brake Performance</testElementDesc>
                  <testElementDescAr>اداء فرامل اليد او فرامل الوقوف</testElementDescAr>
                  <parameterId>40101</parameterId>
                  <parameterDesc>Parking break imbalance between LHS and RHS</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد</parameterDescAr>
                  <readingValue>0</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120101</parameterId>
                  <parameterDesc>Vehicle on Petrol CO Reading</parameterDesc>
                  <parameterDescAr>نسبة أول اكسيد الكربون للبترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120102</parameterId>
                  <parameterDesc>Vehicle on Petrol HC Reading</parameterDesc>
                  <parameterDescAr>نسبة كربيد الهيدروجين لمركبات البترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>PPM VOL</readingUnit>
               </testReading>
            </automatedTestsReadings>
         </testTransactionsDetails>
         <testTransactionsDetails>
            <testTransactionReferenceNumber>10002497</testTransactionReferenceNumber>
            <testDate>2020-11-18+04:00</testDate>
            <testStartTime>2020-11-18T12:40:05+04:00</testStartTime>
            <testTokenNumber>103</testTokenNumber>
            <testTransactionStatusCode>20</testTransactionStatusCode>
            <testTransactionStatusDesc>Pending For Documents</testTransactionStatusDesc>
            <testTransactionStatusDescAr>متوقف علي ملفات مطلوبة</testTransactionStatusDescAr>
            <boothOperatorName>shi_koshis</boothOperatorName>
            <testCompletionTime>2020-11-18T13:12:09+04:00</testCompletionTime>
            <vehiclePlateNumber>1035</vehiclePlateNumber>
            <vehiclePlateSourceId>2</vehiclePlateSourceId>
            <vehiclePlateSourceDesc>Dubai</vehiclePlateSourceDesc>
            <vehiclePlateSourceDescAr>دبي</vehiclePlateSourceDescAr>
            <vehiclePlateCategoryId>31</vehiclePlateCategoryId>
            <vehiclePlateCategoryDesc>Private</vehiclePlateCategoryDesc>
            <vehiclePlateCategoryDescAr>خصوصي</vehiclePlateCategoryDescAr>
            <vehiclePlateCodeId>101</vehiclePlateCodeId>
            <vehiclePlateCodeDesc>B</vehiclePlateCodeDesc>
            <vehiclePlateCodeDescAr>B</vehiclePlateCodeDescAr>
            <trafficFileNumber>10107792</trafficFileNumber>
            <chassisNumber>5TFAW5F16FX428879</chassisNumber>
            <numberOfCylinders>8</numberOfCylinders>
            <unloadedWeight>1100</unloadedWeight>
            <loadedWeight>2900</loadedWeight>
            <numberOfSeats>5</numberOfSeats>
            <numberOfDoors>4</numberOfDoors>
            <fuelTypeId>1</fuelTypeId>
            <fuelTypeDesc>Benzene</fuelTypeDesc>
            <fuelTypeDescAr>بنزين</fuelTypeDescAr>
            <engineNumber>NONE</engineNumber>
            <vehicleManufacturerId>10251</vehicleManufacturerId>
            <vehicleManufacturerDesc>TOYOTA</vehicleManufacturerDesc>
            <vehicleManufacturerDescAr>TOYOTA</vehicleManufacturerDescAr>
            <vehicleModelId>310000000152</vehicleModelId>
            <vehicleModelDesc>TUNDRA</vehicleModelDesc>
            <vehicleModelDescAr>TUNDRA</vehicleModelDescAr>
            <vehicleColors>
               <vehicleColor>
                  <sequenceId>0</sequenceId>
                  <colorCode>11</colorCode>
                  <colorDesc>Brown</colorDesc>
                  <colorDescAr>بني</colorDescAr>
               </vehicleColor>
            </vehicleColors>
            <vehicleModelYear>2015</vehicleModelYear>
            <vehicleClassId>3</vehicleClassId>
            <vehicleClassDesc>Light Vehicle</vehicleClassDesc>
            <vehicleClassDescAr>مركبة خفيفة</vehicleClassDescAr>
            <vehicleTestingPartnerId>2</vehicleTestingPartnerId>
            <vehicleTestingPartnerDesc>Al Shirawi Enterprises</vehicleTestingPartnerDesc>
            <vehicleTestingPartnerDescAr>مشاريع الشيراوي</vehicleTestingPartnerDescAr>
            <vehicleTestingPartnerBranchId>2</vehicleTestingPartnerBranchId>
            <vehicleTestingPartnerBranchDesc>Al Shirawi Al Quoz</vehicleTestingPartnerBranchDesc>
            <vehicleTestingPartnerBranchDescAr>مشاريع الشيراوي القوز</vehicleTestingPartnerBranchDescAr>
            <testServiceCode>1</testServiceCode>
            <testServiceDesc>Renewal Test</testServiceDesc>
            <testServiceDescAr>فحص التجديد</testServiceDescAr>
            <vehicleTestAttemptNumber>1</vehicleTestAttemptNumber>
            <overallTestResultCode>3</overallTestResultCode>
            <overallTestResultDesc>Pending</overallTestResultDesc>
            <overallTestResultDescAr>محجوز</overallTestResultDescAr>
            <mileage>10002497</mileage>
            <workingShiftSequence>2</workingShiftSequence>
            <axles>
               <axle>
                  <number>2</number>
                  <weight>0</weight>
               </axle>
            </axles>
            <inspectors>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>2</relatedTestId>
                  <relatedTestDesc>Braking systems Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الفرامل</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:40:05+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:40:48+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:40:05+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:40:48+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>5</relatedTestId>
                  <relatedTestDesc>Steering and steering wheel</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام التوجيه وعجلة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>6</relatedTestId>
                  <relatedTestDesc>Visibility Test</relatedTestDesc>
                  <relatedTestDescAr>فحص الوضوح</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>8</relatedTestId>
                  <relatedTestDesc>Axles, wheels, tyres, suspension Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المحاور ، العجلات ، الأطارات ، والتعليق</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>9</relatedTestId>
                  <relatedTestDesc>Chassis and Attachments Test</relatedTestDesc>
                  <relatedTestDescAr>فحص البدن وملحقاته</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>10</relatedTestId>
                  <relatedTestDesc>Other equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص المعدات الأخرى</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>11</relatedTestId>
                  <relatedTestDesc>Exhaust emissions Test</relatedTestDesc>
                  <relatedTestDescAr>فحص انبعاثات العادم</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testStartTime>2020-11-18T12:40:05+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T12:40:48+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>15</relatedTestId>
                  <relatedTestDesc>Vehicle Information Test for Renewal</relatedTestDesc>
                  <relatedTestDescAr>فحص هوية المركبة للتجديد</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
               <inspector>
                  <inspectorPermitNumber>49999</inspectorPermitNumber>
                  <inspectorName>Sujith Panicker Koshi</inspectorName>
                  <relatedTestId>25</relatedTestId>
                  <relatedTestDesc>Dashboard</relatedTestDesc>
                  <relatedTestDescAr>لوحة القيادة</relatedTestDescAr>
                  <testStartTime>2020-11-18T13:09:39+04:00</testStartTime>
                  <testCompletionTime>2020-11-18T13:11:49+04:00</testCompletionTime>
               </inspector>
            </inspectors>
            <countOfDefects>1</countOfDefects>
            <defects>
               <defect>
                  <relatedTestId>7</relatedTestId>
                  <relatedTestDesc>Lighting equipment Test</relatedTestDesc>
                  <relatedTestDescAr>فحص نظام الإضائة</relatedTestDescAr>
                  <defectiveElementId>701</defectiveElementId>
                  <defectiveElementDesc>Condition and operation</defectiveElementDesc>
                  <defectiveElementDescAr>الحالة وتشغيلها</defectiveElementDescAr>
                  <defectiveParameterId>70106</defectiveParameterId>
                  <defectiveParameterDesc>Rear registration plate lamps</defectiveParameterDesc>
                  <defectiveParameterDescAr>اضائة لوحة الأرقام الخلفيه</defectiveParameterDescAr>
                  <defectCode>7010605</defectCode>
                  <defectDesc>Defective</defectDesc>
                  <defectDescAr>معطّل</defectDescAr>
                  <defectSeverityId>2</defectSeverityId>
                  <defectSeverityDesc>Major</defectSeverityDesc>
                  <defectSeverityDescAr>رئيسي</defectSeverityDescAr>
                  <defectRemarksByInspector>none</defectRemarksByInspector>
               </defect>
            </defects>
            <automatedTestsReadings>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30101</parameterId>
                  <parameterDesc>Service break imbalance on front axle</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهة اليمنى واليسرى</parameterDescAr>
                  <readingValue>5</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>3</relatedTestId>
                  <relatedTestDesc>Automatic Service Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الخدمه الأتوماتيكي</relatedTestDescAr>
                  <testElementId>301</testElementId>
                  <testElementDesc>Auto Service Brake Mechanical condition and operation</testElementDesc>
                  <testElementDescAr>الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها</testElementDescAr>
                  <parameterId>30102</parameterId>
                  <parameterDesc>Service break imbalance on rear axle</parameterDesc>
                  <parameterDescAr>عدم التوازن لفرامل الخدمه على المحور الخلفي</parameterDescAr>
                  <readingValue>4</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>5</equipmentSerialNumber>
                  <equipmentName>Brake Tester 2</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_ديزل_2</equipmentNameAr>
                  <relatedTestId>4</relatedTestId>
                  <relatedTestDesc>Automatic Parking Brake Test</relatedTestDesc>
                  <relatedTestDescAr>فحص فرامل الباركنج الأتوماتيكي</relatedTestDescAr>
                  <testElementId>401</testElementId>
                  <testElementDesc>Parking Brake / Hand brake Performance</testElementDesc>
                  <testElementDescAr>اداء فرامل اليد او فرامل الوقوف</testElementDescAr>
                  <parameterId>40101</parameterId>
                  <parameterDesc>Parking break imbalance between LHS and RHS</parameterDesc>
                  <parameterDescAr>عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد</parameterDescAr>
                  <readingValue>0</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120101</parameterId>
                  <parameterDesc>Vehicle on Petrol CO Reading</parameterDesc>
                  <parameterDescAr>نسبة أول اكسيد الكربون للبترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>%</readingUnit>
               </testReading>
               <testReading>
                  <equipmentSerialNumber>160</equipmentSerialNumber>
                  <equipmentName>Jarrar New smoke all</equipmentName>
                  <equipmentNameAr>شيراوي_جهاز فحص الانبعاثات_بترول_2</equipmentNameAr>
                  <relatedTestId>12</relatedTestId>
                  <relatedTestDesc>Petrol Automatic Emission Test</relatedTestDesc>
                  <relatedTestDescAr>الفحص الأوتوماتيكي لعوادم البنزين</relatedTestDescAr>
                  <testElementId>1201</testElementId>
                  <testElementDesc>Petrol Emission</testElementDesc>
                  <testElementDescAr>مركبه تعمل على البترول</testElementDescAr>
                  <parameterId>120102</parameterId>
                  <parameterDesc>Vehicle on Petrol HC Reading</parameterDesc>
                  <parameterDescAr>نسبة كربيد الهيدروجين لمركبات البترول</parameterDescAr>
                  <readingValue>2</readingValue>
                  <readingUnit>PPM VOL</readingUnit>
               </testReading>
            </automatedTestsReadings>
         </testTransactionsDetails>
      </ReadTestTransactionsDetailsResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>';
/*$xml_string=str_replace('<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header />
   <SOAP-ENV:Body>
      <ReadTestTransactionsDetailsResponse xmlns="http://www.rta.ae/ActiveMatrix/ESB/ReadTestTransactionDetailsService/ReadTestTransactionDetailsServiceSchema/XMLSchema">', '', $xml_string);
 $xml_string=str_replace('</ReadTestTransactionsDetailsResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>','',$xml_string);*/

echo  $xml_string=preg_replace("/(<\/?)(\w+):([^>]*>)/", "$1$2$3", $xml_string);
//soap_to_json($xml_string);
//print_r(Parse($xml_string));
 $xml_data     = simplexml_load_string($xml_string);
	$json_data    = json_encode($xml_data);
	//print_r($json_data);
	$data = json_decode($json_data,TRUE);
//print_r($data);
//$data='{"testTransactionReferenceNumber": "10002494",   "testDate": "2020-11-18+04:00",   "testStartTime": "2020-11-18T10:26:34+04:00",   "testTokenNumber": "100",   "testTransactionStatusCode": "14",   "testTransactionStatusDesc": "Paid",   "testTransactionStatusDescAr": "مدفوع",   "boothOperatorName": "shi_koshis",   "testCompletionTime": "2020-11-18T10:29:46+04:00",   "vehiclePlateNumber": "1035",   "vehiclePlateSourceId": "2",   "vehiclePlateSourceDesc": "Dubai",   "vehiclePlateSourceDescAr": "دبي",   "vehiclePlateCategoryId": "31",   "vehiclePlateCategoryDesc": "Private",   "vehiclePlateCategoryDescAr": "خصوصي",   "vehiclePlateCodeId": "101",   "vehiclePlateCodeDesc": "B",   "vehiclePlateCodeDescAr": "B",   "trafficFileNumber": "10107792",   "chassisNumber": "5TFAW5F16FX428879",   "numberOfCylinders": "8",   "unloadedWeight": "1100",   "loadedWeight": "2900",   "numberOfSeats": "5",   "numberOfDoors": "4",   "fuelTypeId": "1",   "fuelTypeDesc": "Benzene",   "fuelTypeDescAr": "بنزين",   "engineNumber": "NONE",   "vehicleManufacturerId": "10251",   "vehicleManufacturerDesc": "TOYOTA",   "vehicleManufacturerDescAr": "TOYOTA",   "vehicleModelId": "310000000152",   "vehicleModelDesc": "TUNDRA",   "vehicleModelDescAr": "TUNDRA",   "vehicleColors": {      "vehicleColor": {         "sequenceId": "0",         "colorCode": "11",         "colorDesc": "Brown",         "colorDescAr": "بني"      }   },   "vehicleModelYear": "2015",   "vehicleClassId": "3",   "vehicleClassDesc": "Light Vehicle",   "vehicleClassDescAr": "مركبة خفيفة",   "vehicleTestingPartnerId": "2",   "vehicleTestingPartnerDesc": "Al Shirawi Enterprises",   "vehicleTestingPartnerDescAr": "مشاريع الشيراوي",   "vehicleTestingPartnerBranchId": "2",   "vehicleTestingPartnerBranchDesc": "Al Shirawi Al Quoz",   "vehicleTestingPartnerBranchDescAr": "مشاريع الشيراوي القوز",   "testServiceCode": "1",   "testServiceDesc": "Renewal Test",   "testServiceDescAr": "فحص التجديد",   "vehicleTestAttemptNumber": "1",   "overallTestResultCode": "1",   "overallTestResultDesc": "Pass",   "overallTestResultDescAr": "ناجح",   "mileage": "10002494",   "workingShiftSequence": "2",   "axles": {      "axle": {         "number": "2",         "weight": "0"      }   },   "inspectors": [      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "2",         "relatedTestDesc": "Braking systems Test",         "relatedTestDescAr": "فحص نظام الفرامل",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "3",         "relatedTestDesc": "Automatic Service Brake Test",         "relatedTestDescAr": "فحص فرامل الخدمه الأتوماتيكي",         "testStartTime": "2020-11-18T10:26:34+04:00",         "testCompletionTime": "2020-11-18T10:27:20+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "4",         "relatedTestDesc": "Automatic Parking Brake Test",         "relatedTestDescAr": "فحص فرامل الباركنج الأتوماتيكي",         "testStartTime": "2020-11-18T10:26:34+04:00",         "testCompletionTime": "2020-11-18T10:27:20+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "5",         "relatedTestDesc": "Steering and steering wheel",         "relatedTestDescAr": "فحص نظام التوجيه وعجلة القيادة",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "6",         "relatedTestDesc": "Visibility Test",         "relatedTestDescAr": "فحص الوضوح",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "7",         "relatedTestDesc": "Lighting equipment Test",         "relatedTestDescAr": "فحص نظام الإضائة",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "8",         "relatedTestDesc": "Axles, wheels, tyres, suspension Test",         "relatedTestDescAr": "فحص المحاور ، العجلات ، الأطارات ، والتعليق",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "9",         "relatedTestDesc": "Chassis and Attachments Test",         "relatedTestDescAr": "فحص البدن وملحقاته",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "10",         "relatedTestDesc": "Other equipment Test",         "relatedTestDescAr": "فحص المعدات الأخرى",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "11",         "relatedTestDesc": "Exhaust emissions Test",         "relatedTestDescAr": "فحص انبعاثات العادم",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "12",         "relatedTestDesc": "Petrol Automatic Emission Test",         "relatedTestDescAr": "الفحص الأوتوماتيكي لعوادم البنزين",         "testStartTime": "2020-11-18T10:26:34+04:00",         "testCompletionTime": "2020-11-18T10:27:20+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "15",         "relatedTestDesc": "Vehicle Information Test for Renewal",         "relatedTestDescAr": "فحص هوية المركبة للتجديد",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      },      {         "inspectorPermitNumber": "49999",         "inspectorName": "Sujith Panicker Koshi",         "relatedTestId": "25",         "relatedTestDesc": "Dashboard",         "relatedTestDescAr": "لوحة القيادة",         "testStartTime": "2020-11-18T10:27:26+04:00",         "testCompletionTime": "2020-11-18T10:29:40+04:00"      }   ],   "countOfDefects": "0",   "automatedTestsReadings": [      {         "equipmentSerialNumber": "5",         "equipmentName": "Brake Tester 2",         "equipmentNameAr": "شيراوي_جهاز فحص الانبعاثات_ديزل_2",         "relatedTestId": "3",         "relatedTestDesc": "Automatic Service Brake Test",         "relatedTestDescAr": "فحص فرامل الخدمه الأتوماتيكي",         "testElementId": "301",         "testElementDesc": "Auto Service Brake Mechanical condition and operation",         "testElementDescAr": "الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها",         "parameterId": "30101",         "parameterDesc": "Service break imbalance on front axle",         "parameterDescAr": "عدم التوازن ما بين الجهة اليمنى واليسرى",         "readingValue": "5",         "readingUnit": "%"      },      {         "equipmentSerialNumber": "5",         "equipmentName": "Brake Tester 2",         "equipmentNameAr": "شيراوي_جهاز فحص الانبعاثات_ديزل_2",         "relatedTestId": "3",         "relatedTestDesc": "Automatic Service Brake Test",         "relatedTestDescAr": "فحص فرامل الخدمه الأتوماتيكي",         "testElementId": "301",         "testElementDesc": "Auto Service Brake Mechanical condition and operation",         "testElementDescAr": "الحاله الميكانيكيه لفرامل الخدمه الاوتوماتيك وتشغيلها",         "parameterId": "30102",         "parameterDesc": "Service break imbalance on rear axle",         "parameterDescAr": "عدم التوازن لفرامل الخدمه على المحور الخلفي",         "readingValue": "4",         "readingUnit": "%"      },      {         "equipmentSerialNumber": "5",         "equipmentName": "Brake Tester 2",         "equipmentNameAr": "شيراوي_جهاز فحص الانبعاثات_ديزل_2",         "relatedTestId": "4",         "relatedTestDesc": "Automatic Parking Brake Test",         "relatedTestDescAr": "فحص فرامل الباركنج الأتوماتيكي",         "testElementId": "401",         "testElementDesc": "Parking Brake / Hand brake Performance",         "testElementDescAr": "اداء فرامل اليد او فرامل الوقوف",         "parameterId": "40101",         "parameterDesc": "Parking break imbalance between LHS and RHS",         "parameterDescAr": "عدم التوازن ما بين الجهه اليمنى والجهه اليسرى لفرامل اليد",         "readingValue": "0",         "readingUnit": "%"      },      {         "equipmentSerialNumber": "160",         "equipmentName": "Jarrar New smoke all",         "equipmentNameAr": "شيراوي_جهاز فحص الانبعاثات_بترول_2",         "relatedTestId": "12",         "relatedTestDesc": "Petrol Automatic Emission Test",         "relatedTestDescAr": "الفحص الأوتوماتيكي لعوادم البنزين",         "testElementId": "1201",         "testElementDesc": "Petrol Emission",         "testElementDescAr": "مركبه تعمل على البترول",         "parameterId": "120101",         "parameterDesc": "Vehicle on Petrol CO Reading",         "parameterDescAr": "نسبة أول اكسيد الكربون للبترول",         "readingValue": "2",         "readingUnit": "%"      },      {         "equipmentSerialNumber": "160",         "equipmentName": "Jarrar New smoke all",         "equipmentNameAr": "شيراوي_جهاز فحص الانبعاثات_بترول_2",         "relatedTestId": "12",         "relatedTestDesc": "Petrol Automatic Emission Test",         "relatedTestDescAr": "الفحص الأوتوماتيكي لعوادم البنزين",         "testElementId": "1201",         "testElementDesc": "Petrol Emission",         "testElementDescAr": "مركبه تعمل على البترول",         "parameterId": "120102",         "parameterDesc": "Vehicle on Petrol HC Reading",         "parameterDescAr": "نسبة كربيد الهيدروجين لمركبات البترول",         "readingValue": "2",         "readingUnit": "PPM VOL"      }   ]}';


/*$d=json_decode($data);
//print_r($d);
$ID=1;
$sqlkey="(ID";
$sqlvalue=" values($ID";
foreach($d as $key=>$value)
{
	if(is_object($value) || is_array($value))
	{
		$v=json_decode(json_encode($value),true);
		//$v=array($value);

		foreach($v as $vv)
		{
			//foreach($vv as $v2)
		//	if($)
			//	echo "key=".$key." value=".json_encode($vv);
		
		}
	}
	else
	{
	$sqlkey .=",".$key;
	$sqlvalue .=",'".$value."'";
	}
}
$sqlkey .=")";
$sqlvalue .=")";
*///echo $sql="insert into RTAVehicleTest $sqlkey $sqlvalue";

function soap_to_json($soap)
    {
        list($trash,$soap)=explode('',$soap);
        list($soap,$trash)=explode('',$soap);
        unset($trash);
        $soap=str_replace('xmlns="url"','',$soap);

        $result=simplexml_load_string($soap);
        $json_soap=json_encode($result);
        echo $json_soap;
    }
      function Parse ($xml) {
        $fileContents=$xml;// file_get_contents($url);
        $fileContents = str_replace(array("\n", "\r", "\t"), '', $fileContents);
        $fileContents = trim(str_replace('"', "'", $fileContents));
        $simpleXml = simplexml_load_string($fileContents);
        $json = json_encode($simpleXml);

        return $json;
    }
?>