POST api/Event/AddEvent
Request Information
URI Parameters
None.
Body Parameters
EventName | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
None. |
|
title | string |
None. |
|
start | date |
None. |
|
end | date |
None. |
|
IsComplete | boolean |
None. |
|
IsOverDue | boolean |
None. |
|
tag | string |
None. |
|
location | string |
None. |
|
PartitionKey | string |
None. |
|
RowKey | string |
None. |
|
Timestamp | date |
None. |
|
ETag | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "251e707c-069b-415e-ba31-405a3be82d3d", "title": "sample string 2", "start": "2024-12-11T03:42:21.645951+00:00", "end": "2024-12-11T03:42:21.645951+00:00", "IsComplete": true, "IsOverDue": true, "tag": "sample string 7", "location": "sample string 8", "PartitionKey": "sample string 9", "RowKey": "sample string 10", "Timestamp": "2024-12-11T03:42:21.645951+00:00", "ETag": "sample string 12" }
text/html
Sample:
{"id":"251e707c-069b-415e-ba31-405a3be82d3d","title":"sample string 2","start":"2024-12-11T03:42:21.645951+00:00","end":"2024-12-11T03:42:21.645951+00:00","IsComplete":true,"IsOverDue":true,"tag":"sample string 7","location":"sample string 8","PartitionKey":"sample string 9","RowKey":"sample string 10","Timestamp":"2024-12-11T03:42:21.645951+00:00","ETag":"sample string 12"}
application/xml, text/xml
Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models"> <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 12</ETag> <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 9</PartitionKey> <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 10</RowKey> <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table"> <d2p1:DateTime>2024-12-11T03:42:21.645951Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </Timestamp> <IsComplete>true</IsComplete> <IsOverDue>true</IsOverDue> <end>2024-12-11T03:42:21.645951+00:00</end> <id>251e707c-069b-415e-ba31-405a3be82d3d</id> <location>sample string 8</location> <start>2024-12-11T03:42:21.645951+00:00</start> <tag>sample string 7</tag> <title>sample string 2</title> </Event>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.