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": "ccda9b21-745b-4e96-b2f8-b62a3aedcb94", "EventLocationGuid": "6bee2b35-fb6e-4663-b188-a59296f12a53", "ParentGuid": "153ef39b-22e1-432a-ab0b-7a838671cfd1", "EventThemes": [ { "Guid": "58d9fee8-f237-4402-8d7f-0d43e988073b", "Name": "sample string 2" }, { "Guid": "58d9fee8-f237-4402-8d7f-0d43e988073b", "Name": "sample string 2" } ], "ContributionGuid": "f7795588-f139-4ed9-85f3-f2e402bf61d2", "Accessibility": true, "Guid": "a16a51d1-2487-45c7-bec0-f2cdd5a62202", "Created": "2025-10-08T11:08:15.9865687+00:00", "Modified": "2025-10-08T11:08:15.9865687+00:00", "Deleted": "2025-10-08T11:08:15.9865687+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":"ccda9b21-745b-4e96-b2f8-b62a3aedcb94","EventLocationGuid":"6bee2b35-fb6e-4663-b188-a59296f12a53","ParentGuid":"153ef39b-22e1-432a-ab0b-7a838671cfd1","EventThemes":[{"Guid":"58d9fee8-f237-4402-8d7f-0d43e988073b","Name":"sample string 2"},{"Guid":"58d9fee8-f237-4402-8d7f-0d43e988073b","Name":"sample string 2"}],"ContributionGuid":"f7795588-f139-4ed9-85f3-f2e402bf61d2","Accessibility":true,"Guid":"a16a51d1-2487-45c7-bec0-f2cdd5a62202","Created":"2025-10-08T11:08:15.9865687+00:00","Modified":"2025-10-08T11:08:15.9865687+00:00","Deleted":"2025-10-08T11:08:15.9865687+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-10-08T11:08:15.9865687+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-10-08T11:08:15.9865687+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">a16a51d1-2487-45c7-bec0-f2cdd5a62202</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-10-08T11:08:15.9865687+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>f7795588-f139-4ed9-85f3-f2e402bf61d2</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>ccda9b21-745b-4e96-b2f8-b62a3aedcb94</EventGuid> <EventLocationGuid>6bee2b35-fb6e-4663-b188-a59296f12a53</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>58d9fee8-f237-4402-8d7f-0d43e988073b</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>58d9fee8-f237-4402-8d7f-0d43e988073b</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>153ef39b-22e1-432a-ab0b-7a838671cfd1</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": "7e11797e-8adc-4b03-b9df-bbd02033ab51", "EventLocationGuid": "fb6d81af-dba6-436f-8777-4c18234df7ad", "ParentGuid": "16d386dd-986a-4449-83a6-35e0386deb9b", "EventThemes": [ { "Guid": "a5333cf2-b55a-4e88-8ea2-6956e19d7fe2", "Name": "sample string 2" }, { "Guid": "a5333cf2-b55a-4e88-8ea2-6956e19d7fe2", "Name": "sample string 2" } ], "ContributionGuid": "4fc649d6-1e51-4b80-a15f-620e3ba6dc36", "Accessibility": true, "Guid": "7deeb4fb-ec5e-4e18-9eff-2a4d02f51de8", "Created": "2025-10-08T11:08:15.9865687+00:00", "Modified": "2025-10-08T11:08:15.9865687+00:00", "Deleted": "2025-10-08T11:08:15.9865687+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":"7e11797e-8adc-4b03-b9df-bbd02033ab51","EventLocationGuid":"fb6d81af-dba6-436f-8777-4c18234df7ad","ParentGuid":"16d386dd-986a-4449-83a6-35e0386deb9b","EventThemes":[{"Guid":"a5333cf2-b55a-4e88-8ea2-6956e19d7fe2","Name":"sample string 2"},{"Guid":"a5333cf2-b55a-4e88-8ea2-6956e19d7fe2","Name":"sample string 2"}],"ContributionGuid":"4fc649d6-1e51-4b80-a15f-620e3ba6dc36","Accessibility":true,"Guid":"7deeb4fb-ec5e-4e18-9eff-2a4d02f51de8","Created":"2025-10-08T11:08:15.9865687+00:00","Modified":"2025-10-08T11:08:15.9865687+00:00","Deleted":"2025-10-08T11:08:15.9865687+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-10-08T11:08:15.9865687+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-10-08T11:08:15.9865687+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7deeb4fb-ec5e-4e18-9eff-2a4d02f51de8</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-10-08T11:08:15.9865687+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>4fc649d6-1e51-4b80-a15f-620e3ba6dc36</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>7e11797e-8adc-4b03-b9df-bbd02033ab51</EventGuid> <EventLocationGuid>fb6d81af-dba6-436f-8777-4c18234df7ad</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>a5333cf2-b55a-4e88-8ea2-6956e19d7fe2</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>a5333cf2-b55a-4e88-8ea2-6956e19d7fe2</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>16d386dd-986a-4449-83a6-35e0386deb9b</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>