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. |
|
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": "cc20c637-4519-4c51-998e-687b14f58230", "EventLocationGuid": "c183111f-ec82-485b-b1c0-452fb6e1bf95", "ParentGuid": "390c9712-79e9-4709-a272-4086c91b8b7a", "EventThemes": [ { "Guid": "c0142e16-4e91-4b5f-8b69-dcb547495efd", "Name": "sample string 2" }, { "Guid": "c0142e16-4e91-4b5f-8b69-dcb547495efd", "Name": "sample string 2" } ], "ContributionGuid": "feef640c-40fd-4937-a099-6ed39df08fb2", "Guid": "25fa4229-8027-452e-a086-86507b178f6f", "Created": "2023-11-21T09:14:16.2530484+00:00", "Modified": "2023-11-21T09:14:16.2530484+00:00", "Deleted": "2023-11-21T09:14:16.2530484+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":"cc20c637-4519-4c51-998e-687b14f58230","EventLocationGuid":"c183111f-ec82-485b-b1c0-452fb6e1bf95","ParentGuid":"390c9712-79e9-4709-a272-4086c91b8b7a","EventThemes":[{"Guid":"c0142e16-4e91-4b5f-8b69-dcb547495efd","Name":"sample string 2"},{"Guid":"c0142e16-4e91-4b5f-8b69-dcb547495efd","Name":"sample string 2"}],"ContributionGuid":"feef640c-40fd-4937-a099-6ed39df08fb2","Guid":"25fa4229-8027-452e-a086-86507b178f6f","Created":"2023-11-21T09:14:16.2530484+00:00","Modified":"2023-11-21T09:14:16.2530484+00:00","Deleted":"2023-11-21T09:14:16.2530484+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">2023-11-21T09:14:16.2530484+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-21T09:14:16.2530484+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">25fa4229-8027-452e-a086-86507b178f6f</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-21T09:14:16.2530484+00:00</Modified> <ContributionGuid>feef640c-40fd-4937-a099-6ed39df08fb2</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>cc20c637-4519-4c51-998e-687b14f58230</EventGuid> <EventLocationGuid>c183111f-ec82-485b-b1c0-452fb6e1bf95</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>c0142e16-4e91-4b5f-8b69-dcb547495efd</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>c0142e16-4e91-4b5f-8b69-dcb547495efd</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>390c9712-79e9-4709-a272-4086c91b8b7a</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. |
|
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": "8428c80b-e217-4268-a709-8a8bd1246be3", "EventLocationGuid": "789dc80e-4a9c-444c-8d1d-7518141475a4", "ParentGuid": "886739f3-4a22-4a9a-8852-c79845d9d93f", "EventThemes": [ { "Guid": "23dbb6a9-e157-42b8-8c31-d9bcf7c12b03", "Name": "sample string 2" }, { "Guid": "23dbb6a9-e157-42b8-8c31-d9bcf7c12b03", "Name": "sample string 2" } ], "ContributionGuid": "853930b3-5d78-4591-8a1d-1bd906b56a69", "Guid": "e6c8b117-d110-48a8-83f9-72e33a083f64", "Created": "2023-11-21T09:14:16.2530484+00:00", "Modified": "2023-11-21T09:14:16.2530484+00:00", "Deleted": "2023-11-21T09:14:16.2530484+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":"8428c80b-e217-4268-a709-8a8bd1246be3","EventLocationGuid":"789dc80e-4a9c-444c-8d1d-7518141475a4","ParentGuid":"886739f3-4a22-4a9a-8852-c79845d9d93f","EventThemes":[{"Guid":"23dbb6a9-e157-42b8-8c31-d9bcf7c12b03","Name":"sample string 2"},{"Guid":"23dbb6a9-e157-42b8-8c31-d9bcf7c12b03","Name":"sample string 2"}],"ContributionGuid":"853930b3-5d78-4591-8a1d-1bd906b56a69","Guid":"e6c8b117-d110-48a8-83f9-72e33a083f64","Created":"2023-11-21T09:14:16.2530484+00:00","Modified":"2023-11-21T09:14:16.2530484+00:00","Deleted":"2023-11-21T09:14:16.2530484+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">2023-11-21T09:14:16.2530484+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-21T09:14:16.2530484+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">e6c8b117-d110-48a8-83f9-72e33a083f64</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-21T09:14:16.2530484+00:00</Modified> <ContributionGuid>853930b3-5d78-4591-8a1d-1bd906b56a69</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>8428c80b-e217-4268-a709-8a8bd1246be3</EventGuid> <EventLocationGuid>789dc80e-4a9c-444c-8d1d-7518141475a4</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>23dbb6a9-e157-42b8-8c31-d9bcf7c12b03</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>23dbb6a9-e157-42b8-8c31-d9bcf7c12b03</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>886739f3-4a22-4a9a-8852-c79845d9d93f</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>