Skip to content

Instantly share code, notes, and snippets.

View dperussina's full-sized avatar

Daniel Perussina dperussina

  • FragilePAK
  • Unknown
View GitHub Profile
[{"statusid":9,"callId":"Zeus002-1550250542.1331","callerId":"","status":"inQue","timestamp":"2019-02-15 09:09:02","queue":"progistics_main_bsr","position":"","originalPosition":"","holdtime":"","keyPressed":"","callduration":"0","agentid":"0","lineNo":"0","extension":"","leadid":"674904","callsid":"867","camp_id":"75","call":{"callid":867,"calldate":"2019-02-15 09:09:02","leadid":"674904","callresult":"-1","agentdisp":"-1","agentid":"0","origagentid":"0","linkedcall":"0","calltype":"O","revenue":"0.00","dnis":"4085142669","phone":"296","camp_id":"75","poolid":"-1","processed":"0","callduration":"0","billsec":"0","holdtime":"0","position":"0","outbchannel":"","cuniqueid":"Zeus002-1550250542.1331","userfield":"2019\/02\/15\/f-Zeus002-1550250542-1331-0","amd":"no","amdreason":"","hangupcause":"","archived":"n","folder":"\/var\/spool\/asterisk\/monitor","waiting":"0","talked":"0","wrapped":"0","aholdtime":"0","channel":"SIP\/296-00000439","calldata":null,"pepperclient":"","resultid":"0","file_ext":"wav","record
BEGIN
DECLARE mID numeric default 0;
DECLARE arg1 varchar(100);
DECLARE arg2 varchar(100);
DECLARE arg3 varchar(100);
DECLARE arg4 varchar(100);
DECLARE arg5 varchar(100);
DECLARE mBilltype varchar (2) default '1';
DECLARE mCallID numeric default 0;
DECLARE mCampID numeric default 0;
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2019-01-25 12:17:57
#Fields: date time s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2019-01-25 12:17:57 TAGWEB2-3 192.168.60.121 GET /robots.txt - 80 - 178.154.244.161 Mozilla/5.0+(compatible;+YandexBot/3.0;++http://yandex.com/bots) - 404 0 2 312
2019-01-25 12:18:02 TAGWEB2-3 192.168.60.121 GET / - 80 - 178.154.244.161 Mozilla/5.0+(compatible;+YandexBot/3.0;++http://yandex.com/bots) - 302 0 0 1170
2019-01-25 12:18:06 TAGWEB2-3 192.168.60.121 GET /logon.aspx ReturnUrl=%2F 80 - 77.88.47.58 Mozilla/5.0+(compatible;+YandexBot/3.0;++http://yandex.com/bots) - 200 0 0 1778
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2019-01-25 17:53:48
<div class="container alert-info center-vertical">
<div class="panel">
<div class="panel-body">
<div class="col-sm-4">
<div class="example-box-wrapper ">
<div class="row text-center">
<p class="lead">Dispositions:</p>
<div class="col-sm-6 text-success">
Ready
// This key value pair keeps track
var TRACKING = {};
// Looping through orders to invoice
MyInvoiceData.forEach(function(e, i, a){
// See if PRO is tracked in memory
if(TRACKING[e.PartnerPrimaryOrderID]){
// increment number tracked
suffix = TRACKING[e.PartnerPrimaryOrderID] + 1;
// set the tracked value to inscrement amount
<?xml version="1.0" encoding="UTF-8"?>
<ns2:LoadData xmlns:ns2="http://schemas.3gtms.com/tms/v1/tns">
<BatchInfo xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fUtil="http://schemas.3gtms.com/tms/v1/tns"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:functx="http://www.functx.com">
<BatchNum>TRN-00259841</BatchNum>
<BatchDateTime>2018-07-25T21:08:23.631Z</BatchDateTime>
<SentBy>pa_residential</SentBy>
<PageNum>1</PageNum>
<?xml version="1.0" encoding="utf-8"?>
<ns2:FreightBillData
xmlns:ns2="http://schemas.3gtms.com/tms/v1/tns">
<BatchInfo>
<BatchNum>20170811083592826</BatchNum>
<ReasonCode/>
<BatchDateTime>2017-08-21T08:36:02.8270328-07:00</BatchDateTime>
<SentBy>Residential-Integration</SentBy>
</BatchInfo>
<FreightBills>
<?xml version="1.0" encoding="utf-8"?>
<ns2:LoadStatusData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.3gtms.com/tms/v1/tns">
<BatchInfo>
<BatchNum>20180523101544857</BatchNum>
<BatchDateTime>2018-05-23T10:15:44.857513-07:00</BatchDateTime>
<SentBy>Residential-Integration</SentBy>
</BatchInfo>
<LoadStatuses>
<LoadStatus>
<OrganizationName>Residential</OrganizationName>
-- sp_readrequest : Reads a request from the the queue and returns its-- contents.CREATE PROCEDURE sp_readrequest @receive_timeout INT -- the max time this read will wait for new messageASBEGIN SET NOCOUNT ON -- Table to store message information. DECLARE @msgs TABLE ( [conversation_handle] uniqueidentifier, [service_contract_name] nvarchar(256), [message_type_name] nvarchar(256), [message_body] varbinary(max) ) -- Declare variables to store row values fetched from the cursor DECLARE @exit INT, @mailitem_id INT, @profile_id INT, @conversation_handle uniqueidentifier, @service_contract_name NVARCHAR(256), @message_type_name NVARCHAR(256), @xml_message_body VARCHAR(max), @timediff INT, @rec_timeout INT, @start_time DATETIME, @localmessage NVARCHAR(256), @
{
"jobUniqueID": "YRC10000086946",
"arrivalDateTime": "11:23",
"departDateTime": "11:23",
"signatureText": "Davis",
"notificationEmail": "[email protected]",
"signatureBitmapBase64": "iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAAXNSR0IArs4c6QAAI7FJREFUeAHtXQnYXtO1VkNFGoIQM4khSRFTKBqVSQhiCFparQShaa9oVPFUbjWGItdY1DWH0hpLlRqu29Ki1ZaGUrSGiCDGtua2hnvfl2/pyu4+5zvzOfv8az3P+tce17T32WdP5/s/tpBBiB74P4/S/0Da4p70pEnvo+DCSQs75e5HfDHgx4FvA18Bvgh8FvgU8M/Ax4Dzgcw3MA9k8sCimWpZpTo9MMgjvD/SXuqkrwm6CnAl4ArApYF9gWzrN4HPAZ8Gsvzfge8B3wAuCWR5Dnr9gCsDVwOuDhzcCTPPB+shkQNWWrgIFa4G3gcU/dPysPJ+D7C92Sb2gvD7x1Ir8sDOkMMZlouTKpKvxfRBZBngusB9gccD7wS6uiWNP466ZwG3BHKg/BjQIL0H9kIV8fmM9NWthnmgOA/0Bqt3gdIhXfp15C1SnLhcnJZAbRnMrkLY1TUuziWq5D+C8LnA8UAOkgbRHhiILPGb0PWji1uOeaB8DxwBEdIZo+ivUYZLwaYCl5fDgBxgbwZyuRplS1T6l1CnKYMzVKkdjoEGeqAXv42oXTNToMd7YBQ8IB0yjj6Jck0euNyG5P7b5sDDgPOBcbZJHvfh9gdm2UdDteBhBVjwAlD84VLuTxqYB2r3AE/1Dge6HdQXn4FyIe4JcSa2BZCb8z673LTbUI57ODxs6AkwBUZywHb9oOOcyRqYBxrjAc4sTgbqThoV5ts4ZKCtXwVG2eemv4yyU4EhzTKhblfgy+okoG