JSON Submit Example

Request Headers

            POST https://www.sefl.com/webconnect/ratequotes/rest/submitQuote
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/json
        

Response Body

        {
            "errorMessage": "",
            "detailQuoteLocation": "https:\\/\\/www.sefl.com\\/webconnect\\/ratequotes\\/rest\\/CXQKNF157?ReturnDetail=Y",
            "location": "https:\\/\\/www.sefl.com\\/webconnect\\/ratequotes\\/rest\\/CXQKNF157",
            "quoteNumber": "CXQKNF157",
            "errorOccured": "false"
        }
        

XML Submit Example

Request Headers

            POST https://www.sefl.com/webconnect/ratequotes/rest/submitQuote
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/xml
        

Response Body

        <Response xmlns="https://www.sefl.com/webconnect/ratequotes/rest/submitQuote">
            <detailQuoteLocation>https:\/\/www.sefl.com\/webconnect\/ratequotes\/rest\/CXQKNF157?ReturnDetail=Y</detailQuoteLocation>
            <errorMessage/>
            <errorOccured>false</errorOccured>
            <location>https:\/\/www.sefl.com\/webconnect\/ratequotes\/rest\/CXQKNF157</location>
            <quoteNumber>CXQKNF157</quoteNumber>
        </Response>
        

JSON Retrieve Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/json
        

Response Body

        {
            "discountAmount": "1959.21",
            "rateQuote": "667.26",
            "errorMessage": "",
            "status": "RAT",
            "quoteNumber": "CXQKNF157",
            "errorOccured": "false",
            "discountPercent": "78.00% "
        }
        

XML Retrieve Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/xml
        

Response Body

        <Response xmlns="https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157">
            <discountAmount>1959.21</discountAmount>
            <discountPercent>78.00%</discountPercent>
            <errorMessage/>
            <errorOccured>false</errorOccured>
            <quoteNumber>CXQKNF157</quoteNumber>
            <rateQuote>667.26</rateQuote>
            <status>RAT</status>
        </Response>
        

JSON Retrieve with Detail Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157?ReturnDetail=Y
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/json
        

Response Body

        {
            "discountAmount": "1959.21",
            "custAccount": "001184274",
            "transitTime": "1",
            "pickupDate": "11\\/14\\/2016",
            "origZip": "29201    ",
            "destPhone": "8047686351",
            "specInstr": "",
            "origState": "SC",
            "origPhone": "8037392702",
            "destZip": "23838    ",
            "destState": "VA",
            "errorMessage": "",
            "quoteNumber": "CXQKNF157",
            "errorOccured": "false",
            "custCity": "COLUMBIA              ",
            "destCity": "CHESTERFIELD          ",
            "rateQuote": "667.26",
            "details":    [
                {
                    "ratingClass": " 100",
                    "description": "Test Commodity",
                    "charges": "2511.81",
                    "weight": "2835",
                    "typeCharge": "     P",
                    "rate": "88.60"
                },
                {
                    "ratingClass": "    ",
                    "description": "GROSS FRT CHG",
                    "charges": "2511.81",
                    "weight": "",
                    "typeCharge": "   GFC",
                    "rate": "       "
                },
                {
                    "ratingClass": "    ",
                    "description": "78.00% DISCOUNT",
                    "charges": "1959.21",
                    "weight": "",
                    "typeCharge": " D7800",
                    "rate": "       "
                },
                {
                    "ratingClass": "    ",
                    "description": "NET FRT CHG",
                    "charges": "552.60",
                    "weight": "",
                    "typeCharge": "   NFC",
                    "rate": "       "
                },
                {
                    "ratingClass": "    ",
                    "description": "LTL FUEL SURCHARGE OF  20.75%",
                    "charges": "114.66",
                    "weight": "",
                    "typeCharge": "    FS",
                    "rate": "       "
                },
                {
                    "ratingClass": "    ",
                    "description": "",
                    "charges": "667.26",
                    "weight": "2835",
                    "typeCharge": "   TTL",
                    "rate": "       "
                }
            ],
            "custZip": "29201    ",
            "status": "RAT",
            "quoteType": "TC",
            "quoteDIP": "D",
            "destDIP": "D",
            "origCity": "COLUMBIA              ",
            "transitMiles": "363",
            "origDIP": "D",
            "httpStatusCode": "200",
            "custName": "Demo                     ",
            "custState": "SC",
            "custAddress": "123 Demo St              ",
            "custAddress2": "                         ",
            "discountPercent": "78.00% "
        }
        

XML Retrieve with Detail Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157?ReturnDetail=Y
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/xml
        

