Highlighted

How to find a template libraryDocumentId from the Dashboard

New Here ,
May 19, 2017

Copy link to clipboard

Copied

In order to send an agreement using the API, one is required to provide the "libraryDocumentId" under "fileInfos" within "DocumentCreationInfo".

For a Library Template Document, is there a way to find out what this document id is from the Dashboard?

I can get it by invoking the "api/rest/v5/libraryDocuments" api - but have to reissue the oAuth token to invoke it. Would be easier if the libraryDocumentId were available somewhere in the Dashboard.

On a separate note, when invoking the 'api/rest/v5/libraryDocuments' api, I keep getting a PERMISSION_DENIED error when using an access_token generated using the oauth/refresh api.

'Client error: `GET https://api.na1.echosign.com/api/rest/v5/libraryDocuments` resulted in a `403 Forbidden` response:

{"code":"PERMISSION_DENIED","message":"The API caller do not have the permission to execute this operation"}

The only way around this is to redo the OAuth steps to generate a new access_token.

Thanks,

Unmesh.

Topics

Questions Need Help

Views

287

Likes

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

How to find a template libraryDocumentId from the Dashboard

New Here ,
May 19, 2017

Copy link to clipboard

Copied

In order to send an agreement using the API, one is required to provide the "libraryDocumentId" under "fileInfos" within "DocumentCreationInfo".

For a Library Template Document, is there a way to find out what this document id is from the Dashboard?

I can get it by invoking the "api/rest/v5/libraryDocuments" api - but have to reissue the oAuth token to invoke it. Would be easier if the libraryDocumentId were available somewhere in the Dashboard.

On a separate note, when invoking the 'api/rest/v5/libraryDocuments' api, I keep getting a PERMISSION_DENIED error when using an access_token generated using the oauth/refresh api.

'Client error: `GET https://api.na1.echosign.com/api/rest/v5/libraryDocuments` resulted in a `403 Forbidden` response:

{"code":"PERMISSION_DENIED","message":"The API caller do not have the permission to execute this operation"}

The only way around this is to redo the OAuth steps to generate a new access_token.

Thanks,

Unmesh.

Topics

Questions Need Help

Views

288

Likes

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

Have something to add?

Join the conversation