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 technitians 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 tech 1 checked out at 8:50 am.Empty
| Checks in | Checks out |
---|
Technician 1 | 6:28 am | 8:50 am |
---|
Technician 2 | 7:06 am | 8:10 am |
---|
The screenshot below shows the empty IVR Usage and Order Details indicated initially on a web page:
Image Removed
XML Examples
Code Block |
---|
language | xml |
---|
title | sections before any work activity.
Image Added
1. Tech 1 checks in
linenumbers | true |
---|
<?xml version="1.0"?>
<DATA2SC PIN="99999" ID="146889">
<CALL TR_NUM="661234567" STATUS="ON_SITE">
<CHECK TYPE="IN" ID="1" DATETIME="2016/01/18 06:28:00"></CHECK>
</CALL>
</DATA2SC> |
Image Removed
1. Tech 2 checks in
Code Block |
---|
language | xml |
---|
title | 2. Tech 2 checks in |
---|
linenumbers | true |
---|
|
<?xml version="1.0"?>
<DATA2SC PIN="99999" ID="146889">
<CALL TR_NUM="661234567" STATUS="ON_SITE">
<CHECK TYPE="IN" ID="2" DATETIME="2016/01/18 07:06:00"></CHECK>
</CALL>
</DATA2SC> |
The screenshot below shows the IVR Usage section after technician 2 has checked in.
3. Tech 2 checks out
Code Block |
---|
language | xml |
---|
title | 3. Tech 2 checks out |
---|
linenumbers | true |
---|
|
<?xml version="1.0"?>
<DATA2SC PIN="99999" ID="146889">
<CALL TR_NUM="661234567" STATUS="ON_SITE">
<CHECK TYPE="OUT" ID="2" DATETIME="2016/01/18 08:10:00"></CHECK>
</CALL>
</DATA2SC> |
The screenshot below shows the IVR Usage section after technician 2 has checked out.
4. Tech 2 checks out
Code Block |
---|
language | xml |
---|
title | 4. Tech 1 checks out |
---|
linenumbers | true |
---|
|
<?xml version="1.0"?>
<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"></CHECK>
</CALL>
</DATA2SC> |
Resulting The screenshot below shows the IVR Usage and and Order Details indicated on a web page: sections after technician 1 has checked out.