Skip to main content
Participant
September 6, 2022
Question

Ho can I select the provider from the api

  • September 6, 2022
  • 0 replies
  • 129 views

Hello All, 

 

I'm trying to have this choice ( I'm offered this choice when i try to sign the document)

Pre selected when i send the agreement. Is it possible?

Here is my agreement call 

curl_setopt_array($curl, array(
CURLOPT_URL => $agreementUrl,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"fileInfos": [
{
"transientDocumentId": "'.$transiant_id['transientDocumentId'].'"
}
],
"name": "'.str_replace('.pdf','',$FileName).'",
"participantSetsInfo": [
{
"memberInfos": [
{
"email": "'.$email.'",
"securityOption":
{
"authenticationMethod":'.$protocol_sign.'
}
}
],
"order": 1,
"role": "SIGNER"
}
],
"locale": "'.$lang.'",
"postSignOption": {
"redirectUrl": "BlablaUrl"
},
"signatureType": "ESIGN",
"state": "IN_PROCESS"
 
 
}',
CURLOPT_HTTPHEADER => array(
'x-api-user: email:blalbla@bla.bla',
'Content-Type: application/json',
'Authorization: '.$TransiantAuth
),
));
This topic has been closed for replies.