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: sections before any work activity.

Image ModifiedXML Examples

1. Tech 1 Checks In

Code Block
title
languagexml
1. Tech 1 checks inlinenumberstrue
<?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"></CHECK> />
   </CALL>
</DATA2SC>

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

Image Modified

2. Tech 2 Checks In

Code Block
title
languagexml
2. Tech 2 checks inlinenumberstrue
<?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"></CHECK> />
   </CALL>
</DATA2SC>

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

Image Modified

3. Tech 2 Checks Out

Code Block
languagexmltitle3. Tech 2 checks out
linenumberstrue
<?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"></CHECK> />
   </CALL>
</DATA2SC>

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

Image Modified

4. Tech 2 Checks Out

Code Block
languagexmltitle4. Tech 1 checks out
linenumberstrue
<?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"></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.

Image Modified

Live Search
spaceKeySCUSCUCP
additionalpage excerptnone
placeholderSearch our Knowledge Base
typepage
labelsfm

Image Removed

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

Table of Contents
maxLevel3
minLevel2
indent20px

Image Added

Panel
titleColorwhite
titleBGColor#75a346
titleRelated Articles

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