Select to view content in your preferred language

ArcGIS Rest API NewLine Characters

494
1
04-14-2021 01:16 PM
BillHarvey1
New Contributor III

Hello,

I am making a REST query call on a map service.   

https://xxx/MapServer/1/query

If I query a batch of records the results come back with return escape sequences in the results.   For example, in a call returning many records the results come back like this:

"GLOBALID":"{
X77D96F3-36F0-4F01-8B9A-661F5EC8AF5C
}"

If I query the same record individually the result comes back as expected without the return escape sequence.

"GLOBALID": "{X77D96F3-36F0-4F01-8B9A-661F5EC8AF5C}

GLOBALID is just an example.   Other field values do the same thing.   It isn't a data problem.

Any ideas?

Thanks.

0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

What are the other parameters of the query? I'm not able to replicate this myself, all of my queries come back without the NewLine character, no matter what I do.

- Josh Carlson
Kendall County GIS
0 Kudos