Hello!
I’m using this endpoint https://reference.aspose.cloud/words/#/op/AppendDocument
It merges my documents nicely, but I can’t get the resulting document to have the same footer as the base document.
I tryied to use “ApplyBaseDocumentHeadersAndFootersToAppendingDocuments” but it seems endpoint just ignores it.
Here are my request:
Endpoint:
PUT https://api.aspose.cloud/v4.0/words/{MY_BASE_NAME}.docx/appendDocument"
Payload:
{
ApplyBaseDocumentHeadersAndFootersToAppendingDocuments=true,
DocumentEntries=[
{
ImportFormatMode=KeepSourceFormatting,
FileReference=
{
Reference={MY_FIRST_APPEND_DOC}.docx,
Source=Storage
}
},
{
ImportFormatMode=KeepSourceFormatting,
FileReference=
{
Reference={MY_SECOND_APPEND_DOC}.docx,
Source=Storage
}
}
]
}
Headers:
contentType = application/json
Authorization = Bearer ***
I would be very gratefull for help.
I attached two files here (base & to append):
base_1.docx (20.5 KB)
append_1_2.docx (22.0 KB)