api/databases/{dbid}/entities/{entity}/{id}/edit/save
Argument | Type | Description |
---|---|---|
dbid | GUID | The ID of the database |
entity | String | The name of the entity |
id | GUID | The ID of the entity |
- POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit
- Accept: text/json
- Accept-Encoding: deflate
- Host: localhost:6496
- Cookie: sid=41f1cc3d-2701-4185-8d3c-8dcd60be24dc
- Transfer-Encoding: chunked
- Content-Encoding:
- Cache-Control: no-store
- Content-Type: text/json; charset=utf-8
- Date: Wed, 26 Dec 2012 13:32:28 GMT
- ETag: "634921327487057176"
- Last-Modified: Wed, 26 Dec 2012 13:32:28 GMT
- Server: Microsoft-HTTPAPI/2.0
- {
- "Id": "08a11e00-188f-45d0-b767-d8620bedbad2",
- "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit"
- }
- PUT api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit
- Accept: text/json
- Accept-Encoding: deflate
- Content-Type: text/json
- Host: localhost:6496
- Cookie: sid=bc6ef8bc-1de7-49ec-a929-7644fcf51911
- Content-Length: 59
- Expect: 100-continue
- {
- "Properties":
- {
- "Name": "Changed task name"
- }
- }
- Cache-Control: no-store
- Date: Mon, 24 Dec 2012 16:32:11 GMT
- ETag: "634919706670587030"
- Server: Microsoft-HTTPAPI/2.0
- POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/ScheduleItems
- Accept: text/json
- Accept-Encoding: deflate
- Host: localhost:6496
- Cookie: sid=41f1cc3d-2701-4185-8d3c-8dcd60be24dc
- Transfer-Encoding: chunked
- Content-Encoding:
- Cache-Control: no-store
- Content-Type: text/json; charset=utf-8
- Date: Wed, 26 Dec 2012 13:32:49 GMT
- ETag: "634921327692807749"
- Last-Modified: Wed, 26 Dec 2012 13:32:49 GMT
- Location: http://localhost:6496/api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/94d5484d-d5c4-452a-aacf-ec341cce4526/edit/ScheduleItems/9398ac22-9e78-44d3-891d-d82aa3c40929
- Server: Microsoft-HTTPAPI/2.0
- {
- "Id": "9398ac22-9e78-44d3-891d-d82aa3c40929",
- "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/94d5484d-d5c4-452a-aacf-ec341cce4526/edit/ScheduleItems/9398ac22-9e78-44d3-891d-d82aa3c40929"
- }
- PUT api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/ScheduleItems/9398ac22-9e78-44d3-891d-d82aa3c40929
- Accept: text/json
- Accept-Encoding: deflate
- Content-Type: text/json
- Host: localhost:6496
- Cookie: sid=41f1cc3d-2701-4185-8d3c-8dcd60be24dc
- Content-Length: 403
- Expect: 100-continue
- {
- "Properties":
- {
- "users":
- {
- "Values": ["ae18dea5-4f60-4f70-ae31-d8052984e31e"]
- },
- "start": "2013.01.01T08:00:00+02:00",
- "finish": "2013.01.01T12:00:00+02:00",
- "allday": true,
- "ReminderForStart":
- {
- "Offset": "@D1d",
- "Users": ["ae18dea5-4f60-4f70-ae31-d8052984e31e"],
- "OffsetKind": "before",
- "description": "'reminder before start' set via API"
- }
- }
- }
- Cache-Control: no-store
- Date: Wed, 26 Dec 2012 13:33:01 GMT
- ETag: "634921327818940361"
- Server: Microsoft-HTTPAPI/2.0
- GET api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/ScheduleItems/9398ac22-9e78-44d3-891d-d82aa3c40929
- Accept: text/json
- Accept-Encoding: deflate
- Host: localhost:6496
- Cookie: sid=41f1cc3d-2701-4185-8d3c-8dcd60be24dc
- Transfer-Encoding: chunked
- Content-Encoding:
- Cache-Control: no-store
- Content-Type: text/json; charset=utf-8
- Date: Wed, 26 Dec 2012 13:33:07 GMT
- ETag: "634921327818940361"
- Last-Modified: Wed, 26 Dec 2012 13:33:01 GMT
- Server: Microsoft-HTTPAPI/2.0
- {
- "Id": "9398ac22-9e78-44d3-891d-d82aa3c40929",
- "InfoName": "TaskScheduleItems",
- "ETag": "634921327818940361",
- "ModifiedStamp": "2012-12-26T15:33:01.8940361+02:00",
- "IsMarkedAsDeleted": false,
- "Properties": {
- "Id": "9398ac22-9e78-44d3-891d-d82aa3c40929",
- "Users": {
- "Values": [
- {
- "Id": "ae18dea5-4f60-4f70-ae31-d8052984e31e",
- "DisplayText": "admin"
- }
- ],
- "DisplayText": "admin"
- },
- "ReminderForStart": {
- "Offset": {
- "Value": 1.0,
- "Kind": 2,
- "PureWorkTime": 1.0,
- "Title": "1 Days"
- },
- "Users": [
- {
- "Id": "ae18dea5-4f60-4f70-ae31-d8052984e31e",
- "DisplayText": "admin"
- }
- ],
- "HideUsers": false,
- "OffsetKind": -1,
- "Description": "'reminder before start' set via API"
- },
- "ReminderForFinish": null,
- "Start": "2013-01-01T08:00:00+02:00",
- "Finish": "2013-01-01T12:00:00+02:00",
- "AllDay": true,
- "RecurrenceInfo": null,
- "RecurrencePatternId": null,
- "DeletedRecurrences": null,
- "RecurrenceExceptions": null
- }
- }
- POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/edit/save
- Accept: text/json
- Accept-Encoding: deflate
- Host: localhost:6496
- Cookie: sid=41f1cc3d-2701-4185-8d3c-8dcd60be24dc
- Cache-Control: no-store
- Date: Wed, 26 Dec 2012 13:33:15 GMT
- Server: Microsoft-HTTPAPI/2.0