MaxSignatures Api Add Graphical Signature

gsAdd($gsAddRequest)

gsAdd should be called when a digital signature user needs to add a graphic signature image. It can be retrieved via a soap request using the "gsAdd" method to https://api.maxsignatures.com/MdDigitalSignatureApi.php?wsdl.

signRequest:{
accountInfo:{//used to authenticate the user who upload the document
username:'',//account name, for example: abc@mdemail.md
password:'',//password
},
gsImage:{
(string) graphicImageName://the name of the graphic signature
  graphicImageName://name of the graphical signature
  width://width of the graphic signature image
  height://height of the graphic signature image
  graphicImage://the base64 encoded data of the image
}

Response

The response comes in a soap object containing three elements.
  (string) code - A response code. This will be "000" if there is no error
  (string) message - A description of the response code
  (array) values - Reserved.

Sample Code (using NuSoap) (PHP)

The xml for the WSDL can be found here