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?

  Discussion posts and replies are publicly visible