XML Integration Example: Two Technicians, One Work Order

    SCENARIO: Two technicians are working on one work order, with them checking in and out at different times.

    For example: Tech1 arrived on-site 6:28am, but found he needed assistance. Tech2 arrived to assist, and checked in at 7:06am. Tech2 checked out at 8:10am; Tech1 checked out at 8:50am.

    Empty IVR Usage and Order Details indicated initially on a web page:

    XML Example:

    1) Tech1 check in
    <?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>

    2) Tech2 check in
    <?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>



    3) Tech2 check out
    <?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>

    4) Tech1 check out
    <?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 IVR Usage and Order Details indicated on a web page: