Skip to main content
Buyerquest Community

Punchout To BuyerQuest cXML - Punchout Setup Request (POSR)

This topic details the elements, locations and sample values for cXML punchout setup request (POSR) to BuyerQuest.
Element Element Location in BQ  Is Required Sample Element Value
<From>
      <Credential domain="">
    NetworkID
<From>
       <Identity>{Element Value}</Identity>
    p2pqa2_cxml
<To>
     <Credential domain="">
    Typically “NetworkID” or “DUNS”
<To>
      <Identity>{Element Value}</Identity>
    AN01005508132-T
<Sender>
     <Credential domain="">
    DUNS
<Sender>
     <Identity>{Element Value}</Identity>
    info@punchoutcatalogs.net
<Sender>
      <SharedSecret>{Element Value}</SharedSecret>
    RRD2500
<Sender>
     <UserAgent>{Element Value}</UserAgent>
    Gateway Sandbox
<PunchOutSetupRequest operation="{Element Value}">     create
<PunchOutSetupRequest operation="{Element Value}">
    <BuyerCookie>{Element Value}</BuyerCookie>
    l8vjqubjj7abohgk6nlv3p8b83
<PunchOutSetupRequest operation="create">
     <Extrinsic name="FirstName">{Element Value}</Extrinsic>

Menu>Manage Users
Find newly created user and go to the Account information tab.
fname = First Name

Yes Jim
<PunchOutSetupRequest operation="create">
     <Extrinsic name="LastName">{Element Value}</Extrinsic>
Menu>Manage Users
Find newly created user and go to the Account information tab.
fname = Last Name
Yes Halpert
<PunchOutSetupRequest operation="create">
     <Extrinsic name="UniqueName">{Element Value}</Extrinsic>
    Jim
repositoryType<PunchOutSetupRequest operation="create">
     <Extrinsic name="UserEmail">{Element Value}</Extrinsic>
Menu>Manage Users
Find newly created user and go to the Account information tab.
email = Email
  noah.jim@xyz.com
<PunchOutSetupRequest operation="create">
     <Extrinsic name="User">{Element Value}</Extrinsic>
    Jim
<PunchOutSetupRequest operation="create">
     <Extrinsic name="BusinessUnit">{Element Value}</Extrinsic>
    Pharmacy
<PunchOutSetupRequest operation="create">
     <BrowserFormPost>
     <URL>(Element Value)</URL>
    https://uat.buyerquest.net/xzy/punch.../cxmlresponse/
<PunchOutSetupRequest operation="">
     <Contact>
     <Name xml:lang="en-US">>(Element Value)</Name>
    ADMINISTRATOR SUPERUSER
<PunchOutSetupRequest operation="">
     <Contact>
     <Email>(Element Value)</Email>
    administrator@buyerquest.com
<PunchOutSetupRequest operation="">
     <SupplierSetup>
     <Email>(Element Value)</Email>
    https://testcustompoint.rrd.com/xs2/orders/punchout?
eventID=EVT_CXML_REQ

 

Example Base Message

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML payloadID="1211221788.71299@ip-10-251-122-83" timestamp="Mon May 19 18:29:48 +0000 2008" xml:lang="en-US">
  <Header>
    <From>
      <Credential domain="DUNS">
        <Identity>buyerquest-t</Identity>
      </Credential>
    </From>
    <To>
      <Credential domain="DUNS">
        <Identity>buyerquest-t</Identity>
      </Credential>
    </To>
    <Sender>
      <Credential domain="DUNS">
        <Identity>buyerquest-t</Identity>
        <SharedSecret>test</SharedSecret>
      </Credential>
      <UserAgent>BuyerQuest Procurement 1.0</UserAgent>
    </Sender>
  </Header>
  <Request>
    <PunchOutSetupRequest operation="create">
      <BuyerCookie>c64af92dc27e68172e030d3dfd1bc944</BuyerCookie>
      <Extrinsic name="FirstName">Jim</Extrinsic>
      <Extrinsic name="LastName">Halpert</Extrinsic>
      <Extrinsic name="UniqueName">jim</Extrinsic>
      <Extrinsic name="UserEmail">noah+jim@buyerquest.com</Extrinsic>
      <Extrinsic name="User">jim</Extrinsic>
      <Extrinsic name="BusinessUnit">MARKETING</Extrinsic>
      <Contact role="endUser">
        <Name xml:lang="en-US">jim</Name>
        <Email>noah+jim@buyerquest.com</Email>
      </Contact>
      <BrowserFormPost>
        <URL>https://qa.xyz.com/punchout/checkout/4</URL>
      </BrowserFormPost>
    </PunchOutSetupRequest>
  </Request>
</cXML>