Difference between revisions of "Work.delete"

From Safe Creative API
Jump to navigation Jump to search
w>Jguillo
w>Jguillo
Line 19: Line 19:
 
** '''state''': ready
 
** '''state''': ready
  
= Sample =
+
= Example =
 
REQUEST:
 
REQUEST:
  

Revision as of 08:46, 14 May 2010

Deletes a work

Info

  • Component name: work.delete
  • Signature: Requires signature using the authkey's private key
  • Timestamp: Requires ztime parameter
  • Authorization level: MANAGE
  • API trust level: Standard

Parameters

  • authkey*: Authorization key
  • ztime*: Z-Timestamp
  • code*: Code of the work to be deleted

* Required parameter

Returns

  • restvalueresponse
    • state: ready

Example

REQUEST:

https://api.safecreative.org/v2/
?component=work.delete
&authkey=1i5g2aaf2bz09lyo867cuimqg
&code=1004200146116
&ztime=1271749851420
&signature=f21f97478f8fe0ed2e9be65ee440f43da030228e

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<restvalueresponse>
  <state>ready</state>
</restvalueresponse>