call API return “Missing parameters”

Not applicable

i have PHP project with laravel(5.4 version) framework so i need to implement SAOP API Yousign(Yousign API process the signature of document ) , so I have download and install this package from Github"YouSign-NodeJS-API-Wrapper" to my project ,i put in config file my credentials and the connection to the api is accomplished ,so I tried to implement function initSignature

initSignature(fileToSignRelativePath, firstName, lastName, email, phone, signatureCoordinates) Inits a signature and returns the url of the signing page

5752-gggggg.png

i tried to prepare small test script to this function in js and there's a code here :

var ysAPIWrapper = require('yousign-nodejs-api-wrapper')
console.log(ysAPIWrapper)
ysAPIWrapper.checkAuth().then(function (response) {
console.log(response)
})
ysAPIWrapper.initSignature('C:/document1.pdf',' 
hosni','akkeri','info@mail.fr','+3367499750', [
{
    rectangleCoords: "351,32,551,132", 

    page: 1,
    document: 1
 }
 ],null,null,null).then(function (response, error) {  
 yarj3oulna mel Promise
  console.log(response)    
 traitement
 console.log(error)  
traitement
 }) 

when i want to test i have this message :

5753-llllhhh.png

0 1 373
1 REPLY 1

I don't think this is an Apigee question.

Could you raise this on the yousign-nodejs-api-wrapper github?