QR-Code Services
modifyCode
Changes the URL a code points to, or its expiration limit.
Arguments
- API-KEY (Required) : Your API application key. See here for more details.
- code (Required) : The code to be modified.
- URL (Optional) : URL this code should resolve to. The URL must be URL-Encoded!.
- expiration (Optional) : UNIX Timestamp this code will expire. When not given, the code never expires.
Returns
- boolean : true if the code was changed, false otherwise (e.g. not customer's code or same data resubmitted).
Example Request (HTTP GET)
http://decode.kaywa.com/api/modifyCode?API-KEY=your_api_key_here&code=2029998765&expiration=1268674116
Example Response
true
Error Codes
- 1 : DECODE_APIERROR_INVALID_CODE - The code passed was invalid.
- 5 : DECODE_APIERROR_ARGUMENTS_ERROR - Arguments passed was invalid.
The URL passed must be URL-Encoded!


