This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": false, | |
"data": { | |
"serviceLevels": [{ | |
"PartnerID": 0, | |
"ServiceLevel": "Crossdock", | |
"ServiceDescription": "Crossdock service level." | |
}, { | |
"PartnerID": 0, | |
"ServiceLevel": "Outside", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table style="padding:5px;border-collapse:collapse"> | |
<tbody> | |
<tr> | |
<th style="background-color:#9999ff;border:solid 1px #9999ff;padding:5px">Order Info</th> | |
<th style="background-color:#9999ff;border:solid 1px #9999ff;padding:5px">Notes</th> | |
</tr> | |
<tr style="vertical-align:top"> | |
<td style="border-top:solid 1px #000000;border-left:solid 1px #000000;border-bottom:solid 1px #000000;background-color:#f0f0f0"> | |
<table style="padding:5px;background-color:#ffffff;width:100%"> | |
<tbody> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Converter Class | |
var Converter = require("csvtojson").Converter; | |
var converter = new Converter({}); | |
var async = require('async'); | |
var u = require('./u'); | |
var redis = require('redis').createClient(); | |
var sql = { | |
tagnet:require('./csv/tagnet_sql') | |
}; | |
var lpad = require('./utils/left-pad'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// Global VAR for current index of service level | |
var INDEX = 0; | |
// Where we place the description array from the MS | |
var descriptions = []; | |
// Monitor the select element | |
var heartbeat = setInterval(function () { | |
var newIndex = $("#SPNOrderDetails1_listServiceLevel").prop('selectedIndex'); | |
if (newIndex != INDEX) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 | Basic 1 | Basic 1 - Our team will deliver to the first dry area inside your front or porch door/, or to your garage. The team will not unpack or remove any debris. A signature will be required. | |
---|---|---|---|
2 | Basic 2 | Basic 2 - Our team will deliver to the first dry area inside your front or porch door/, or to your garage. The team will not unpack or remove any debris. A signature will be required. | |
2 | Cross Dock | Cross Dock | |
2 | Crossdock | Crossdock service level. | |
2 | Outside | Our team will deliver to the curb or the first dry area outside your home/, depending on the size and type of item. The team will not unpack or remove any debris. A signature will be required. | |
2 | Premier | Premier - Our team will deliver to your room of choice/, unpack the merchandise/, perform any light setup that doesn't require tools/, and remove debris. A signature will be required. | |
2 | Room of Choice | Our team will be on site for up to 15 minutes and will deliver inside to your room of choice. Please make sure that there is a clear pathway from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<h3>Example of how to call http://ms1.agentgrid.net/api/tagnet/service_levelsByPartnerID </h3> | |
<br> | |
<select name="SPNOrderDetails1$listServiceLevel" id="SPNOrderDetails1_listServiceLevel"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form id="Login" action="http://arrow.oe.agentgrid.net/UsersAdmin/LoginGate.aspx" method="post"> | |
<label class="lbl">User Name:</label><input type="text" id="Login_ID" name="Login_ID" maxlength="60" class="inpt"> | |
<label class="lbl">Password:</label><input type="password" id="passwd" name="password" maxlength="20" class="inpt"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = 'http://ms1.agentgrid.net/api/tagnet/service_levels?' | |
var query = 'PartnerID=2&ServiceLevel=Basic%201'; | |
var options = { | |
type: 'GET', | |
url: url+query, | |
dataType: 'json', | |
success: success, | |
error: error | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"PartnerPrimaryOrderID": "101U1644", | |
"PartnerId": "101", | |
"PartnerID": "101", | |
"OrderedBy": "", | |
"ldAddress": { | |
"name": "American Heritage ", | |
"address1": "630 Mondial Pkwy", | |
"address2": "", | |
"city": "Streetsboro", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stuff((SELECT ' ' + B.reference | |
FROM tagnet_appointmentspn_partnerorderadditionalreferences B | |
WHERE B.partnerprimaryorderid = headers.partnerprimaryorderid | |
AND B.referencetype = 'CR' | |
AND LEFT(B.reference, 1) NOT IN ( '0', '1', '2', '3', | |
'4', '5', '6', '7', | |
'8', '9' ) | |
FOR xml path('')), 1, 1, '') AS 'PARTNER NAME', |