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": "8ab43900-e6bd-474f-a88c-e79793e37015", "EventLocationGuid": "79638f2c-c808-4ecd-a02b-51a963d8a8ce", "ParentGuid": "f3849769-9d70-4667-b92b-135d1b93288a", "EventThemes": [ { "Guid": "5cf1b637-8547-4da6-a512-bc8756cd56ac", "Name": "sample string 2" }, { "Guid": "5cf1b637-8547-4da6-a512-bc8756cd56ac", "Name": "sample string 2" } ], "ContributionGuid": "3c0a2d61-b932-4079-9525-abfba81e3cf5", "Guid": "e34924a3-51a8-4ef6-88c2-598ce4ee2eac", "Created": "2023-03-22T13:51:47.7009659+00:00", "Modified": "2023-03-22T13:51:47.7009659+00:00", "Deleted": "2023-03-22T13:51:47.7009659+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":"8ab43900-e6bd-474f-a88c-e79793e37015","EventLocationGuid":"79638f2c-c808-4ecd-a02b-51a963d8a8ce","ParentGuid":"f3849769-9d70-4667-b92b-135d1b93288a","EventThemes":[{"Guid":"5cf1b637-8547-4da6-a512-bc8756cd56ac","Name":"sample string 2"},{"Guid":"5cf1b637-8547-4da6-a512-bc8756cd56ac","Name":"sample string 2"}],"ContributionGuid":"3c0a2d61-b932-4079-9525-abfba81e3cf5","Guid":"e34924a3-51a8-4ef6-88c2-598ce4ee2eac","Created":"2023-03-22T13:51:47.7009659+00:00","Modified":"2023-03-22T13:51:47.7009659+00:00","Deleted":"2023-03-22T13:51:47.7009659+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-03-22T13:51:47.7009659+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T13:51:47.7009659+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">e34924a3-51a8-4ef6-88c2-598ce4ee2eac</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T13:51:47.7009659+00:00</Modified> <ContributionGuid>3c0a2d61-b932-4079-9525-abfba81e3cf5</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>8ab43900-e6bd-474f-a88c-e79793e37015</EventGuid> <EventLocationGuid>79638f2c-c808-4ecd-a02b-51a963d8a8ce</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>5cf1b637-8547-4da6-a512-bc8756cd56ac</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>5cf1b637-8547-4da6-a512-bc8756cd56ac</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>f3849769-9d70-4667-b92b-135d1b93288a</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": "4aa1e1f1-4000-44df-80b0-4f069c1b8f2c", "EventLocationGuid": "05c6a3ce-0b14-462d-a6cf-b5e330018bac", "ParentGuid": "7ade0f52-1979-4405-ba61-f7b0814798b1", "EventThemes": [ { "Guid": "194f42d0-80ab-4afc-a4bb-11b94d6a9646", "Name": "sample string 2" }, { "Guid": "194f42d0-80ab-4afc-a4bb-11b94d6a9646", "Name": "sample string 2" } ], "ContributionGuid": "30c987f9-2c5b-4319-b805-9edabb01355a", "Guid": "96f5fd58-6911-49a0-8f0d-57da3cd7a411", "Created": "2023-03-22T13:51:47.716515+00:00", "Modified": "2023-03-22T13:51:47.716515+00:00", "Deleted": "2023-03-22T13:51:47.716515+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":"4aa1e1f1-4000-44df-80b0-4f069c1b8f2c","EventLocationGuid":"05c6a3ce-0b14-462d-a6cf-b5e330018bac","ParentGuid":"7ade0f52-1979-4405-ba61-f7b0814798b1","EventThemes":[{"Guid":"194f42d0-80ab-4afc-a4bb-11b94d6a9646","Name":"sample string 2"},{"Guid":"194f42d0-80ab-4afc-a4bb-11b94d6a9646","Name":"sample string 2"}],"ContributionGuid":"30c987f9-2c5b-4319-b805-9edabb01355a","Guid":"96f5fd58-6911-49a0-8f0d-57da3cd7a411","Created":"2023-03-22T13:51:47.716515+00:00","Modified":"2023-03-22T13:51:47.716515+00:00","Deleted":"2023-03-22T13:51:47.716515+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-03-22T13:51:47.716515+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T13:51:47.716515+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">96f5fd58-6911-49a0-8f0d-57da3cd7a411</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T13:51:47.716515+00:00</Modified> <ContributionGuid>30c987f9-2c5b-4319-b805-9edabb01355a</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>4aa1e1f1-4000-44df-80b0-4f069c1b8f2c</EventGuid> <EventLocationGuid>05c6a3ce-0b14-462d-a6cf-b5e330018bac</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>194f42d0-80ab-4afc-a4bb-11b94d6a9646</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>194f42d0-80ab-4afc-a4bb-11b94d6a9646</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>7ade0f52-1979-4405-ba61-f7b0814798b1</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>