Skip to end of banner
Go to start of banner

XML Integration Example: Two Techs, Same WO

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This article describes XML messages sent when two technicians are checking in and out for the same work order (WO).

The scenario is as follows: two technicians are working on the same work order. These technicians are checking in and out at different times.

Take this example. Technician 1 arrived on-site at 6:28 am but found that he needed assistance. Technician 2 arrived to assist technician 1 and checked in at 7:06 am. Tech 2 checked out at 8:10 am, while tech 1 checked out at 8:50 am.


Checks inChecks out
Technician 1 6:28 am8:50 am
Technician 27:06 am8:10 am

The screenshot below shows the empty IVR Usage and Order Details sections before any work activity.

1. Tech 1 checks in

<?xml version="1.0" encoding="UTF-8"?>
<DATA2SC PIN="99999" ID="146889">
   <CALL TR_NUM="661234567" STATUS="ON_SITE">
      <CHECK TYPE="IN" ID="1" DATETIME="2016/01/18 06:28:00" />
   </CALL>
</DATA2SC>

The screenshot below shows the IVR Usage section after technician 1 has checked in.

2. Tech 2 checks in

<?xml version="1.0" encoding="UTF-8"?>
<DATA2SC PIN="99999" ID="146889">
   <CALL TR_NUM="661234567" STATUS="ON_SITE">
      <CHECK TYPE="IN" ID="2" DATETIME="2016/01/18 07:06:00" />
   </CALL>
</DATA2SC>

The screenshot below shows the IVR Usage section after technician 2 has checked in.

3. Tech 2 checks out

<?xml version="1.0" encoding="UTF-8"?>
<DATA2SC PIN="99999" ID="146889">
   <CALL TR_NUM="661234567" STATUS="ON_SITE">
      <CHECK TYPE="OUT" ID="2" DATETIME="2016/01/18 08:10:00" />
   </CALL>
</DATA2SC>

The screenshot below shows the IVR Usage section after technician 2 has checked out.

4. Tech 2 checks out

<?xml version="1.0" encoding="UTF-8"?>
<DATA2SC PIN="99999" ID="146889">
   <CALL TR_NUM="661234567" STATUS="COMPLETED_PENDING">
      <CHECK TYPE="OUT" ID="1" DATETIME="2016/01/18 08:50:00" COMPL_DATE="2016/01/18 08:50:00" />
   </CALL>
</DATA2SC>

The screenshot below shows the IVR Usage and Order Details sections after technician 1 has checked out.

  • No labels