Issue in uploading a document via URL using POST-Agreement API
Copy link to clipboard
Copied
There are 3 methods in creating the agreement.
1.Adding file from the local system.
2.Adding file from cloud.eg:from google drive
3.Using document URL which we used in json code.(mentioned below)
POST /agreements
{
"fileInfos": [{
"document": {
"label": "1",
"numPages": 3,
"mimeType": "",
"name": "document test"
},
"label": "1",
"urlFileInfo": {
"mimeType": "application/msword",
"name": "Url Documnet upload",
"url": "https://docs.google.com/document/d/1TtAQysLVMZ3FhbgjKdwy7kx-tPfNBQlMXcBIaa0vAzw/edit?usp=sharing"
}
}],
"name": "BalajiRamachandran",
"participantSetsInfo": [{
"memberInfos": [{
"email": "kowsalya.murugesan@atmecs.com",
"securityOption": {
"authenticationMethod": "",
"password": "",
"phoneInfo": {
"countryCode": "",
"countryIsoCode": "",
"phone": ""
}
}
}],
"order": 1,
"role": "SIGNER",
"id": "",
"label": "1",
"name": "",
"privateMessage": "",
"visiblePages": [
"0"
]
}],
"signatureType": "ESIGN",
"state": "IN_PROCESS",
"documentVisibilityEnabled":"true"
}
We are able to successfully impliment first and second method.But we are facing issue while trying the 3rd method.That is we are able generate the document ,but unable to view the document.
Have something to add?

