API default form fields issue
- In Swagger I do POST/transientDocuments and get transientDocumentId
- I use transientDocumentId in POST/agreements, I get agreementID
{
"fileInfos": [
{
"transientDocumentId": "XXX"
}
],
"name": "XXX",
"participantSetsInfo": [
{
"order": 1,
"role": "SIGNER",
"memberInfos": [
{
"email": "XXX"
}
]
}
],
"signatureType": "ESIGN",
"state": "AUTHORING"
}3. I do PUT/agreements/XXX/formFields
{
"fields": [
{
"locations": [
{
"pageNumber": 1,
"top": 100,
"left": 15,
"width": 50,
"height": 30
}
],
"inputType": "PDF_SIGNATURE",
"contentType": "SIGNATURE",
"name": "Field1",
"required": "true",
"visible": "true"
},
{
"locations": [
{
"pageNumber": 1,
"top": 150,
"left": 15,
"width": 50,
"height": 30
}
],
"inputType": "TEXT_FIELD",
"contentType": "SIGNATURE_DATE",
"format": "DATE_DD_MM_YYYY",
"name": "Field2",
"required": "true",
"visible": "true"
}
]
}
PDF was sent, but my fields are not there. Default Signature&Email signature block is used.
However when I repeat steps 1,2,3 from above but starting with "state": "DRAFT" I can see with GET/agreements/XXX/formFields that my fields are there.
After moving to
{
"state": "IN_PROCESS"
}my fields are not there, but default one is used again.
Why?
