Bad request on (POST) /agreements API integration testing
I am testing the sending of an agreement with a PDF from a public URL and can't seem to get it right. The agreement does show up in the Adobe Sign dashboard but without the PDF and anyway the API responds with a 400.
This is the data I am trying to use;
{
"documentCreationInfo": {
"fileInfos": [{
"documentURL": {
"mimeType": "application/PDF",
"name": "sample.pdf",
"url": "http://www.africau.edu/images/default/sample.pdf"
}
}],
"name": "Document",
"signatureType": "ESIGN",
"daysUntilSigningDeadline": 1,
"recipientSetInfos": [{
"recipientSetMemberInfos": [{
"email": "user@user.net",
"securityOption": [{
"authenticationMethod": "NONE"
}]
}],
"recipientSetRole": "SIGNER",
"recipientSetName": "anze kopitar",
"signingOrder": 1,
"callbackInfo": "https://dev.brokerandmore.com/docevent",
"signatureFlow": "SENDER_SIGNATURE_NOT_REQUIRED"
}]
}
}
And response:
{ "code": "BAD_REQUEST", "message": "apiActionId=CBJCHBCAABAAsMqCjhxQyI2GMRB6eiXxCFW7D4U43L7y" }
I am using Enterprise trial edition while testing.
