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": "52441fd5-cdfd-4b6f-8bdd-2d82b8a5cc58", "EventLocationGuid": "a8b6e439-84da-42a1-9cd2-e2bdfd825ce8", "ParentGuid": "f79cc2df-c5fe-4270-b222-85671c37eba7", "EventThemes": [ { "Guid": "0f2b33c1-848d-43f6-b373-73cffa70c7f9", "Name": "sample string 2" }, { "Guid": "0f2b33c1-848d-43f6-b373-73cffa70c7f9", "Name": "sample string 2" } ], "ContributionGuid": "863ef6af-df83-41c3-9536-95607665de7f", "Guid": "2b0cb8bc-f42a-4cc4-9736-85b624cacb5c", "Created": "2024-07-02T13:13:29.6063049+00:00", "Modified": "2024-07-02T13:13:29.6063049+00:00", "Deleted": "2024-07-02T13:13:29.6063049+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":"52441fd5-cdfd-4b6f-8bdd-2d82b8a5cc58","EventLocationGuid":"a8b6e439-84da-42a1-9cd2-e2bdfd825ce8","ParentGuid":"f79cc2df-c5fe-4270-b222-85671c37eba7","EventThemes":[{"Guid":"0f2b33c1-848d-43f6-b373-73cffa70c7f9","Name":"sample string 2"},{"Guid":"0f2b33c1-848d-43f6-b373-73cffa70c7f9","Name":"sample string 2"}],"ContributionGuid":"863ef6af-df83-41c3-9536-95607665de7f","Guid":"2b0cb8bc-f42a-4cc4-9736-85b624cacb5c","Created":"2024-07-02T13:13:29.6063049+00:00","Modified":"2024-07-02T13:13:29.6063049+00:00","Deleted":"2024-07-02T13:13:29.6063049+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-07-02T13:13:29.6063049+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:13:29.6063049+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2b0cb8bc-f42a-4cc4-9736-85b624cacb5c</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:13:29.6063049+00:00</Modified> <ContributionGuid>863ef6af-df83-41c3-9536-95607665de7f</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>52441fd5-cdfd-4b6f-8bdd-2d82b8a5cc58</EventGuid> <EventLocationGuid>a8b6e439-84da-42a1-9cd2-e2bdfd825ce8</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>0f2b33c1-848d-43f6-b373-73cffa70c7f9</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>0f2b33c1-848d-43f6-b373-73cffa70c7f9</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>f79cc2df-c5fe-4270-b222-85671c37eba7</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": "fe299980-2d5a-468c-9518-904c76555a1c", "EventLocationGuid": "61190f9e-09c7-427a-b2cf-55c26584c535", "ParentGuid": "785e3021-b3f0-4c80-9837-a3ff05b8c6a2", "EventThemes": [ { "Guid": "dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70", "Name": "sample string 2" }, { "Guid": "dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70", "Name": "sample string 2" } ], "ContributionGuid": "02841914-289c-4a7c-9e16-0a9550682890", "Guid": "7dc095af-6636-4cfc-9d2d-f05f253157c4", "Created": "2024-07-02T13:13:29.6219189+00:00", "Modified": "2024-07-02T13:13:29.6219189+00:00", "Deleted": "2024-07-02T13:13:29.6219189+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":"fe299980-2d5a-468c-9518-904c76555a1c","EventLocationGuid":"61190f9e-09c7-427a-b2cf-55c26584c535","ParentGuid":"785e3021-b3f0-4c80-9837-a3ff05b8c6a2","EventThemes":[{"Guid":"dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70","Name":"sample string 2"},{"Guid":"dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70","Name":"sample string 2"}],"ContributionGuid":"02841914-289c-4a7c-9e16-0a9550682890","Guid":"7dc095af-6636-4cfc-9d2d-f05f253157c4","Created":"2024-07-02T13:13:29.6219189+00:00","Modified":"2024-07-02T13:13:29.6219189+00:00","Deleted":"2024-07-02T13:13:29.6219189+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-07-02T13:13:29.6219189+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:13:29.6219189+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7dc095af-6636-4cfc-9d2d-f05f253157c4</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:13:29.6219189+00:00</Modified> <ContributionGuid>02841914-289c-4a7c-9e16-0a9550682890</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>fe299980-2d5a-468c-9518-904c76555a1c</EventGuid> <EventLocationGuid>61190f9e-09c7-427a-b2cf-55c26584c535</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>dd1e5b20-ab25-4560-97f4-f4cf4a7c9c70</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>785e3021-b3f0-4c80-9837-a3ff05b8c6a2</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>