• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

V 6.0 Not able to setup location [{Top , left}] of Signature and Signature Block in Adobe Sign Api

New Here ,
Jan 01, 2021 Jan 01, 2021

Copy link to clipboard

Copied

I am not able to set location ...Its very urgent I am sending the bottom Json in the body using follwoing code of C# language. And I am calling api as follows

 

Please find the attached sample document which i receieved as a receipent

 

var clientsend1 = new RestClient(api_access_point + "/api/rest/v6/agreements/" + agid + "/formFields");


var requestsend1 = new RestRequest(Method.PUT);

requestsend1.AddHeader("Content-Type", "application/json");
requestsend1.AddHeader("Authorization", "Bearer " + token);
requestsend1.AddHeader("ifMatch", "*");

var jo1 = JObject.Parse(raw2.Replace("docdocid", docid));

requestsend1.AddParameter("application/json", jo1, ParameterType.RequestBody);


IRestResponse responsesend1 = clientsend1.Execute(requestsend1);

 

Following Json is sent through body But not able to set location of  

string raw2 = "

{
"fields":[
{
"backgroundColor":"#ffffff",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"BLOCK",
"tooltip":"",
"fontColor":"",
"fontName":"",
"fontSize":-1.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE_BLOCK",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":-1,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_0",
"locations":[
{
"pageNumber":1,
"top":216.48187255859375,
"left":15.0,
"width":280.0,
"height":39.0
}
],
"assignee":"CBJCHBCAABAABBoFiZE7nArbkd6T1uzRuFZQYvAygoT8"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"SIGNATURE",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":40,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_0_signature",
"locations":[
{
"pageNumber":1,
"top":216.48187255859375,
"left":92.36842346191406,
"width":202.63157653808594,
"height":23.0
}
],
"assignee":"CBJCHBCAABAABBoFiZE7nArbkd6T1uzRuFZQYvAygoT8"
},
{
"backgroundColor":"#ffffff",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"BLOCK",
"tooltip":"",
"fontColor":"",
"fontName":"",
"fontSize":-1.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE_BLOCK",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":-1,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_1",
"locations":[
{
"pageNumber":1,
"top":216.48187255859375,
"left":310.0,
"width":280.0,
"height":39.0
}
],
"assignee":"CBJCHBCAABAAU4U-K73W2PN3wS7DLarOpbFpURRUDNII"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"SIGNATURE",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":40,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_1_signature",
"locations":[
{
"pageNumber":1,
"top":216.48187255859375,
"left":387.368408203125,
"width":202.631591796875,
"height":23.0
}
],
"assignee":"CBJCHBCAABAAU4U-K73W2PN3wS7DLarOpbFpURRUDNII"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"TEXT_FIELD",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNER_EMAIL",
"defaultValue":"jesurobin@hotmail.com",
"readOnly":true,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":false,
"minLength":-1,
"maxLength":255,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_0_email",
"locations":[
{
"pageNumber":1,
"top":193.48187255859375,
"left":92.36842346191406,
"width":202.63157653808594,
"height":16.0
}
],
"assignee":"CBJCHBCAABAABBoFiZE7nArbkd6T1uzRuFZQYvAygoT8"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"TEXT_FIELD",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNER_EMAIL",
"defaultValue":"jesurobin@gmail.com",
"readOnly":true,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":false,
"minLength":-1,
"maxLength":255,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_1_email",
"locations":[
{
"pageNumber":1,
"top":193.48187255859375,
"left":387.368408203125,
"width":202.631591796875,
"height":16.0
}
],
"assignee":"CBJCHBCAABAAU4U-K73W2PN3wS7DLarOpbFpURRUDNII"
},
{
"backgroundColor":"#ffffff",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"BLOCK",
"tooltip":"",
"fontColor":"",
"fontName":"",
"fontSize":-1.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE_BLOCK",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":-1,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_2",
"locations":[
{
"pageNumber":1,
"top":162.48187255859375,
"left":15.0,
"width":280.0,
"height":39.0
}
],
"assignee":"CBJCHBCAABAAQLr9w3dRnTaJfDXtL-X69K4kjYyL1_6l"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"SIGNATURE",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNATURE",
"defaultValue":"",
"readOnly":false,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":true,
"minLength":-1,
"maxLength":40,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_2_signature",
"locations":[
{
"pageNumber":1,
"top":162.48187255859375,
"left":92.36842346191406,
"width":202.63157653808594,
"height":23.0
}
],
"assignee":"CBJCHBCAABAAQLr9w3dRnTaJfDXtL-X69K4kjYyL1_6l"
},
{
"backgroundColor":"",
"borderColor":"",
"borderStyle":"SOLID",
"borderWidth":-1.0,
"displayLabel":"",
"visible":true,
"inputType":"TEXT_FIELD",
"tooltip":"",
"fontColor":"",
"fontName":"Source Sans Pro",
"fontSize":10.0,
"alignment":"LEFT",
"displayFormat":"",
"displayFormatType":"DEFAULT",
"masked":false,
"maskingText":"*",
"radioCheckType":"CIRCLE",
"conditionalAction":{
"anyOrAll":"ANY",
"action":"SHOW"
},
"contentType":"SIGNER_EMAIL",
"defaultValue":"jesusilvester@yahoo.co.in",
"readOnly":true,
"valueExpression":"",
"calculated":false,
"urlOverridable":false,
"required":false,
"minLength":-1,
"maxLength":255,
"minValue":-1.0,
"maxValue":-1.0,
"validationErrMsg":"",
"validation":"NONE",
"origin":"GENERATED",
"name":"echosign_signatureblock_2_email",
"locations":[
{
"pageNumber":1,
"top":139.48187255859375,
"left":92.36842346191406,
"width":202.63157653808594,
"height":16.0
}
],
"assignee":"CBJCHBCAABAAQLr9w3dRnTaJfDXtL-X69K4kjYyL1_6l"
}
]
}"

TOPICS
Adobe Sign forms , SDK , Send documents

Views

173

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation