PUT 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": "93e779fe-e834-4a56-a4b5-4da9195b775f", "EventLocationGuid": "4c9b760f-a723-4e3a-92f5-e39e04b0e251", "ParentGuid": "7239ef73-deb2-4ecc-99de-e8f8f41955ee", "EventThemes": [ { "Guid": "02014140-1ca3-4d32-bb80-6d0d018dd52b", "Name": "sample string 2" }, { "Guid": "02014140-1ca3-4d32-bb80-6d0d018dd52b", "Name": "sample string 2" } ], "ContributionGuid": "95d3227d-df53-410f-954b-9c7c198c2d56", "Accessibility": true, "Guid": "8b20f00e-e375-4f6b-b5da-b0da0bfeb1bb", "Created": "2025-06-02T13:47:25.1193467+00:00", "Modified": "2025-06-02T13:47:25.1193467+00:00", "Deleted": "2025-06-02T13:47:25.1193467+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":"93e779fe-e834-4a56-a4b5-4da9195b775f","EventLocationGuid":"4c9b760f-a723-4e3a-92f5-e39e04b0e251","ParentGuid":"7239ef73-deb2-4ecc-99de-e8f8f41955ee","EventThemes":[{"Guid":"02014140-1ca3-4d32-bb80-6d0d018dd52b","Name":"sample string 2"},{"Guid":"02014140-1ca3-4d32-bb80-6d0d018dd52b","Name":"sample string 2"}],"ContributionGuid":"95d3227d-df53-410f-954b-9c7c198c2d56","Accessibility":true,"Guid":"8b20f00e-e375-4f6b-b5da-b0da0bfeb1bb","Created":"2025-06-02T13:47:25.1193467+00:00","Modified":"2025-06-02T13:47:25.1193467+00:00","Deleted":"2025-06-02T13:47:25.1193467+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-02T13:47:25.1193467+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-02T13:47:25.1193467+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">8b20f00e-e375-4f6b-b5da-b0da0bfeb1bb</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-02T13:47:25.1193467+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>95d3227d-df53-410f-954b-9c7c198c2d56</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>93e779fe-e834-4a56-a4b5-4da9195b775f</EventGuid> <EventLocationGuid>4c9b760f-a723-4e3a-92f5-e39e04b0e251</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>02014140-1ca3-4d32-bb80-6d0d018dd52b</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>02014140-1ca3-4d32-bb80-6d0d018dd52b</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>7239ef73-deb2-4ecc-99de-e8f8f41955ee</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": "a628dec3-9f93-4f4c-b592-f1019ae01ece", "EventLocationGuid": "60a5df66-4424-420a-bc14-962280df2482", "ParentGuid": "65aafa76-766d-484f-a961-5aa3ad37e11b", "EventThemes": [ { "Guid": "846eb735-586c-4ea3-bd63-1cd7f6d612e2", "Name": "sample string 2" }, { "Guid": "846eb735-586c-4ea3-bd63-1cd7f6d612e2", "Name": "sample string 2" } ], "ContributionGuid": "b992c2c5-42ec-4b8f-95aa-f35dc6acb936", "Accessibility": true, "Guid": "09c944b1-e72c-46cd-a4ad-92da9acb9ab0", "Created": "2025-06-02T13:47:25.1193467+00:00", "Modified": "2025-06-02T13:47:25.1193467+00:00", "Deleted": "2025-06-02T13:47:25.1193467+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":"a628dec3-9f93-4f4c-b592-f1019ae01ece","EventLocationGuid":"60a5df66-4424-420a-bc14-962280df2482","ParentGuid":"65aafa76-766d-484f-a961-5aa3ad37e11b","EventThemes":[{"Guid":"846eb735-586c-4ea3-bd63-1cd7f6d612e2","Name":"sample string 2"},{"Guid":"846eb735-586c-4ea3-bd63-1cd7f6d612e2","Name":"sample string 2"}],"ContributionGuid":"b992c2c5-42ec-4b8f-95aa-f35dc6acb936","Accessibility":true,"Guid":"09c944b1-e72c-46cd-a4ad-92da9acb9ab0","Created":"2025-06-02T13:47:25.1193467+00:00","Modified":"2025-06-02T13:47:25.1193467+00:00","Deleted":"2025-06-02T13:47:25.1193467+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-02T13:47:25.1193467+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-02T13:47:25.1193467+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">09c944b1-e72c-46cd-a4ad-92da9acb9ab0</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-06-02T13:47:25.1193467+00:00</Modified> <Accessibility>true</Accessibility> <ContributionGuid>b992c2c5-42ec-4b8f-95aa-f35dc6acb936</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>a628dec3-9f93-4f4c-b592-f1019ae01ece</EventGuid> <EventLocationGuid>60a5df66-4424-420a-bc14-962280df2482</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>846eb735-586c-4ea3-bd63-1cd7f6d612e2</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>846eb735-586c-4ea3-bd63-1cd7f6d612e2</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>65aafa76-766d-484f-a961-5aa3ad37e11b</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>