Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

How to get the relation ship between sub accounts through get api

Can we remove "sandbox" watermark when we download individual files from sandbox environment

I have access to three Sub Account.
I can create package inside any of the sub accounts in UI.

Hi,

I was trying the below code snipped

To upload documents to packages, 

 

Replies Created

Reply to: Internal Server Error While Uploading Document in Python Rest

0 votes

headers = {

 

    'Authorization': 'Bearer {}'.format(token["accessToken"]),

}


 

files = {    

    'file':  open('sample.pdf', 'rb'),

    'payload':  '{"name":"NDA Document"}'

}

 

package_id = "*****="

url = "https://sandbox.esignlive.com/api/packages/{}/documents".format(package_id)

response = requests.post(url, headers=headers, files=files)

print(response.text)



This worked, 

Removed 
'Content-Type': 'multipart/form-data', 

in header


Subscriptions

Topics Replies Freshness Views Users

How to get the relation ship between sub accounts through get api

1 9 months 4 weeks ago 27
Profile picture for user Duo_Liang

Can we remove "sandbox" watermark when we download individual files from sandbox environment

0 1 year ago 30

I have access to three Sub Account.
I can create package inside any of the sub accounts in UI.

2 1 year 10 months ago 115
Profile picture for user Duo_Liang

Hi,

I was trying the below code snipped

To upload documents to packages, 

 

2 3 years 1 month ago 472
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.