Response Body

        <Response xmlns="https://www.sefl.com/webconnect/ratequotes/rest/CXQKNF157">
            <custAccount>001184274</custAccount>
            <custAddress>123 Demo St</custAddress>
            <custAddress2></custAddress2>
            <custCity>COLUMBIA</custCity>
            <custName>Demo</custName>
            <custState>SC</custState>
            <custZip>29201</custZip>
            <destCity>CHESTERFIELD</destCity>
            <destDIP>D</destDIP>
            <destPhone>8047686351</destPhone>
            <destState>VA</destState>
            <destZip>23838</destZip>
            <details>
                <e>
                    <charges>2511.81</charges>
                    <description>Test Commodity</description>
                    <rate>88.60</rate>
                    <ratingClass>100</ratingClass>
                    <typeCharge>P</typeCharge>
                    <weight>2835</weight>
                </e>
                <e>
                    <charges>2511.81</charges>
                    <description>GROSS FRT CHG</description>
                    <rate></rate>
                    <ratingClass></ratingClass>
                    <typeCharge>GFC</typeCharge>
                    <weight/>
                </e>
                <e>
                    <charges>1959.21</charges>
                    <description>78.00% DISCOUNT</description>
                    <rate></rate>
                    <ratingClass></ratingClass>
                    <typeCharge>D7800</typeCharge>
                    <weight/>
                </e>
                <e>
                    <charges>552.60</charges>
                    <description>NET FRT CHG</description>
                    <rate></rate>
                    <ratingClass></ratingClass>
                    <typeCharge>NFC</typeCharge>
                    <weight/>
                </e>
                <e>
                    <charges>114.66</charges>
                    <description>LTL FUEL SURCHARGE OF  20.75%</description>
                    <rate></rate>
                    <ratingClass></ratingClass>
                    <typeCharge>FS</typeCharge>
                    <weight/>
                </e>
                <e>
                    <charges>667.26</charges>
                    <description/>
                    <rate></rate>
                    <ratingClass></ratingClass>
                    <typeCharge>TTL</typeCharge>
                    <weight>2835</weight>
                </e>
            </details>
            <discountAmount>1959.21</discountAmount>
            <discountPercent>78.00%</discountPercent>
            <errorMessage/>
            <errorOccured>false</errorOccured>
            <httpStatusCode>200</httpStatusCode>
            <origCity>COLUMBIA</origCity>
            <origDIP>D</origDIP>
            <origPhone>8037392702</origPhone>
            <origState>SC</origState>
            <origZip>29201</origZip>
            <pickupDate>11\/14\/2016</pickupDate>
            <quoteDIP>D</quoteDIP>
            <quoteNumber>CXQKNF157</quoteNumber>
            <rateQuote>667.26</rateQuote>
            <specInstr/>
            <status>RAT</status>
            <quoteType>TC</quoteType>
            <transitMiles>363</transitMiles>
            <transitTime>1</transitTime>
        </Response>
        

JSON List Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/list
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/json
        

Response Body

        {
            "quotes":    [
                {
                    "custCity": "ROME",
                    "destCity": "ATLANTA",
                    "terms": "P",
                    "custAccount": "016100361",
                    "rateQuote": "90.47",
                    "pickupDate": "11\\/17\\/2016",
                    "origZip": "30101",
                    "custZip": "30101",
                    "status": "RAT",
                    "origState": "GA",
                    "origCity": "ROME",
                    "destZip": "30303",
                    "destState": "GA",
                    "custName": "DEMO ACCOUNT",
                    "quoteNumber": "CXQKNEAB1",
                    "custState": "GA",
                    "weight": "500"
                },
                {
                    "custCity": "ROME",
                    "destCity": "COLUMBIA",
                    "terms": "P",
                    "custAccount": "016100361",
                    "rateQuote": "805.40",
                    "pickupDate": "11\\/15\\/2016",
                    "origZip": "30101",
                    "custZip": "30101",
                    "status": "RAT",
                    "origState": "GA",
                    "origCity": "ROME",
                    "destZip": "29210",
                    "destState": "SC",
                    "custName": "DEMO ACCOUNT",
                    "quoteNumber": "CXQKNED81",
                    "custState": "GA",
                    "weight": "1600"
                }
            ],
            "httpStatusCode": "200",
            "errorMessage": "",
            "errorOccured": "false"
        }
        

XML List Example

Request Headers

            GET https://www.sefl.com/webconnect/ratequotes/rest/list
            Authorization: Basic ZGVtxzplZW1v
            Accept: application/xml
        

Response Body

        <Response xmlns="https://www.sefl.com/webconnect/ratequotes/rest/list">
            <errorMessage/>
            <errorOccured>false</errorOccured>
            <httpStatusCode>200</httpStatusCode>
            <quotes>
                <e>
                    <custAccount>016100361</custAccount>
                    <custCity>ROME</custCity>
                    <custName>DEMO ACCOUNT</custName>
                    <custState>GA</custState>
                    <custZip>30101</custZip>
                    <destCity>ATLANTA</destCity>
                    <destState>GA</destState>
                    <destZip>30303</destZip>
                    <origCity>ROME</origCity>
                    <origState>GA</origState>
                    <origZip>30101</origZip>
                    <pickupDate>11\/17\/2016</pickupDate>
                    <quoteNumber>CXQKNEAB1</quoteNumber>
                    <rateQuote>90.47</rateQuote>
                    <status>RAT</status>
                    <terms>P</terms>
                    <weight>500</weight>
                </e>
                <e>
                    <custAccount>016100361</custAccount>
                    <custCity>ROME</custCity>
                    <custName>DEMO ACCOUNT</custName>
                    <custState>GA</custState>
                    <custZip>30101</custZip>
                    <destCity>COLUMBIA</destCity>
                    <destState>SC</destState>
                    <destZip>29210</destZip>
                    <origCity>ROME</origCity>
                    <origState>GA</origState>
                    <origZip>30101</origZip>
                    <pickupDate>11\/15\/2016</pickupDate>
                    <quoteNumber>CXQKNED81</quoteNumber>
                    <rateQuote>805.40</rateQuote>
                    <status>RAT</status>
                    <terms>P</terms>
                    <weight>1600</weight>
                </e>
            </quotes>
        </Response>