Request Mapping
Request Mapping
The web services typically accept name/value pairs. Some web services, such as ProcessTransaction and SearchTransactions have a name/value pair that can contain XML data. These XML Data fields allow an extensible way of sending in optional fields to web services. For the libraries, the structure inside these fields are flattened for ease of use.
Example for SearchTransaction
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
Web Service name/value pairs: UserName =X &Password =Y &RecordCountOnly=false &MaxRecords=999 &StartDate=2/2/2013 &EndDate=2/2/2013 &SearchXML=<search> <firstname>L</firstname> <lastname>Lohan<lastname> <last4>1111</last4> </search> Library Object properties: SearchTransactionsRequest.UserName=X SearchTransactionsRequest.Password=Y SearchTransactionsRequest.recordCountOnly=false SearchTransactionsRequest.MaxRecords=999 SearchTransactionsRequest.StartDate=2/2/2013 SearchTransactionsRequest.EndDate=2/2/2013 SearchTransactionsRequest.firstname="L" SearchTransactionsRequest.lastname="Lohan" SearchTransactionsRequest.last4="1111" |