Hi, We have are requirement where we need to embed documents as Base64 in a JSON request and keep the format of the JSON in such a way as the called system requires. Here we are talking about two collections , where second collection is a array of some repeated fields and one is base64 where document is passed. Now Appian in its notes says that we should let it convert it to JSON for documents to convert to Base 64. But then how ill we achieve this structure of the request we need to send to the called system? Sample example is-
{ --colection1
"DocInitialization" :{"Input":
[
{"Id":"IdValue1","Value":"ValueHere1"},
{"Id":"IdValue2","Value":"ValueHere2"},
{} --so on
],"
DocCollection": - collection 2
{"base64":document1,
"mimetype":"MimeValueHere",
"SomeOtherAttribute1",
"Value here1"
},
{base64":document2,
"SomeOtherAttribute2","Value here2"},
{}.. so on
]
Here how to achieve this pattern with the restrictions highlighted in Documentation
Discussion posts and replies are publicly visible
Double post: community.appian.com/.../116595