PriceAvailability

 

The Submit and Response documents of the XML PriceAvailability Transaction are not changing. However, some of the Element data values and related functionality is different in the latest update of the XML Service. Affected fields are highlighted.

 

Following is an example of a Price and Availability Submit document:

 

<XML_PriceAvailability_Submit>

  <Header>

    <UserName>UserId</UserName>

    <Password>Password</Password>

    <TransSetIDCode>846SENDX</TransSetIDCode>

    <TransControlID>123456</TransControlID>

    <ResponseVersion>1.5</ResponseVersion>

  </Header>

  <Detail>

    <LineInfo>

      <AssignedID>001</AssignedID>

      <RefIDQual>VP</RefIDQual>

      <RefID>10226038</RefID>

    </LineInfo>

    <LineInfo>

      <AssignedID>001</AssignedID>

      <RefIDQual>VP</RefIDQual>

      <RefID>10044868</RefID>

    </LineInfo>

  </Detail>

</XML_PriceAvailability_Submit>

 

Element Name

What�s Different

RefID

The length of the Tech Data Product Number increased to 8 digits. This is only affected when the RefIDQual is set to �VP� (Tech Data item number).

 

Following is an example of a Price and Availability Response document sent from the XML system:

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE XML_PriceAvailability_Response SYSTEM "XML_PriceAvailability_Response.dtd"[]>

<XML_PriceAvailability_Response>

  <Header>

    <TransSetIDCode>846REC</TransSetIDCode>

    <TransControlID>123456</TransControlID>

    <ResponseVersion>1.5</ResponseVersion>

  </Header>

  <Detail>

    <LineInfo>

      <AssignedID>001</AssignedID>

      <RefIDQual1>VP</RefIDQual1>

      <RefID1>000000000010226038</RefID1>

      <ErrorInfo>

        <RefIDQual3>1Q</RefIDQual3>

        <RefID3>0</RefID3>

        <ErrorDesc>Customer is not authorized to purchase item 000000000010226038</ErrorDesc>

      </ErrorInfo>

    </LineInfo>

    <LineInfo>

      <AssignedID>001</AssignedID>

      <RefIDQual1>VP</RefIDQual1>

      <RefID1>000000000010044868</RefID1>

      <RefIDQual2>MG</RefIDQual2>

      <RefID2>PS.VBGP3.003</RefID2>

      <RefIDQual4>UP</RefIDQual4>

      <RefID4>886541257925</RefID4>

      <ProductDesc>VN281G ATM/1.8 2GB 500GB WLS W7P 32</ProductDesc>

      <PriceIDCode1>CON</PriceIDCode1>

      <UnitPrice1>$367.25</UnitPrice1>

      <PriceIDCode2>MSR</PriceIDCode2>

      <UnitPrice2>$399.00</UnitPrice2>

      <RequiredEndUserInfo>N</RequiredEndUserInfo>

      <RequiredLicenseInfo>N</RequiredLicenseInfo>

      <ProductWeight>6.200</ProductWeight>

      <ItemStatus>ACTIVE</ItemStatus>

      <WhseInfo>

        <IDCode>Suwanee, GA</IDCode>

        <WhseCode>A021</WhseCode>

        <Qty>9</Qty>

      </WhseInfo>

      <WhseInfo>

        <IDCode>Suwanee, GA</IDCode>

        <WhseCode>A021</WhseCode>

        <Qty>0</Qty>

      </WhseInfo>

      <WhseInfo>

        <IDCode>Swedsboro, NJ</IDCode>

        <WhseCode>A031</WhseCode>

        <Qty>21</Qty>

      </WhseInfo>

      <WhseInfo>

        <IDCode>South Bend, IN</IDCode>

        <WhseCode>A041</WhseCode>

        <Qty>6</Qty>

      </WhseInfo>

      <WhseInfo>

        <IDCode>Fort Worth, TX</IDCode>

        <WhseCode>A051</WhseCode>

        <Qty>10</Qty>

      </WhseInfo>

      <WhseInfo>

        <IDCode>Fontana, CA</IDCode>

        <WhseCode>A061</WhseCode>

        <Qty>10</Qty>

      </WhseInfo>

    </LineInfo>

  </Detail>

  <Summary>

    <NbrOfSegments>0</NbrOfSegments>

  </Summary>

</XML_PriceAvailability_Response>

 

Element Name

What�s Different

RefID1

The length of the Tech Data Product Number increased to 8 digits. This is only affected when the RefIDQual1 is set to �VP� (Tech Data item number).

ItemStatus

Tech Data status possible values include: NEW, ACTIVE, PHASEDOUT, ALLOCATED, and COMPONENTS.

WhseCode

Tech Data Warehouse Codes have changed.