BookbyteWebSvc


Click here for a complete list of operations.

BuybackQuoteService

BY INVITATION ONLY. Buyback quote service for vendors of Bookbyte.com.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /bbws.asmx HTTP/1.1
Host: webservices.bookbyte.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.bookbyte.com/BuybackQuoteService"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <BuybackQuoteService xmlns="http://webservices.bookbyte.com">
      <BuybackQuoteDetailArray>
        <BuybackQuoteDetail>
          <IDENTIFIER>string</IDENTIFIER>
          <IDENTIFIER_TYPE>ISBN</IDENTIFIER_TYPE>
          <QUANTITY>int</QUANTITY>
        </BuybackQuoteDetail>
        <BuybackQuoteDetail>
          <IDENTIFIER>string</IDENTIFIER>
          <IDENTIFIER_TYPE>ISBN</IDENTIFIER_TYPE>
          <QUANTITY>int</QUANTITY>
        </BuybackQuoteDetail>
      </BuybackQuoteDetailArray>
      <Shipping>USPS or FEDEX</Shipping>
      <Payment>CHECK or PAYPAL</Payment>
      <FullName>string</FullName>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <ZipCode>string</ZipCode>
      <Phone>string</Phone>
      <Email>string</Email>
      <BookbyteVendorID>string</BookbyteVendorID>
      <VendorToken>string</VendorToken>
      <AuthToken>string</AuthToken>
    </BuybackQuoteService>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <BuybackQuoteServiceResponse xmlns="http://webservices.bookbyte.com">
      <BuybackQuoteServiceResult>
        <Ack>SUCCESS or WARNING or FAILURE</Ack>
        <Errors>NONE or INTERNAL_SERVER_ERROR or ITEM_NOT_IN_CATALOG or INVALID_AUTHTOKEN_PROVIDED or INVALID_ISBN_PROVIDED or PUB_NOT_AUTHORIZED or CUSTOMER_ADDRESS_FAILED_VERIFICATION or FAILED_USE_HTTPS_CONNECTION</Errors>
        <BuybackQuoteID>string</BuybackQuoteID>
        <VendorToken>string</VendorToken>
        <ShippingLabelURL>string</ShippingLabelURL>
        <Status>string</Status>
        <TotalValue>string</TotalValue>
      </BuybackQuoteServiceResult>
    </BuybackQuoteServiceResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /bbws.asmx HTTP/1.1
Host: webservices.bookbyte.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <BuybackQuoteService xmlns="http://webservices.bookbyte.com">
      <BuybackQuoteDetailArray>
        <BuybackQuoteDetail>
          <IDENTIFIER>string</IDENTIFIER>
          <IDENTIFIER_TYPE>ISBN</IDENTIFIER_TYPE>
          <QUANTITY>int</QUANTITY>
        </BuybackQuoteDetail>
        <BuybackQuoteDetail>
          <IDENTIFIER>string</IDENTIFIER>
          <IDENTIFIER_TYPE>ISBN</IDENTIFIER_TYPE>
          <QUANTITY>int</QUANTITY>
        </BuybackQuoteDetail>
      </BuybackQuoteDetailArray>
      <Shipping>USPS or FEDEX</Shipping>
      <Payment>CHECK or PAYPAL</Payment>
      <FullName>string</FullName>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <ZipCode>string</ZipCode>
      <Phone>string</Phone>
      <Email>string</Email>
      <BookbyteVendorID>string</BookbyteVendorID>
      <VendorToken>string</VendorToken>
      <AuthToken>string</AuthToken>
    </BuybackQuoteService>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <BuybackQuoteServiceResponse xmlns="http://webservices.bookbyte.com">
      <BuybackQuoteServiceResult>
        <Ack>SUCCESS or WARNING or FAILURE</Ack>
        <Errors>NONE or INTERNAL_SERVER_ERROR or ITEM_NOT_IN_CATALOG or INVALID_AUTHTOKEN_PROVIDED or INVALID_ISBN_PROVIDED or PUB_NOT_AUTHORIZED or CUSTOMER_ADDRESS_FAILED_VERIFICATION or FAILED_USE_HTTPS_CONNECTION</Errors>
        <BuybackQuoteID>string</BuybackQuoteID>
        <VendorToken>string</VendorToken>
        <ShippingLabelURL>string</ShippingLabelURL>
        <Status>string</Status>
        <TotalValue>string</TotalValue>
      </BuybackQuoteServiceResult>
    </BuybackQuoteServiceResponse>
  </soap12:Body>
</soap12:Envelope>