PackageService getJournalEntries
Wednesday, January 20, 2021 at 10:22amHave tried every possible parameter to PackageService getJournalEntries that I can imagine and every value returns a 404. I added several notary journal entries to package ArdXvFMXC6rdEW6lpzHYhb4T1Pk= can you tell me the magic value that will return journal entries?
Also it seems the only API method to get journal entries is at the level of the signer (which I assume is the notary). Is there any way to get more granular notary events? The journal entries do not seem to be directly tied to any particular package - is that correct? Wont this List tend to get exceedingly large over time?
Thanks
Reply to: PackageService getJournalEntries
Wednesday, January 20, 2021 at 11:04amHi Michael,
I am experiencing the same that if I created several journal entries for a notarized transaction, these entries are not directly tied to the package. Instead, they are binded to my sender profile that if I am on my sender portal and navigate to Admin > Journal, this page lists all my notary events filtered by time range.
So I am afraid it's the same from API's perspective, the only available API retrieving e-notary entries is:
GET /api/user/{senderId}/journal?startDate=2021-01-05&endDate=2021-01-19&from=1&to=100
GET /api/user/{senderId}/journal?startDate=2021-01-05&endDate=2021-01-19&from=101&to=200
Compares to the SDK modelling, the actual API allows extra parameters "startDate", "endDate" to narrow down time range, "from" and "to" for pagination.
Duo
Reply to: Hi Michael, I am…
Wednesday, January 20, 2021 at 11:13amWell this is a pickle. My admin account is not configured as a notary, so I have no 'Journal' under admin.
My 2 notary accounts are not admins, so have no admin menu at all.
So are we saying the REST API with date range is the only way to get at the journal right now?
And I am a bit unclear on the 'senderId'. Is that the email address?
Reply to: PackageService getJournalEntries
Wednesday, January 20, 2021 at 12:25pmTry retrieving sender by his/her email with this API:
GET /api/account/[email protected]&from=1&to=100
In case several emails include the same keyword, it's better to use a second filter checking the sender email. You will also find sender ID in the response JSON.
Duo
Reply to: Hi Michael, I am…
Wednesday, January 20, 2021 at 01:26pmThanks. I was able to get it to work using the REST API. There appears to be a bug in the SDK. The SDK gives me the following error:
HTTP GET on URI https://sandbox.esignlive.com/api/user/c6i2LUGwYJIX/journal resulted in response with status code: [404, Not Found]. Optional details: {"messageKey":"http.status.404","message":"Resource Not Found"
Which must be a bug, because if I copy paste that exact URL into a browser it works fine
Mike
Reply to: PackageService getJournalEntries
Wednesday, January 20, 2021 at 02:53pmFurther, although I can invoke this GET request in a browser if I have an open session to the UI, I get a 404 if I invoke it from code using the API KEY. Can you help us with this? Right now there seems to be no good way to get at the journal information thru the SDK or the REST API. Thanks
Reply to: PackageService getJournalEntries
Wednesday, January 20, 2021 at 03:02pmIt seems you need to
#1 get notary's API Key (GET /api/account/senders/c6i2LUGwYJIX/apiKey)
#2 authenticate this API with notary's API Key (GET /api/user/c6i2LUGwYJIX/journal)
Duo