Skip to content

Instantly share code, notes, and snippets.

@dperussina
Last active August 2, 2017 19:46
Show Gist options
  • Save dperussina/61e7cdd9937ec907c45eebda0d3b4f86 to your computer and use it in GitHub Desktop.
Save dperussina/61e7cdd9937ec907c45eebda0d3b4f86 to your computer and use it in GitHub Desktop.
{
"AddressPoints": [{
"Name": "",
"Address1": "",
"Address2": "",
"City": "",
"State": "",
"Zipcode": "",
"Phone": "",
"Email": "",
"MobilePhone": "",
"ContactName": "",
"AddressType": ""
}],
"References": [{
"Name": "",
"Description": ""
}],
"Items": [{
"ItemID": "",
"Description": "",
"Quantity": 0,
"Weight": 0.0,
"Pieces": 0,
"Length": 0.0,
"Width": 0.0,
"Height": 0.0
}],
"BillingContactName": "",
"BillingAddress1": "",
"BillingAddress2": "",
"BillingCity": "",
"BillingState": "",
"BillingZip": "",
"BillingContactPhone": "",
"BillingContactEmail": "",
"PaymentTerms": "",
"ServiceLevel": "",
"NotificationEmail": "",
"NotificationText": "",
"SendNotification": ""
}
{
// "PartnerID": "", REMOVED BECAUSE THE API KEY WILL ALREADY KNOW ID
// "FirstName": "",
// "LastName": "", Not Necessary
"AddressPoints": [
{
"Name": "",
"Address1": "",
"Address2": "",
"City": "",
"State": "",
"Zipcode": "",
"Phone": "",
"Email": "",
"MobilePhone": "",
"ContactName": "",
"AddressType": "" // LD = Load, WP = WayPoint, UL = Unload
}
], // TABLE = [dbo].[tagnet_AppointmentSPN_PartnerAddressPoints]
"References": [
{
"Name": "",
"Description": ""
}
], // TABLE = First two in [dbo].[tagnet_AppointmentSPN_PartnerOrderHeaders] Reference1 and 2
// TABLE = Rest in [dbo].[tagnet_AppointmentSPN_PartnerOrderAdditionalReferences]
"Items": [
{
"ItemID": "",
"Description": "",
"Quantity":0,
"Weight": 0.0,
"Pieces": 0,
"Length": 0.0,
"Width": 0.0,
"Height": 0.0
}
], // TABLE = [dbo].[tagnet_AppointmentSPN_PartnerFreightItems]
// "PickupContactName": "",
// "PickupAddress1": "",
// "PickupAddress2": "",
// "PickupCity": "",
// "PickupState": "",
// "PickupZip": "",
// "PickupContactPhone": "",
// "PickupContactEmail": "",
// "PickupDateTime": "",
// "ShippingContactName": "",
// "ShippingAddress1": "",
// "ShippingAddress2": "",
// "ShippingCity": "",
// "ShippingState": "",
// "ShippingZip": "",
// "ShippingContactPhone": "",
// "ShippingContactEmail": "",REPLACED BY ADDRESS POINT(S)
"BillingContactName": "",
"BillingAddress1": "",
"BillingAddress2": "",
"BillingCity": "",
"BillingState": "",
"BillingZip": "",
"BillingContactPhone": "",
"BillingContactEmail": "",
// "PONumber": "", IN REFREENCES
"PaymentTerms": "", //Questioning this
// "ShippingMode": "", // Replace With ServiceLevel
"ServiceLevel": "",
"NotificationEmail": "",
"NotificationText": "",
"SendNotification": ""
// "ShipQuantity": "",
// "ProductID": "", REPLACED WITH ITEMS
// "ProductName": "",
// "ProductDescription": "",
// "ProductWeight": "",
// "ProductID1": "",
// "ProductName1": "",
// "ProductDescription1": "",
// "ProductWeight1": "",
// "ProductID2": "",
// "ProductName2": "",
// "ProductDescription2": "",
// "ProductWeight2": "",
// "ProductID3": "",
// "ProductName3": "",
// "ProductDescription3": "",
// "ProductWeight3": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment