POST v1/Activity
Request Information
URI Parameters
None.
Body Parameters
ActivityViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
Nr | integer |
None. |
|
IsFull | boolean |
None. |
|
IsCanceled | boolean |
None. |
|
Url | string |
None. |
|
HideRating | boolean |
None. |
|
SessionNumber | string |
None. |
|
HidePicture | boolean |
None. |
|
DisplayTypeId | byte |
None. |
|
EventGuid | globally unique identifier |
None. |
|
EventLocationGuid | globally unique identifier |
None. |
|
ParentGuid | globally unique identifier |
None. |
|
EventThemes | Collection of GuidName |
None. |
|
ContributionGuid | globally unique identifier |
None. |
|
Accessibility | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "Nr": 3, "IsFull": true, "IsCanceled": true, "Url": "sample string 6", "HideRating": true, "SessionNumber": "sample string 8", "HidePicture": true, "DisplayTypeId": 64, "EventGuid": "097509ce-47e6-4921-b254-41cc91547b43", "EventLocationGuid": "a094d21b-4f19-4458-8e85-8095b3ce5ff2", "ParentGuid": "37ae35b8-f13d-40b6-b5ca-a58f320c969c", "EventThemes": [ { "Guid": "68bb1de2-8f92-4560-b699-035fb15246ef", "Name": "sample string 2" }, { "Guid": "68bb1de2-8f92-4560-b699-035fb15246ef", "Name": "sample string 2" } ], "ContributionGuid": "b36e940a-1017-4526-af72-0a3cd655b4dc", "Accessibility": true, "Guid": "16234805-61fc-4afa-9ece-96289afe3abd", "Created": "2025-08-30T02:25:49.2614157+00:00", "Modified": "2025-08-30T02:25:49.2614157+00:00", "Deleted": "2025-08-30T02:25:49.2614157+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","Description":"sample string 2","Nr":3,"IsFull":true,"IsCanceled":true,"Url":"sample string 6","HideRating":true,"SessionNumber":"sample string 8","HidePicture":true,"DisplayTypeId":64,"EventGuid":"097509ce-47e6-4921-b254-41cc91547b43","EventLocationGuid":"a094d21b-4f19-4458-8e85-8095b3ce5ff2","ParentGuid":"37ae35b8-f13d-40b6-b5ca-a58f320c969c","EventThemes":[{"Guid":"68bb1de2-8f92-4560-b699-035fb15246ef","Name":"sample string 2"},{"Guid":"68bb1de2-8f92-4560-b699-035fb15246ef","Name":"sample string 2"}],"ContributionGuid":"b36e940a-1017-4526-af72-0a3cd655b4dc","Accessibility":true,"Guid":"16234805-61fc-4afa-9ece-96289afe3abd","Created":"2025-08-30T02:25:49.2614157+00:00","Modified":"2025-08-30T02:25:49.2614157+00:00","Deleted":"2025-08-30T02:25:49.2614157+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<ActivityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">16234805-61fc-4afa-9ece-96289afe3abd</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>b36e940a-1017-4526-af72-0a3cd655b4dc</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>097509ce-47e6-4921-b254-41cc91547b43</EventGuid> <EventLocationGuid>a094d21b-4f19-4458-8e85-8095b3ce5ff2</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>68bb1de2-8f92-4560-b699-035fb15246ef</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>68bb1de2-8f92-4560-b699-035fb15246ef</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> </EventThemes> <HidePicture>true</HidePicture> <HideRating>true</HideRating> <IsCanceled>true</IsCanceled> <IsFull>true</IsFull> <Name>sample string 1</Name> <Nr>3</Nr> <ParentGuid>37ae35b8-f13d-40b6-b5ca-a58f320c969c</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActivityViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
Nr | integer |
None. |
|
IsFull | boolean |
None. |
|
IsCanceled | boolean |
None. |
|
Url | string |
None. |
|
HideRating | boolean |
None. |
|
SessionNumber | string |
None. |
|
HidePicture | boolean |
None. |
|
DisplayTypeId | byte |
None. |
|
EventGuid | globally unique identifier |
None. |
|
EventLocationGuid | globally unique identifier |
None. |
|
ParentGuid | globally unique identifier |
None. |
|
EventThemes | Collection of GuidName |
None. |
|
ContributionGuid | globally unique identifier |
None. |
|
Accessibility | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "Nr": 3, "IsFull": true, "IsCanceled": true, "Url": "sample string 6", "HideRating": true, "SessionNumber": "sample string 8", "HidePicture": true, "DisplayTypeId": 64, "EventGuid": "224b1897-00d6-4563-b542-338d1b7f549d", "EventLocationGuid": "14a4442f-32db-4c9f-8032-64e4e73508c9", "ParentGuid": "4e87c787-3457-426a-b574-2e8c14675b56", "EventThemes": [ { "Guid": "369f7987-3427-4700-b830-3700fbf0abfb", "Name": "sample string 2" }, { "Guid": "369f7987-3427-4700-b830-3700fbf0abfb", "Name": "sample string 2" } ], "ContributionGuid": "ed0f8d25-a645-4d74-9467-7df2641be0d7", "Accessibility": true, "Guid": "6dc24363-bae5-4365-91e0-7dafe2e014a8", "Created": "2025-08-30T02:25:49.2614157+00:00", "Modified": "2025-08-30T02:25:49.2614157+00:00", "Deleted": "2025-08-30T02:25:49.2614157+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","Description":"sample string 2","Nr":3,"IsFull":true,"IsCanceled":true,"Url":"sample string 6","HideRating":true,"SessionNumber":"sample string 8","HidePicture":true,"DisplayTypeId":64,"EventGuid":"224b1897-00d6-4563-b542-338d1b7f549d","EventLocationGuid":"14a4442f-32db-4c9f-8032-64e4e73508c9","ParentGuid":"4e87c787-3457-426a-b574-2e8c14675b56","EventThemes":[{"Guid":"369f7987-3427-4700-b830-3700fbf0abfb","Name":"sample string 2"},{"Guid":"369f7987-3427-4700-b830-3700fbf0abfb","Name":"sample string 2"}],"ContributionGuid":"ed0f8d25-a645-4d74-9467-7df2641be0d7","Accessibility":true,"Guid":"6dc24363-bae5-4365-91e0-7dafe2e014a8","Created":"2025-08-30T02:25:49.2614157+00:00","Modified":"2025-08-30T02:25:49.2614157+00:00","Deleted":"2025-08-30T02:25:49.2614157+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<ActivityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">6dc24363-bae5-4365-91e0-7dafe2e014a8</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-30T02:25:49.2614157+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>ed0f8d25-a645-4d74-9467-7df2641be0d7</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>224b1897-00d6-4563-b542-338d1b7f549d</EventGuid> <EventLocationGuid>14a4442f-32db-4c9f-8032-64e4e73508c9</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>369f7987-3427-4700-b830-3700fbf0abfb</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>369f7987-3427-4700-b830-3700fbf0abfb</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> </EventThemes> <HidePicture>true</HidePicture> <HideRating>true</HideRating> <IsCanceled>true</IsCanceled> <IsFull>true</IsFull> <Name>sample string 1</Name> <Nr>3</Nr> <ParentGuid>4e87c787-3457-426a-b574-2e8c14675b56</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>