I am using QuickBooks API to connect with my desktop QuickBooksand import the List id's of the sales reps from QuickBooks to my MySQL database.
Following is the xml code to query sales rep which is already there in QuickBooks but I am getting error 500 that this rep not found in QuickBooks . Even then when I tried adding new rep with same name it again showed me error that this name rep already exists...so i am totally confused why the initial search query didn’t work:
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="2.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesRepQueryRq>
<FullName>firstname lastname</FullName>
</SalesRepQueryRq>
</QBXMLMsgsRq>
</QBXML>
Please help me to find out the problem