Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RES 3700 - RES Pos API - Reference value not adding to check

Status
Not open for further replies.

CathalMF

Programmer
Jul 10, 2010
500
GB
Below is a request im sending to open a check via the API with one menu item and close it to Cash.
Im adding "TestRef" as a reference to the cash tender media.

The order is created and closed but the reference is not being added to the tender. An ideas?



Code:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="[URL unfurl="true"]http://schemas.xmlsoap.org/soap/envelope/">[/URL]
   <s:Body>
      <PostTransaction xmlns="[URL unfurl="true"]http://schemas.micros.com/RESPOS"[/URL] xmlns:i="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance">[/URL]
         <pGuestCheck>
            <CheckTableObjectNum>0</CheckTableObjectNum>
            <CheckRevenueCenterObjectNum>1</CheckRevenueCenterObjectNum>
            <CheckOrderType>1</CheckOrderType>
            <CheckEmployeeObjectNum>99</CheckEmployeeObjectNum>
            <CheckSeq>0</CheckSeq>
            <CheckNum>0</CheckNum>
            <CheckDateToFire>0001-01-01T00:00:00</CheckDateToFire>
            <CheckGuestCount>1</CheckGuestCount>
            <CheckStatusBits>0</CheckStatusBits>
         </pGuestCheck>
         <ppMenuItems>
            <ResPosAPI_MenuItem>
               <MenuItem>
                  <MiObjectNum>2300001</MiObjectNum>
                  <MiMenuLevel>1</MiMenuLevel>
                  <ItemDiscount>
                     <DiscObjectNum>0</DiscObjectNum>
                  </ItemDiscount>
               </MenuItem>
            </ResPosAPI_MenuItem>
         </ppMenuItems>
         <ppComboMeals />
         <pServiceChg>
            <SvcChgObjectNum>0</SvcChgObjectNum>
         </pServiceChg>
         <pSubTotalDiscount>
            <DiscObjectNum>0</DiscObjectNum>
         </pSubTotalDiscount>
         <pTmedDetail>
            <TmedObjectNum>1</TmedObjectNum>
            <TmedPartialPayment>10.00</TmedPartialPayment>
            <TmedReference>TestRef</TmedReference>
            <TmedCreditCard>
               <CCExpirationDate>0001-01-01T00:00:00</CCExpirationDate>
               <CCStartDate>0001-01-01T00:00:00</CCStartDate>
               <CCIssueNumber>0</CCIssueNumber>
            </TmedCreditCard>
         </pTmedDetail>
         <pTotalsResponse />
      </PostTransaction>
   </s:Body>
</s:Envelope>

Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top