Ok...so, according to www.json.com, a string need to contain "Any Unicode
character except " or \ or control character".....so, white space and
enters are typically going to be considered a control character....so they
are not allowed to be used in strings.......so, you didn't specify what the
inserted record looks like...but I suspect that it's cleaning out the
control characters...

On Mon, Jun 25, 2018 at 9:05 AM Kevin M Candelaria <[email protected]> wrote:

> {
>
>                                                                 "values": {
>
>
> "Submitter”: “appadmin“,
>
>
> "Work Log Submitter" :”Michael Jordan”,
>
>
> "Detailed Description" : “\nline break?\\nwhere is the
>
> Line break?
>
> ”,
>
>
> "Incident Number”:”INC000002171963”,
>
>
> "Work Log Type" : "General Information",
>
>
> "View Access" : “Public”
>
>                                                                 }
>
>                                                 }
>
> Api endpoint: api/arsys/v1/entry/HPD:WorkLog
>
>
>
> ------------------------------
> *From:* ARSList <[email protected]> on behalf of LJ LongWing <
> [email protected]>
> *Sent:* Monday, June 25, 2018 9:46 AM
> *To:* [email protected]
> *Subject:* Re: Line Breaks via Remedy REST API
>
> Can you give an example of a body that you are providing that it's
> removing those?
>
> On Mon, Jun 25, 2018 at 7:28 AM Kevin M Candelaria <[email protected]>
> wrote:
>
>> Hello,
>>
>>
>>
>> It appears that the Remedy REST API does not respect white space and line
>> breaks when creating new Work Log entries. Does anyone have a solution for
>> this (that preferably does not require opening Developer Studio)?
>> --
>> ARSList mailing list
>> [email protected]
>> https://mailman.rrr.se/cgi/listinfo/arslist
>>
> --
> ARSList mailing list
> [email protected]
> https://mailman.rrr.se/cgi/listinfo/arslist
>
-- 
ARSList mailing list
[email protected]
https://mailman.rrr.se/cgi/listinfo/arslist

Reply via email to