POST 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": "ad791b5a-2bc2-4033-b949-d5cc03952ba0", "EventLocationGuid": "4f61c2de-568d-4b1b-8ba1-3a4a7da322da", "ParentGuid": "bd8a30c1-b08c-4fbe-b0eb-02d45f2ae9a7", "EventThemes": [ { "Guid": "74bb97d2-10f0-493b-998a-12acef4bc6a0", "Name": "sample string 2" }, { "Guid": "74bb97d2-10f0-493b-998a-12acef4bc6a0", "Name": "sample string 2" } ], "ContributionGuid": "30ba6731-70c4-45a0-b9b5-83e2b0db275d", "Guid": "cff332f3-7b8f-4073-b888-538d5b600de6", "Created": "2024-10-04T07:36:20.290301+00:00", "Modified": "2024-10-04T07:36:20.290301+00:00", "Deleted": "2024-10-04T07:36:20.290301+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":"ad791b5a-2bc2-4033-b949-d5cc03952ba0","EventLocationGuid":"4f61c2de-568d-4b1b-8ba1-3a4a7da322da","ParentGuid":"bd8a30c1-b08c-4fbe-b0eb-02d45f2ae9a7","EventThemes":[{"Guid":"74bb97d2-10f0-493b-998a-12acef4bc6a0","Name":"sample string 2"},{"Guid":"74bb97d2-10f0-493b-998a-12acef4bc6a0","Name":"sample string 2"}],"ContributionGuid":"30ba6731-70c4-45a0-b9b5-83e2b0db275d","Guid":"cff332f3-7b8f-4073-b888-538d5b600de6","Created":"2024-10-04T07:36:20.290301+00:00","Modified":"2024-10-04T07:36:20.290301+00:00","Deleted":"2024-10-04T07:36:20.290301+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-10-04T07:36:20.290301+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:36:20.290301+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">cff332f3-7b8f-4073-b888-538d5b600de6</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:36:20.290301+00:00</Modified> <ContributionGuid>30ba6731-70c4-45a0-b9b5-83e2b0db275d</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>ad791b5a-2bc2-4033-b949-d5cc03952ba0</EventGuid> <EventLocationGuid>4f61c2de-568d-4b1b-8ba1-3a4a7da322da</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>74bb97d2-10f0-493b-998a-12acef4bc6a0</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>74bb97d2-10f0-493b-998a-12acef4bc6a0</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>bd8a30c1-b08c-4fbe-b0eb-02d45f2ae9a7</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": "dab3918b-e8df-40c6-ba26-9fbf1b4e4da0", "EventLocationGuid": "aef3285b-1c54-4828-9e44-b4d0341ee3cf", "ParentGuid": "4b87cf51-ce32-4d1e-8060-3b35c5ded100", "EventThemes": [ { "Guid": "75ae5910-8040-4a9c-a0cc-3b996d899830", "Name": "sample string 2" }, { "Guid": "75ae5910-8040-4a9c-a0cc-3b996d899830", "Name": "sample string 2" } ], "ContributionGuid": "317826ed-b176-450c-b984-1075fe53eba5", "Guid": "129af4ec-3f50-46ba-b762-2d1c46626d8d", "Created": "2024-10-04T07:36:20.290301+00:00", "Modified": "2024-10-04T07:36:20.290301+00:00", "Deleted": "2024-10-04T07:36:20.290301+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":"dab3918b-e8df-40c6-ba26-9fbf1b4e4da0","EventLocationGuid":"aef3285b-1c54-4828-9e44-b4d0341ee3cf","ParentGuid":"4b87cf51-ce32-4d1e-8060-3b35c5ded100","EventThemes":[{"Guid":"75ae5910-8040-4a9c-a0cc-3b996d899830","Name":"sample string 2"},{"Guid":"75ae5910-8040-4a9c-a0cc-3b996d899830","Name":"sample string 2"}],"ContributionGuid":"317826ed-b176-450c-b984-1075fe53eba5","Guid":"129af4ec-3f50-46ba-b762-2d1c46626d8d","Created":"2024-10-04T07:36:20.290301+00:00","Modified":"2024-10-04T07:36:20.290301+00:00","Deleted":"2024-10-04T07:36:20.290301+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-10-04T07:36:20.290301+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:36:20.290301+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">129af4ec-3f50-46ba-b762-2d1c46626d8d</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:36:20.290301+00:00</Modified> <ContributionGuid>317826ed-b176-450c-b984-1075fe53eba5</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>dab3918b-e8df-40c6-ba26-9fbf1b4e4da0</EventGuid> <EventLocationGuid>aef3285b-1c54-4828-9e44-b4d0341ee3cf</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>75ae5910-8040-4a9c-a0cc-3b996d899830</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>75ae5910-8040-4a9c-a0cc-3b996d899830</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>4b87cf51-ce32-4d1e-8060-3b35c5ded100</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>