Deletes the given record of the given edited entity table

DELETE
api/databases/{dbid}/entities/{entity}/{id}/edit/{table}/{tid}
This request is used to delete the given record of the given edited entity table, i.e. it deletes the record from the copy of the entity which is being edited, so if the entity doesn't get saved, the record will not be deleted.

Request:

Argument Type Description
dbid GUID  The ID of the database
entity String  The name of the entity
id GUID  The ID of the entity
table String  The name of the entity table
tid GUID  The ID of the entity table record

Response:

Open the copy of the given entity 'Task' for editing

Request:
  1. POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa
Response:
  1. Transfer-Encoding: chunked
  2. Content-Encoding:
  3. Cache-Control: no-store
  4. Content-Type: text/json; charset=utf-8
  5. Date: Wed, 26 Dec 2012 12:22:04 GMT
  6. ETag: "634921260718020940"
  7. Last-Modified: Wed, 26 Dec 2012 11:41:11 GMT
  8. Set-Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa; path=/;
  9. Server: Microsoft-HTTPAPI/2.0
  10.  
  11. {
  12. "Id": "08a11e00-188f-45d0-b767-d8620bedbad2",
  13. "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit"
  14. }

Delete given task schedule item from the copy of the task that is being edited

Request:
  1. DELETE api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/TaskScheduleItems/703f4be7-ec96-43e5-8d75-897746673961
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa
Response:
  1. Cache-Control: no-store
  2. Date: Wed, 26 Dec 2012 12:22:42 GMT
  3. Set-Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa; path=/;
  4. Server: Microsoft-HTTPAPI/2.0

Save changes made to the copy of the task that is being edited

Request:
  1. POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/save
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa
Response:
  1. Cache-Control: no-store
  2. Date: Wed, 26 Dec 2012 12:23:10 GMT
  3. Set-Cookie: sid=96e252b0-3147-4a01-819c-16d434b581fa; path=/;
  4. Server: Microsoft-HTTPAPI/2.0