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": "e9e2ad3d-b21a-47f3-8ac7-b0692e547c6c", "EventLocationGuid": "e4368d60-d42f-40e8-826f-2f3bc3e5d740", "ParentGuid": "1bed518f-b1f1-4b1d-bf8d-aa0e8c3a6519", "EventThemes": [ { "Guid": "217cea64-4cdb-4978-a8d4-9d99d7bb44b4", "Name": "sample string 2" }, { "Guid": "217cea64-4cdb-4978-a8d4-9d99d7bb44b4", "Name": "sample string 2" } ], "ContributionGuid": "d4b83dc5-9a0c-4bcb-a358-2791a9f3bc8b", "Accessibility": true, "Guid": "4ddf8573-cc02-40c9-8714-e14dd03dd195", "Created": "2025-03-12T11:21:59.9695228+00:00", "Modified": "2025-03-12T11:21:59.9695228+00:00", "Deleted": "2025-03-12T11:21:59.9695228+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":"e9e2ad3d-b21a-47f3-8ac7-b0692e547c6c","EventLocationGuid":"e4368d60-d42f-40e8-826f-2f3bc3e5d740","ParentGuid":"1bed518f-b1f1-4b1d-bf8d-aa0e8c3a6519","EventThemes":[{"Guid":"217cea64-4cdb-4978-a8d4-9d99d7bb44b4","Name":"sample string 2"},{"Guid":"217cea64-4cdb-4978-a8d4-9d99d7bb44b4","Name":"sample string 2"}],"ContributionGuid":"d4b83dc5-9a0c-4bcb-a358-2791a9f3bc8b","Accessibility":true,"Guid":"4ddf8573-cc02-40c9-8714-e14dd03dd195","Created":"2025-03-12T11:21:59.9695228+00:00","Modified":"2025-03-12T11:21:59.9695228+00:00","Deleted":"2025-03-12T11:21:59.9695228+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-03-12T11:21:59.9695228+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:21:59.9695228+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">4ddf8573-cc02-40c9-8714-e14dd03dd195</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:21:59.9695228+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>d4b83dc5-9a0c-4bcb-a358-2791a9f3bc8b</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>e9e2ad3d-b21a-47f3-8ac7-b0692e547c6c</EventGuid> <EventLocationGuid>e4368d60-d42f-40e8-826f-2f3bc3e5d740</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>217cea64-4cdb-4978-a8d4-9d99d7bb44b4</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>217cea64-4cdb-4978-a8d4-9d99d7bb44b4</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>1bed518f-b1f1-4b1d-bf8d-aa0e8c3a6519</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": "823d7ed9-9b4c-49ed-bb9c-fe2f13bd3685", "EventLocationGuid": "92da6465-3c52-4176-9b61-2fc7516a5d10", "ParentGuid": "e14bb9af-a07d-44a1-ba71-5fe1dd1753dc", "EventThemes": [ { "Guid": "c75c39c7-25e5-42e8-829e-bd9f9c676d4b", "Name": "sample string 2" }, { "Guid": "c75c39c7-25e5-42e8-829e-bd9f9c676d4b", "Name": "sample string 2" } ], "ContributionGuid": "8d154bd0-f82c-4980-8bcd-adb857153116", "Accessibility": true, "Guid": "7b7a3eb1-29ed-45f5-bc16-b13cdf6ed505", "Created": "2025-03-12T11:21:59.9695228+00:00", "Modified": "2025-03-12T11:21:59.9695228+00:00", "Deleted": "2025-03-12T11:21:59.9695228+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":"823d7ed9-9b4c-49ed-bb9c-fe2f13bd3685","EventLocationGuid":"92da6465-3c52-4176-9b61-2fc7516a5d10","ParentGuid":"e14bb9af-a07d-44a1-ba71-5fe1dd1753dc","EventThemes":[{"Guid":"c75c39c7-25e5-42e8-829e-bd9f9c676d4b","Name":"sample string 2"},{"Guid":"c75c39c7-25e5-42e8-829e-bd9f9c676d4b","Name":"sample string 2"}],"ContributionGuid":"8d154bd0-f82c-4980-8bcd-adb857153116","Accessibility":true,"Guid":"7b7a3eb1-29ed-45f5-bc16-b13cdf6ed505","Created":"2025-03-12T11:21:59.9695228+00:00","Modified":"2025-03-12T11:21:59.9695228+00:00","Deleted":"2025-03-12T11:21:59.9695228+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-03-12T11:21:59.9695228+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:21:59.9695228+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7b7a3eb1-29ed-45f5-bc16-b13cdf6ed505</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-03-12T11:21:59.9695228+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>8d154bd0-f82c-4980-8bcd-adb857153116</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>823d7ed9-9b4c-49ed-bb9c-fe2f13bd3685</EventGuid> <EventLocationGuid>92da6465-3c52-4176-9b61-2fc7516a5d10</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>c75c39c7-25e5-42e8-829e-bd9f9c676d4b</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>c75c39c7-25e5-42e8-829e-bd9f9c676d4b</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>e14bb9af-a07d-44a1-ba71-5fe1dd1753dc</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>