Request:
- POST api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/ScheduleItems
- 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
- Connection: Keep-Alive
-
- {
- "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": "@D1h",
- "Users": ["ae18dea5-4f60-4f70-ae31-d8052984e31e"],
- "OffsetKind": "before",
- "description": "'reminder before start' set via API"
- }
- }
- }
Response:
- Transfer-Encoding: chunked
- Content-Encoding:
- Cache-Control: no-store
- Content-Type: text/json; charset=utf-8
- Date: Wed, 26 Dec 2012 13:38:11 GMT
- ETag: "634921330912969733"
- Last-Modified: Wed, 26 Dec 2012 13:38:11 GMT
- Location: http://localhost:6496/api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/ScheduleItems/7c7870ab-015a-43ef-b574-cd8f1b3e7a22
- Server: Microsoft-HTTPAPI/2.0
-
- {
- "Id": "7c7870ab-015a-43ef-b574-cd8f1b3e7a22",
- "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/08a11e00-188f-45d0-b767-d8620bedbad2/ScheduleItems/7c7870ab-015a-43ef-b574-cd8f1b3e7a22"
- }