Skip to main content
New Participant
Mar 28, 2022 10:40 AM UTC
Question

How can i use arra in body of PATCH method?

I need to use array in my intagration, PATCH method :

Body, for example:

{ "name":ri!name,

   "documents": [{"number":123456, "type":"id"},

                         {"number":789456, "type":"card"}]

}

but i get error "Invalide symbol found (open_bracket)" because I used "[" "]"

How can i fix it?

2 replies

stefanhelzle0001
Brainy
Mar 28, 2022 11:04 AM UTC

Lists in Appian are indicated by curly brackets.

docs.appian.com/.../Expressions.html

New Participant
Mar 28, 2022 11:49 AM UTC

thank you so much