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 techs technicians are checking in and out at different times.
For example: Tech1 Take this example. Technician 1 arrived on-site at 6:28 am , but found that he needed assistance. Tech2 Technician 2 arrived to assist technician 1 and checked in at 7:06 am. Tech2 Tech 2 checked out at 8:10 am; Tech1 , while 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:XML Example: sections before any work activity.
Image Added
1. Tech 1 Checks In
Code Block |
---|
language | xml | title |
---|
1. Tech 1 checks in | linenumbers | true |
---|
|
<?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> |
Code Block |
---|
language | xml |
title
The screenshot below shows the IVR Usage section after technician 1 has checked in.
Image Added
2. Tech 2
checks inChecks In
Code Block |
---|
language | xml |
---|
linenumbers | true |
---|
|
<?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> |
Code Block |
---|
language | xml |
---|
title |
The screenshot below shows the IVR Usage section after technician 2 has checked in.
Image Added
3. Tech 2
checks outChecks Out
Code Block |
---|
language | xml |
---|
linenumbers | true |
---|
|
<?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 Added
4. Tech 2 Checks Out
Code Block |
---|
language | xml |
---|
title | 4. Tech 1 checks out |
---|
linenumbers | true |
---|
|
<?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 Order Details indicated on a web page: and Order Details sections after technician 1 has checked out.
Image Added