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": "5562ad17-2d37-469e-a969-461052f44530", "EventLocationGuid": "51bab5a7-aac7-45a0-9237-fb18b7b696b8", "ParentGuid": "be8eaeca-67c1-47e6-ac8a-8d6f5426e4b4", "EventThemes": [ { "Guid": "2d8df6d7-e6d4-446f-9cb5-ec753fe58a68", "Name": "sample string 2" }, { "Guid": "2d8df6d7-e6d4-446f-9cb5-ec753fe58a68", "Name": "sample string 2" } ], "ContributionGuid": "c7ca2b8d-fb06-4d15-9245-9d28d247594b", "Guid": "448913d4-cec7-4bcb-ac0a-d8bd5df024f3", "Created": "2024-11-21T06:26:13.1927408+00:00", "Modified": "2024-11-21T06:26:13.1927408+00:00", "Deleted": "2024-11-21T06:26:13.1927408+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":"5562ad17-2d37-469e-a969-461052f44530","EventLocationGuid":"51bab5a7-aac7-45a0-9237-fb18b7b696b8","ParentGuid":"be8eaeca-67c1-47e6-ac8a-8d6f5426e4b4","EventThemes":[{"Guid":"2d8df6d7-e6d4-446f-9cb5-ec753fe58a68","Name":"sample string 2"},{"Guid":"2d8df6d7-e6d4-446f-9cb5-ec753fe58a68","Name":"sample string 2"}],"ContributionGuid":"c7ca2b8d-fb06-4d15-9245-9d28d247594b","Guid":"448913d4-cec7-4bcb-ac0a-d8bd5df024f3","Created":"2024-11-21T06:26:13.1927408+00:00","Modified":"2024-11-21T06:26:13.1927408+00:00","Deleted":"2024-11-21T06:26:13.1927408+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">2024-11-21T06:26:13.1927408+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:26:13.1927408+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">448913d4-cec7-4bcb-ac0a-d8bd5df024f3</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:26:13.1927408+00:00</Modified> <ContributionGuid>c7ca2b8d-fb06-4d15-9245-9d28d247594b</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>5562ad17-2d37-469e-a969-461052f44530</EventGuid> <EventLocationGuid>51bab5a7-aac7-45a0-9237-fb18b7b696b8</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>2d8df6d7-e6d4-446f-9cb5-ec753fe58a68</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>2d8df6d7-e6d4-446f-9cb5-ec753fe58a68</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>be8eaeca-67c1-47e6-ac8a-8d6f5426e4b4</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": "24e8f2ec-a957-48e5-a386-42819d8f0a07", "EventLocationGuid": "f4a831a8-5be1-4504-9d06-4eb8679538f6", "ParentGuid": "e1f6f9cf-0400-4769-bce1-1b4664dbddf1", "EventThemes": [ { "Guid": "dbb17b97-e8d3-4186-82fc-1e9372bdb0bc", "Name": "sample string 2" }, { "Guid": "dbb17b97-e8d3-4186-82fc-1e9372bdb0bc", "Name": "sample string 2" } ], "ContributionGuid": "84d42619-4418-45c7-9efb-516a0cdd10d0", "Guid": "a4da5332-59a7-43e5-b55c-d6e4dd0596d5", "Created": "2024-11-21T06:26:13.1927408+00:00", "Modified": "2024-11-21T06:26:13.1927408+00:00", "Deleted": "2024-11-21T06:26:13.1927408+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":"24e8f2ec-a957-48e5-a386-42819d8f0a07","EventLocationGuid":"f4a831a8-5be1-4504-9d06-4eb8679538f6","ParentGuid":"e1f6f9cf-0400-4769-bce1-1b4664dbddf1","EventThemes":[{"Guid":"dbb17b97-e8d3-4186-82fc-1e9372bdb0bc","Name":"sample string 2"},{"Guid":"dbb17b97-e8d3-4186-82fc-1e9372bdb0bc","Name":"sample string 2"}],"ContributionGuid":"84d42619-4418-45c7-9efb-516a0cdd10d0","Guid":"a4da5332-59a7-43e5-b55c-d6e4dd0596d5","Created":"2024-11-21T06:26:13.1927408+00:00","Modified":"2024-11-21T06:26:13.1927408+00:00","Deleted":"2024-11-21T06:26:13.1927408+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">2024-11-21T06:26:13.1927408+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:26:13.1927408+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">a4da5332-59a7-43e5-b55c-d6e4dd0596d5</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:26:13.1927408+00:00</Modified> <ContributionGuid>84d42619-4418-45c7-9efb-516a0cdd10d0</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>24e8f2ec-a957-48e5-a386-42819d8f0a07</EventGuid> <EventLocationGuid>f4a831a8-5be1-4504-9d06-4eb8679538f6</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>dbb17b97-e8d3-4186-82fc-1e9372bdb0bc</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>dbb17b97-e8d3-4186-82fc-1e9372bdb0bc</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>e1f6f9cf-0400-4769-bce1-1b4664dbddf1</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>