Service Help – EntryFormDeleteKey
The Sharperlight service offers a wide variety of presentation methods, each with its own set of parameters.
In this post, we will introduce the following method from among the various presentation methods available.
http://abcd.com/mdService1Rest/EntryFormDeleteKey/…
{sharperlight service url}/Help#EntryFormDeleteKey
|
Simular to EntryFormPost where the record details to delete are POSTed If there is a single unique key then pass this in &editkey=ABC see EntryFormPost |
|
| editid=[idnum] |
The record id. This would be the unique identify value of the Table Record if one existed
e.g. ?productcode=ADVW&tablecode=ProLoc&editid=2&response=json |
| editkey=[uniqueKey] |
The record unique key. The table can only have one unique field as multiple unique fields are not supported. (Note this is not an identity) e.g. ?productcode=ADVW&tablecode=PurVen&editkey=ALLENSON0001&response=json |
| response=[json|jsonp] |
When left blank the status response will be { “message”: ……} When set to json it will be { message: ……} When set to jsonp it will be unless you set callback Callback( { “message”: ……} ); |
| callback=[MyFunc] | JSON Callback function (Optional) &callback=MyFunc results in MyFunc( { “message”: ……} ); |
