Highlighted

Help with  SignerIdentityReportInfo parameter formatting C#

New Here ,
Jul 01, 2020

Copy link to clipboard

Copied

How to pass this parameter SignerIdentityReportInfo to Adobe API.

https://secure.na1.echosign.com/public/docs/restapi/v6#!/agreements/createSignerIdentityReport

example from Adobe page:

{
  "securityOption": {
    "openPassword": "MYPasswordHere!"
  }
}

    //I have tried to post like this. No luck for far. 

    string body= @"{ ""SignerIdentityReportInfo"":{ ""securityOption"":{ ""openPassword"":""MYPasswordHere!""} } } ";
    
    //or this 
    
     var body = JsonConvert.SerializeObject(new { securityOption = new {openPassword = "MYPasswordHere!" } });

    //or this 
    var body= @"{""securityOption"":{""openPassword"":""MYPasswordHere!""}}";

//used it like this.     request.Parameters.Add(new Parameter()
                {
    
                    Name = "SignerIdentityReportInfo", 
                    Value = body,
                    ContentType = "application/json",
                    Type = ParameterType.RequestBody
                });

 

Topics

Adobe Sign forms

Views

73

Likes

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

Help with  SignerIdentityReportInfo parameter formatting C#

New Here ,
Jul 01, 2020

Copy link to clipboard

Copied

How to pass this parameter SignerIdentityReportInfo to Adobe API.

https://secure.na1.echosign.com/public/docs/restapi/v6#!/agreements/createSignerIdentityReport

example from Adobe page:

{
  "securityOption": {
    "openPassword": "MYPasswordHere!"
  }
}

    //I have tried to post like this. No luck for far. 

    string body= @"{ ""SignerIdentityReportInfo"":{ ""securityOption"":{ ""openPassword"":""MYPasswordHere!""} } } ";
    
    //or this 
    
     var body = JsonConvert.SerializeObject(new { securityOption = new {openPassword = "MYPasswordHere!" } });

    //or this 
    var body= @"{""securityOption"":{""openPassword"":""MYPasswordHere!""}}";

//used it like this.     request.Parameters.Add(new Parameter()
                {
    
                    Name = "SignerIdentityReportInfo", 
                    Value = body,
                    ContentType = "application/json",
                    Type = ParameterType.RequestBody
                });

 

Topics

Adobe Sign forms

Views

74

Likes

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

Have something to add?

Join the conversation