-
-
Save technogeeky/1c6abedbd453d273313eeb7f2bf071fb to your computer and use it in GitHub Desktop.
how do I specify the other options?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def requests(job, session, data) | |
{ | |
:customer_query_rq => { | |
:xml_attributes => { "requestID" =>"3", 'iterator' => "Start" }, | |
# :name_filter => { :match_criterion => "Contains", :name => "SomeLastName" }, | |
:active_status => "All", | |
:max_returned => 100 | |
} | |
} | |
end | |
# GENERATES: | |
Next request is '{:customer_query_rq=>{:xml_attributes=>{"requestID"=>"3", "iterator"=>"Start"}, :active_status=>"All", :max_returned=>100}}'. | |
Sending request from job list_customers | |
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<?qbxml version="7.0"?> | |
<QBXML> | |
<QBXMLMsgsRq onError="stopOnError"> | |
<CustomerQueryRq requestID="3" iterator="Start"> | |
<ActiveStatus>All</ActiveStatus> | |
<MaxReturned>100</MaxReturned> | |
</CustomerQueryRq> | |
</QBXMLMsgsRq> | |
</QBXML> | |
# **the specification for this xml is here**: | |
https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html | |
# **click on qbXML and then left dropdown to CustomerQuery** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment