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": "5fe80dff-c41d-48dd-bbea-625e0731c702", "EventLocationGuid": "1f962cc6-a7a2-4922-83f5-e646659d94ff", "ParentGuid": "5a1b77b3-4d48-41e3-b7d1-9e8ae595ace2", "EventThemes": [ { "Guid": "ac649cb7-f271-47fc-9280-fcc7bbb515d7", "Name": "sample string 2" }, { "Guid": "ac649cb7-f271-47fc-9280-fcc7bbb515d7", "Name": "sample string 2" } ], "ContributionGuid": "bc790c48-6c17-4e5a-b657-98de63addd82", "Guid": "cf169232-1758-4158-b924-598a1f09d810", "Created": "2025-01-17T11:46:41.3579832+00:00", "Modified": "2025-01-17T11:46:41.3579832+00:00", "Deleted": "2025-01-17T11:46:41.3579832+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":"5fe80dff-c41d-48dd-bbea-625e0731c702","EventLocationGuid":"1f962cc6-a7a2-4922-83f5-e646659d94ff","ParentGuid":"5a1b77b3-4d48-41e3-b7d1-9e8ae595ace2","EventThemes":[{"Guid":"ac649cb7-f271-47fc-9280-fcc7bbb515d7","Name":"sample string 2"},{"Guid":"ac649cb7-f271-47fc-9280-fcc7bbb515d7","Name":"sample string 2"}],"ContributionGuid":"bc790c48-6c17-4e5a-b657-98de63addd82","Guid":"cf169232-1758-4158-b924-598a1f09d810","Created":"2025-01-17T11:46:41.3579832+00:00","Modified":"2025-01-17T11:46:41.3579832+00:00","Deleted":"2025-01-17T11:46:41.3579832+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-01-17T11:46:41.3579832+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-01-17T11:46:41.3579832+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">cf169232-1758-4158-b924-598a1f09d810</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-01-17T11:46:41.3579832+00:00</Modified> <ContributionGuid>bc790c48-6c17-4e5a-b657-98de63addd82</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>5fe80dff-c41d-48dd-bbea-625e0731c702</EventGuid> <EventLocationGuid>1f962cc6-a7a2-4922-83f5-e646659d94ff</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>ac649cb7-f271-47fc-9280-fcc7bbb515d7</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>ac649cb7-f271-47fc-9280-fcc7bbb515d7</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>5a1b77b3-4d48-41e3-b7d1-9e8ae595ace2</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": "5d4d4a88-b590-4176-b383-8c863373d82a", "EventLocationGuid": "3ce69ea7-bebb-4a26-941e-983f6cd1baef", "ParentGuid": "041938e6-ff9c-408f-a978-002251182573", "EventThemes": [ { "Guid": "fa46151d-424c-4409-8ad9-cc2f85104817", "Name": "sample string 2" }, { "Guid": "fa46151d-424c-4409-8ad9-cc2f85104817", "Name": "sample string 2" } ], "ContributionGuid": "a989d477-e1cc-4c2e-84cc-296074baabc5", "Guid": "223fcd79-0aaf-4410-948b-8ad90c7e002a", "Created": "2025-01-17T11:46:41.3736072+00:00", "Modified": "2025-01-17T11:46:41.3736072+00:00", "Deleted": "2025-01-17T11:46:41.3736072+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":"5d4d4a88-b590-4176-b383-8c863373d82a","EventLocationGuid":"3ce69ea7-bebb-4a26-941e-983f6cd1baef","ParentGuid":"041938e6-ff9c-408f-a978-002251182573","EventThemes":[{"Guid":"fa46151d-424c-4409-8ad9-cc2f85104817","Name":"sample string 2"},{"Guid":"fa46151d-424c-4409-8ad9-cc2f85104817","Name":"sample string 2"}],"ContributionGuid":"a989d477-e1cc-4c2e-84cc-296074baabc5","Guid":"223fcd79-0aaf-4410-948b-8ad90c7e002a","Created":"2025-01-17T11:46:41.3736072+00:00","Modified":"2025-01-17T11:46:41.3736072+00:00","Deleted":"2025-01-17T11:46:41.3736072+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-01-17T11:46:41.3736072+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-01-17T11:46:41.3736072+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">223fcd79-0aaf-4410-948b-8ad90c7e002a</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-01-17T11:46:41.3736072+00:00</Modified> <ContributionGuid>a989d477-e1cc-4c2e-84cc-296074baabc5</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>5d4d4a88-b590-4176-b383-8c863373d82a</EventGuid> <EventLocationGuid>3ce69ea7-bebb-4a26-941e-983f6cd1baef</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>fa46151d-424c-4409-8ad9-cc2f85104817</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>fa46151d-424c-4409-8ad9-cc2f85104817</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>041938e6-ff9c-408f-a978-002251182573</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>