Difference between revisions of "Notification/generatecertificate"
(Created page with "This operation generates a new certificate of this notification = URL = <nowiki>https://www.safestamper.com/api/notification/generatecertificate</nowiki> = Parameters = * ''...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This operation generates a new certificate of this notification | + | This operation generates a new certificate of this notification. ''Deprecated'' |
= URL = | = URL = | ||
Line 17: | Line 17: | ||
* '''code''': Certificate code | * '''code''': Certificate code | ||
* '''url''': Public URL for certificate download | * '''url''': Public URL for certificate download | ||
− | |||
− | |||
= HTTP Errors = | = HTTP Errors = | ||
Line 31: | Line 29: | ||
<pre> | <pre> | ||
https://www.safestamper.com/api/notification/generatecertificate | https://www.safestamper.com/api/notification/generatecertificate | ||
− | ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec&code=170316-6K5D2Q&sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh&signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77 | + | ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec |
+ | &code=170316-6K5D2Q | ||
+ | &sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh | ||
+ | &signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77 | ||
</pre> | </pre> | ||
Latest revision as of 10:15, 12 April 2021
This operation generates a new certificate of this notification. Deprecated
Contents
URL
https://www.safestamper.com/api/notification/generatecertificate
Parameters
- sharedkey: Your API client shared key
- authkey: Authkey of notification owner
- code: Code of notification
- signature: Parameters signature, as explained in Signature parameter
Returns
A JSON object with the following fields:
- entryDate: Date of certificate
- code: Certificate code
- url: Public URL for certificate download
HTTP Errors
- 401 Unauthorized: the authkey is not exist
- 403 Forbidden: the sharedkey or signature are not valid
- 404 Not found: the notification does not exist
Example
REQUEST:
https://www.safestamper.com/api/notification/generatecertificate ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec &code=170316-6K5D2Q &sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh &signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77
RESPONSE (actual response has no line breaks or indentation):
{ "entryDate": "2017-03-16T12:59:44Z", "code": "170316-WMZMFS", "url": "http:\/\/www.safestamper.com\/certificate\/170316-WMZMFS" }