NAV
json

Overview

The AgilityPublic and Agility APIs are Application Programming Interfaces that can be accessed over the internet and executed on a remote system hosting the requested services. These APIs allow a client application to make service requests for the operations (methods) that are exposed. These operations are limited to the operations DMSi elects to expose and various levels of security allow the network, database, and/or system administrators to restrict access to the API functionality.

The goals of the AgilityPublic and Agility APIs:

This document is intended as a high level overview of the DMSi APIs and the methods available in the REST APIs and their services.

URL Information

Testing Tool

General Information

Field Data Types

Character

Date

Decimal (0.00 or 0.0000)

Integer (0)

Logical

Data-Chunking

RecordFetchLimit

ChunkStartPointer

MoreResultsAvailable

NextChunkStartPointer

Parent/Child Relationships

Input Parameters

Casing must be taken into consideration with input parameters.

Special Characters

Special character values such as < or > must be entered with the ESC characters to pass XML standards. For example, to enter a route of <all>, enter the value as &lt;all&gt; Please consult outside documentation for acceptable translations of special characters.

ReturnCode and MessageText Notes

AgilityPublic API Technical Information

The AgilityPublic API is deployed using REST supporting .NET and Progress clients. This API utilizes RPC with JSON. It uses a state-free session model architecturally, but functionally requires that the client logs in to get a context ID and Branch before business requests are made.

The parameter signatures for the methods that can be requested from the web service are simple data types, with the exception of data structured in records. Groups of records are passed as a complex type that can be translated from/to a dataset.

The login request returns the client’s initial Branch ID as well as the context ID when login has been successful. Branch in Agility means a defined portion of the business that Agility serves. For most Agility systems, branch refers to physical locations, like the Omaha branch and the Milwaukee branch. Some Agility systems are set up such that branches represent something other than location, like functional departments. While some Agility systems have many branches and others have as few as one, there is always at least one branch in Agility, and all Agility processes are performed from the perspective of a particular branch. Therefore, to ensure the user is valid, the context ID and branch ID must be sent in the header for each request.

Note that if a particular context ID is not used to run a program for a certain amount of time, that context ID times out. When the time out occurs, the next request of the server from that client using that context id is rejected. The default time out setting is 4 hours, but the system manager of the Agility system serving the requests can change the value, up to a maximum of 24 hours.

The User ID and Password that are required by the login request are maintained and supplied by the system manager of the Agility system serving the requests. This is not a hard-coded User ID and Password that are specific to a particular usage of Agility Web Services. In other words there is no DMSi-mandated User ID designated for a specific product that interfaces with Agility. Each DMSi customer is allowed to set their own level of security for all User IDs, including the User IDs they create to allow Agility access for 3rd party products.

The AgilityPublic API supports versioning as DMSi routinely makes enhancements and changes to the web services. Changes to web services are detailed in the release notes and, depending on the change, within help documentation with each Agility version.

AgilityPublic/AccountsPayable Service

This AgilityPublic service contains methods related to creating and updating accounts payable information.

InvoiceCreate

Sample Request

