Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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 indicated initially on a web page:

Image Removed

XML Examples

Code Blocklanguagexmltitle

 sections before any work activity.

Image Added

1. Tech 1 checks in

linenumberstrue
<?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
languagexml
title2. Tech 2 checks in
linenumberstrue
<?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
languagexml
title3. Tech 2 checks out
linenumberstrue
<?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
languagexml
title4. Tech 1 checks out
linenumberstrue
<?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.

Live Search
spaceKeySCU
additionalpage excerpt
placeholderSearch our Knowledge Base
typepage
labelsfm

Panel
titleColor#ffffff
titleBGColor#5fa7d0
borderStylegroove
titleIn this Article

Table of Contents
maxLevel3
minLevel2
indent20px

Panel
titleColorwhite
titleBGColor#75a346
titleRelated Articles

Filter by label (Content by label)
showLabelsfalse
max8
showSpacefalse
sorttitle
cqllabel = "xml" and space = currentSpace ( )