<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query FeatureServer: field names are case sensitive! in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-featureserver-field-names-are-case-sensitive/m-p/157238#M764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, it doesn't indicate anything about case sensitivity in the API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/" title="http://resources.arcgis.com/en/help/rest/apiref/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Server REST API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Description&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: The list of fields to be included in the returned resultset. This list is a comma delimited list of field names. If you specify the shape field in the list of return fields, it is ignored. To request geometry, set &lt;/SPAN&gt;&lt;CODE&gt;returnGeometry&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt; to &lt;/SPAN&gt;&lt;CODE&gt;true&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;You can also specify the wildcard "*" as the value of this parameter. In this case, the query results include all the field values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Example&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: &lt;/SPAN&gt;&lt;CODE&gt;outFields=AREANAME,ST,POP2000&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Example (wildcard usage)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: &lt;/SPAN&gt;&lt;CODE&gt;outFields=*&lt;/CODE&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the JSAPI to hit rest services - I just tried a query against it and asked to return field without case sensitivity, which worked, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmygisserver%2Farcgis%2Frest%2Fservices%2Fmyservices%2Ffoo%2FMapServer%2F0%2Fquery" target="_blank"&gt;https://mygisserver/arcgis/rest/services/myservices/foo/MapServer/0/query&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where=&amp;amp;&lt;/P&gt;&lt;P&gt;text=&amp;amp;&lt;/P&gt;&lt;P&gt;objectIds=1,2,3,4,5,6&amp;amp;&lt;/P&gt;&lt;P&gt;time=&amp;amp;&lt;/P&gt;&lt;P&gt;geometry=&amp;amp;&lt;/P&gt;&lt;P&gt;geometryType=esriGeometryEnvelope&amp;amp;&lt;/P&gt;&lt;P&gt;inSR=&amp;amp;&lt;/P&gt;&lt;P&gt;spatialRel=esriSpatialRelIntersects&amp;amp;&lt;/P&gt;&lt;P&gt;relationParam=&amp;amp;&lt;/P&gt;&lt;P&gt;outFields=&lt;STRONG&gt;testtest&lt;/STRONG&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;returnGeometry=false&amp;amp;&lt;/P&gt;&lt;P&gt;maxAllowableOffset=&amp;amp;&lt;/P&gt;&lt;P&gt;geometryPrecision=&amp;amp;&lt;/P&gt;&lt;P&gt;outSR=&amp;amp;&lt;/P&gt;&lt;P&gt;returnIdsOnly=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnCountOnly=false&amp;amp;&lt;/P&gt;&lt;P&gt;orderByFields=&amp;amp;&lt;/P&gt;&lt;P&gt;groupByFieldsForStatistics=&amp;amp;&lt;/P&gt;&lt;P&gt;outStatistics=&amp;amp;&lt;/P&gt;&lt;P&gt;returnZ=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnM=false&amp;amp;&lt;/P&gt;&lt;P&gt;gdbVersion=&amp;amp;&lt;/P&gt;&lt;P&gt;returnDistinctValues=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnTrueCurves=false&amp;amp;&lt;/P&gt;&lt;P&gt;resultOffset=&amp;amp;&lt;/P&gt;&lt;P&gt;resultRecordCount=&amp;amp;&lt;/P&gt;&lt;P&gt;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
"displayFieldName": "TestTest",
"fieldAliases": {
&amp;nbsp; "TestTest": "TestTest"
},
"fields": [
&amp;nbsp; {
&amp;nbsp; "name": "TestTest",
&amp;nbsp; "type": "esriFieldTypeString",
&amp;nbsp; "alias": "TestTest",
&amp;nbsp; "length": 150
&amp;nbsp; }
],
"features": [
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Hello"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Foo"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Bar"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Biz"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Bat"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Hat"
&amp;nbsp; }
&amp;nbsp; }
]
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there's a setting on the map service for case sensitivity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 08:20:00 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2021-12-11T08:20:00Z</dc:date>
    <item>
      <title>Query FeatureServer: field names are case sensitive!</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-featureserver-field-names-are-case-sensitive/m-p/157237#M763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just run into a troubling problem, and was wondering if anybody solved it already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When query an ArcGIS Server feature server and requesting only specific fields to be returned, the requested fields are only returned if the case of the field name matches the fields in the layer description (i.e. ../myservice/FeatureServer/0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to workaround this problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any help,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm currently using the .net runtime SDK 10.2.6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 14:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-featureserver-field-names-are-case-sensitive/m-p/157237#M763</guid>
      <dc:creator>ChristophSpoerri</dc:creator>
      <dc:date>2016-01-08T14:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query FeatureServer: field names are case sensitive!</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-featureserver-field-names-are-case-sensitive/m-p/157238#M764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, it doesn't indicate anything about case sensitivity in the API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/" title="http://resources.arcgis.com/en/help/rest/apiref/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Server REST API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Description&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: The list of fields to be included in the returned resultset. This list is a comma delimited list of field names. If you specify the shape field in the list of return fields, it is ignored. To request geometry, set &lt;/SPAN&gt;&lt;CODE&gt;returnGeometry&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt; to &lt;/SPAN&gt;&lt;CODE&gt;true&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;You can also specify the wildcard "*" as the value of this parameter. In this case, the query results include all the field values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Example&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: &lt;/SPAN&gt;&lt;CODE&gt;outFields=AREANAME,ST,POP2000&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px; font-style: italic;"&gt;Example (wildcard usage)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12.48px;"&gt;: &lt;/SPAN&gt;&lt;CODE&gt;outFields=*&lt;/CODE&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the JSAPI to hit rest services - I just tried a query against it and asked to return field without case sensitivity, which worked, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmygisserver%2Farcgis%2Frest%2Fservices%2Fmyservices%2Ffoo%2FMapServer%2F0%2Fquery" target="_blank"&gt;https://mygisserver/arcgis/rest/services/myservices/foo/MapServer/0/query&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where=&amp;amp;&lt;/P&gt;&lt;P&gt;text=&amp;amp;&lt;/P&gt;&lt;P&gt;objectIds=1,2,3,4,5,6&amp;amp;&lt;/P&gt;&lt;P&gt;time=&amp;amp;&lt;/P&gt;&lt;P&gt;geometry=&amp;amp;&lt;/P&gt;&lt;P&gt;geometryType=esriGeometryEnvelope&amp;amp;&lt;/P&gt;&lt;P&gt;inSR=&amp;amp;&lt;/P&gt;&lt;P&gt;spatialRel=esriSpatialRelIntersects&amp;amp;&lt;/P&gt;&lt;P&gt;relationParam=&amp;amp;&lt;/P&gt;&lt;P&gt;outFields=&lt;STRONG&gt;testtest&lt;/STRONG&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;returnGeometry=false&amp;amp;&lt;/P&gt;&lt;P&gt;maxAllowableOffset=&amp;amp;&lt;/P&gt;&lt;P&gt;geometryPrecision=&amp;amp;&lt;/P&gt;&lt;P&gt;outSR=&amp;amp;&lt;/P&gt;&lt;P&gt;returnIdsOnly=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnCountOnly=false&amp;amp;&lt;/P&gt;&lt;P&gt;orderByFields=&amp;amp;&lt;/P&gt;&lt;P&gt;groupByFieldsForStatistics=&amp;amp;&lt;/P&gt;&lt;P&gt;outStatistics=&amp;amp;&lt;/P&gt;&lt;P&gt;returnZ=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnM=false&amp;amp;&lt;/P&gt;&lt;P&gt;gdbVersion=&amp;amp;&lt;/P&gt;&lt;P&gt;returnDistinctValues=false&amp;amp;&lt;/P&gt;&lt;P&gt;returnTrueCurves=false&amp;amp;&lt;/P&gt;&lt;P&gt;resultOffset=&amp;amp;&lt;/P&gt;&lt;P&gt;resultRecordCount=&amp;amp;&lt;/P&gt;&lt;P&gt;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
"displayFieldName": "TestTest",
"fieldAliases": {
&amp;nbsp; "TestTest": "TestTest"
},
"fields": [
&amp;nbsp; {
&amp;nbsp; "name": "TestTest",
&amp;nbsp; "type": "esriFieldTypeString",
&amp;nbsp; "alias": "TestTest",
&amp;nbsp; "length": 150
&amp;nbsp; }
],
"features": [
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Hello"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Foo"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Bar"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Biz"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Bat"
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "attributes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "TestTest": "Hat"
&amp;nbsp; }
&amp;nbsp; }
]
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there's a setting on the map service for case sensitivity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:20:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-featureserver-field-names-are-case-sensitive/m-p/157238#M764</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2021-12-11T08:20:00Z</dc:date>
    </item>
  </channel>
</rss>