{
  "request": {
    "dsInvoiceRequest": {
      "dtInvoiceHeaderRequest": [
        {
          "InvoiceID": "01251901",
          "InvoiceDate": "2019-01-25",
          "PostingPeriod": 1,
          "PostingYear": 2019,
          "SupplierID": "WEH",
          "SupplierRemitToSequence": 1,
          "EnforceSupplierMatch": true,
          "PaymentMethod": "Check",
          "PaymentTermsCode": "",
          "DueDate": null,
          "BatchID": "1",
          "Requires1099": false,
          "Payment1099TypeCode": "",
          "Taxable": false,
          "TaxAmount": null,
          "TaxCode": "",
          "DiscountDate": null,
          "DiscountAmount": 0,
          "VoucherStatus": "Ready for Payment",
          "FreightID": "",
          "CashGLAccount": "",
          "DiscountGLAccount": "",
          "APGLAccount": "",
          "PaymentRemark": "",
          "HandlingCode": "FEDEX",
          "HandlingCodeAddlInfo": "FAST",
          "SuppressCurrencyMatch": false
        }
      ],
      "dtInvoiceOrdersRequest": [
        {
          "TranOrAPReconID": "8003",
          "Amount": 0,
          "DiscountableAmount": 0,
          "TaxAmount": 0
        }
      ],
      "dtExpenseAccountsRequest": [
        {
          "GLExpAccount": "0100120004",
          "Amount": 0,
          "ProjectNumber": null,
          "Remark": null
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "VoucherNumber": 2170,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates an A/P invoice

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

AgilityPublic/AccountsReceivable Service

This AgilityPublic service contains methods related to creating and updating accounts receivable information.

BalancesList

Sample Request

{
  "request": {
    "CustomerID": "12345"
  }
}

Sample Response

{
  "response": {
    "BalanceResponse": {
      "dsARBalanceResponse": {
        "dtARBalanceHeaderResponse": [
          {
            "CustomerID": "12345",
            "BranchID": "WESTONBRANCH",
            "ProcessDate": "2019-01-17",
            "CustomerName": "DAA Hardware and Supply",
            "AccountBalance": -679793.05,
            "FutureBalance": 0,
            "CurrentBalance": -841956.04,
            "PastDueBalance1": 0,
            "PastDueBalance2": -500,
            "PastDueBalance3": 0,
            "PastDueBalance4": 0,
            "FinanceChargeTotal": 0,
            "PaymentOnAcctTotal": -829596.37,
            "DepositOnAcctTotal": -12359.67,
            "OnHoldTotal": 0,
            "TermsDiscountTotal": 0,
            "LastPaymentDate": "2018-09-18",
            "LastPaymentAmount": 354.05,
            "PastDueBalance1Label": "2-30 Days",
            "PastDueBalance2Label": "31-60 Days",
            "PastDueBalance3Label": "61-90 Days",
            "PastDueBalance4Label": "Over 90 Days",
            "dtARBalanceDetailResponse": [
              {
                "CustomerID": "12345",
                "BranchID": "WESTONBRANCH",
                "ProcessDate": "2019-01-17",
                "InvoiceNumber": "CA-000000222",
                "InvoiceNumberSequence": 0,
                "TransactionID": 0,
                "ShipmentNumber": 0,
                "InvoiceType": "Payment on Account",
                "ShipToSequence": 1,
                "BillToSequence": 1,
                "CustomerPO": "",
                "InvoiceOnHold": false,
                "ShipDate": null,
                "InvoiceDate": "2018-02-21",
                "InvoiceDueDate": "2018-02-21",
                "TermsCode": "",
                "TermsDescription": "",
                "TermsDiscountDate": null,
                "TermsDiscountAmount": 0,
                "InvoiceSubtotal": -500,
                "InvoiceChargesAmount": 0,
                "InvoiceTaxAmount": 0,
                "InvoiceTotal": -500,
                "InvoicePaymentAdjustAmount": 0,
                "InvoiceBalance": -500,
                "TransactionReference": "",
                "TransactionJob": "",
                "PaymentId": "02212018002741",
                "CMOrigInvoiceNumber": "",
                "ShipToName": "",
                "ShipToAddress1": "",
                "ShipToAddress2": "",
                "ShipToAddress3": "",
                "ShipToCity": "",
                "ShipToState": "",
                "ShipToZip": "",
                "PastDueBalanceBucket": ""
              }
            ]
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the current AR aging information and related invoices

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerOpenActivity

Sample Request

{
  "request": {
    "CustomerID": "12345",
    "ShiptoSequence": 1
  }
}

Sample Response

{
  "response": {
    "OrdersResponse": {
      "dsOrdersResponse": {
        "dtOrderResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "OrderID": 262569,
            "CustomerID": "123161",
            "ShipToSequence": 2,
            "OrderedBy": "",
            "OrderDate": "2016-10-24",
            "ExpectedDate": "2016-10-25",
            "OrderStatus": "Open",
            "OrderProcessStatus": "",
            "CreditHoldStatus": "",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse Order WH",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "RouteID": "",
            "ShipVia": "testshipvia",
            "FreightTerms": "",
            "PayTermsCode": "LAL",
            "OrderSubtotal": 80.01,
            "OrderChargesAmount": 0,
            "Taxable": false,
            "TaxCode": "",
            "OrderTaxAmount": 0,
            "OrderTotal": 80.01,
            "DiscountAmount": 0.8,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "DAA HARDWARE SHIP-TO 2",
            "ShipToAddress1": "SHIP TO 2 SGL ACCT BT 1",
            "ShipToAddress2": "",
            "ShipToAddress3": "",
            "ShipToCity": "override",
            "ShipToState": "NE",
            "ShipToCountry": "USA",
            "ShipToZip": "68130",
            "ShipToPhone": "(402)-555-1111",
            "BillToName": "DAA HARDWARE BILL-TO 1",
            "BillToAddress1": "123 A STREET",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "LA VISTA",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68128",
            "BillToPhone": "(   )-   -    ",
            "SalesAgentID1": "0901",
            "SalesAgentName1": "",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "UpdateDate": "2016-10-24",
            "UpdateTime": "14:00:48",
            "ContactEmail": "",
            "ContactName": "",
            "ContactPhone": "",
            "ShipComplete": false,
            "CostTotal": 0,
            "CostType": "Item default",
            "TotalWeight": 0,
            "TotalLoad": 0,
            "dtOrderDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 262569,
                "Sequence": 1,
                "DisplaySequence": 1,
                "LineType": "SO",
                "ItemCode": "QuickBOM",
                "ItemSize": "Extraordinary & Fancy",
                "ItemDescription": "3-0 X 6-8",
                "TotalOrderedQuantity": 1,
                "QuantityUOM": "EA",
                "GrossPrice": 80.01,
                "NetPrice": 80.01,
                "PriceUOM": "EA",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": 80.01,
                "TotalBackorderedQuantity": 1,
                "TotalStagedQuantity": 0,
                "TotalUnstagedQuantity": 0,
                "TotalInvoicedQuantity": 0,
                "LinkedTranType": "",
                "LinkedTranID": 0,
                "LinkedTranSequence": 0,
                "CustomerPOLineNumber": "001",
                "DepartmentName": "",
                "DepartmentNumber": "",
                "PartNumber": "",
                "SKU": "",
                "UPCCode": "",
                "ExtCost": 0,
                "ExtWeight": 0,
                "ExtLoad": 0,
                "ExpectedDate": "2016-10-25"
              }
            ]
          }
        ]
      }
    },
    "QuotesResponse": {
      "dsQuotesResponse": {
        "dtQuoteResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "QuoteID": 289539,
            "HeaderGUID": "100963d-ec89-4814-dd00b59682",
            "QuoteType": "",
            "CustomerID": "123161",
            "ShipToSequence": 2,
            "QuotedBy": "llattier",
            "QuotedFor": "Joe Smith",
            "QuoteDate": "2018-11-20",
            "ActivationDate": "2018-11-20",
            "ClosedDate": "2019-03-20",
            "QuoteProcessStatus": "Open",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse Order WH",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "ShipVia": "",
            "FreightTerms": "",
            "PayTermsCode": "LAL",
            "OrderSubtotal": 46,
            "OrderChargesAmount": 0,
            "Taxable": false,
            "TaxCode": "NE5.5",
            "OrderTaxAmount": 0,
            "OrderTotal": 46,
            "DiscountAmount": 0.46,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "DAA Hardware & <> / : ' , Supp",
            "ShipToAddress1": "ADDRESS LINE 1",
            "ShipToAddress2": "ADDRESS LINE 2",
            "ShipToAddress3": "",
            "ShipToCity": "La Vista",
            "ShipToState": "NE",
            "ShipToCountry": "USA",
            "ShipToZip": "68128",
            "ShipToPhone": "(402)-555-1111",
            "BillToName": "DAA HARDWARE BILL-TO 1",
            "BillToAddress1": "123 A STREET",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "LA VISTA",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68128",
            "BillToPhone": "(   )-   -    ",
            "SalesAgentID1": "0901",
            "SalesAgentName1": "",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "dtQuoteDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "QuoteID": 289539,
                "Sequence": 1,
                "DisplaySequence": 1,
                "ItemCode": "LL-NAILS",
                "ItemSize": "",
                "ItemDescription": "",
                "DetailProcessStatus": "Open",
                "TotalOrderedQuantity": 10,
                "QuantityUOM": "EA",
                "GrossPrice": 2.5,
                "NetPrice": 2.5,
                "PriceUOM": "EA",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": 25,
                "WOPhrase": ""
              }
            ]
          }
        ]
      }
    },
    "CreditMemosResponse": {
      "dsCreditMemosResponse": {
        "dtCreditMemoResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "OrderID": 302150,
            "CustomerID": "123161",
            "ShipToSequence": 2,
            "OrderedBy": "",
            "OrderDate": "2019-02-21",
            "ExpectedDate": null,
            "OrderStatus": "Open",
            "OrderProcessStatus": "",
            "CreditHoldStatus": "",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse Order WH",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "RouteID": "",
            "ShipVia": "",
            "FreightTerms": "",
            "PayTermsCode": "LAL",
            "OrderSubtotal": -25,
            "OrderChargesAmount": 0,
            "Taxable": false,
            "TaxCode": "NE5.5",
            "OrderTaxAmount": 0,
            "OrderTotal": -25,
            "DiscountAmount": -0.25,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "DAA Hardware & <> / : ' , Supp",
            "ShipToAddress1": "ADDRESS LINE 1",
            "ShipToAddress2": "ADDRESS LINE 2",
            "ShipToAddress3": "",
            "ShipToCity": "La Vista",
            "ShipToState": "NE",
            "ShipToCountry": "USA",
            "ShipToZip": "68128",
            "ShipToPhone": "(402)-555-1111",
            "BillToName": "DAA HARDWARE BILL-TO 1",
            "BillToAddress1": "123 A STREET",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "LA VISTA",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68128",
            "BillToPhone": "(   )-   -    ",
            "SalesAgentID1": "0901",
            "SalesAgentName1": "",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "UpdateDate": "2019-02-21",
            "UpdateTime": "07:25:53",
            "ContactEmail": "",
            "ContactName": "",
            "ContactPhone": "",
            "ShipComplete": false,
            "CostTotal": -0.03,
            "CostType": "Item default",
            "TotalWeight": 70,
            "TotalLoad": 0,
            "StatusType": "RMA",
            "dtCreditMemoDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 302150,
                "Sequence": 1,
                "DisplaySequence": 1,
                "LineType": "CM",
                "ItemCode": "LL-NAILS",
                "ItemSize": "",
                "ItemDescription": "",
                "TotalOrderedQuantity": -10,
                "QuantityUOM": "EA",
                "GrossPrice": 2.5,
                "NetPrice": 2.5,
                "PriceUOM": "EA",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": -25,
                "TotalBackorderedQuantity": 0,
                "TotalStagedQuantity": 0,
                "TotalUnstagedQuantity": 0,
                "TotalInvoicedQuantity": 0,
                "LinkedTranType": "",
                "LinkedTranID": 0,
                "LinkedTranSequence": 0,
                "CustomerPOLineNumber": "",
                "DepartmentName": "",
                "DepartmentNumber": "",
                "PartNumber": "",
                "SKU": "",
                "UPCCode": "",
                "ExtCost": -0.0252,
                "ExtWeight": 70,
                "ExtLoad": 0
              }
            ]
          }
        ]
      }
    },
    "BalanceResponse": {
      "dsCustBalanceResponse": {
        "dtBalanceHeaderResponse": [
          {
            "CustomerID": "123161",
            "BranchID": "WESTONBRANCH",
            "ProcessDate": "2019-03-14",
            "CustomerName": "DAA Hardware and Supply",
            "AccountBalance": -679787.2,
            "FutureBalance": 0,
            "CurrentBalance": -841956.04,
            "PastDueBalance1": -4.15,
            "PastDueBalance2": 10,
            "PastDueBalance3": -975.08,
            "PastDueBalance4": 163138.07,
            "FinanceChargeTotal": 0,
            "PaymentOnAcctTotal": -829596.37,
            "DepositOnAcctTotal": -12359.67,
            "OnHoldTotal": 0,
            "TermsDiscountTotal": 0,
            "LastPaymentDate": "2018-09-18",
            "LastPaymentAmount": 354.05,
            "PastDueBalance1Label": "2-30 Days",
            "PastDueBalance2Label": "31-60 Days",
            "PastDueBalance3Label": "61-90 Days",
            "PastDueBalance4Label": "Over 90 Days",
            "dtBalanceDetailResponse": [
              {
                "CustomerID": "123161",
                "BranchID": "WESTONBRANCH",
                "ProcessDate": "2019-03-14",
                "InvoiceNumber": "CA-000000222",
                "InvoiceNumberSequence": 0,
                "TransactionID": 0,
                "ShipmentNumber": 0,
                "InvoiceType": "Payment on Account",
                "ShipToSequence": 1,
                "BillToSequence": 1,
                "CustomerPO": "",
                "InvoiceOnHold": false,
                "ShipDate": null,
                "InvoiceDate": "2018-02-21",
                "InvoiceDueDate": "2018-02-21",
                "TermsCode": "",
                "TermsDescription": "",
                "TermsDiscountDate": null,
                "TermsDiscountAmount": 0,
                "InvoiceSubtotal": -500,
                "InvoiceChargesAmount": 0,
                "InvoiceTaxAmount": 0,
                "InvoiceTotal": -500,
                "InvoicePaymentAdjustAmount": 0,
                "InvoiceBalance": -500,
                "TransactionReference": "",
                "TransactionJob": "",
                "PaymentId": "02212018002741",
                "CMOrigInvoiceNumber": "",
                "ShipToName": "",
                "ShipToAddress1": "",
                "ShipToAddress2": "",
                "ShipToAddress3": "",
                "ShipToCity": "",
                "ShipToState": "",
                "ShipToZip": "",
                "PastDueBalanceBucket": ""
              }
            ]
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of open orders, open quotes, open credit memos, and the AR balances for a specific customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

InvoicesList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "12345",
    "ShiptoSequence": 1,
    "IncludeOnlyOpenInvoices": false,
    "ChunkStartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "InvoiceResponse": {
      "dsInvoiceResponse": {
        "dtInvoiceOrderResponse": [
          {
            "BranchID": "WESTON",
            "InvoiceNumber": "00000350-001",
            "InvoiceNumberSequence": 0,
            "TransactionID": 350,
            "TransactionType": "SO",
            "ShipmentNumber": 1,
            "InvoiceType": "Invoice",
            "CustomerID": "12345",
            "ShipToSequence": 1,
            "OrderedBy": "",
            "OrderDate": "2019-01-25",
            "ShipDate": "2019-01-25",
            "InvoiceDate": "2019-01-25",
            "InvoiceDueDate": "2019-02-24",
            "InvoiceStatus": "Open",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "RouteID": "",
            "ShipVia": "",
            "FreightTerms": "",
            "PayTermsCode": "2%10NET30",
            "OrderSubtotal": 124.9,
            "OrderChargesAmount": 30,
            "Taxable": true,
            "TaxCode": "City of Chicago",
            "OrderTaxAmount": 9.99,
            "OrderTotal": 164.89,
            "InvoicePaymentAdjustAmount": 0,
            "OrderBalance": 164.89,
            "DiscountAmount": 2.5,
            "DiscountDate": "2019-02-04",
            "AfterDeductFreightAmt": 0,
            "ShipToName": "DS SUPPLY",
            "ShipToAddress1": "6574 Industrial Road",
            "ShipToAddress2": "",
            "ShipToAddress3": "",
            "ShipToCity": "Chicago",
            "ShipToState": "IL",
            "ShipToCountry": "USA",
            "ShipToZip": "60176-    ",
            "ShipToPhone": "(312)-555-7845",
            "BillToName": "DAVE SMITH",
            "BillToAddress1": "123 Industrial Road",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "Chicago",
            "BillToState": "IL",
            "BillToCountry": "USA",
            "BillToZip": "60176-    ",
            "BillToPhone": "(312)-555-7845",
            "SalesAgentID1": "1001",
            "SalesAgentName1": "John Doe",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "dtInvoiceDetailResponse": [
              {
                "BranchID": "WESTON",
                "InvoiceNumber": "00000350-001",
                "InvoiceNumberSequence": 0,
                "TransactionID": 350,
                "TransactionType": "SO",
                "ShipmentNumber": 1,
                "InvoiceType": "Invoice",
                "Sequence": 1,
                "DisplaySequence": 1,
                "ItemCode": "xHammer",
                "ItemSize": "",
                "ItemDescription": "hammer",
                "TotalOrderedQuantity": 10,
                "ShippedQuantity": 10,
                "QuantityUOM": "EA01",
                "Price": 12.49,
                "PriceUOM": "EA01",
                "DiscountDescription": "",
                "ExtendedPrice": 124.9
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of invoices, including invoice details, for a specific customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

AgilityPublic/Customer Service

This AgilityPublic service contains methods related to creating and updating customer information. The following applies to all methods within the AgilityPublic Customer Service:

CustomerBank

Sample Request

{
  "request": {
    "CustomerID": "",
    "AccountNumber": "",
    "RoutingNumber": "",
    "BankJSON": {
      "dsCustomerBank": {
        "dtCustomerBank": [
          {
            "BankName": "",
            "AccountType": "",
            "DefaultBranch": "",
            "UseForACHProcessing": false,
            "ApprovedForACHProcessing": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates sold-to customer bank information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerBilltoBank

Sample Request

{
  "request": {
    "CustomerID": "",
    "BilltoSequence": 0,
    "AccountNumber": "",
    "RoutingNumber": "",
    "BankJSON": {
      "dsCustomerBilltoBank": {
        "dtCustomerBilltoBank": [
          {
            "BankName": "",
            "AccountType": "",
            "DefaultBranch": "",
            "UseForACHProcessing": false,
            "ApprovedForACHProcessing": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates bill-to customer bank information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerBilltoContact

Sample Request

{
  "request": {
    "CustomerID": "",
    "BilltoSequence": 0,
    "ContactName": "",
    "ContactType": "",
    "ContactJSON": {
      "dsCustomerBilltoContact": {
        "dtCustomerBilltoContact": [
          {
            "Primary": false,
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "Phone1": "",
            "Phone2": "",
            "OtherPhone": "",
            "MobilePhone": "",
            "Fax": "",
            "EmailAddress": "",
            "NotifyShipmentEnRoute": false,
            "NotifyShipmentDelivered": false,
            "NotifyShipmentRefused": false,
            "ContactTitle": "",
            "Salutation": "",
            "OtherData": "",
            "Remarks": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates bill-to customer contact

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerBilltoCreate

Sample Request

{
  "request": {
    "CustomerID": "",
    "BilltoJSON": {
      "dsCustomerBillto": {
        "dtCustomerBillto": [
          {
            "Name": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "Email": "",
            "UseBilltoInvNumFormat": false,
            "UseBranchPrefix": false,
            "UseHyphenBeforeShipmentID": false,
            "NumCharactersForTranID": 0,
            "NumCharactersForShipmentID": 0,
            "CrossRefRequired": "",
            "CrossRefRequiredSpecialOrders": "",
            "DefaultStandardPriceLevel": 0,
            "DiscountGraceDays": 0,
            "ApplyCCSurchargeFee": "",
            "CCSurchargeDiscountPercent": 0.0,
            "IncludeInAutoCash": false,
            "FinanceCharge": false,
            "EDIMailbox": "",
            "EDIOrgIDDigits": "",
            "EDIAlternateCashAccount": "",
            "EDIAlternateCashGLComponent": 0,
            "EDIPaymentRules": 0,
            "AutoApplyARRemitLockboxPayments": false,
            "AcceptDupInvARRemit": false,
            "AcceptDupInvLockboxPayments": false,
            "CreateAdjInvForVariancePayDetail": false,
            "SalesAgentForAdjInv": "",
            "BranchForAdjInv": "",
            "RemittoDivision": "",
            "CustomInvoiceProcessing": "",
            "AppliesToShiptoInvoices": false,
            "PrintInvoiceCopyForBillto": false,
            "BilltoInvoicePhone": "",
            "BilltoInvoiceFax": "",
            "PrintInvoiceCopyForShipto": false,
            "ShiptoInvoicePhone": "",
            "ShiptoInvoiceFax": "",
            "UseBilltoStatementSettings": false,
            "StatementType": "",
            "CycleCode": "",
            "StatementPrintSummaryOnly": false,
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "ReferenceNum": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "MinimumFinanceCharge": 0.0,
            "FinanceChargeThreshold": 0.0,
            "IncludeFinanceChargeInvoices": false,
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.0,
            "CreditLimitAmt": 0.0,
            "OverdueAmt": 0.0,
            "OverduePercentage": 0.0,
            "OverdueDays": 0,
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.0,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "BilltoSequence": 2,
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a bill-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Email field v550

CustomerBilltoLaserControls

Sample Request

{
  "request": {
    "CustomerID": "",
    "BilltoSequence": 0,
    "FormType": "",
    "PrinterSequence": 0,
    "LaserControlJSON": {
      "dsCustomerBilltoLaserControls": {
        "dtCustomerBilltoLaserControls": [
          {
            "PrinterName": "",
            "FaxEmailToSource": "",
            "Fax": "",
            "Email": "",
            "Copies": 0,
            "FormFooter": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates bill-to customer laser controls

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerBilltoUpdate

Sample Request

{
  "request": {
    "CustomerID": "123456",
    "BilltoSequence": 1,
    "BilltoJSON": {
      "dsCustomerBillto": {
        "dtCustomerBillto": [
          {
            "Name": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "Email": "",
            "UseBilltoInvNumFormat": false,
            "UseBranchPrefix": false,
            "UseHyphenBeforeShipmentID": false,
            "NumCharactersForTranID": 0,
            "NumCharactersForShipmentID": 0,
            "CrossRefRequired": "",
            "CrossRefRequiredSpecialOrders": "",
            "DefaultStandardPriceLevel": 0,
            "DiscountGraceDays": 0,
            "ApplyCCSurchargeFee": "",
            "CCSurchargeDiscountPercent": 0.0,
            "IncludeInAutoCash": false,
            "FinanceCharge": false,
            "EDIMailbox": "",
            "EDIOrgIDDigits": "",
            "EDIAlternateCashAccount": "",
            "EDIAlternateCashGLComponent": 0,
            "EDIPaymentRules": 0,
            "AutoApplyARRemitLockboxPayments": false,
            "AcceptDupInvARRemit": false,
            "AcceptDupInvLockboxPayments": false,
            "CreateAdjInvForVariancePayDetail": false,
            "SalesAgentForAdjInv": "",
            "BranchForAdjInv": "",
            "RemittoDivision": "",
            "CustomInvoiceProcessing": "",
            "AppliesToShiptoInvoices": false,
            "PrintInvoiceCopyForBillto": false,
            "BilltoInvoicePhone": "",
            "BilltoInvoiceFax": "",
            "PrintInvoiceCopyForShipto": false,
            "ShiptoInvoicePhone": "",
            "ShiptoInvoiceFax": "",
            "UseBilltoStatementSettings": false,
            "StatementType": "",
            "CycleCode": "",
            "StatementPrintSummaryOnly": false,
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "ReferenceNum": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "MinimumFinanceCharge": 0.0,
            "FinanceChargeThreshold": 0.0,
            "IncludeFinanceChargeInvoices": false,
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.0,
            "CreditLimitAmt": 0.0,
            "OverdueAmt": 0.0,
            "OverduePercentage": 0.0,
            "OverdueDays": 0,
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.0,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates a bill-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Email field v550

CustomerBranchShiptoCreate

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 1,
    "BranchShiptoJSON": {
      "dsCustomerBranchShipto": {
        "dtCustomerBranchShipto": [
          {
            "UseBranchLaserControls": false,
            "EnableDefaultFlags": false,
            "Active": false,
            "Prospect": false,
            "ShipComplete": false,
            "WMSShipComplete": false,
            "AcceptsBO": false,
            "Nonsalable": false,
            "PricedPickDelv": false,
            "OverridePickDelvSortOrder": false,
            "ApplyPromoPricesDisc": false,
            "DisplayPiecePrice": false,
            "RepriceOrderAtShipment": false,
            "RequireOrderAcknowledgment": false,
            "TrackLinkedReceiptsOrderAck": false,
            "AcceptsNightDeliveries": false,
            "DisplayPaymentsOnSOSave": false,
            "FullPaymentRequired": false,
            "FullPaymentRequiredOrderTypes": "",
            "AllowOverpaymentsInvoicing": false,
            "ApplyOverpaymentType": "",
            "DefaultShipmentStatus": "",
            "MinOrderHoldAmount": 0,
            "MinOrderHoldForceShipComplete": false,
            "EnableDefaultCodes": false,
            "FreightTerms": "",
            "ShipVia": "",
            "SaleType": "",
            "ECommerceSaleType": "",
            "Zone": "",
            "Priority": 0,
            "EnableTaxes": false,
            "Taxable": false,
            "Taxcode": "",
            "EnableSalesAgents": false,
            "SalesAgent1": "",
            "SalesAgent1PctOfOrder": 0.0,
            "SalesAgent2": "",
            "SalesAgent2PctOfOrder": 0.0,
            "SalesAgent3": "",
            "SalesAgent3PctOfOrder": 0.0,
            "EnablePaymentTerms": false,
            "PaymentTermsCode": "",
            "CMPaymentTermsCode": "",
            "EnableFieldRequirements": false,
            "OrderedByRequired": false,
            "AuthToChargeRequired": false,
            "ShipViaRequired": false,
            "ShipViaRequiredOrderTypes": "",
            "UpdSalesAgentOpenSO": false,
            "UpdSalesAgentOpenQuote": false,
            "UpdSalesAgentOpenCM": false,
            "UpdSalesAgentOpenPOSSO": false,
            "UpdSalesAgentOpenPOSQuote": false,
            "UpdSalesAgentOpenPOSCM": false,
            "UpdSalesAgentOpenTranNotOverride": false,
            "UpdPayTermOpenSO": false,
            "UpdPayTermOpenQuote": false,
            "UpdPayTermOpenCM": false,
            "UpdPayTermOpenTranNotOverride": false,
            "UpdMinOrderHoldAmtOpenSO": false,
            "SetNonSalableWithOpen": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a branch ship-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Nonsalable field v548; Updated with SalesAgent#PctOfOrder fields v550

CustomerBranchShiptoList

Sample Request

{
  "request": {
    "CustomerID": "12345",
    "ShiptoSequence": 1
  }
}

Sample Response

{
  "response": {
    "CustBranchShiptoResults": {
      "dsCustBranchShiptoResponse": {
        "dtCustBranchShiptoResponse": [
          {
            "UseBranchLaserControls": false,
            "EnableDefaultFlags": false,
            "Active": false,
            "ShipComplete": false,
            "WMSShipComplete": false,
            "AcceptsBO": false,
            "Nonsalable": false,
            "PricedPickDelv": false,
            "OverridePickDelvSortOrder": false,
            "ApplyPromoPricesDisc": false,
            "DisplayPiecePrice": false,
            "RepriceOrderAtShipment": false,
            "RequiresOrderAck": false,
            "TrackLinkedReceiptsOnOrderAck": false,
            "AcceptsNightDeliveries": false,
            "DisplayPmtsOnSaveAutoPOS": false,
            "FullPaymentRequired": false,
            "FullPaymentRequiredRule": "Invoices and CM's",
            "AllowOverpaymentAtInvoicing": false,
            "ApplyOverpaymentType": "Cash on Account",
            "ShipmentStatus": "Staged",
            "MinOrderHoldAmount": 0,
            "ForceShipComplete": false,
            "EnableDefaultCodes": true,
            "FreightTerms": "",
            "ShipVia": "",
            "SaleType": "WH",
            "ECommerceSaleType": "WH",
            "Zone": "",
            "Priority": 0,
            "EnableTaxes": false,
            "Taxable": false,
            "Taxcode": "",
            "EnableSalesAgents": true,
            "SalesAgentOne": "1001",
            "SalesAgentTwo": "",
            "SalesAgentThree": "",
            "EnablePaymentTerms": true,
            "PaymentTermsCode": "NET15TH",
            "CMPaymentTermsCode": "",
            "EnableFieldRequirements": false,
            "OrderedByRequired": false,
            "AuthToChargeRequired": false,
            "ShipViaRequired": false,
            "ShipViaAppliesTo": "SO",
            "Prospect": false,
            "SalesAgent1PctOfOrder": 0.0,
            "SalesAgent2PctOfOrder": 0.0,
            "SalesAgent3PctOfOrder": 0.0
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Gets customer branch ship-to information

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

CustomerBranchShiptoLaserControls

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 0,
    "FormType": "",
    "PrinterSequence": 0,
    "LaserControlJSON": {
      "dsCustBranchShiptoLaserControls": {
        "dtCustBranchShiptoLaserControls": [
          {
            "PrinterName": "",
            "FaxEmailToSource": "",
            "Fax": "",
            "Email": "",
            "Copies": 0,
            "FormFooter": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates branch ship-to customer laser controls

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerBranchShiptoUpdate

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 1,
    "BranchShiptoJSON": {
      "dsCustomerBranchShipto": {
        "dtCustomerBranchShipto": [
          {
            "UseBranchLaserControls": false,
            "EnableDefaultFlags": false,
            "Active": false,
            "Prospect": false,
            "ShipComplete": false,
            "WMSShipComplete": false,
            "AcceptsBO": false,
            "Nonsalable": false,
            "PricedPickDelv": false,
            "OverridePickDelvSortOrder": false,
            "ApplyPromoPricesDisc": false,
            "DisplayPiecePrice": false,
            "RepriceOrderAtShipment": false,
            "RequireOrderAcknowledgment": false,
            "TrackLinkedReceiptsOrderAck": false,
            "AcceptsNightDeliveries": false,
            "DisplayPaymentsOnSOSave": false,
            "FullPaymentRequired": false,
            "FullPaymentRequiredOrderTypes": "",
            "AllowOverpaymentsInvoicing": false,
            "ApplyOverpaymentType": "",
            "DefaultShipmentStatus": "",
            "MinOrderHoldAmount": 0,
            "MinOrderHoldForceShipComplete": false,
            "EnableDefaultCodes": false,
            "FreightTerms": "",
            "ShipVia": "",
            "SaleType": "",
            "ECommerceSaleType": "",
            "Zone": "",
            "Priority": 0,
            "EnableTaxes": false,
            "Taxable": false,
            "Taxcode": "",
            "EnableSalesAgents": false,
            "SalesAgent1": "",
            "SalesAgent1PctOfOrder": 0.0,
            "SalesAgent2": "",
            "SalesAgent2PctOfOrder": 0.0,
            "SalesAgent3": "",
            "SalesAgent3PctOfOrder": 0.0,
            "EnablePaymentTerms": false,
            "PaymentTermsCode": "",
            "CMPaymentTermsCode": "",
            "EnableFieldRequirements": false,
            "OrderedByRequired": false,
            "AuthToChargeRequired": false,
            "ShipViaRequired": false,
            "ShipViaRequiredOrderTypes": "",
            "UpdSalesAgentOpenSO": false,
            "UpdSalesAgentOpenQuote": false,
            "UpdSalesAgentOpenCM": false,
            "UpdSalesAgentOpenPOSSO": false,
            "UpdSalesAgentOpenPOSQuote": false,
            "UpdSalesAgentOpenPOSCM": false,
            "UpdSalesAgentOpenTranNotOverride": false,
            "UpdPayTermOpenSO": false,
            "UpdPayTermOpenQuote": false,
            "UpdPayTermOpenCM": false,
            "UpdPayTermOpenTranNotOverride": false,
            "UpdMinOrderHoldAmtOpenSO": false,
            "SetNonSalableWithOpen": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates a branch ship-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Nonsalable field v548; Updated with SalesAgent#PctOfOrder fields v550

CustomerContact

Sample Request

{
  "request": {
    "CustomerID": "",
    "ContactName": "",
    "ContactType": "",
    "ContactJSON": {
      "dsCustomerContact": {
        "dtCustomerContact": [
          {
            "Primary": false,
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "Phone1": "",
            "Phone2": "",
            "OtherPhone": "",
            "MobilePhone": "",
            "Fax": "",
            "EmailAddress": "",
            "NotifyShipmentEnRoute": false,
            "NotifyShipmentDelivered": false,
            "NotifyShipmentRefused": false,
            "ContactTitle": "",
            "Salutation": "",
            "OtherData": "",
            "Remarks": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates a sold-to customer contact

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerCreate

Sample Request

{
  "request": {
    "CustomerID": "",
    "CustomerJSON": {
      "dsCustomer": {
        "dtCustomer": [
          {
            "Name": "",
            "DivisionID": "",
            "GroupID": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "Email": "",
            "Website": "",
            "DefaultCurrency": "",
            "PrintCurrency": "",
            "FormPrefix": "",
            "FirstInvoiceDate": "2018-05-23",
            "StartDate": "2018-05-23",
            "FirstOrderDate": "2018-05-23",
            "LastInvoiceDate": "2018-05-23",
            "Active": false,
            "FinanceCharge": false,
            "Nonsaleable": false,
            "Prospect": false,
            "CopyPriceGroupsFromShiptoSeq": 0,
            "CreditCardStorageOption": "",
            "CheckSoldtoCredit": false,
            "CheckBilltoCredit": false,
            "CheckShiptoCredit": false,
            "PrintSoldtoStatement": false,
            "PrintBilltoStatement": false,
            "PrintShiptoStatement": false,
            "StatementType": "",
            "CycleCode": "",
            "StatementPrintSummaryOnly": false,
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "TargetCustomer": false,
            "RequireInvoice": false,
            "RequireOrderAcknowledgment": false,
            "ReferenceNum": "",
            "ParentCustomerID": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "CertificateAppliesTo": "",
            "AllowCashPayments": false,
            "AllowCheckPayments": false,
            "AllowCreditCardPayments": false,
            "DisplayPriceOnCCDevice": "",
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.0,
            "CreditLimitAmt": 0.0,
            "OverdueAmt": 0.0,
            "OverduePercentage": 0.0,
            "OverdueDays": 0,
            "DUNNNumber": "",
            "CreditManager": "",
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.0,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "LastReviewDate": "2018-05-23",
            "LastApplicationDate": "2018-05-23",
            "TradeClass": "",
            "Class": "",
            "ConsigneeCode": "",
            "IndustryCode": "",
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": "",
            "UpdShiptoActiveWhenSetActive": false,
            "UpdShiptoProspectWhenSetProspect": false,
            "SetShipToBillToAddresses": "",
            "UpdAddressOnNonOverriddenTrans": "",
            "UpdAddressOnOverriddenTrans": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a sold-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Email field v550

CustomerLaserControls

Sample Request

{
  "request": {
    "CustomerID": "",
    "FormType": "",
    "PrinterSequence": 0,
    "LaserControlJSON": {
      "dsCustomerLaserControls": {
        "dtCustomerLaserControls": [
          {
            "PrinterName": "",
            "FaxEmailToSource": "",
            "Fax": "",
            "Email": "",
            "Copies": 0,
            "FormFooter": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates sold-to laser controls

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerShiptoBank

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 0,
    "AccountNumber": "",
    "RoutingNumber": "",
    "BankJSON": {
      "dsCustomerShiptoBank": {
        "dtCustomerShiptoBank": [
          {
            "BankName": "",
            "AccountType": "",
            "DefaultBranch": "",
            "UseForACHProcessing": false,
            "ApprovedForACHProcessing": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates ship-to customer bank information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerShiptoContact

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 0,
    "ContactName": "",
    "ContactType": "",
    "ContactJSON": {
      "dsCustomerShiptoContact": {
        "dtCustomerShiptoContact": [
          {
            "Primary": false,
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "Phone1": "",
            "Phone2": "",
            "OtherPhone": "",
            "MobilePhone": "",
            "PrimaryMobileContact": false,
            "Fax": "",
            "EmailAddress": "",
            "NotifyShipmentEnRoute": false,
            "NotifyShipmentDelivered": false,
            "NotifyShipmentRefused": false,
            "ContactTitle": "",
            "Salutation": "",
            "OtherData": "",
            "Remarks": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates ship-to customer contacts

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerShiptoCreate

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoJSON": {
      "dsCustomerShipto": {
        "dtCustomerShipto": [
          {
            "ActiveInAllBranches": false,
            "Name": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "EmergencyPhone": "",
            "Email": "",
            "County": "",
            "BilltoSequence": 0,
            "AllowAsTemplate": false,
            "UserDefinedKeywords": "",
            "Active": false,
            "Prospect": false,
            "ShipComplete": false,
            "ShipCompleteWMS": false,
            "AcceptsBackorders": false,
            "Nonsaleable": false,
            "FinanceCharge": false,
            "OverridePickDelvSortOrder": false,
            "ApplyPromoPriceDiscount": false,
            "DisplayPiecePrice": false,
            "RepriceOrderAtShipment": false,
            "DefaultShipmentOnHoldInvoicing": false,
            "RequireOrderAcknowledgment": false,
            "TrackLinkedReceiptsOrderAck": false,
            "AcceptsNightDeliveries": false,
            "DisplayPaymentsOnSOSave": false,
            "FullPaymentRequired": false,
            "FullPaymentRequiredOrderTypes": "",
            "AllowOverpaymentsInvoicing": false,
            "ApplyOverpaymentType": "",
            "ApplyCCSurchargeFee": "",
            "CCSurchargeDiscountPercent": 0.0,
            "DefaultShipmentStatus": "",
            "OrderEntryBranchOption": "",
            "BranchOptionDefaultBranch": "",
            "BranchOptionPromptDefaultBranch": false,
            "MinOrderHoldAmount": 0.0,
            "MinOrderHoldForceShipComplete": false,
            "ApplyWMSPickThreshold": false,
            "WMSUnderPickThresholdPercent": 0.0,
            "CallForAppointment": false,
            "StartLoadHours": "",
            "EndLoadHours": "",
            "AllowAddonChargeCost": "",
            "EDIOrgID": "",
            "EDISOCreatedInBranch": "",
            "EDISpecialOrdersCreatedInBranch": "",
            "EDIItemActivityCreatedInBranch": "",
            "LienRequired": false,
            "LienDaysFromFirstShipment": 0,
            "LienDaysFromLastShipment": 0,
            "LienDaysFromLastInvoice": 0,
            "LienShipmentAmtGreaterThan": 0.0,
            "LienStatus": "",
            "LienDateOption": "",
            "LienDaysToFile": 0,
            "LienMinAmountToFile": 0.0,
            "FreightTerms": "",
            "ShipVia": "",
            "SaleType": "",
            "ECommerceSaleType": "",
            "Zone": "",
            "Priority": 0,
            "Taxable": false,
            "TaxCode": "",
            "SetTaxCategoryOrderEntryOnly": false,
            "TaxCategory": "",
            "SalesAgent1": "",
            "SalesAgent1PctOfOrder": 0.0,
            "SalesAgent2": "",
            "SalesAgent2PctOfOrder": 0.0,
            "SalesAgent3": "",
            "SalesAgent3PctOfOrder": 0.0,
            "PaymentTermsCode": "",
            "CMPaymentTermsCode": "",
            "ApplyPayTermsFromPayMethod": false,
            "OrderedByRequired": false,
            "AuthToChargeRequired": false,
            "ShipViaRequired": false,
            "ShipViaRequiredOrderTypes": "",
            "PORequired": false,
            "PORequiredOrderTypes": "",
            "POCheckDuplicatesBy": "",
            "POCheckDuplicatesNumMonths": 0,
            "PORule": "",
            "POBlanketValue": "",
            "POValidationCode": "",
            "JobNumberRequired": false,
            "JobNumberRequiredOrderTypes": "",
            "JobNumberRule": "",
            "JobNumberBlanketValue": "",
            "JobValidationCode": "",
            "ReferenceRequired": false,
            "ReferenceRequiredOrderTypes": "",
            "ReferenceValidationCode": "",
            "PickDelvPricedTicket": false,
            "PickPrintDetailPrices": false,
            "PickPrintPriceAsNet": false,
            "PickPrintExtendedPrice": false,
            "PickPrintDimExtendedPrice": false,
            "DelvPrintDetailPrices": false,
            "DelvPrintPriceAsNet": false,
            "DelvPrintExtendedPrice": false,
            "DelvPrintDimExtendedPrice": false,
            "AdditionalCODBasis": "",
            "CODAmount": 0.0,
            "CODNotToExceedBasis": "",
            "CODNotToExceedFixedAmount": 0.0,
            "PrintBOMLabels": false,
            "BOMLabelFormat": "",
            "PrintStockLabels": false,
            "StockLabelFormat": "",
            "PrintNonStockLabels": false,
            "NonstockLabelFormat": "",
            "QuotePrintPriceAsNet": false,
            "QuotePrintPriceOnly": false,
            "QuotePrintExtendedPrice": false,
            "QuotePrintDimExtendedPrice": false,
            "OrderAckFormTitle": "",
            "OrdAckPrintDetailPrices": false,
            "OrdAckPrintPriceAsNet": false,
            "OrdAckPrintExtendedPrice": false,
            "OrdAckPrintDimExtendedPrice": false,
            "OrdAckPrintTotals": false,
            "OrdAckDispGroupOptions": false,
            "OrdAckGroupDefault": "",
            "ASNPrintDefault": "",
            "ASNAutoSendWithWMS": false,
            "InvPrintDetailPrices": false,
            "InvPrintPriceAsNet": false,
            "InvPrintExtendedPrice": false,
            "InvPrintDimExtendedPrice": false,
            "InvPrintPayTerm": false,
            "InvPrintADFAmount": false,
            "InvDispGroupOptions": false,
            "InvGroupDefault": "",
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "MinimumFinanceCharge": 0.0,
            "FinanceChargeThreshold": 0.0,
            "IncludeFinanceChargeInvoices": false,
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.0,
            "CreditLimitAmt": 0.0,
            "OverdueAmt": 0.0,
            "OverduePercentage": 0.0,
            "OverdueDays": 0,
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.0,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "UpdAddressOnNonOverriddenTrans": "",
            "UpdAddressOnOverriddenTrans": false,
            "UpdSalesAgentOpenSO": false,
            "UpdSalesAgentOpenQuote": false,
            "UpdSalesAgentOpenCM": false,
            "UpdSalesAgentOpenPOSSO": false,
            "UpdSalesAgentOpenPOSQuote": false,
            "UpdSalesAgentOpenPOSCM": false,
            "UpdSalesAgentOpenTranNotOverride": false,
            "UpdPayTermOpenSO": false,
            "UpdPayTermOpenQuote": false,
            "UpdPayTermOpenCM": false,
            "UpdPayTermOpenTranNotOverride": false,
            "UpdMinOrderHoldAmtOpenSO": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ShiptoSequence": 2,
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a ship-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with EDISpecialOrdersCreatedInBranch, Email, and SalesAgent#PctOfOrder fields v550; Updated with PORule, POBlanketValue, JobNumberRule, and JobNumberBlanketValue fields v551

CustomerShiptoLaserControls

Sample Request

{
  "request": {
    "CustomerID": "",
    "ShiptoSequence": 0,
    "FormType": "",
    "PrinterSequence": 0,
    "LaserControlJSON": {
      "dsCustomerShiptoLaserControls": {
        "dtCustomerShiptoLaserControls": [
          {
            "PrinterName": "",
            "FaxEmailToSource": "",
            "Fax": "",
            "Email": "",
            "Copies": 0,
            "FormFooter": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates ship-to customer laser controls

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

CustomerShiptoRoutesList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "12345",
    "ShiptoSequence": "",
    "StartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "CustomerShiptoRoutesResponse": {
      "dsCustomerShiptoRoutesResponse": {
        "dtCustomerShiptoRoutesResponse": [
          {
            "CustomerID": "12345",
            "ShiptoSequence": 1,
            "ShiptoName": "DS SUPPLY",
            "RouteID": "MON",
            "RouteDescription": "MONDAY DELIVERY",
            "StopID": 1
          },
          {
            "CustomerID": "12345",
            "ShiptoSequence": 1,
            "ShiptoName": "DS SUPPLY",
            "RouteID": "WED",
            "RouteDescription": "WED DELIVERY",
            "StopID": 3
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 2,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of routes associated with customer ship-to records

Required Inputs

Optional Inputs

Response

Notes

This method allows a user to request a specific number of records. Please see the Chunking topic for more information

Relationships

Version Deployed

v539

CustomerShiptoUpdate

Sample Request

{"request": {
    "CustomerID": "",
    "ShiptoSequence": 1,
    "ShiptoJSON": {
        "dsCustomerShipto":{
            "dtCustomerShipto":[{
            "ActiveInAllBranches": false,
            "Name": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "EmergencyPhone": "",
                                          "Email": "",
            "County": "",
            "BilltoSequence": 0,
            "AllowAsTemplate": false,
            "UserDefinedKeywords": "",
            "Active": false,
            "Prospect": false,
            "ShipComplete": false,
            "ShipCompleteWMS": false,
            "AcceptsBackorders": false,
            "Nonsaleable": false,
            "FinanceCharge": false,
            "OverridePickDelvSortOrder": false,
            "ApplyPromoPriceDiscount": false,
            "DisplayPiecePrice": false,
            "RepriceOrderAtShipment": false,
            "DefaultShipmentOnHoldInvoicing": false,
            "RequireOrderAcknowledgment": false,
            "TrackLinkedReceiptsOrderAck": false,
            "AcceptsNightDeliveries": false,
            "DisplayPaymentsOnSOSave": false,
            "FullPaymentRequired": false,
            "FullPaymentRequiredOrderTypes": "",
            "AllowOverpaymentsInvoicing": false,
            "ApplyOverpaymentType": "",
            "ApplyCCSurchargeFee": "",
            "CCSurchargeDiscountPercent": 0.00,
            "DefaultShipmentStatus": "",
            "OrderEntryBranchOption": "",
            "BranchOptionDefaultBranch": "",
            "BranchOptionPromptDefaultBranch": false,
            "MinOrderHoldAmount": 0.00,
            "MinOrderHoldForceShipComplete": false,
            "ApplyWMSPickThreshold": false,
            "WMSUnderPickThresholdPercent": 0.00,
            "CallForAppointment": false,
            "StartLoadHours": "",
            "EndLoadHours": "",
            "AllowAddonChargeCost": "",
            "EDIOrgID": "",
            "EDISOCreatedInBranch": "",
            "EDIItemActivityCreatedInBranch": "",
                                          "EDISpecialOrdersCreatedInBranch": "",
            "LienRequired": false,
            "LienDaysFromFirstShipment": 0,
            "LienDaysFromLastShipment": 0,
            "LienDaysFromLastInvoice": 0,
            "LienShipmentAmtGreaterThan": 0.00,
            "LienStatus": "",
            "LienDateOption": "",
            "LienDaysToFile": 0,
            "LienMinAmountToFile": 0.00,
            "FreightTerms": "",
            "ShipVia": "",
            "SaleType": "",
            "ECommerceSaleType": "",
            "Zone": "",
            "Priority": 0,
            "Taxable": false,
            "TaxCode": "",
            "SetTaxCategoryOrderEntryOnly": false,
            "TaxCategory": "",
            "SalesAgent1": "",
                                          "SalesAgent1PctOfOrder": 0.00,
            "SalesAgent2": "",
            "SalesAgent2PctOfOrder": 0.00,
                                          "SalesAgent3": "",
                                          "SalesAgent3PctOfOrder": 0.00,
            "PaymentTermsCode": "",
            "CMPaymentTermsCode": "",
            "ApplyPayTermsFromPayMethod": false,
            "OrderedByRequired": false,
            "AuthToChargeRequired": false,
            "ShipViaRequired": false,
            "ShipViaRequiredOrderTypes": "",
            "PORequired": false,
            "PORequiredOrderTypes": "",
            "POCheckDuplicatesBy": "",
            "POCheckDuplicatesNumMonths": 0,
                                          “PORule”: “”,
                                          “POBlanketValue”: “”,
            "POValidationCode": "",
            "JobNumberRequired": false,
            "JobNumberRequiredOrderTypes": "",
                                          “JobNumberRule”: “”,
                                          “JobNumberBlanketValue”: “”,
            "JobValidationCode": "",
            "ReferenceRequired": false,
            "ReferenceRequiredOrderTypes": "",
            "ReferenceValidationCode": "",
            "PickDelvPricedTicket": false,
            "PickPrintDetailPrices": false,
            "PickPrintPriceAsNet": false,
            "PickPrintExtendedPrice": false,
            "PickPrintDimExtendedPrice": false,
            "DelvPrintDetailPrices": false,
            "DelvPrintPriceAsNet": false,
            "DelvPrintExtendedPrice": false,
            "DelvPrintDimExtendedPrice": false,
            "AdditionalCODBasis": "",
            "CODAmount": 0.00,
            "CODNotToExceedBasis": "",
            "CODNotToExceedFixedAmount": 0.00,
            "PrintBOMLabels": false,
            "BOMLabelFormat": "",
            "PrintStockLabels": false,
            "StockLabelFormat": "",
            "PrintNonStockLabels": false,
            "NonstockLabelFormat": "",
            "QuotePrintPriceAsNet": false,
            "QuotePrintPriceOnly": false,
            "QuotePrintExtendedPrice": false,
            "QuotePrintDimExtendedPrice": false,
            "OrderAckFormTitle": "",
            "OrdAckPrintDetailPrices": false,
            "OrdAckPrintPriceAsNet": false,
            "OrdAckPrintExtendedPrice": false,
            "OrdAckPrintDimExtendedPrice": false,
            "OrdAckPrintTotals": false,
            "OrdAckDispGroupOptions": false,
            "OrdAckGroupDefault": "",
            "ASNPrintDefault": "",
            "ASNAutoSendWithWMS": false,
            "InvPrintDetailPrices": false,
            "InvPrintPriceAsNet": false,
            "InvPrintExtendedPrice": false,
            "InvPrintDimExtendedPrice": false,
            "InvPrintPayTerm": false,
            "InvPrintADFAmount": false,
            "InvDispGroupOptions": false,
            "InvGroupDefault": "",
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "MinimumFinanceCharge": 0.00,
            "FinanceChargeThreshold": 0.00,
            "IncludeFinanceChargeInvoices": false,
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.00,
            "CreditLimitAmt": 0.00,
            "OverdueAmt": 0.00,
            "OverduePercentage": 0.00,
            "OverdueDays": 0,
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.00,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "UpdAddressOnNonOverriddenTrans": "",
            "UpdAddressOnOverriddenTrans": false,
            "UpdSalesAgentOpenSO": false,
            "UpdSalesAgentOpenQuote": false,
            "UpdSalesAgentOpenCM": false,
            "UpdSalesAgentOpenPOSSO": false,
            "UpdSalesAgentOpenPOSQuote": false,
            "UpdSalesAgentOpenPOSCM": false,
            "UpdSalesAgentOpenTranNotOverride": false,
            "UpdPayTermOpenSO": false,
            "UpdPayTermOpenQuote": false,
            "UpdPayTermOpenCM": false,
            "UpdPayTermOpenTranNotOverride": false,
            "UpdMinOrderHoldAmtOpenSO": false,
                                                       "SetNonSalableWithOpen": false
                }]
            }
        }
    }
}


Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates a ship-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Nonsalable field v548; Updated with Email, EDISpecialOrdersCreatedInBranch, and SalesAgent#PctOfOrderfields v550; Updated with PORule, POBlanketValue, JobNumberRule, and JobNumberBlanketValue fields v551

CustomerShiptoList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "12345",
    "ShiptoSequence": 1,
    "FetchOnlyChangedSince": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "CustomerShipToResponse": {
      "dsCustomerShipToResponse": {
        "dtCustomerShipToResponse": [
          {
            "CustomerID": "12345",
            "CustomerName": "DS SUPPLY",
            "ShiptoName": "DS SUPPLY",
            "ShiptoSequence": 1,
            "Address1": "123 Any Street",
            "Address2": "",
            "Address3": "",
            "City": "Omaha",
            "State": "NE",
            "ZIP": "68122",
            "Country": "USA",
            "Phone": "(402)-555-9585",
            "Fax": "(   )-   -    ",
            "PriceLevel": 1,
            "Active": true,
            "NonSaleable": false,
            "SalesAgent1": "1001",
            "SalesAgent2": "",
            "PayTermsCode": "NET20",
            "LastChanged": "2019-01-22T11:45:24.000",
            "Taxable": false,
            "Misc1Label": "MISC 1",
            "Misc1Value": "",
            "Misc2Label": "MISC 2",
            "Misc2Value": "",
            "Misc3Label": "MISC 3",
            "Misc3Value": "",
            "Misc4Label": "MISC 4",
            "Misc4Value": "",
            "Misc5Label": "MISC 5",
            "Misc5Value": "",
            "Misc6Label": "MISC 6",
            "Misc6Value": "",
            "Misc7Label": "MISC 7",
            "Misc7Value": "",
            "Misc8Label": "MISC 8",
            "Misc8Value": "",
            "Misc9Label": "MISC 9",
            "Misc9Value": "",
            "Misc10Label": "MISC 10",
            "Misc10Value": "",
            "Misc11Label": "MISC 11",
            "Misc11Value": "",
            "Misc12Label": "MISC 12",
            "Misc12Value": "",
            "OrderEntryBranchOption": "Current",
            "OrderEntryBranchPrompt": true,
            "DefaultBranch": "",
            "SaleType": "Transfer",
            "ECommerceSaleType": "",
            "Prospect": false,
            "Email": "test@test.com",
            "SalesAgent1PctOfOrder": 0.0,
            "SalesAgent2PctOfOrder": 0.0,
            "SalesAgent3PctOfOrder": 0.0,
            "ShipVia": "Flatbed"
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "TotalRowsFetched": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of customer ship-tos available to the user and available in the current branch the user is logged into

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerUpdate

Sample Request

{
  "request": {
    "CustomerID": "",
    "CustomerJSON": {
      "dsCustomer": {
        "dtCustomer": [
          {
            "Name": "",
            "DivisionID": "",
            "GroupID": "",
            "Address1": "",
            "Address2": "",
            "Address3": "",
            "City": "",
            "State": "",
            "ZIP": "",
            "Country": "",
            "PhoneFormat": "",
            "Fax": "",
            "Phone": "",
            "Email": "",
            "Website": "",
            "DefaultCurrency": "",
            "PrintCurrency": "",
            "FormPrefix": "",
            "FirstInvoiceDate": "2018-05-23",
            "StartDate": "2018-05-23",
            "FirstOrderDate": "2018-05-23",
            "LastInvoiceDate": "2018-05-23",
            "Active": false,
            "FinanceCharge": false,
            "Nonsaleable": false,
            "Prospect": false,
            "CopyPriceGroupsFromShiptoSeq": 0,
            "CreditCardStorageOption": "",
            "CheckSoldtoCredit": false,
            "CheckBilltoCredit": false,
            "CheckShiptoCredit": false,
            "PrintSoldtoStatement": false,
            "PrintBilltoStatement": false,
            "PrintShiptoStatement": false,
            "StatementType": "",
            "CycleCode": "",
            "StatementPrintSummaryOnly": false,
            "StatementPrintDiscDate": false,
            "StatementPrintDiscAmt": false,
            "StatementPrintDueDate": false,
            "StatementPrintInvoices": false,
            "TargetCustomer": false,
            "RequireInvoice": false,
            "RequireOrderAcknowledgment": false,
            "ReferenceNum": "",
            "ParentCustomerID": "",
            "FederalTaxNum": "",
            "StateTaxNum": "",
            "MunicipalTaxNum": "",
            "CertificateAppliesTo": "",
            "AllowCashPayments": false,
            "AllowCheckPayments": false,
            "AllowCreditCardPayments": false,
            "DisplayPriceOnCCDevice": "",
            "CheckCredit": "",
            "DontCheckCreditThru": "2018-05-23",
            "CreditBypassAmt": 0.0,
            "CreditLimitAmt": 0.0,
            "OverdueAmt": 0.0,
            "OverduePercentage": 0.0,
            "OverdueDays": 0,
            "DUNNNumber": "",
            "CreditManager": "",
            "CreditLimitExpDate": "2018-05-23",
            "CreditScore": 0.0,
            "CreditRating": "",
            "CreditReviewDate": "2018-05-23",
            "BureauNum1Rating": "",
            "BureauNum1EffectiveDate": "2018-05-23",
            "BureauNum2Rating": "",
            "BureauNum2EffectiveDate": "2018-05-23",
            "LastReviewDate": "2018-05-23",
            "LastApplicationDate": "2018-05-23",
            "TradeClass": "",
            "Class": "",
            "ConsigneeCode": "",
            "IndustryCode": "",
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": "",
            "UpdShiptoActiveWhenSetActive": false,
            "UpdShiptoProspectWhenSetProspect": false,
            "SetShipToBillToAddresses": "",
            "UpdAddressOnNonOverriddenTrans": "",
            "UpdAddressOnOverriddenTrans": false,
            "SetAllShiptosNonSalable": false,
            "SetNonSalableWithOpen": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "dsAuditResults": {
      "dsAuditResults": {}
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates a sold-to customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534; Updated with Nonsalable fields v548; Updated with Email field v550

CustomersList

Sample Request

{
  "request": {
    "SearchBy": "Customer ID",
    "SearchValue": "12345",
    "FetchOnlyChangedSince": null,
    "ChunkStartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "CustomerResponse": {
      "dsCustomerResponse": {
        "dtCustomerResponse": [
          {
            "CustomerID": "12345",
            "CustomerName": "DS SUPPLY",
            "Address1": "123 Any Street",
            "Address2": "",
            "Address3": "",
            "City": "Omaha",
            "State": "NE",
            "ZIP": "68122",
            "Country": "USA",
            "Phone": "(402)-555-9585",
            "Fax": "              ",
            "Active": true,
            "LastChanged": "2019-01-22T11:45:24.000",
            "CreditLimit": 0,
            "CreditLimitExpDate": null,
            "HighBalanceYTD": 3000,
            "HighBalanceDate": "2019-01-22",
            "HighBalanceLYR": 0,
            "HighBalanceLYRDate": null,
            "LastPaymentDate": null,
            "OpenSOAmt": 12.49,
            "ReleasedSOAmt": 12.49,
            "DepositAmt": 0,
            "OpenAR": 3000,
            "DisputedAR": 0,
            "Prospect": false,
            "Email": "test@test.com"
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of customers available to the user

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DefaultCustomerShipto

Sample Request

{
  "request": {
    "LoginID": "asmith"
  }
}

Sample Response

{
  "response": {
    "CustomerID": "12345",
    "ShiptoSequence": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the default customer and ship-to assigned to the user in Agility

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

AgilityPublic/DataFiles Service

This AgilityPublic service contains methods releated to data and data files.

SaleTypesList

Sample Request

"n/a"

Sample Response

{
  "response": {
    "SaleTypesListResponse": {
      "dsSaleTypesListResponse": {
        "dtSaleTypesListResponse": [
          {
            "SaleType": "WH",
            "Description": "Warehouse",
            "AffectInventory": true,
            "Transfer": false,
            "AllowInPartnerView": false,
            "ShipVia": "Truck",
            "Route": "",
            "FreightTerms": ""
          },
          {
            "SaleType": "WC",
            "Description": "Will Call",
            "AffectInventory": true,
            "Transfer": false,
            "AllowInPartnerView": false,
            "ShipVia": "",
            "Route": "",
            "FreightTerms": ""
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of sale types

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

AgilityPublic/Dispatch Service

This AgilityPublic service contains methods related to dispatch.

DispatchCancel

Sample Request

{
  "request": {
    "DispatchID": "12267"
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Cancels dispatch header on an existing, open dispatch

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchCostPacketsDelete

Sample Request

{
  "request": {
    "DispatchID": 12648,
    "DispatchCostPacketsJSON": {
      "dsDispatchCostPacket": {
        "dtDispatchCostPacket": [
          {
            "CostType": "Broker Fees",
            "SupplierID": "HTL"
          },
          {
            "CostType": "Ocean Frt"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes dispatch cost packet information on an existing dispatch with PO transactions

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchCostPacketsGet

Sample Request

{
  "request": {
    "DispatchID": 12648
  }
}

Sample Response

{
  "response": {
    "CostPacketResponse": {
      "dsCostPacketsResponse": {
        "dtCostPacketsResponse": [
          {
            "AllocateBy": "Load",
            "FixedAmount": 1300,
            "CostType": "Ocean Frt",
            "CreatedBy": "MSWAPI",
            "CreatedDate": "2019-03-05",
            "CreatedTime": "12:14:04",
            "SupplierID": "900",
            "AssignAPReconBasedOnPO": false,
            "Currency": "YEN",
            "UpdateBy": "MSWAPI",
            "UpdateDate": "2019-03-05",
            "UpdateTime": "12:14:04"
          },
          {
            "AllocateBy": "Ext cost",
            "FixedAmount": 650,
            "CostType": "Broker Fees",
            "CreatedBy": "MSWAPI",
            "CreatedDate": "2019-03-05",
            "CreatedTime": "10:31:11",
            "SupplierID": "HTL",
            "AssignAPReconBasedOnPO": false,
            "Currency": "USD",
            "UpdateBy": "MSWAPI",
            "UpdateDate": "2019-03-05",
            "UpdateTime": "12:14:05"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns dispatch cost packet information on an existing dispatch with PO transactions

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

DispatchCostPacketsUpdate

Sample Request

{
  "request": {
    "DispatchID": 12648,
    "DispatchCostPacketsJSON": {
      "dsDispatchCostPacket": {
        "dtDispatchCostPacket": [
          {
            "AllocateBy": "Ext cost",
            "AssignAPReconBasedOnPO": "false",
            "CostType": "Broker Fees",
            "Currency": "USD",
            "FixedAmount": 650.0,
            "SupplierID": "HTL"
          },
          {
            "AllocateBy": "Load",
            "AssignAPReconBasedOnPO": "false",
            "CostType": "Ocean Frt",
            "Currency": "YEN",
            "FixedAmount": 1300.0,
            "SupplierID": "900"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates dispatch cost packet information on an existing dispatch with PO transactions

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchDetailsCreate

Sample Request

{
  "request": {
    "DispatchID": "12576",
    "OrderType": "SO",
    "OrderID": 302148,
    "SubID": 0,
    "DispatchDetailJSON": {
      "dsDispatchDetail": {
        "dtDispatchDetail": [
          {
            "OrderDetailSequence": "1",
            "Quantity": 2,
            "ContainerID": "GTM-TRWNQCM",
            "PalletID": "150120251",
            "DispatchAllQuantity": false
          },
          {
            "OrderDetailSequence": "2",
            "ContainerID": "GTM-TRWNQSO",
            "PalletID": "150120252",
            "DispatchAllQuantity": true
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Create dispatch details and related dispatch tran on an existing dispatch

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchDetailsDelete

Sample Request

{
  "request": {
    "DispatchID": 12576,
    "OrderType": "SO",
    "OrderID": 302191,
    "SubID": 0,
    "DispatchDetailJSON": {
      "dsDispatchDetail": {
        "dtDispatchDetail": [
          { "OrderDetailSequence": 1 },
          {
            "OrderDetailSequence": 2,
            "ContainerID": "GTM-TJPNWLFYM",
            "PalletID": "5518019"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes dispatch details on an existing dispatch transaction

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchGet

Sample Request

{
  "request": {
    "DispatchID": "12279"
  }
}

Sample Response

{
  "response": {
    "DispatchResponse": {
      "dsDispatchResponse": {
        "dtDispatchHeader": [
          {
            "AdditionalCost": 20,
            "CalcFirstPickupDate": false,
            "CalcLastDeliveryDate": false,
            "Canceled": false,
            "Contact": "Jeff Pilot",
            "CarrierFax": "(402)-564-3321",
            "CarrierPhone": "(402)-564-3321",
            "CreatedBy": "mwellensiek",
            "CreatedDate": "2019-02-12",
            "CreatedTime": "10:10:43",
            "Currency": "USD",
            "DispatchedBy": "mwellensiek",
            "DispatcherFax": "(402)-957-9990",
            "DispatcherPhone": "(402)-957-9999",
            "DispatchID": 12279,
            "DispatchStatus": "Open",
            "Driver": "apotter",
            "ExportSendStatus": "",
            "ExportStatus": "",
            "FinalDeliveryDate": "2019-02-13",
            "FinalDeliveryTime": "08:00",
            "FirstPickUpDate": "2019-02-12",
            "FirstPickUpTime": "08:00",
            "FreightAllocateBy": "Weight",
            "FreightChargeorCost": "",
            "FreightChargeorCostType": "",
            "FreightCostApplied": false,
            "CleanDry": false,
            "Tarp": true,
            "MinimumFreightperStop": 0,
            "MinimumFreightTotal": 0,
            "PerRateLabel": "Mile",
            "PerRateMultiplier": 575,
            "Printed": false,
            "EstimatedRate": 0.25,
            "EstimatedRateType": "Per",
            "SentToWMS": false,
            "StagingLoc": "",
            "TotalDistance": 0,
            "UpdateBy": "mwellensiek",
            "UpdateDate": "2019-02-12",
            "UpdateTime": "10:14:30",
            "WeightLimit": 1000,
            "CarrierID": "AMT001",
            "ShipFromSequence": 1,
            "LoadPriority": "",
            "LoadTimeframe": "",
            "LoadType": "",
            "PackingSlip": "2138189",
            "RailRoute": "",
            "Reference": "190212023",
            "Released": false,
            "SCACCode": "3505",
            "STCCCode": "4590234",
            "TransportNumber": "212190023",
            "TransportType": "Rail Car",
            "dtDispatchTran": [
              {
                "DispatchID": 12279,
                "ASNPrinted": false,
                "BillofLading": "WEST00157425-000",
                "CreatedBy": "mwellensiek",
                "CreatedDate": "2019-02-12",
                "CreatedTime": "10:11:03",
                "DeliveryID": "WEST00157425",
                "DestCallAppt": true,
                "DestinationContact": "Sherry Woods",
                "DestLoadUnloadHours": "16:00",
                "DestinationFax": "              ",
                "DestinationKey": "00002859",
                "DestinationPhone": "(333)-333-3333",
                "DestinationSeq": 1,
                "DestStartLoadHours": "12:00",
                "DestinationType": "Customer",
                "Distance": 100,
                "OriginCallAppt": true,
                "OriginContact": "Justin Driever",
                "OriginEndLoadHours": "12:00",
                "OriginFax": "(402)-351-2682",
                "OriginKey": "    1030",
                "OriginPhone": "(402)-351-2300",
                "OriginSeq": 1,
                "OriginLoadUnloadHours": "08:00",
                "OriginType": "Supplier",
                "PickUpID": "1012021219",
                "ProNumber": "WESTONBRANCH022019",
                "Reference": "190212023",
                "ShipmentDeliveryDate": "2019-02-13",
                "ShipmentDeliveryTime": "16:00",
                "SubID": 0,
                "StopSequence": 1,
                "OrderID": 157425,
                "OrderBranch": "WESTON",
                "OrderType": "PO",
                "UpdateBy": "mwellensiek",
                "UpdateDate": "2019-02-12",
                "UpdateTime": "11:14:12",
                "dtDispatchDetail": [
                  {
                    "ASNSequence": 0,
                    "ContainerID": "3215112729",
                    "CreatedBy": "mwellensiek",
                    "CreatedDate": "2019-02-12",
                    "CreatedTime": "10:13:47",
                    "PalletID": "8560",
                    "Qty": 100,
                    "SubID": 0,
                    "OrderID": 157425,
                    "OrderDetailSequence": 1,
                    "OrderType": "PO",
                    "UOM": "EA",
                    "UpdateBy": "mwellensiek",
                    "UpdateDate": "2019-02-12",
                    "UpdateTime": "11:14:12",
                    "WMSSequence": 0
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of dispatch fields related to a specific dispatch ID

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

DispatchHeaderCreate

Sample Request

{
  "request": {
    "CarrierID": "AMT001",
    "ShipFromSequence": 1,
    "DispatchHeaderJSON": {
      "dsDispatchHeader": {
        "dtDispatchHeader": [
          {
            "AdditionalCost": 15,
            "CarrierFax": "(402)-555-6620",
            "CarrierPhone": "(402)-555-6629",
            "CleanDry": "Yes",
            "Contact": "Jeff Pilot",
            "DispatchedBy": "mwellensiek1",
            "DispatcherFax": "(402)-555-3479",
            "DispatcherPhone": "(402)-555-3470",
            "Driver": "apotter",
            "EstimatedRate": 0.5,
            "EstimatedRateType": "Per",
            "FirstPickUpDate": "2019-02-19",
            "FirstPickUpTime": "08:00",
            "FinalDeliveryDate": "2019-02-22",
            "FinalDeliveryTime": "16:45",
            "PackingSlip": "9918546819972039",
            "PerRateLabel": "Mile",
            "PerRateMultiplier": 650,
            "Reference": "Hillcrest Apts",
            "Released": "No",
            "SCACCode": "CENF",
            "STCCCode": "0112915",
            "Tarp": "No",
            "TotalDistance": 1000,
            "TransportNumber": "21520190001",
            "TransportType": "Rail Car",
            "WeightLimit": 10000
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "DispatchID": 162508,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates dispatch header fields

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchHeaderUpdate

Sample Request

{   "request": {
        "DispatchID": {{DispatchID}},
        "DispatchHeaderJSON": {
            "dsDispatchHeader":{
                "dtDispatchHeader":[{
                                "AdditionalCost": 15,
                                "CarrierFax": "(402)-555-6620",
                                "CarrierID": "AMT001",
                                "CarrierPhone": "(402)-555-6629",
                                "CleanDry": "Yes",
                                "Contact": "Jeff Pilot",
                                "DispatchedBy": "mwellensiek",
                                "DispatcherFax": "(402)-555-7272",
                                "DispatcherPhone": "(402)-555-7279",
                                "Driver": "apotter",
                                "EstimatedRate":  0.50,
                                "EstimatedRateType": "Per",
                                "FirstPickUpDate": "2019-02-19",
                                "FirstPickUpTime": "08:00",
                                "FinalDeliveryDate": "2019-02-22",
                                "FinalDeliveryTime": "16:45",
                                "PackingSlip": "9918546819972039",
                                "PerRateLabel": "Mile",
                                "PerRateMultiplier": 650,
                                "Reference": "Hillcrest Apts",
                                "Released": "Yes",
                                "SCACCode": "CENF",
                                "ShipFromSequence": 1,
                                "STCCCode": "0112915",
                                "Tarp": "No",
                                "TotalDistance": 500,
                                "TransportNumber": "21520190001",
                                "TransportType": "Rail Car",
                                "WeightLimit": 60000
                }]
            }
        }
    }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates dispatch header fields

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchSendASNToWMS

Sample Request

{
  "request": {
    "DispatchID": 3846
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Sends ASN to the WMS for a dispatch with PO transactions that affect inventory

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchTranDelete

Sample Request

{
  "request": {
    "DispatchID": "12548",
    "OrderType": "SO",
    "OrderID": 1768,
    "SubID": 1
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes a transaction from an existing, open dispatch

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

DispatchTranUpdate

Sample Request

{
  "request": {
    "DispatchID": 12608,
    "OrderType": "PO",
    "OrderID": 158805,
    "SubID": 0,
    "DispatchTranJSON": {
      "dsDispatchTran": {
        "dtDispatchTran": [
          {
            "BillofLading": "2020",
            "DeliveryID": "WEST00158805",
            "DestinationCallAppt": "true",
            "DestinationEndLoadHours": "16:00",
            "DestinationID": "VMWC-A1",
            "DestinationSeq": 1,
            "DestinationStartLoadHours": "08:00",
            "DispatchAllQuantity": "true",
            "Distance": 65,
            "DispatchAllQuantity": "true",
            "OriginCallAppt": "true",
            "OriginEndLoadHours": "12:00",
            "OriginID": "LMC",
            "OriginSeq": 1,
            "OriginStartLoadHours": "07:00",
            "PickUpID": "022820190063",
            "ProNumber": "GTM001843",
            "Reference": "Hillcrest Apartments",
            "ShipmentDeliveryDate": "2019-03-15",
            "ShipmentDeliveryTime": "12:00",
            "StopSequence": 1
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates or updates dispatch transaction information on an existing dispatch

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

AgilityPublic/Inventory Service

This AgilityPublic service contains methods related to Inventory.

ItemCreateFromTemplate

Sample Request

{
  "request": {
    "Item": "1702676",
    "CopyFromItem": "917-RL",
    "ItemCreateFromTemplateJSON": {
      "dsItemCreateFromTemplate": {
        "dtItemCreateFromTemplate": [
          {
            "ItemGroupMajor": "00",
            "ItemGroupMinor": "PINE",
            "PriceCodeMajor": "00",
            "PriceCodeMinor": "PINE",
            "StockingUOM": "BF",
            "CostingUOM": "BF",
            "StockingToCostingConvFactor": 1,
            "Size": "2x4",
            "ItemDescription": "2x4 Pine Stud",
            "ExtDescription": "2x4 KD Pine Stud",
            "PieceReference": "PC",
            "StockingToPieceCalculation": "Qty/(TxWxL/12)",
            "StandardThickness": 0,
            "Thickness": 2,
            "ThicknessUOM": "Inches",
            "StandardWidth": 0,
            "Width": 4,
            "WidthUOM": "Inches",
            "LengthUOM": "Feet",
            "AlternateUOM1": "MBF",
            "AlternateUOM1ConvFactor": 1000,
            "AlternateUOM2": "CAR",
            "AlternateUOM2ConvFactor": 20000,
            "AlternateUOM3": "TRCK",
            "AlternateUOM3ConvFactor": 1500,
            "StockItem": 1,
            "Active": 1,
            "TemplateForNonStocks": "No",
            "NonSaleable": "No",
            "Discontinued": "No",
            "AllowInPartnerview": "Yes",
            "AllowInAgilityConfigurator": "No",
            "AllowInMobileApps": "Yes",
            "AllowInECommerceAndAPI": "Yes",
            "UserDefinedKeywords": "Pine Stud",
            "ShippingBOLCode": "ABC",
            "ShippingMSDS": "123",
            "TaxCategory": "NT",
            "ItemSupplierCode": "WIN01",
            "ItemSupplierShipFromSequence": 1,
            "ItemSupplierPartNumber": "789712",
            "ItemSupplierWeight": 8.5,
            "ItemSupplierWeightUom": "EA",
            "ItemSupplierLoad": 7,
            "ItemSupplierLoadUom": "EA"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "AuditResults": {
      "dsAuditResults": {
        "dtAuditResults": [
          {
            "AuditSequence": 1,
            "AuditType": "Warning",
            "AuditText": "Invalid AlternateUOM3"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a single item and associated item_branch record(s)

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v548

ItemCustomFieldsList

Sample Request

{
  "request": {
    "dsItemCustomFieldsListRequest": {
      "dtItemCustomFieldsListRequest": [
        {
          "ItemCode": "c10",
          "Thickness": 0,
          "Width": 0,
          "Length": 0
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemCustomFieldsListResponse": {
      "dsItemCustomFieldsListResponse": {
        "dtItemCustomFieldsListResponse": [
          {
            "ItemCode": "c10",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "FieldLabel": "Buyer",
            "DataType": "Text",
            "CharacterData": "",
            "DateData": null,
            "DecimalData": 0,
            "IntegerData": 0,
            "LogicalData": false
          },
          {
            "ItemCode": "LL-NAILS",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "FieldLabel": "Supplier",
            "DataType": "Text",
            "CharacterData": "",
            "DateData": null,
            "DecimalData": 0,
            "IntegerData": 0,
            "LogicalData": false
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the custom fields for a specified set of items/dimensions

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemCustomFieldsUpdate

Sample Request

{
  "request": {
    "UpdateCustomFieldsJSON": {
      "dsItemCustomFieldsRequest": {
        "dtItemCustomFieldsRequest": [
          {
            "ItemCode": "c10",
            "AllSharedBranches": true,
            "Thickness": null,
            "Width": null,
            "Length": null,
            "FieldLabel": "Cut",
            "DataType": "Text",
            "CharacterData": "Cutting",
            "DateData": null,
            "DecimalData": 0.0,
            "IntegerData": 0,
            "LogicalData": false
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "UpdateCustomFieldsResponse": {
      "dsItemCustomFieldsResponse": {
        "dtItemCustomFieldsResponse": [
          {
            "ItemCode": "812-1",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "FieldLabel": "Color",
            "DataType": "Text",
            "CharacterData": "Goldenrod",
            "DateData": null,
            "DecimalData": 0,
            "IntegerData": 0,
            "LogicalData": false,
            "AllSharedBranches": true,
            "Failures": "",
            "Warnings": "Custom field was not updated."
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates custom field values associated for a set of items and/or dimensions

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v543; AllSharedBranches field added v548

ItemGroupMajorList

Sample Request

"n/a"

Sample Response

{
  "response": {
    "ItemGroupMajorResponse": {
      "dsItemGroupMajorResponse": {
        "dtItemGroupMajorResponse": [
          {
            "ItemGroupMajor": "00",
            "Description": "MISC"
          },
          { "ItemGroupMajor": "01", "Description": "BULK" }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of item/product group majors

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemGroupMinorList

Sample Request

{
  "request": {
    "ItemGroupMajor": "00"
  }
}

Sample Response

{
  "response": {
    "ItemGroupMinorResponse": {
      "dsItemGroupMinorResponse": {
        "dtItemGroupMinorResponse": [
          {
            "ItemGroupMajor": "00",
            "ItemGroupMinor": "00",
            "Description": "Tape"
          },
          {
            "ItemGroupMajor": "00",
            "ItemGroupMinor": "01",
            "Description": "Cleaners"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

returns a list of item/product group minors associated with a specified item/product group major

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemsInChunksList

Sample Request

{
  "request": {
    "dsItemsInChunksListRequest": {
      "dtItemsInChunksListRequest": [
        {
          "SearchBy": "Item Code",
          "SearchValue": "97114",
          "ChunkStartPointer": 0,
          "IncludeNonStock": true,
          "IncludeNonSaleable": true,
          "IncludePriceData": true,
          "IncludeQuantityData": true,
          "RecordFetchLimit": 3
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemsInChunksListResponse": {
      "dsItemsInChunksListResponse": {
        "dtItemsInChunksListResponse": [
          {
            "ItemCode": "97114",
            "ItemXref": "",
            "ItemSize": "SIZE",
            "ItemDescription": "DESCRIPTION",
            "ExtendedDescription": "EXT DESCRIPTION",
            "ItemGroupMajor": "BH",
            "ItemGroupMinor": "1",
            "GrossPrice": 0.35,
            "NetPrice": 0.35,
            "DiscountDescription": "",
            "MinPackQuantity": 0,
            "OnHandQuantity": 1902,
            "AvailableQuantity": 80,
            "UOM": "LF",
            "NonSaleable": false,
            "Stock": true,
            "Discontinued": "No",
            "ItemTypeName": "EWP",
            "ImageURL": "",
            "MinPackType": "Allow - Question",
            "PriceUOM": "LF",
            "PriceUOMGrossPrice": 0.35,
            "PriceUOMNetPrice": 0.35,
            "SpecialItemType": "",
            "HazardousMaterial": false,
            "BOLCode": "",
            "MSDS": "",
            "PrimarySupplierID": "Central",
            "ECommerceDescription": null,
            "OnOrderQuantity": 92,
            "ReturnQuantity": 1870,
            "BackorderedQuantity": 92,
            "CommittedQuantity": 1822,
            "DefaultWeight": 1,
            "DefaultWeightUOM": "LF",
            "DefaultLoad": 1,
            "DefaultLoadUOM": "LF",
            "PrimarySupplierWeight": 1,
            "PrimarySupplierWeightUOM": "LF",
            "PrimarySupplierLoad": 1,
            "PrimarySupplierLoadUOM": "LF",
            "dtItemsInChunksListDimResponse": [
              {
                "ItemCode": "97114",
                "ItemXref": "",
                "DimensionSize": "",
                "Thickness": 2,
                "ThicknessUOM": "Inches",
                "Width": 4,
                "WidthUOM": "Inches",
                "Length": 2,
                "LengthUOM": "Feet",
                "GrossPrice": 0.35,
                "NetPrice": 0.35,
                "DiscountDescription": "",
                "MinPackQuantity": 0,
                "OnHandQuantity": 0,
                "AvailableQuantity": 0,
                "UOM": "LF",
                "MinPackType": "Allow - Question",
                "PriceUOM": "LF",
                "PriceUOMGrossPrice": 0.35,
                "PriceUOMNetPrice": 0.35,
                "OnOrderQuantity": 0,
                "ReturnQuantity": 0,
                "BackorderedQuantity": 0,
                "CommittedQuantity": 0
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns item related information for a group of items; optionally, results can include quantity and price information; this method is basically the same as ItemsList, but is specifically made for returning larger chunks of items

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemsList

Sample Request

{
  "request": {
    "dsItemsListRequest": {
      "dtItemsListRequest": [
        {
          "SearchBy": "Size",
          "SearchValue": "sizzzzzzzzzzzzzzzzzzze",
          "ItemGroupMajor": "00",
          "ItemGroupMinor": "00",
          "IncludeNonStock": true,
          "IncludePriceData": true,
          "IncludeQuantityData": true,
          "IncludeNonSaleable": true,
          "RecordFetchLimit": 5
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemsListResponse": {
      "dsItemsListResponse": {
        "dtItemsListResponse": [
          {
            "ItemCode": "c10",
            "ItemXref": "",
            "ItemSize": "2d",
            "ItemDescription": "1 inch nails",
            "ExtendedDescription": "",
            "ItemGroupMajor": "MISC",
            "ItemGroupMinor": "NAILS",
            "GrossPrice": 0,
            "NetPrice": 0,
            "DiscountDescription": "",
            "MinPackQty": 1,
            "OnHandQty": 0,
            "AvailableQty": 0,
            "UOM": "PC",
            "Nonsaleable": false,
            "Stock": true,
            "Discontinued": "No",
            "ItemTypeName": "",
            "ImageUrl": "",
            "MinPackType": "",
            "PriceUOM": "",
            "PriceUOMGrossPrice": 0,
            "PriceUOMNetPrice": 0,
            "SpecialItemType": "",
            "HazardousMaterial": true,
            "BOLCode": "BOL1",
            "MSDS": "",
            "PrimarySupplierID": "",
            "ECommerceDescription": "",
            "OnOrderQty": 0,
            "ReturnQty": 0,
            "BackorderedQty": 0,
            "CommittedQty": 0,
            "DefaultWeight": 4.5,
            "DefaultWeightUOM": "box",
            "DefaultLoad": 1.1,
            "DefaultLoadUOM": "box",
            "PrimarySupplierWeight": 4.5,
            "PrimarySupplierWeightUOM": "box",
            "PrimarySupplierLoad": 1.1,
            "PrimarySupplierLoadUOM": "box"
          },
          {
            "ItemCode": "c10a",
            "ItemXref": "",
            "ItemSize": "5d",
            "ItemDescription": "1.75 inch nails",
            "ExtendedDescription": "",
            "ItemGroupMajor": "MISC",
            "ItemGroupMinor": "NAILS",
            "GrossPrice": 0,
            "NetPrice": 0,
            "DiscountDescription": "",
            "MinPackQty": 1,
            "OnHandQty": 0,
            "AvailableQty": 0,
            "UOM": "EA",
            "Nonsaleable": false,
            "Stock": true,
            "Discontinued": "No",
            "ItemTypeName": "",
            "ImageUrl": "",
            "MinPackType": "",
            "PriceUOM": "",
            "PriceUOMGrossPrice": 0,
            "PriceUOMNetPrice": 0,
            "SpecialItemType": "",
            "HazardousMaterial": false,
            "BOLCode": "",
            "MSDS": "",
            "PrimarySupplierID": "",
            "ECommerceDescription": "",
            "OnOrderQty": 0,
            "ReturnQty": 0,
            "BackorderedQty": 0,
            "CommittedQty": 0,
            "DefaultWeight": 1.25,
            "DefaultWeightUOM": "Box",
            "DefaultLoad": 1.1,
            "DefaultLoadUOM": "Box",
            "PrimarySupplierWeight": 1.25,
            "PrimarySupplierWeightUOM": "Box",
            "PrimarySupplierLoad": 1.1,
            "PrimarySupplierLoadUOM": "Box"
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "TotalRowsFetched": 284,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns item related information for a group of items; optionally, results can include quantity and price information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemPriceAndAvailabilityList

Sample Request

{
  "request": {
    "dsItemPriceAndAvailRequest": {
      "dtPriceAndAvailRequest": [
        {
          "CustomerID": "123456",
          "ShiptoSequence": 1,
          "SaleType": "WH",
          "DateToCalculatePriceFor": "2019-08-15"
        }
      ],
      "dtItemToProcessRequest": [
        {
          "ItemCode": "419147",
          "OrderQuantity": 7,
          "UOM": "BF"
        }
      ],
      "dtItemDimensionToProcessReq": [
        {
          "ItemCode": "419147",
          "Thickness": 2,
          "Width": 6,
          "Length": 8,
          "OrderQuantity": 10,
          "UOM": "PC"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemPriceAndAvailResponse": {
      "dsItemPriceAndAvailResponse": {
        "dtItemPriceAndAvailResponse": [
          {
            "ItemCode": "419147",
            "OrderQuantity": 7,
            "GrossPrice": 0,
            "NetPrice": 0,
            "DiscountDescription": "",
            "OnHandQuantity": 17771,
            "AvailableQuantity": 16991,
            "UOM": "BF",
            "ExtendedDescription": "",
            "PriceUOM": "",
            "PriceUOMGrossPrice": 0,
            "PriceUOMNetPrice": 0,
            "Promo": false,
            "NonSaleable": false,
            "Stock": true,
            "MinPackType": "Allow - Question",
            "MinPackQuantity": 0,
            "dtItemPriceAndAvailDimResponse": [
              {
                "ItemCode": "419147",
                "Thickness": 2,
                "Width": 6,
                "Length": 8,
                "OrderQuantity": 10,
                "GrossPrice": 0,
                "NetPrice": 0,
                "DiscountDescription": "",
                "OnHandQuantity": 142,
                "AvailableQuantity": 125,
                "UOM": "PC",
                "PriceUOM": "",
                "PriceUOMGrossPrice": 0,
                "PriceUOMNetPrice": 0,
                "Promo": false,
                "MinPackType": "Allow - Question",
                "MinPackQuantity": 0
              }
            ]
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns specific price information for an item or set of items based on a specific customer and sale type with related quantities

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemTalliesList

Sample Request

{
  "request": {
    "dsItemTalliesListRequest": {
      "dtItemTalliesListRequest": [
        {
          "ItemCode": "419417",
          "Location": "Yard",
          "Lot": "100",
          "Tag": "T0112616",
          "Content": "1X6X24",
          "Width": 6,
          "Length": 24,
          "LevelOfInformation": "Content"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemTalliesListResponse": {
      "dsItemTalliesListResponse": {
        "dtItemTalliesListResponse": [
          {
            "ItemCode": "419417",
            "Location": "Yard",
            "SubLocation": "001",
            "Lot": "100",
            "Tag": "T0112616",
            "Content": "1X6X24",
            "Thickness": 1,
            "Width": 6,
            "Length": 24,
            "Description": "",
            "Description2": "",
            "SupplierName": "",
            "PieceCount": 0,
            "StockQuantity": 120,
            "StockUOM": "BF",
            "DisplayQuantity": 120,
            "DisplayUOM": "BF",
            "PieceQuantity": 0,
            "PieceUOM": ""
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns tally information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemUOMsList

Sample Request

{
  "request": {
    "dsItemUOMsListRequest": {
      "dtItemUOMsListRequest": [
        {
          "ItemCode": "419147"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ItemUOMsListResponse": {
      "dsItemUOMsListResponse": {
        "dtItemUOMsListResponse": [
          {
            "ItemCode": "419147",
            "StockingUOM": "BF",
            "UOM": "BF",
            "FromStocking": 1,
            "ToStocking": 1
          },
          {
            "ItemCode": "419147",
            "StockingUOM": "BF",
            "UOM": "LF",
            "FromStocking": 1,
            "ToStocking": 1
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns UOM information for a specified set of items

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v542

ItemUpdate

Sample Request

{
  "request": {
    "Item": "917-RL",
    "ItemUpdateJSON": {
      "dsItemUpdate": {
        "dtItemUpdate": [
          {
            "AllSharedBranches": 1,
            "ItemGroupMajor": "00",
            "ItemGroupMinor": "PINE",
            "PriceCodeMajor": "00",
            "PriceCodeMinor": "PINE",
            "StockingUOM": "BF",
            "CostingUOM": "BF",
            "StockingToCostingConvFactor": 1,
            "Size": "2x4",
            "ItemDescription": "2 x 4 Pine Stud",
            "ExtDescription": "2 in. X 4 in. KD Pine Stud",
            "PieceReference": "PC",
            "StockingToPieceCalculation": "Qty/(TxWxL/12)",
            "StandardThickness": 0,
            "Thickness": 2,
            "ThicknessUOM": "Inches",
            "StandardWidth": 0,
            "Width": 4,
            "WidthUOM": "Inches",
            "LengthUOM": "Feet",
            "AlternateUOM1": "MBF",
            "AlternateUOM1ConvFactor": 1000,
            "AlternateUOM2": "CAR",
            "AlternateUOM2ConvFactor": 20000,
            "AlternateUOM3": "TRCK",
            "AlternateUOM3ConvFactor": 1500,
            "StockItem": 1,
            "Active": 1,
            "TemplateForNonStocks": "No",
            "NonSaleable": "No",
            "Discontinued": "No",
            "AllowInPartnerview": "Yes",
            "AllowInAgilityConfigurator": "No",
            "AllowInMobileApps": "Yes",
            "AllowInECommerceAndAPI": "Yes",
            "UserDefinedKeywords": "Pine Stud",
            "ShippingBOLCode": "ABC",
            "ShippingMSDS": "123",
            "TaxCategory": "NT",
            "ItemSupplierCode": "WIN01",
            "ItemSupplierShipFromSequence": 1,
            "ItemSupplierPartNumber": "789712",
            "ItemSupplierWeight": 8.5,
            "ItemSupplierWeightUom": "EA",
            "ItemSupplierLoad": 7,
            "ItemSupplierLoadUom": "EA"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "AuditResults": {
      "dsAuditResults": {
        "dtAuditResults": [
          {
            "AuditSequence": 1,
            "AuditType": "Warning",
            "AuditText": "Invalid AlternateUOM2"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates a single item and associated item_branch record(s)

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v548

TagInfoGet

Sample Request

{
  "request": {
    "Tag": "T0000002"
  }
}

Sample Response

{
  "response": {
    "TagInfoGetResponse": {
      "dsTagInfoGetResponse": {
        "dtTagInfoGetResponse": [
          {
            "ItemCode": "SheetGood",
            "ItemPtr": 103964,
            "StockingUOM": "SF",
            "ItemSize": "",
            "ItemDescription": "Sheet good item",
            "ItemExtDescription": "",
            "Location": "FL01 A1-100",
            "LocationPtr": 17,
            "Lot": "100",
            "Tag": "T0000002",
            "Content": "30\"X60\"",
            "Thickness": 0,
            "WIDTH": 30,
            "LENGTH": 60,
            "PieceCount": 0,
            "CommitInfo": "",
            "TallyString": "40/30\"x60\"",
            "OnHandQty": 500,
            "HasMultipleContents": false,
            "DimensionString": "30X60",
            "DisplayUOM": "SF",
            "DisplayUOMQuantity": 40,
            "DisplayUOMConvFactor": 0.08,
            "PieceReference": "SH",
            "PieceQty": 40,
            "PieceConvFactor": 0.08,
            "InvTagType": "Sngl Unit, PC Cnt, & Length",
            "QtyCarriedAtLot": true,
            "QtyCarriedAtContent": true,
            "QtyOnHold": 0,
            "QtyToBeReturned": 0
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the information related to a specified inventory tag or tags

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v545

TagValuesList

Sample Request

{
  "request": {
    "dsTagValuesListRequest": {
      "dtTagValuesListRequest": [
        {
          "NumberOfTagSequences": 2
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "TagValuesListResponse": {
      "dsTagValuesListResponse": {
        "dtTagValuesListResponse": [
          {
            "Tag": "T0113334"
          },
          {
            "Tag": "T0113335"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the next available inventory tag sequences

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v545

TagsPrint

Sample Request

{
  "request": {
    "dsTagsPrintRequest": {
      "dtTagsPrintRequest": [
        {
          "Sequence": 2,
          "Tag": "Tag 1",
          "PrinterID": "LABEL"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Prints inventory tags to a specified printer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v545

AgilityPublic/Orders Service

This AgilityPublic service contains methods related to customer transactions and orders.

CreditMemoList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "Hayes",
    "ShipToSequence": 2,
    "OrderDateRangeStart": null,
    "OrderDateRangeEnd": null,
    "FetchOnlyChangedSince": null,
    "IncludeOpenOrders": "true",
    "IncludeInvoicedOrders": "false",
    "IncludeCanceledOrders": "false",
    "ChunkStartPointer": 0,
    "RecordFetchLimit": 0
  }
}

Sample Response

{
  "response": {
    "CreditMemoResponse": {
      "dsCreditMemos": {
        "dtCreditMemo": [
          {
            "BranchID": "WESTONBRANCH",
            "OrderID": 301955,
            "CustomerID": "Hayes",
            "ShipToSequence": 2,
            "OrderedBy": "",
            "OrderDate": "2019-02-08",
            "ExpectedDate": null,
            "OrderStatus": "Open",
            "OrderProcessStatus": "",
            "CreditHoldStatus": "",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse Order",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "RouteID": "",
            "ShipVia": "Our Truck",
            "FreightTerms": "",
            "PayTermsCode": "1% 60",
            "OrderSubtotal": -200,
            "OrderChargesAmount": 0,
            "Taxable": false,
            "TaxCode": "NE_DOUGLAS_OMAHA",
            "OrderTaxAmount": 0,
            "OrderTotal": -200,
            "DiscountAmount": -4,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "Zippy Yandex",
            "ShipToAddress1": "17002 Marcy St Stop 2",
            "ShipToAddress2": "Ship To Two Address 2",
            "ShipToAddress3": "Ship To Two Address 3",
            "ShipToCity": "Omaha",
            "ShipToState": "NE",
            "ShipToCountry": "USA",
            "ShipToZip": "68118",
            "ShipToPhone": "(   )-   -    ",
            "BillToName": "Hayes Distribution",
            "BillToAddress1": "170002 Marcy St",
            "BillToAddress2": "x",
            "BillToAddress3": "",
            "BillToCity": "Omaha",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68118",
            "BillToPhone": "+1(132)-456-7890",
            "SalesAgentID1": "testdmsi",
            "SalesAgentName1": " ",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "UpdateDate": "2019-02-08",
            "UpdateTime": "13:58:43",
            "ContactEmail": "",
            "ContactName": "",
            "ContactPhone": "",
            "ShipComplete": false,
            "CostTotal": -427.05,
            "CostType": "Item default",
            "TotalWeight": 10,
            "TotalLoad": 30,
            "StatusType": "RMA",
            "dtCreditMemoDetail": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 301955,
                "Sequence": 1,
                "DisplaySequence": 1,
                "LineType": "CM",
                "ItemCode": "419147",
                "ItemSize": "ISize",
                "ItemDescription": "Devel Elkhorn",
                "TotalOrderedQuantity": -10,
                "QuantityUOM": "EA",
                "GrossPrice": 20,
                "NetPrice": 20,
                "PriceUOM": "EA",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": -200,
                "TotalBackorderedQuantity": 0,
                "TotalStagedQuantity": 0,
                "TotalUnstagedQuantity": 0,
                "TotalInvoicedQuantity": 0,
                "LinkedTranType": "",
                "LinkedTranID": 0,
                "LinkedTranSequence": 0,
                "CustomerPOLineNumber": "",
                "DepartmentName": "",
                "DepartmentNumber": "",
                "PartNumber": "",
                "SKU": "",
                "UPCCode": "",
                "ExtCost": -427.0549,
                "ExtWeight": 10,
                "ExtLoad": 30
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of credit memos for a specified customer

Required Inputs

Value Required

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerOrderPadAdd

Sample Request

{
  "request": {
    "CustomerID": "Hayes",
    "ShipToSequence": 1,
    "dsOrderPadItemsRequest": {
      "dtOrderPadItemsRequest": [
        {
          "Sequence": 10,
          "ItemCode": "419147",
          "OrderQty": 7,
          "UOM": "EA",
          "Price": 15,
          "PriceUOM": "EA",
          "PriceLevel": 1,
          "SaleType": "",
          "ItemMessage": "",
          "OrderedBy": "Brad"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a new OrderPad detail; if no OrderPad exists for the customer/ship-to, also creates the main OrderPad record

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerOrderPadDelete

Sample Request

{
  "request": {
    "CustomerID": "Hayes",
    "ShipToSequence": 1,
    "dsOrderPadItemsRequest": {
      "dtOrderPadItemsRequest": [
        {
          "Sequence": 5
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes an existing OrderPad detail; if this is the only OrderPad detail remaining on this OrderPad, the main OrderPad record is also deleted

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerOrderPadList

Sample Request

{
  "request": {
    "CustomerID": "Hayes",
    "ShipToSequence": 1
  }
}

Sample Response

{
  "response": {
    "dsCustomerOrderPadResponse": {
      "dsCustomerOrderPadResponse": {
        "dtOrderPadHeaderResponse": [
          {
            "CustomerCode": "Hayes",
            "ShipToSequence": 1,
            "PriceLevel": 2,
            "SaleType": "WH",
            "dtOrderPadItemResponse": [
              {
                "ItemCode": "419147",
                "Dimension": "",
                "OrderQty": 150,
                "UOM": "EA",
                "Price": 15,
                "PriceUOM": "EA",
                "AvailableQty": 487,
                "ItemSize": "ISize",
                "ItemDescription": "Elkhorn",
                "PriceOverridden": true,
                "DiscountDescription": "",
                "ExtendedPrice": 2250,
                "Cost": 42.7055,
                "CostDesignator": "A",
                "GrossMarginPercent": -184.7,
                "GrossMarginAmount": -4155.82,
                "PriceLevel": 1,
                "SaleType": "WH",
                "CreatedBy": "Brad",
                "CreatedDate": "2019-02-13",
                "CreatedTime": "12:39:58",
                "UpdateBy": "Brad",
                "UpdateDate": "2019-02-13",
                "UpdateTime": "12:39:58",
                "Sequence": 4,
                "CustomerCode": "Hayes",
                "ShipToSequence": 1,
                "Thickness": 0,
                "Width": 0,
                "Length": 0,
                "ItemMessage": "",
                "OrderedBy": "Brad",
                "SupplierRebate": 0,
                "MinPackQty": 0,
                "MinPackType": "Allow - Question"
              }
            ]
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns an existing OrderPad for a specific customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

CustomerOrderPadUpdate

Sample Request

{
  "request": {
    "CustomerID": "Hayes",
    "ShipToSequence": 1,
    "OrderPadUpdateJSON": {
      "dsCustomerOrderPadItemsRequest": {
        "dtCustomerOrderPadItemsRequest": [
          {
            "Sequence": 4,
            "ItemCode": "419147",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "OrderQty": 77,
            "UOM": "EA",
            "Price": 2,
            "PriceUOM": "EA",
            "SaleType": "WH",
            "ItemMessage": "",
            "OrderedBy": ""
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates an existing OrderPad detail

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

QuicklistList

Sample Request

{
  "request": {
    "CustomerID": "123161",
    "ShipToSequence": 1
  }
}

Sample Response

Sample response {
   "response": {
    "dsItemQuickListResponse": {
        "dsdsItemQuickListResponse": {
            "dtQuickListHeaderResponse": [{
                "QuickList": "Top Items by GM %",
                "dtQuickListItemResponse": [{
                    "QuickList": "Top Items by GM %",
                    "ItemCode": "100040",
                    "ItemSize": "Satin Paint",
                    "ItemDescription": "orange interior",
                    "RankValue": 86.1
                }]
            },
            {
                "QuickList": "Top Items by Hits",
                "dtQuickListItemResponse": [{
                    "QuickList": "Top Items by Hits",
                    "ItemCode": "97114SHEET",
                    "ItemSize": "",
                    "ItemDescription": "Sheet good",
                    "RankValue": 9
                }]
            },
            {
            "QuickList": "Top Items by Total Sales Amt",
                "dtQuickListItemResponse": [{
                    "QuickList": "Top Items by Total Sales Amt",
                    "ItemCode": "c10",
                    "ItemSize": "10 gauge2",
                    "ItemDescription": "",
                    "RankValue": 10818.25
                }]
            }
        ]
    }
},
"ReturnCode": 0,
"MessageText": ""
}
}

Purpose

Returns existing quick lists for a specific customer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

QuicklistPriceandAvailList

Sample Request

{
  "request": {
    "CustomerID": "123161",
    "ShipToSequence": 1
  }
}

Sample Response

{
  "response": {
    "ItemCustomerPricingResponse": {
      "dsItemCustomerPricingResponse": {
        "dtItemPriceAndQtyResponse": [
          {
            "ItemCode": "c10",
            "ItemXref": "All Cust Xref",
            "ItemSize": "10 gauge2",
            "DimensionSize": "",
            "ItemDescription": "",
            "ExtendedDescription": "c10",
            "Thickness": 0,
            "ThicknessUOM": "",
            "Width": 0,
            "WidthUOM": "",
            "Length": 0,
            "LengthUOM": "",
            "ItemGroupMajor": "MISC",
            "ItemGroupMinor": "NAILS",
            "MinPackQty": 1,
            "MinPackType": "Adjust - Notify",
            "Nonsaleable": false,
            "Stock": true,
            "ItemType": "",
            "ItemTypeName": "",
            "ImageUrl": "",
            "UOM": "PC",
            "OnHandQty": 100,
            "AvailableQty": 90,
            "PriceUOM": "box",
            "GrossPrice": 0.27,
            "PriceUOMGrossPrice": 27,
            "NetPrice": 0.27,
            "PriceUOMNetPrice": 27,
            "DiscountDescription": "",
            "QuickList": "Top Items by Total Sales Amt",
            "RankValue": 10818.25,
            "Dimension": "",
            "SpecialItemType": "",
            "Promo": false,
            "DefaultWeight": 4.5,
            "DefaultWeightUOM": "box",
            "DefaultLoad": 1.1,
            "DefaultLoadUOM": "box",
            "PrimarySupplierWeight": 4.5,
            "PrimarySupplierWeightUOM": "box",
            "PrimarySupplierLoad": 1.1,
            "PrimarySupplierLoadUOM": "box"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns existing quick lists for a specific customer with price and availability information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

QuoteDelete

Sample Request

{
  "request": {
    "QuoteID": 123456,
    "DeleteReleasedQuote": true
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes an existing quote

Required Inputs

Value Required

Optional Inputs

Response

Notes

Relationships

Version Deployed

549

QuoteList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "123161",
    "ShipToSequence": 1,
    "IncludeOnlyOpenQuotes": false,
    "ChunkStartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "QuoteDisplayResponse": {
      "dsQuotesResponse": {
        "dtQuoteResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "QuoteID": 300530,
            "HeaderGUID": "1009e9de529e-b775-b995-4914-f9d5fc29",
            "QuoteType": "",
            "CustomerID": "123161",
            "ShipToSequence": 1,
            "QuotedBy": "llattier",
            "QuoteDate": "2018-12-17",
            "ActivationDate": "2018-12-17",
            "ClosedDate": "2019-04-16",
            "QuoteProcessStatus": "Open",
            "SaleType": "WH",
            "SaleTypeDescription": "Warehouse Order WH",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "ShipVia": "OUR TRUCK",
            "FreightTerms": "",
            "PayTermsCode": "2%flat",
            "OrderSubtotal": 960,
            "OrderChargesAmount": 0,
            "Taxable": true,
            "TaxCode": "NE5.5",
            "OrderTaxAmount": 52.8,
            "OrderTotal": 1012.8,
            "DiscountAmount": 19.2,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "DAA Hardware - Ralston",
            "ShipToAddress1": "4321 78th Street",
            "ShipToAddress2": "",
            "ShipToAddress3": "",
            "ShipToCity": "Ralston",
            "ShipToState": "NE",
            "ShipToCountry": "",
            "ShipToZip": "68127",
            "ShipToPhone": "(402)-555-3333",
            "BillToName": "DAA HARDWARE BILL-TO 1",
            "BillToAddress1": "123 A STREET",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "LA VISTA",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68128",
            "BillToPhone": "(   )-   -    ",
            "SalesAgentID1": "",
            "SalesAgentName1": "",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "dtQuoteDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "QuoteID": 300530,
                "Sequence": 1,
                "DisplaySequence": 1,
                "ItemCode": "PHX283A",
                "ItemSize": "REG",
                "ItemDescription": "",
                "DetailProcessStatus": "Open",
                "TotalOrderedQuantity": 10,
                "QuantityUOM": "EA",
                "GrossPrice": 32,
                "NetPrice": 32,
                "PriceUOM": "EA",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": 320,
                "WOPhrase": ""
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 262,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of quotes for a specified customer

Required Inputs

Value Required

Optional Inputs

Response

Notes

Relationships

Version Deployed

539

QuotePriceHoldApprove

Sample Request

{
  "request": {
    "QuoteID": 1000328293,
    "QuoteDetailApproveJSON": {
      "dsQuoteDetail": {
        "dtQuoteDetail": [
          {
            "Sequence": 1,
            "SendNotification": "YES",
            "ReviewerID": "PRCAPP01",
            "Comment": "above floor"
          },
          { "Sequence": 2, "SendNotification": "NO" },
          {
            "Sequence": 4,
            "SendNotification": "YES",
            "ReviewerID": "PRCAPP01",
            "Comment": "below floor"
          },
          {
            "Sequence": 3,
            "SendNotification": "YES",
            "ReviewerID": "PRCAPP01",
            "Comment": "Error in quoted price"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Removes quote items from price hold; approve items on price hold based of the QuoteID and detail line item Sequence

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

QuotePriceHoldReject

Sample Request

{
  "request": {
    "QuoteID": 1000328312,
    "QuoteDetailRejectJSON": {
      "dsQuoteDetail": {
        "dtQuoteDetail": [
          {
            "Sequence": 2,
            "SuggestedPrice": 2.2,
            "SuggestedPriceUOM": "GAL",
            "SendNotification": "YES",
            "ReviewerID": "PRCREJ01",
            "Comment": "below floor"
          },
          {
            "Sequence": 1,
            "SuggestedPrice": 1.1,
            "SuggestedPriceUOM": "EA",
            "SendNotification": "YES",
            "ReviewerID": "PRCREJ01",
            "Comment": "below floor"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Denies removal of quote items from price hold based on the QuoteID and detail line item Sequence and sends a suggested price for approval

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v550

SalesOrderCreate

Sample Request

{
  "request": {
    "dsOrderHeaderRequest": {
      "dtOrderHeaderRequest": [
        {
          "CustomerID  ": "RS23",
          "ShipToSequence": 1,
          "TransactionReference": "",
          "TransactionJob ": "",
          "OrderedBy": "API",
          "CustomerPurchaseOrder": "",
          "AcknowledgementEmailAddress": "",
          "AcknowledgementEmailAddress2": "",
          "AcknowledgementFaxNumber": "",
          "PrePaid": false,
          "ShipToName ": "",
          "ShipToAddress1": "",
          "ShipToAddress2": "",
          "ShipToAddress3": "",
          "ShipToCity ": "",
          "ShipToState": "",
          "ShipToZip": "",
          "ShipToCountry": "",
          "ShipToPhone": "",
          "TaxCode": "",
          "SaleType": "WH",
          "OrderMessage": "test",
          "ShipVia": "",
          "ShipComplete": false,
          "ShipCompleteOverride": false,
          "CreateShipment": false,
          "MiscField1": "",
          "MiscField2": "",
          "MiscField3": "",
          "MiscField4": "",
          "MiscField5": "",
          "MiscField6": "",
          "MiscField7": "",
          "MiscField8": "",
          "MiscField9": "",
          "MiscField10": "",
          "MiscField11": "",
          "MiscField12": "",
          "MiscDate1": "",
          "MiscDate2": "",
          "APISourceID": ""
        }
      ]
    },
    "dsOrderItemRequest": {
      "dtOrderItemRequest": [
        {
          "Sequence": 1,
          "ItemCode": "110H",
          "OrderQty": 200,
          "UOM": "EA",
          "Charge": false,
          "Price": 0.6,
          "PriceUOM": "EA",
          "PriceOverride": false,
          "OrderCost": false,
          "CustomerPOLineNumber": "",
          "DepartmentName": "",
          "DepartmentNumber": "",
          "PartNumber": "",
          "SKU": "",
          "UPCCode": "",
          "ItemMessage": "",
          "PrintMsgOnForms": false,
          "PrintMsgOnFormsOverride": false,
          "SendMsgToWMS": false,
          "SendMsgToWMSOverride": false,
          "APIPriceSourceType": "",
          "APIPriceSourceRef": ""
        }
      ],
      "dtOrderItemDimensionRequest": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "OrderQty": 0,
          "UOM": "",
          "Price": 0,
          "PriceUOM": "0",
          "PriceOverride": false
        }
      ]
    },
    "dsOrderItemComponentRequest": {
      "dtOrderItemComponentRequest": []
    },
    "dsTaxAuthorityRequest": {
      "dtTaxAuthorityRequest": []
    }
  }
}

Sample Response

{
  "response": {
    "NewOrderID": 321771,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a new sales order, which can include BOM parent items with components, with specified tax rates and a specified sale type, as well as a shipment

Required Inputs

Value Required

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546; APIPrice fields added v548

SalesOrderList

Sample Request

{
  "request": {
    "SearchBy": "",
    "SearchValue": "",
    "CustomerID": "123161",
    "ShipToSequence": 3,
    "OrderDateRangeStart": "",
    "OrderDateRangeEnd": "",
    "ExpectedDateRangeStart": "",
    "ExpectedDateRangeEnd": "",
    "FetchOnlyChangedSince": "",
    "IncludeOpenOrders": true,
    "IncludeInvoicedOrders": false,
    "IncludeCanceledOrders": false,
    "ChunkStartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "OrdersResponse": {
      "dsOrdersResponse": {
        "dtOrderResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "OrderID": 272801,
            "CustomerID": "123161",
            "ShipToSequence": 3,
            "OrderedBy": "",
            "OrderDate": "2017-08-21",
            "ExpectedDate": "2017-08-22",
            "OrderStatus": "Open",
            "OrderProcessStatus": "",
            "CreditHoldStatus": "",
            "SaleType": "wh",
            "SaleTypeDescription": "Warehouse Order WH",
            "TransactionJob": "",
            "TransactionReference": "",
            "CustomerPO": "",
            "RouteID": "",
            "ShipVia": "",
            "FreightTerms": "",
            "PayTermsCode": "LAL1",
            "OrderSubtotal": 23.85,
            "OrderChargesAmount": 0,
            "Taxable": false,
            "TaxCode": "",
            "OrderTaxAmount": 0,
            "OrderTotal": 23.85,
            "DiscountAmount": 0.24,
            "AfterDeductFreightAmt": 0,
            "ShipToName": "SHIP-TO 3",
            "ShipToAddress1": "ADDRESS 1",
            "ShipToAddress2": "",
            "ShipToAddress3": "ADDRESS 3",
            "ShipToCity": "LA VISTA",
            "ShipToState": "NE",
            "ShipToCountry": "USA",
            "ShipToZip": "68128",
            "ShipToPhone": "(402)-555-1111",
            "BillToName": "DAA HARDWARE BILL-TO 1",
            "BillToAddress1": "123 A STREET",
            "BillToAddress2": "",
            "BillToAddress3": "",
            "BillToCity": "LA VISTA",
            "BillToState": "NE",
            "BillToCountry": "USA",
            "BillToZip": "68128",
            "BillToPhone": "(   )-   -    ",
            "SalesAgentID1": "0901",
            "SalesAgentName1": "",
            "SalesAgentID2": "",
            "SalesAgentName2": "",
            "SalesAgentID3": "",
            "SalesAgentName3": "",
            "SalesAgentID4": "",
            "SalesAgentName4": "",
            "SalesAgentID5": "",
            "SalesAgentName5": "",
            "SalesAgentID6": "",
            "SalesAgentName6": "",
            "UpdateDate": "2017-08-21",
            "UpdateTime": "11:39:01",
            "ContactEmail": "",
            "ContactName": "",
            "ContactPhone": "",
            "ShipComplete": true,
            "CostTotal": 3,
            "CostType": "Item default",
            "TotalWeight": 0,
            "TotalLoad": 0,
            "dtOrderDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 272801,
                "Sequence": 1,
                "DisplaySequence": 1,
                "LineType": "SO",
                "ItemCode": "LL-PAINT",
                "ItemSize": "",
                "ItemDescription": "",
                "TotalOrderedQuantity": 3,
                "QuantityUOM": "GAL",
                "GrossPrice": 7.95,
                "NetPrice": 7.95,
                "PriceUOM": "GAL",
                "DiscountDescription": "",
                "Taxable": true,
                "ExtendedPrice": 23.85,
                "TotalBackorderedQuantity": 3,
                "TotalStagedQuantity": 0,
                "TotalUnstagedQuantity": 0,
                "TotalInvoicedQuantity": 0,
                "LinkedTranType": "PO",
                "LinkedTranID": 148517,
                "LinkedTranSequence": 1,
                "CustomerPOLineNumber": "001",
                "DepartmentName": "",
                "DepartmentNumber": "",
                "PartNumber": "",
                "SKU": "",
                "UPCCode": "",
                "ExtCost": 3,
                "ExtWeight": 0,
                "ExtLoad": 0
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 2,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of sales orders for a specified customer

Required Inputs

Value Required

The following inputs require a value due to data type:

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539; ExpectedDateRange fields added v549

SalesOrderPayment

Sample Request

{
  "request": {
    "SalesOrderPaymentJSON": {
      "dsPayment": {
        "dtPayment": [
          {
            "Type": "Pending",
            "PaymentAccountID": "6B0F870C-1B98-41E4-A023-339620538660",
            "AllowTokenDelete": "Yes",
            "dtTransaction": [
              {
                "TransactionID": 1000332221,
                "AmountTendered": 0.0
              }
            ]
          },
          {
            "Type": "Payment",
            "ProcessorTransactionID": "89852081",
            "dtTransaction": [
              {
                "TransactionID": 1000332221
              }
            ]
          },
          {
            "Type": "TokenPayment",
            "PaymentAccountID": "00b03696-0248-4a31-ab07-6e0b8c68c822",
            "dtTransaction": [
              {
                "TransactionID": 1000332221,
                "AmountTendered": 25.25
              }
            ]
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Sends credit card authorization and/or payment information to Agility to store alongside the order upon Sales Order creation via an Agility customer’s eCommerce site

Required Inputs

Type

Optional Inputs

Response

Notes

Relationships

Version Deployed

v551

SalesOrderPriceHoldApprove

Sample Request

{
  "request": {
    "OrderID": 1000328293,
    "SalesOrderDetailApproveJSON": {
      "dsSalesOrderDetail": {
        "dtSalesOrderDetail": [
          {
            "Sequence": 1,
            "SendNotification": "YES",
            "ReviewerID": "PRCAPP01",
            "Comment": "above floor"
          },
          { "Sequence": 2, "SendNotification": "NO" }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Removes sales order items from price hold; approve items on price hold based on the OrderID and detail line item Sequence

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v550

SalesOrderPriceHoldReject

Sample Request

{
  "request": {
    "OrderID": 1000328312,
    "SalesOrderDetailRejectJSON": {
      "dsSalesOrderDetail": {
        "dtSalesOrderDetail": [
          {
            "Sequence": 2,
            "SuggestedPrice": 2.2,
            "SuggestedPriceUOM": "GAL",
            "SendNotification": "YES",
            "ReviewerID": "PRCREJ01",
            "Comment": "below floor"
          },
          {
            "Sequence": 1,
            "SuggestedPrice": 1.1,
            "SuggestedPriceUOM": "EA",
            "SendNotification": "YES",
            "ReviewerID": "PRCREJ01",
            "Comment": "below floor"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Denies removal of sales order items from price hold based on the OrderID and detail line item Sequence and sends a suggested price for approval

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v550

SalesOrderUpdate

Sample Request

{
  "request": {
    "OrderID": 447,
    "OrderHeaderUpdateJSON": {
      "dsOrderHeaderUpdateRequest": {
        "dtOrderHeaderUpdateRequest": [
          {
            "TransactionReference": "",
            "TransactionJob": "",
            "OrderedBy": "",
            "CustomerPurchaseOrder": "",
            "ShipVia": "",
            "MiscField1": "",
            "MiscField2": "",
            "MiscField3": "",
            "MiscField4": "",
            "MiscField5": "",
            "MiscField6": "",
            "MiscField7": "",
            "MiscField8": "",
            "MiscField9": "",
            "MiscField10": "",
            "MiscField11": "",
            "MiscField12": "",
            "MiscDate1": null,
            "MiscDate2": null
          }
        ]
      }
    },
    "dsOrderItemRequest": {
      "dtOrderItemRequest": [
        {
          "Sequence": 1,
          "ItemCode": "BLANK",
          "OrderQty": 1,
          "UOM": "EA",
          "Charge": false,
          "Price": 0,
          "PriceUOM": "",
          "PriceOverride": false,
          "OrderCost": false,
          "CustomerPOLineNumber": "",
          "DepartmentName": "",
          "DepartmentNumber": "",
          "PartNumber": "",
          "SKU": "",
          "UPCCode": "",
          "ItemMessage": "",
          "PrintMsgOnForms": false,
          "PrintMsgOnFormsOverride": false,
          "SendMsgToWMS": false,
          "SendMsgToWMSOverride": false,
          "APIPriceSourceType": "",
          "APIPriceSourceRef": ""
        }
      ],
      "dtOrderItemDimensionRequest": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "OrderQty": 0,
          "UOM": "",
          "Price": 0,
          "PriceUOM": "",
          "PriceOverride": false
        }
      ]
    },
    "dsOrderItemComponentRequest": {
      "dtOrderItemComponentRequest": [
        {
          "OrderItemSequence": 0,
          "ComponentSequence": 0,
          "BomType": "",
          "ItemCode": "",
          "PartNumber": "",
          "OrderQty": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "TallyUOM": "",
          "PrintFlag": false,
          "SundryCost": 0,
          "SundryCostOverride": false,
          "ItemMessage": "",
          "PrintMsgOnForms": false,
          "PrintMsgOnFormsOverride": false,
          "UOM": ""
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates header information and/or adds new items to an existing sales order

Required Inputs

Value Required

The following inputs require a value due to data type:

Optional Inputs

All fields in dtOrderHeaderUpdateRequest; remaining fields in dtOrderItemRequest, dtOrderItemDimensionRequest, dtOrderItemComponentRequest not already referenced

Response

Notes

Relationships

Version Deployed

v550

AgilityPublic/Pricing Service

This AgilityPublic service contains methods relating to pricing.

ItemCustomerPricingList

Sample Request

{
  "request": {
    "CustomerID": "123161",
    "ShipToSequence": 1,
    "SaleType": "WH",
    "SearchBy": "",
    "SearchValue": "LL-PAINT",
    "ItemGroupMajor": "",
    "ItemGroupMinor": "",
    "IncludeNonStock": true,
    "IncludeNonSaleable": true,
    "RecordFetchLimit": 0
  }
}

Sample Response

{
  "response": {
    "dsCustomerPricingResponse": {
      "dsItemCustomerPricingResponse": {
        "dtItemPriceAndQtyResponse": [
          {
            "ItemCode": "LL-PAINT",
            "ItemXref": "",
            "ItemSize": "SIZE",
            "DimensionSize": "",
            "ItemDescription": "DESCRIPTION",
            "ExtendedDescription": "EXT DESC",
            "Thickness": 0,
            "ThicknessUOM": "",
            "Width": 0,
            "WidthUOM": "",
            "Length": 0,
            "LengthUOM": "",
            "ItemGroupMajor": "PANT",
            "ItemGroupMinor": "IVORY",
            "MinPackQty": 0,
            "MinPackType": "Allow - Question",
            "Nonsaleable": false,
            "Stock": true,
            "ItemType": "",
            "ItemTypeName": "",
            "ImageUrl": "",
            "UOM": "GAL",
            "OnHandQty": 91560,
            "AvailableQty": 90041,
            "PriceUOM": "GAL",
            "GrossPrice": 7.95,
            "PriceUOMGrossPrice": 7.95,
            "NetPrice": 7.95,
            "PriceUOMNetPrice": 7.95,
            "DiscountDescription": "",
            "QuickList": "",
            "RankValue": 0,
            "Dimension": "",
            "SpecialItemType": "",
            "Promo": false,
            "DefaultWeight": 0.0001,
            "DefaultWeightUOM": "GAL",
            "DefaultLoad": 0.0001,
            "DefaultLoadUOM": "GAL",
            "PrimarySupplierWeight": 0.0001,
            "PrimarySupplierWeightUOM": "GAL",
            "PrimarySupplierLoad": 0.0001,
            "PrimarySupplierLoadUOM": "GAL"
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "TotalRowsFetched": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns item related information as well as the most specific price for the customer and ship-to specified for a group of items

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v543

PriceInfoList

Sample Request

{
  "request": {
    "CustomerID": "12345",
    "ShiptoSequence": 14,
    "SaleType": "WH",
    "PriceTypeOption": "",
    "dsItemToProcessRequest": {
      "dtItemToProcessRequest": [
        {
          "ItemCode": "118835",
          "OrderQty": 100,
          "UOM": "EA"
        },
        {
          "ItemCode": "118835RANDOM",
          "OrderQty": 100,
          "UOM": "BF"
        }
      ],
      "dtItemDimensionToProcessRequest": [
        {
          "ItemCode": "118835RANDOM",
          "Thickness": 2,
          "Width": 6,
          "Length": 8,
          "OrderQty": 10,
          "UOM": "PC"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "GetPricingResponse": {
      "dsPriceInfoResponse": {
        "dtPriceInfoResponse": [
          {
            "ItemCode": "118835",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "SaleType": "<all>",
            "PriceType": "Qty Break 0 EA",
            "Dimensions": "",
            "PriceUOMGrossPrice": 20,
            "PriceUOMNetPrice": 20,
            "PriceUOM": "EA",
            "DiscountQty": 0,
            "DiscountDescription": "",
            "DiscountUOM": "EA",
            "DateRange": "Open - Open",
            "Promo": false,
            "BOMComponentPrice": ""
          },
          {
            "ItemCode": "118835",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "SaleType": "<all>",
            "PriceType": "Qty Break 100 EA",
            "Dimensions": "",
            "PriceUOMGrossPrice": 19,
            "PriceUOMNetPrice": 19,
            "PriceUOM": "EA",
            "DiscountQty": 0,
            "DiscountDescription": "",
            "DiscountUOM": "EA",
            "DateRange": "Open - Open",
            "Promo": false,
            "BOMComponentPrice": ""
          },
          {
            "ItemCode": "118835",
            "Thickness": 0,
            "Width": 0,
            "Length": 0,
            "SaleType": "<all>",
            "PriceType": "Qty Break 1000 EA",
            "Dimensions": "",
            "PriceUOMGrossPrice": 18,
            "PriceUOMNetPrice": 18,
            "PriceUOM": "EA",
            "DiscountQty": 0,
            "DiscountDescription": "",
            "DiscountUOM": "EA",
            "DateRange": "Open - Open",
            "Promo": false,
            "BOMComponentPrice": ""
          },
          {
            "ItemCode": "118835RANDOM",
            "Thickness": 2,
            "Width": 6,
            "Length": 8,
            "SaleType": "<all>",
            "PriceType": "Qty Break 0 BF",
            "Dimensions": "00X00X00",
            "PriceUOMGrossPrice": 123,
            "PriceUOMNetPrice": 123,
            "PriceUOM": "BF",
            "DiscountQty": 0,
            "DiscountDescription": "",
            "DiscountUOM": "BF",
            "DateRange": "Open - Open",
            "Promo": false,
            "BOMComponentPrice": ""
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns all pricing and discount records from the specified level in the hierarchy for the customer and items/dimensions specified

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v544

AgilityPublic/Purchasing Service

This AgilityPublic service contains methods related to purchasing and receiving.

PurchaseOrderCostPacketsDelete

Sample Request

{
  "request": {
    "PurchaseOrderID": 158553,
    "PurchaseOrderCostPacketsDeleteJSON": {
      "dsPurchaseOrderCostPacket": {
        "dtPurchaseOrderCostPacket": [
          {
            "CostType": "Freight",
            "SupplierID": "FEDEX"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes cost packets from a specific purchase order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

PurchaseOrderCostPacketsGet

Sample Request

{
  "request": {
    "PurchaseOrderID": "158553"
  }
}

Sample Response

{
  "response": {
    "CostPacketResponse": {
      "dsCostPacketsResponse": {
        "dtCostPacketsResponse": [
          {
            "AllocateBy": "Load",
            "ApplyPerReceiving": true,
            "CostBasis": "fixed",
            "BasisAmount": 0,
            "FixedAmount": 32.95,
            "Cost": 32.95,
            "CreatedBy": "mwellensiek",
            "CreatedDate": "2019-02-04",
            "CreatedTime": "11:51:45",
            "DispatchID": 0,
            "Freight": true,
            "MinOrderAmount": 0,
            "Overridden": true,
            "PrintOnForm": true,
            "ReceiveNum": 0,
            "ShipmentNum": 0,
            "SOID": 0,
            "SupplierID": "FEDEX",
            "UpdateBy": "mwellensiek",
            "UpdateDate": "2019-02-04",
            "UpdateTime": "11:51:45"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a cost packet information for a specific purchase order

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

PurchaseOrderCostPacketsUpdate

Sample Request

{
  "request": {
    "PurchaseOrderID": "158520",
    "PurchaseOrderCostPacketsUpdateJSON": {
      "dsPurchaseOrderCostPacket": {
        "dtPurchaseOrderCostPacket": [
          {
            "CostType": "Freight",
            "CostBasis": "Fixed",
            "BasisAmount": 0.0,
            "FixedAmount": 56.18,
            "SupplierID": "278200",
            "AllocateBy": "Weight",
            "ApplyPerReceiving": true,
            "PrintOnForm": false,
            "DispatchID": 0
          }
        ]
      }
    }
  }
}

Sample Response

{
    "response": {
        "ReturnCode": 0,
        "MessageText": “”
    }
}

Purpose

Creates or updates purchase order cost packets

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v539

PurchaseOrderDetailsUpdate

Sample Request

{
     "request": {
          "PurchaseOrderID": 158419,
          "PurchaseOrderDetailsUpdateJSON": {
               "dsPurchaseOrderDetail":{
                    "dtPurchaseOrderDetail":[{
                         “PurchaseOrderDetailSequence":1,
                         "ExpectedReceiptDate":"2019-01-30",
                         "ExpectedShipDate":"2019-01-31"
                                                          }]
                                                   }
                                }
                     }
}


Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates purchase order detail expected receipt dates and expected ship dates

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v538

PurchaseOrderGet

Sample Request

{
  "request": {
    "PurchaseOrderID": "158511"
  }
}

Sample Response

{
  "response": {
    "PurchaseOrderResponse": {
      "dsPurchaseOrderResponse": {
        "dtPurchaseOrderHeader": [
          {
            "PurchaseOrderID": 158419,
            "AcknowledgeDate": null,
            "IncomingPOAckPurpose": "",
            "IncomingPOAckStatus": "",
            "AcknowledgeTime": "",
            "AllowChanges": true,
            "AutoTransfer": false,
            "Buyer1": "0901",
            "Buyer2": "451-A",
            "ConfirmedBy": "23274",
            "CreatedBy": "mwellensiek",
            "CreatedDate": "2019-01-16",
            "CreatedTime": "13:08:57",
            "Currency": "USD",
            "CustomerID": "HILLSIDELBR",
            "AllowChangesUntilDate": "2019-02-10",
            "AllowChangesUntilTime": "13:30",
            "Dispatched": "",
            "ExpectedReceiptDate": "2019-02-10",
            "ExpectedShipDate": "2019-02-09",
            "ExpectedReceiptTime": "09:35",
            "FreightTerms": "FOB",
            "OrderDate": "2019-01-16",
            "OriginalSource": "PO Import",
            "PaymentTermsCode": "1%10n30",
            "PickUpID": "107311",
            "POLabel": "Transit",
            "ParentPOID": null,
            "ParentPOFlag": "",
            "POStatus": "Open",
            "PurchaseType": "WH",
            "Reference": "Hillcrest Apts",
            "SendPOVia": "Normal",
            "ShipFromSequence": 1,
            "ShipToSequence": 1,
            "ShipVia": "Pick up",
            "SupplierID": "LMC",
            "TrackingDate": "2019-01-19",
            "TransferPO": false,
            "UpdateBy": "mwellensiek",
            "UpdateDate": "2019-02-03",
            "UpdateLead": false,
            "UpdateTime": "20:42:03",
            "PODescription": "New supplier inv",
            "VerbalPO": "751073"
          }
        ],
        "dtPurchaseOrderDetail": [
          {
            "POID": 158419,
            "Cost": 1.052,
            "CreatedBy": "mwellensiek",
            "CreatedDate": "2019-01-16",
            "CreatedTime": "13:08:57",
            "Discount1": 0,
            "Discount2": 0,
            "Discount3": 0,
            "CostUOM": "EA",
            "DisplaySequence": 1,
            "ExpectedReceiptDate": "2019-02-10",
            "ExpectedReceiptDateOverride": false,
            "ExpectedShipDate": "2019-02-09",
            "ExpectedShipDateOverride": false,
            "GroupID": "",
            "ItemCode": "d10",
            "LandedCost": 1.052,
            "OriginalItemCode": "",
            "CostOverridden": false,
            "DiscountOverridden": false,
            "ItemDescription": "8D Bright Ring Shank",
            "POStatus": "Open",
            "ProposedSellPrice": 0,
            "Quantity": 10,
            "ProposedSellPriceUOM": "EA",
            "PurchaseOrderDetailSequence": 1,
            "ReceivingSet": "",
            "SIZE": "2 1/2",
            "TallyUOM": "",
            "QuantityUOM": "EA",
            "UpdateBy": "mwellensiek",
            "UpdateDate": "2019-02-03",
            "UpdateTime": "20:40:54",
            "WOID": 0
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a specific purchase order, including header and detail information

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v539

PurchaseOrderHeaderUpdate

Sample Request

Sample request  {
     "request": {
          "PurchaseOrderID":158419,
          "PurchaseOrderHeaderUpdateJSON": {
               "dsPurchaseOrderHeader":{
                    "dtPurchaseOrderHeader":[{
                         "ExpectedShipDate":"2019-01-30",
                         "ExpectedReceiptDate":"2019-01-31",
                         "ExpectedReceiptTime":"09:35",
                         "PODescription":"New supplier inv",
                         "Buyer1":"0901",
                         "Buyer2":"451-A",
                         "Reference":"Hillcrest Apts",
                         "VerbalPO":"751073",
                         "POLabel":"Transit",
                         "PickUpID":"107311",
                         "ShipVia":"Pick up",
                         "FreightTerms":"FOB",
                         "PaymentTermsCode":"1%10n30",
                         "AllowChanges":"Yes",
                         "AllowChangesUntilDate":"2019-01-29",
                         "AllowChangesUntilTime":"13:30",
                         "TrackingDate":"2019-01-19",
                         "SendPOVia":"Normal",
                         "UpdateLead":"No",
                         "ConfirmedBy":"23274"
                                                              }]
                                                        }
                                }
                }
}


Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates purchase order header fields

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v538

AgilityPublic/Reman Service

This AgilityPublic service contains methods related to reman work orders.

RemanHeaderCreate

Sample Request

{
  "request": {
    "dsInputRemanHeaderRequest": {
      "dtInputRemanHeaderRequest": [
        {
          "BalancingUOM": "EA",
          "TransactionDescription": "test",
          "ExpectedDate": "2020-04-15",
          "TransactionJob": "33",
          "TransactionReference": "55",
          "RemanType": "Prod",
          "StartDate": "2020-03-25",
          "SupplierID": 700,
          "SupplierShipFromSequence": 11
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "NewOrderID": 96570,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a new reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanInputsCreate

Sample Request

{
  "request": {
    "OrderID": 96595,
    "dsInputRemanInputRequest": {
      "dtInputRemanInputRequest": [
        {
          "Sequence": 1,
          "Key": "1",
          "LinkID": "",
          "ItemCode": "INPUT",
          "ItemSize": "",
          "ItemDescription": "",
          "OrderQty": 10,
          "OrderQtyUOM": "GAL",
          "AffectUsage": false
        }
      ],
      "dtInputRemanInputDimReq": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 0,
          "OrderQtyUOM": ""
        }
      ],
      "dtInputRemanInputComReq": [
        {
          "Sequence": 1,
          "Location": "001-1",
          "Lot": "",
          "Tag": "",
          "Content": "",
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 10,
          "OrderQtyUOM": "GAL"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates one or more reman inputs on an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanInputsDelete

Sample Request

{
  "request": {
    "OrderID": 96600,
    "dsInputRemanInputRequest": {
      "dtInputRemanInputRequest": [
        {
          "Sequence": 1,
          "Key": "1",
          "LinkID": "",
          "ItemCode": "INPUT",
          "ItemSize": "",
          "ItemDescription": "",
          "OrderQty": 10,
          "OrderQtyUOM": "GAL",
          "AffectUsage": false
        }
      ],
      "dtInputRemanInputDimReq": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 0,
          "OrderQtyUOM": ""
        }
      ],
      "dtInputRemanInputComReq": [
        {
          "Sequence": 1,
          "Location": "001-1",
          "Lot": "",
          "Tag": "",
          "Content": "",
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 10,
          "OrderQtyUOM": "GAL"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes one or more inputs from an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanOperationsCreate

Sample Request

{
  "request": {
    "OrderID": 96595,
    "dsInputRemanOperationRequest": {
      "dtInputRemanOperationRequest": [
        {
          "Sequence": 1,
          "Key": "1",
          "CostType": "Operation",
          "OperationDescription": "",
          "OrderQty": 1,
          "Cost": 5.25,
          "PrintOnWO": false,
          "SupplierID": 700,
          "SupplierShipFromSequence": 11,
          "ExpectedStartDate": "2020-04-03",
          "ExpectedCompletionDate": "2020-04-04"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates one or more operations on an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanOperationsDelete

Sample Request

{
  "request": {
    "OrderID": 96600,
    "dsInputRemanOperationRequest": {
      "dtInputRemanOperationRequest": [
        {
          "Sequence": 3,
          "Key": "3",
          "CostType": "Operation",
          "OperationDescription": "",
          "OrderQty": 1,
          "Cost": 5.25,
          "PrintOnWO": false,
          "SupplierID": 700,
          "SupplierShipFromSequence": 11,
          "ExpectedStartDate": "2020-04-06",
          "ExpectedCompletionDate": "2020-04-07"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes one or more operations from an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanOrderGet

Sample Request

{
  "request": {
    "OrderID": 96584
  }
}

Sample Response

{
  "response": {
    "RemanHeaderResponse": {
      "dsGetRemanHeaderResponse": {
        "dtRemanHeaderResponse": [
          {
            "OrderID": 96584,
            "BalancingUOM": "",
            "TransactionDescription": "",
            "ExpectedDate": "2020-04-02",
            "TransactionJob": "123456",
            "TransactionReference": "987654",
            "RemanType": "Dry",
            "StartDate": "2020-04-01",
            "SupplierID": "020774",
            "SupplierShipFromSequence": 1
          }
        ]
      }
    },
    "RemanInputResponse": {
      "dsGetRemanInputResponse": {
        "dtRemanInputResponse": [
          {
            "OrderID": 96584,
            "Sequence": 1,
            "Key": "1",
            "LinkID": "",
            "ItemCode": "INPUT",
            "ItemSize": "INPUT SIZE",
            "ItemDescription": "INPUT DESCRIPTION",
            "OrderQty": 10,
            "OrderQtyUOM": "GAL",
            "AffectUsage": true
          }
        ]
      }
    },
    "RemanOperationResponse": {
      "dsGetRemanOperationResponse": {
        "dtRemanOperationResponse": [
          {
            "OrderID": 96584,
            "Sequence": 1,
            "Key": "1",
            "CostType": "operation",
            "OperationDescription": "REMAN OPERATION",
            "OrderQty": 10,
            "OrderQtyUOM": "EA",
            "Cost": 0,
            "CostUOM": "EA",
            "PrintOnWO": true,
            "SupplierID": "020774",
            "SupplierShipFromSequence": 1,
            "ExpectedStartDate": null,
            "ExpectedCompletionDate": null
          }
        ]
      }
    },
    "RemanOutputResponse": {
      "dsGetRemanOutputResponse": {
        "dtRemanOutputResponse": [
          {
            "OrderID": 96584,
            "Sequence": 1,
            "Key": "1",
            "LinkID": "",
            "Cull": "",
            "ItemCode": "OUTPUT",
            "ItemSize": "OUTPUT SIZE",
            "ItemDescription": "OUTPUT DESCRIPTION",
            "OrderQty": 10,
            "OrderQtyUOM": "GAL",
            "ApplyNegativeUsage": false
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a specific reman order, including its inputs, operations and outputs

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanOutputsCreate

Sample Request

{
  "request": {
    "OrderID": 96595,
    "dsInputRemanOutputRequest": {
      "dtInputRemanOutputRequest": [
        {
          "Sequence": 1,
          "Key": "1",
          "LinkID": "",
          "Cull": "",
          "ItemCode": "OUTPUT",
          "ItemSize": "",
          "ItemDescription": "",
          "OrderQty": 10,
          "OrderQtyUOM": "GAL",
          "ApplyNegativeUsage": true
        }
      ],
      "dtInputRemanOutputDimReq": [
        {
          "Sequence": 1,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 0,
          "OrderQtyUOM": ""
        }
      ],
      "dtInputRemanOutputStorageReq": [
        {
          "Sequence": 1,
          "Location": "WMS",
          "Lot": "",
          "Tag": "",
          "Content": "",
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 10,
          "OrderQtyUOM": "GAL"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates one or more reman outputs on an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanOutputsDelete

Sample Request

{
  "request": {
    "OrderID": 96600,
    "dsInputRemanOutputRequest": {
      "dtInputRemanOutputRequest": [
        {
          "Sequence": 4,
          "Key": "4",
          "LinkID": "",
          "Cull": "",
          "ItemCode": "OUTPUT",
          "ItemSize": "",
          "ItemDescription": "",
          "OrderQty": 10,
          "OrderQtyUOM": "GAL",
          "ApplyNegativeUsage": true
        }
      ],
      "dtInputRemanOutputDimReq": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 0,
          "OrderQtyUOM": ""
        }
      ],
      "dtInputRemanOutputStorageReq": [
        {
          "Sequence": 4,
          "Location": "001-1",
          "Lot": "",
          "Tag": "",
          "Content": "",
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 10,
          "OrderQtyUOM": "GAL"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Deletes one or more outputs from an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanSpecifyTagsToCommit

Sample Request

{
  "request": {
    "OrderID": 96589,
    "dsInputRemanTagsToCommitRequest": {
      "dtInputRemanTagsToCommitRequest": [
        {
          "Tag": "T0113446"
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Commits inventory tags to input items on reman work orders in the branch the user is logged into

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

RemanStorageReplace

Sample Request

{
  "request": {
    "OrderID": 96590,
    "dsInputRemanOutputRequest": {
      "dtInputRemanOutputRequest": [
        {
          "Sequence": 1,
          "Key": "1",
          "LinkID": "",
          "Cull": "",
          "ItemCode": "OUTPUT",
          "ItemSize": "",
          "ItemDescription": "",
          "OrderQty": 1,
          "OrderQtyUOM": "",
          "ApplyNegativeUsage": true
        }
      ],
      "dtInputRemanOutputDimensionReq": [
        {
          "Sequence": 0,
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 0,
          "OrderQtyUOM": ""
        }
      ],
      "dtInputRemanOutputStorageRequest": [
        {
          "Sequence": 1,
          "Location": "WMS",
          "Lot": "",
          "Tag": "",
          "Content": "",
          "Thickness": 0,
          "Width": 0,
          "Length": 0,
          "PieceCount": 0,
          "OrderQty": 1,
          "OrderQtyUOM": "GAL"
        }
      ]
    }
  }
}

Sample Response

Sample response {   "response": {
        "ReturnCode": 0,
        "MessageText": ""
    }}

Purpose

Deletes one or more outputs from an existing, open reman order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v546

AgilityPublic/Session Service

This AgilityPublic service contains methods related to the user’s session when logged in.

AgilityVersion

No Sample Request


Sample Response

{
  "response": {
    "AgilityVersion": "5.3.4",
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns the customer’s Agility version the web service is accessing

Required Inputs

Optional Inputs

Response

Notes

Relationships

N/A

Version Deployed

v534

BranchList

No Sample Request


Sample Response

{
    "response": {
        "BranchListResponse": {
            "dsBranchListResponse": {
                "dtBranchListResponse": [{
                    "BranchID": "CORPORATE",
                    "CompanyName": "Corporate Branch"},
                    {"BranchID": "OMAHA",
                    "CompanyName": "Omaha Branch"}

                ]
            }
        },
        "ReturnCode": 0,
        "MessageText": ""

Purpose

Returns a list of branches the user has access to

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v534

Login

Sample Request

{
  "request": {
    "LoginID": "username",
    "Password": "password"
  }
}

Sample Response

{
  "response": {
    "SessionContextId": "12345613a90e34-a6c-49ad-314-9f703ef86",
    "InitialBranch": "CORPORATE",
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Logs the user into Agility and returns a context id

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

Logout

No Sample Request


Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Logs a user out of Agility and removes the context id

Required Inputs

Optional Inputs

Response

Notes

N/A

Relationships

Version Deployed

v534

AgilityPublic/Session Service Restricted methods-DMSi use only

Name Purpose
EnvironmentInfo Used to verify environmental information
ReceiveData Used by specific external interfaces to send files to Agility for processing

AgilityPublic/Shipments Service

This AgilityPublic service includes methods related to shipments.

PickFileCreate

Sample Request

{
  "request": {
    "ViewerName": "Pick File Viewer",
    "AccessType": "All",
    "AccessedBy": "",
    "SaleType": "",
    "Route": "",
    "CustomerID": "",
    "OrderID": "",
    "Dispatched": "",
    "Location": "",
    "HandlingCode": "",
    "ShipVia": "",
    "CutOffDate": ""
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates a new pick file based on a saved picking viewer

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v540

PickFileList

Sample Request

{
  "request": {
    "OrderID": 304533,
    "ShipmentNumber": "",
    "PickID": "",
    "CustomerID": "",
    "ShipToSequence": "",
    "ExpectDateRangeStart": "",
    "ExpectDateRangeEnd": "",
    "RouteID": "",
    "ChunkStartPointer": "",
    "RecordFetchLimit": ""
  }
}

Sample Response

{
  "response": {
    "PickFilesDisplayResponse": {
      "dsPicksResponse": {
        "dtPickResponse": [
          {
            "BranchID": "WESTONBRANCH",
            "OrderID": 304533,
            "PickIDList": "00069562",
            "ShipmentNum": 1,
            "CustomerID": "123161",
            "ShipToSequence": 1,
            "StopNum": 0,
            "CreatedBy": "llattier",
            "CreatedDate": "2019-04-11",
            "CreatedTime": "11:43:10",
            "ExpectedDate": "2019-04-12",
            "PayTermsCode": "2%flat",
            "RouteID": "FRI",
            "SaleType": "WH",
            "SOStatusFlag": "Partial",
            "SOHdrType": "SO",
            "ShipVia": "OUR TRUCK",
            "TaxDescription": "NE5.5",
            "TaxTotPercent": "5.5",
            "PickTotal": 32.18,
            "PickTaxAmount": 1.68,
            "ShipToAddress1": "4321 78th Street",
            "ShipToAddress2": "",
            "ShipToAddress3": "",
            "ShipToCity": "Ralston",
            "ShipToState": "NE",
            "ShipToZip": "68127",
            "ShipToCountry": "US",
            "ShipToName": "DAA Hardware",
            "ShipToMisc1": "",
            "ShipToMisc2": "",
            "ShipToMisc3": "",
            "ShipToMisc4": "",
            "ShipToMisc5": "",
            "ShipToMisc6": "",
            "ShipToMisc7": "",
            "ShipToMisc8": "",
            "ShipToMisc9": "",
            "ShipToMisc10": "",
            "ShipToMisc11": "",
            "ShipToMisc12": "",
            "ShipToMiscDate1": null,
            "ShipToMiscDate2": null,
            "ShipToPhone": "(402)-555-3333",
            "ShipToShippingDate": "",
            "ShipToTrackingNumber": "",
            "PickCostTotal": 14.47,
            "PickCostType": "Item default",
            "TotalWeight": "",
            "TotalLoad": "",
            "CustomerPO": "",
            "ContactName": "",
            "ContactPhone": "",
            "ContactEmail": "",
            "PickRecordSequence": 1,
            "WMSPickHeaderStatusCode": "",
            "WMSPickHeaderStatusDescription": "",
            "dtPickDetailResponse": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 304533,
                "PickID": 69562,
                "ShipmentNum": 1,
                "DetailSequence": 1,
                "ItemCode": "hammer",
                "PickStatus": "Open",
                "TotalOrderedQuantity": 1,
                "OrderedQuantityUOM": "EA",
                "TotalRequestedQuantity": 1,
                "TotalAdjustedQuantity": 0,
                "NetQuantity": 1,
                "TotalPickedQuantity": 0,
                "PickedQuantityUOM": "EA",
                "AdjustmentType": "",
                "Price": 12.5,
                "PriceUOM": "EA",
                "ExtendedPrice": 12.5,
                "MSDS": "",
                "Discount1": 0,
                "Discount2": 0,
                "Discount3": 0,
                "ExtraDiscount1": 0,
                "ExtraDiscount2": 0,
                "ExtraDiscount3": 0,
                "ExtWeight": 0,
                "ExtLoad": 0,
                "ExtCost": 0,
                "ItemSize": "regular",
                "ItemDescription": "",
                "DispatchID": "",
                "Picker": "",
                "PickRecordSequence": 1
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 2,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns header and detail information for sales order pick files, associated with a customer, specific sales order, specific pick file id, route id or date range

Required Inputs

Optional Inputs

Response

Notes

Version Deployed

v540; WMSPickHeader fields added in v547

ShipmentInfoUpdate

Sample Request

{
  "request": {
    "OrderID": 283958,
    "ShipmentInfoRequestJSON": {
      "dsShipInfoRequest": {
        "dtShipInfoRequest": [
          {
            "ShipmentNumber": 1,
            "UpdateAllPickFiles": false,
            "UpdateSalesOrder": true,
            "RouteID": "SO Friday",
            "StopNumber": 1,
            "ShipDate": "2019-12-12",
            "RequestedDeliveryDate": "2018-12-12"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Updates specific fields related to shipment information

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

ShipmentsList

Sample Request

{
  "request": {
    "dsShipmentDisplayRequest": {
      "dtShipmentDisplayRequest": [
        {
          "OrderID": 283958,
          "ShipmentNumber": 1,
          "CustomerID": "12345",
          "ShipToSequence": 1,
          "ExpectDateRangeStart": "",
          "ExpectDateRangeEnd": "",
          "RouteID": "",
          "StatusFlagList": "",
          "ChunkStartPointer": 0,
          "RecordFetchLimit": 0
        }
      ]
    }
  }
}

Sample Response

{
  "response": {
    "ShipmentDisplayResponse": {
      "dsShipmentDisplayResponse": {
        "dtShipmentDisplayResponse": [
          {
            "BranchID": "OMAHABRANCH",
            "OrderID": 283958,
            "ShipmentNum": 1,
            "CustomerID": "12345",
            "ShipToSequence": 1,
            "StopNum": 0,
            "CreatedBy": "Llattier",
            "CreatedDate": "2018-08-09",
            "CreatedTime": "09:54:33",
            "ExpectedDate": "2018-08-09",
            "InvoiceDate": null,
            "PayTermsCode": "Wimp1",
            "RouteID": "4100",
            "SaleType": "WH",
            "ShipDate": "2018-08-09",
            "StatusFlag": "Staged",
            "ShipHdrType": "SO",
            "ShipVia": "",
            "TaxDescription": "",
            "TaxTotPercent": "",
            "ShipmentCharges": 0,
            "ShipmentTotal": 25,
            "ShipmentTaxAmount": 0,
            "ShipmentAfterDeductFreightAmt": 0,
            "ShipToAddress1": "",
            "ShipToAddress2": "",
            "ShipToAddress3": "",
            "ShipToCity": "",
            "ShipToState": "",
            "ShipToZip": "",
            "ShipToCountry": "USA",
            "ShipToName": "NO ADDRESS",
            "ShipToMisc1": "",
            "ShipToMisc2": "",
            "ShipToMisc3": "",
            "ShipToMisc4": "",
            "ShipToMisc5": "",
            "ShipToMisc6": "",
            "ShipToMisc7": "",
            "ShipToMisc8": "",
            "ShipToMisc9": "",
            "ShipToMisc10": "",
            "ShipToMisc11": "",
            "ShipToMisc12": "",
            "ShipToMiscDate1": null,
            "ShipToMiscDate2": null,
            "ShipToPhone": "(402)-555-1111",
            "ShipToShippingDate": "",
            "ShipToTrackingNumber": "",
            "ShipmentCostTotal": 0.03,
            "ShipmentCostType": "Average",
            "TotalWeight": 70,
            "TotalLoad": 0,
            "CustomerPO": "",
            "ContactName": "",
            "ContactPhone": "",
            "ContactEmail": "",
            "dtShipmentDisplayResponseDetail": [
              {
                "BranchID": "WESTONBRANCH",
                "OrderID": 283958,
                "ShipmentNum": 1,
                "Sequence": 1,
                "ItemCode": "hammer",
                "TotalOrderedQuantity": 10,
                "OrderedQuantityUOM": "EA",
                "TotalStagedQuantity": 10,
                "StagedQuantityUOM": "EA",
                "Price": 2.5,
                "PriceUOM": "EA",
                "ExtendedPrice": 25,
                "MSDS": "",
                "Discount1": 0,
                "Discount2": 0,
                "Discount3": 0,
                "ExtraDiscount1": 0,
                "ExtraDiscount2": 0,
                "ExtraDiscount3": 0,
                "ExtWeight": 70,
                "ExtLoad": 0,
                "ExtCost": 0.03,
                "ItemSize": "",
                "ItemDescription": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "MoreResultsAvailable": "false",
    "NextChunkStartPointer": 1,
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Returns a list of shipments, including details, associated with a customer or specific sales order

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

v534

Agility API Technical Information

The Agility API is deployed using REST supporting .NET and Progress clients. This API utilizes RPC with JSON. It uses a state-free session model architecturally, but functionally requires that the client logs in to get a context ID and Branch before business requests are made.

The parameter signatures for the methods that can be requested from the web service are simple data types, with the exception of data structured in records. Groups of records are passed as a complex type that can be translated from/to a dataset.

Multiple requests can be made using one context ID once the client is logged in, but all calls made with a context ID must be synchronous. The client program must manage the context use and should not call another method with a particular context ID until a previous method using that context ID has completed. This includes handling end users that might decide to click on one thing, immediately change their mind and click on another thing in a given user interface.

The login request returns the client’s initial Branch ID as well as the context ID when login has been successful. Branch in Agility means a defined portion of the business that Agility serves. For most Agility systems, branch refers to physical locations, like the Omaha branch and the Milwaukee branch. Some Agility systems are set up such that branches represent something other than location, like functional departments. While some Agility systems have many branches and others have as few as one, there is always at least one branch in Agility, and all Agility processes are performed from the perspective of a particular branch. The context ID is what validates the user and allows Agility to ensure that the requests are processed in the branch that is correct for the user’s session, which is why it is required for every request. The use of that context ID allows the client to send a request to change to a different branch if the system manager of the Agility system that is serving the requests has configured the User ID to have access to multiple branches.

Note that if a particular context ID is not used to run a program for a certain amount of time, that context ID times out. When the time out occurs, the next request of the server from that client using that context id is rejected. The default time out setting is 4 hours, but the system manager of the Agility system serving the requests can change the value, up to a maximum of 24 hours.

The User ID and Password that are required by the login request are maintained and supplied by the system manager of the Agility system serving the requests. This is not a hard-coded User ID and Password that are specific to a particular usage of the Agility API. In other words there is no DMSi-mandated User ID designated for a specific product that interfaces with Agility. Each DMSi customer is allowed to set their own level of security for all User IDs, including the User IDs they create to allow Agility access for 3rd party products.

Agility API and Service

This Agility API and Agility service contains multiple methods used to create, update, delete, and view records.

AccountsPayableCreateInvoice

Purpose

Creates an A/P invoice

ChangeBranch

Sample Request

{
  "request": {
    "ChangeToBranchID": "OMAHABRANCH"
  }
}

Sample Response

{
  "response": {
    "dsChangeBranchResponse": {
      "dsChangeBranchResponse": {
        "dtChangeBranchResponse": [
          {
            "CurrentBranchID": "OMAHABRANCH",
            "CurrentCompanyName": "DMSi Omaha"
          }
        ]
      }
    },
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Changes the branch associated with a specified context id

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

Before v534

CustomerBranchShiptoGet

Purpose

Gets customer branch ship-to information

CustomerBranchShiptoUpdate

Purpose

Updates customer branch ship-to information

GetAgilityVersion

Purpose

Returns the customer’s Agility version the web service is accessing

GetBranchList

Purpose

Returns a list of branches the user has access to

GetRemanOrder

Purpose

Returns a specific reman order, including its inputs, operations and outputs

InventoryGetTagInfo

Sample Request

Purpose

Returns the information related to a specified tag or tags

InventoryGetTagValues

Purpose

Returns the next available tag sequences

InventoryPrintTags

Purpose

Prints inventory tags to a specified printer

Login

Purpose

Logs the user into Agility and returns a context id

Logout

Purpose

Logs a user out of Agility and removes the context id

MessageCreate

Sample Request

{
  "request": {
    "MessageCreateJSON": {
      "dsMessageCreate": {
        "dtMessageCreate": [
          {
            "TranID": 1709,
            "ShipmentNum": "1",
            "TranType": "SO",
            "TranSeq": "2",
            "MessageText": "Handle with care",
            "MessageType": "Detail",
            "PrintOnForms": "true",
            "SendToWMS": "false"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates transaction messages in the branch the user is logged into

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

Before v534

RemanCreateHeader

Sample Request

Purpose

Creates a new reman order

Version Deployed

Before v534

RemanCreateInputs

Purpose

Creates one or more reman inputs on an existing, open reman order

RemanCreateOperations

Purpose

Creates one or more operations on an existing, open reman order

RemanCreateOutputs

Purpose

Creates one or more reman outputs on an existing, open reman order

RemanDeleteInputs

Purpose

Deletes one or more inputs from an existing, open reman order

RemanDeleteOperations

Purpose

Deletes one or more operations from an existing, open reman order

RemanDeleteOutputs

Purpose

Deletes one or more outputs from an existing, open reman order

RemanReplaceStorage

Purpose

Deletes one or more outputs from an existing, open reman order

RemanSpecifyTagsToCommit

Purpose

Commits inventory tags to input items on reman work orders in the branch the user is logged into

SignatureCreate

Sample Request

{
  "request": {
    "SignatureCreateJSON": {
      "dsSignatureCreate": {
        "dtSignatureCreate": [
          {
            "TranType": "SO",
            "TranID": 17709,
            "ShipmentNum": "1",
            "PODSignature": "True",
            "ImageData": "",
            "ImageInfo": "John Smith"
          }
        ]
      }
    }
  }
}

Sample Response

{
  "response": {
    "ReturnCode": 0,
    "MessageText": ""
  }
}

Purpose

Creates signatures for sales order shipments and credit memo transactions in the branch the user is logged into

Required Inputs

Optional Inputs

Response

Notes

Relationships

Version Deployed

Before v534