<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Request Options</title><link>https://sourceforge.net/p/sugarrestsharp/wiki/Request%2520Options/</link><description>Recent changes to Request Options</description><atom:link href="https://sourceforge.net/p/sugarrestsharp/wiki/Request%20Options/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 18 Dec 2016 17:24:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sugarrestsharp/wiki/Request%20Options/feed" rel="self" type="application/rss+xml"/><item><title>Request Options modified by Kola Oyewumi</title><link>https://sourceforge.net/p/sugarrestsharp/wiki/Request%2520Options/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;SugarRestSharp request - SugarRestRequest Options &lt;a class="" href="https://github.com/mattkol/SugarRestSharp/blob/master/SugarRestSharpSolution/SugarRestSharp/Options.cs" rel="nofollow"&gt;class&lt;/a&gt; has the following properties:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;SugarCRM mapping&lt;/th&gt;
&lt;th&gt;Comment&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CurrentPage&lt;/td&gt;
&lt;td&gt;offset&lt;/td&gt;
&lt;td&gt;The current page number. This is required to be set for PagedRead request. Value starts from 1.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NumberPerPage&lt;/td&gt;
&lt;td&gt;max_results&lt;/td&gt;
&lt;td&gt;The number of entities to be returned per request. This is required to be set for PagedRead request. This also limits the maximum entity collection to be returned.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MaxResult&lt;/td&gt;
&lt;td&gt;max_results&lt;/td&gt;
&lt;td&gt;The maximum number of entities to be returned per request. This defaults to 100.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SelectFields&lt;/td&gt;
&lt;td&gt;select_fields&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LinkedModules&lt;/td&gt;
&lt;td&gt;link_name_to_fields_array&lt;/td&gt;
&lt;td&gt;This sets the link to other modules info. The property also sets optional select fields. The dictionary key is the module name while the value is the optional select fields. Value can be null.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Query&lt;/td&gt;
&lt;td&gt;query&lt;/td&gt;
&lt;td&gt;Raw "where" clause query. E.g- "accounts.name = 'Air Safety Inc' "&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;QueryPredicates&lt;/td&gt;
&lt;td&gt;query&lt;/td&gt;
&lt;td&gt;This is a list of C# query predicate objects. If the "Query" property is set, this value is ignored. See more info below:&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;SugarRestSharp request - SugarRestRequest Options QueryPredicate &lt;a class="" href="https://github.com/mattkol/SugarRestSharp/blob/master/SugarRestSharpSolution/SugarRestSharp/QueryPredicate.cs" rel="nofollow"&gt;class&lt;/a&gt; has the following properties:&lt;/p&gt;
&lt;h4 id="querypreducate-class-properties"&gt;QueryPreducate Class Properties&lt;/h4&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Comment&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;PropertyName&lt;/td&gt;
&lt;td&gt;C# module property name or json module property name.&lt;/td&gt;
&lt;td&gt;E.g nameof(Account.Name) or "name".&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operator&lt;/td&gt;
&lt;td&gt;The query operator.&lt;/td&gt;
&lt;td&gt;This is if of type &lt;a class="" href="https://github.com/mattkol/SugarRestSharp/blob/master/SugarRestSharpSolution/SugarRestSharp/QueryOperator.cs" rel="nofollow"&gt;QueryOperator&lt;/a&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Value&lt;/td&gt;
&lt;td&gt;The value.&lt;/td&gt;
&lt;td&gt;This is of object type.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;FromValue&lt;/td&gt;
&lt;td&gt;The from value.&lt;/td&gt;
&lt;td&gt;This is of object type. Required for a "between" query operator.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ToValue&lt;/td&gt;
&lt;td&gt;The to value.&lt;/td&gt;
&lt;td&gt;This is of object type. Required for a "between" query operator.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kola Oyewumi</dc:creator><pubDate>Sun, 18 Dec 2016 17:24:10 -0000</pubDate><guid>https://sourceforge.net2c1772b1f37a5d6d5a916e794290356bb66ac5cf</guid></item></channel></rss>