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

Help with  SignerIdentityReportInfo parameter formatting C#

New Here ,
Jul 01, 2020 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

185

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