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": "e95dfe09-17a9-4315-8e77-e5e4e7f61330", "EventLocationGuid": "a0ed5b8f-d0f0-4a1b-8d8a-cd873f631aed", "ParentGuid": "b9ad4302-ddb3-420e-a31c-1bcae6de9caf", "EventThemes": [ { "Guid": "c0c5b921-56ff-4601-beba-0da9173dedc4", "Name": "sample string 2" }, { "Guid": "c0c5b921-56ff-4601-beba-0da9173dedc4", "Name": "sample string 2" } ], "ContributionGuid": "b6867a6d-82d8-418e-94d1-7f910d39a8bb", "Guid": "0e6b4d11-2097-49fe-82e3-90a8a6c24521", "Created": "2023-11-22T11:05:38.4344016+00:00", "Modified": "2023-11-22T11:05:38.4344016+00:00", "Deleted": "2023-11-22T11:05:38.4344016+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":"e95dfe09-17a9-4315-8e77-e5e4e7f61330","EventLocationGuid":"a0ed5b8f-d0f0-4a1b-8d8a-cd873f631aed","ParentGuid":"b9ad4302-ddb3-420e-a31c-1bcae6de9caf","EventThemes":[{"Guid":"c0c5b921-56ff-4601-beba-0da9173dedc4","Name":"sample string 2"},{"Guid":"c0c5b921-56ff-4601-beba-0da9173dedc4","Name":"sample string 2"}],"ContributionGuid":"b6867a6d-82d8-418e-94d1-7f910d39a8bb","Guid":"0e6b4d11-2097-49fe-82e3-90a8a6c24521","Created":"2023-11-22T11:05:38.4344016+00:00","Modified":"2023-11-22T11:05:38.4344016+00:00","Deleted":"2023-11-22T11:05:38.4344016+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-11-22T11:05:38.4344016+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:38.4344016+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">0e6b4d11-2097-49fe-82e3-90a8a6c24521</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:38.4344016+00:00</Modified> <ContributionGuid>b6867a6d-82d8-418e-94d1-7f910d39a8bb</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>e95dfe09-17a9-4315-8e77-e5e4e7f61330</EventGuid> <EventLocationGuid>a0ed5b8f-d0f0-4a1b-8d8a-cd873f631aed</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>c0c5b921-56ff-4601-beba-0da9173dedc4</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>c0c5b921-56ff-4601-beba-0da9173dedc4</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>b9ad4302-ddb3-420e-a31c-1bcae6de9caf</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": "db2d249a-262e-4c81-b192-e04ad443372e", "EventLocationGuid": "27d5ec9f-6c39-4ce5-91c6-9d23467b482f", "ParentGuid": "1c42358b-0c51-4197-a098-d5b055425541", "EventThemes": [ { "Guid": "ce657bce-05a2-4429-93f3-b33429ec5430", "Name": "sample string 2" }, { "Guid": "ce657bce-05a2-4429-93f3-b33429ec5430", "Name": "sample string 2" } ], "ContributionGuid": "0de29349-9e01-4644-88aa-57b30b8e45f6", "Guid": "04335a9f-089c-42d7-902d-4efbaccba03b", "Created": "2023-11-22T11:05:38.4344016+00:00", "Modified": "2023-11-22T11:05:38.4344016+00:00", "Deleted": "2023-11-22T11:05:38.4344016+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":"db2d249a-262e-4c81-b192-e04ad443372e","EventLocationGuid":"27d5ec9f-6c39-4ce5-91c6-9d23467b482f","ParentGuid":"1c42358b-0c51-4197-a098-d5b055425541","EventThemes":[{"Guid":"ce657bce-05a2-4429-93f3-b33429ec5430","Name":"sample string 2"},{"Guid":"ce657bce-05a2-4429-93f3-b33429ec5430","Name":"sample string 2"}],"ContributionGuid":"0de29349-9e01-4644-88aa-57b30b8e45f6","Guid":"04335a9f-089c-42d7-902d-4efbaccba03b","Created":"2023-11-22T11:05:38.4344016+00:00","Modified":"2023-11-22T11:05:38.4344016+00:00","Deleted":"2023-11-22T11:05:38.4344016+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-11-22T11:05:38.4344016+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:38.4344016+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">04335a9f-089c-42d7-902d-4efbaccba03b</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:38.4344016+00:00</Modified> <ContributionGuid>0de29349-9e01-4644-88aa-57b30b8e45f6</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>db2d249a-262e-4c81-b192-e04ad443372e</EventGuid> <EventLocationGuid>27d5ec9f-6c39-4ce5-91c6-9d23467b482f</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>ce657bce-05a2-4429-93f3-b33429ec5430</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>ce657bce-05a2-4429-93f3-b33429ec5430</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>1c42358b-0c51-4197-a098-d5b055425541</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>