API Reference

Authentication

Authentication

register

Register with a certificate to receive an application key used for authentication on all subsequent calls

Parameters

ParameterTypeDescription
certificateKeyStringThe certificate key provided to you by TimeEdit

Returns

ReturnTypeDescription
keyApplicationKeyInfoApplication key to use for subseqent calls to TimeEdit, and if set the expiration date for the certificate

Example

Request

<tns:certificate>YyMc6t96ww4vhKNuo4tz6EwCQXnsUXop8pvHwAbcBesPBRHJapnHLUNz2jhKKhK9U88vxV2GUJCB9v2zD8uipZbcWo4LyBmaCNdRi8xbGsJEa2JczWnCkDvhNyiiuC7NHzbZBpcczeGp3mbTy8ZQE7W2XMnY2vjuKsaiufHh4upivjx7WdHwHVtZxB8ksnr43cmU36Fxm7TzyD28TZmExXLmGEGAKTA3NePufjrbZFJ4Qpm2992yWcCfAiYa6g==</tns:certificate>

Application keys should not be stored long-term. It is safe to re-use the key for a session, but production code should assume that a key might expire and handle such a case by calling register again.