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": "c2a1637d-e32d-4a40-ae6f-ff12390b1541", "EventLocationGuid": "53d38632-c8b4-42c6-8e02-0afbeb098bbe", "ParentGuid": "3e04856c-2ed9-4b03-9c51-630418028729", "EventThemes": [ { "Guid": "c66fd5ab-7c0f-4e59-be66-cf4d97147c74", "Name": "sample string 2" }, { "Guid": "c66fd5ab-7c0f-4e59-be66-cf4d97147c74", "Name": "sample string 2" } ], "ContributionGuid": "e2d71ed4-6e41-4252-bfc5-8babde9e57f2", "Accessibility": true, "Guid": "8043bfaa-d688-4fea-9c5b-e10b9606cdb9", "Created": "2025-06-27T10:27:00.4676853+00:00", "Modified": "2025-06-27T10:27:00.4676853+00:00", "Deleted": "2025-06-27T10:27:00.4676853+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":"c2a1637d-e32d-4a40-ae6f-ff12390b1541","EventLocationGuid":"53d38632-c8b4-42c6-8e02-0afbeb098bbe","ParentGuid":"3e04856c-2ed9-4b03-9c51-630418028729","EventThemes":[{"Guid":"c66fd5ab-7c0f-4e59-be66-cf4d97147c74","Name":"sample string 2"},{"Guid":"c66fd5ab-7c0f-4e59-be66-cf4d97147c74","Name":"sample string 2"}],"ContributionGuid":"e2d71ed4-6e41-4252-bfc5-8babde9e57f2","Accessibility":true,"Guid":"8043bfaa-d688-4fea-9c5b-e10b9606cdb9","Created":"2025-06-27T10:27:00.4676853+00:00","Modified":"2025-06-27T10:27:00.4676853+00:00","Deleted":"2025-06-27T10:27:00.4676853+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-06-27T10:27:00.4676853+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-27T10:27:00.4676853+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">8043bfaa-d688-4fea-9c5b-e10b9606cdb9</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-27T10:27:00.4676853+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>e2d71ed4-6e41-4252-bfc5-8babde9e57f2</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>c2a1637d-e32d-4a40-ae6f-ff12390b1541</EventGuid> <EventLocationGuid>53d38632-c8b4-42c6-8e02-0afbeb098bbe</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>c66fd5ab-7c0f-4e59-be66-cf4d97147c74</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>c66fd5ab-7c0f-4e59-be66-cf4d97147c74</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>3e04856c-2ed9-4b03-9c51-630418028729</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": "2937f813-6765-4a38-aab3-4aa5ef086ca3", "EventLocationGuid": "03914e95-4439-4b8c-8361-1c6010bfccbe", "ParentGuid": "7efb85e3-5028-4909-840b-daf1c3081905", "EventThemes": [ { "Guid": "fc6b3673-38d7-4655-b307-79c1ceaf5ac3", "Name": "sample string 2" }, { "Guid": "fc6b3673-38d7-4655-b307-79c1ceaf5ac3", "Name": "sample string 2" } ], "ContributionGuid": "3ba9db03-99d6-4cfe-a3de-e33a3b954ae3", "Accessibility": true, "Guid": "26004377-50ca-4085-b055-eac040acf279", "Created": "2025-06-27T10:27:00.4676853+00:00", "Modified": "2025-06-27T10:27:00.4676853+00:00", "Deleted": "2025-06-27T10:27:00.4676853+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":"2937f813-6765-4a38-aab3-4aa5ef086ca3","EventLocationGuid":"03914e95-4439-4b8c-8361-1c6010bfccbe","ParentGuid":"7efb85e3-5028-4909-840b-daf1c3081905","EventThemes":[{"Guid":"fc6b3673-38d7-4655-b307-79c1ceaf5ac3","Name":"sample string 2"},{"Guid":"fc6b3673-38d7-4655-b307-79c1ceaf5ac3","Name":"sample string 2"}],"ContributionGuid":"3ba9db03-99d6-4cfe-a3de-e33a3b954ae3","Accessibility":true,"Guid":"26004377-50ca-4085-b055-eac040acf279","Created":"2025-06-27T10:27:00.4676853+00:00","Modified":"2025-06-27T10:27:00.4676853+00:00","Deleted":"2025-06-27T10:27:00.4676853+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-06-27T10:27:00.4676853+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-27T10:27:00.4676853+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">26004377-50ca-4085-b055-eac040acf279</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-27T10:27:00.4676853+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>3ba9db03-99d6-4cfe-a3de-e33a3b954ae3</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>2937f813-6765-4a38-aab3-4aa5ef086ca3</EventGuid> <EventLocationGuid>03914e95-4439-4b8c-8361-1c6010bfccbe</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>fc6b3673-38d7-4655-b307-79c1ceaf5ac3</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>fc6b3673-38d7-4655-b307-79c1ceaf5ac3</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>7efb85e3-5028-4909-840b-daf1c3081905</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>