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": "45eb83dd-798c-4be9-977e-a3eb5cb01f39", "EventLocationGuid": "2531ec88-9de6-4489-875d-6484adf9d0f5", "ParentGuid": "b2cbe2c4-38b6-4326-b040-ddad816e7076", "EventThemes": [ { "Guid": "686f22fa-a2b8-4917-a91b-aa126ac3d5a1", "Name": "sample string 2" }, { "Guid": "686f22fa-a2b8-4917-a91b-aa126ac3d5a1", "Name": "sample string 2" } ], "ContributionGuid": "3c707b7b-5e20-4d4f-bdc9-25af49c50a21", "Guid": "f73ce890-274d-414f-baea-4e3379f9e73f", "Created": "2024-11-20T12:59:05.163858+00:00", "Modified": "2024-11-20T12:59:05.163858+00:00", "Deleted": "2024-11-20T12:59:05.163858+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":"45eb83dd-798c-4be9-977e-a3eb5cb01f39","EventLocationGuid":"2531ec88-9de6-4489-875d-6484adf9d0f5","ParentGuid":"b2cbe2c4-38b6-4326-b040-ddad816e7076","EventThemes":[{"Guid":"686f22fa-a2b8-4917-a91b-aa126ac3d5a1","Name":"sample string 2"},{"Guid":"686f22fa-a2b8-4917-a91b-aa126ac3d5a1","Name":"sample string 2"}],"ContributionGuid":"3c707b7b-5e20-4d4f-bdc9-25af49c50a21","Guid":"f73ce890-274d-414f-baea-4e3379f9e73f","Created":"2024-11-20T12:59:05.163858+00:00","Modified":"2024-11-20T12:59:05.163858+00:00","Deleted":"2024-11-20T12:59:05.163858+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-20T12:59:05.163858+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T12:59:05.163858+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">f73ce890-274d-414f-baea-4e3379f9e73f</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T12:59:05.163858+00:00</Modified> <ContributionGuid>3c707b7b-5e20-4d4f-bdc9-25af49c50a21</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>45eb83dd-798c-4be9-977e-a3eb5cb01f39</EventGuid> <EventLocationGuid>2531ec88-9de6-4489-875d-6484adf9d0f5</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>686f22fa-a2b8-4917-a91b-aa126ac3d5a1</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>686f22fa-a2b8-4917-a91b-aa126ac3d5a1</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>b2cbe2c4-38b6-4326-b040-ddad816e7076</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": "db51c713-5b44-43af-9bfe-edab60aec776", "EventLocationGuid": "1eb53c20-b1e4-485e-a9b4-b268b434a406", "ParentGuid": "8700defe-7ff1-47eb-b805-2c32441620ec", "EventThemes": [ { "Guid": "ade063be-d0b2-4369-890c-2a9013a2830d", "Name": "sample string 2" }, { "Guid": "ade063be-d0b2-4369-890c-2a9013a2830d", "Name": "sample string 2" } ], "ContributionGuid": "67d3d807-7763-4626-964d-450f7d23efe3", "Guid": "1e42a85c-f7f8-49c6-b553-c0cf9de44030", "Created": "2024-11-20T12:59:05.163858+00:00", "Modified": "2024-11-20T12:59:05.163858+00:00", "Deleted": "2024-11-20T12:59:05.163858+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":"db51c713-5b44-43af-9bfe-edab60aec776","EventLocationGuid":"1eb53c20-b1e4-485e-a9b4-b268b434a406","ParentGuid":"8700defe-7ff1-47eb-b805-2c32441620ec","EventThemes":[{"Guid":"ade063be-d0b2-4369-890c-2a9013a2830d","Name":"sample string 2"},{"Guid":"ade063be-d0b2-4369-890c-2a9013a2830d","Name":"sample string 2"}],"ContributionGuid":"67d3d807-7763-4626-964d-450f7d23efe3","Guid":"1e42a85c-f7f8-49c6-b553-c0cf9de44030","Created":"2024-11-20T12:59:05.163858+00:00","Modified":"2024-11-20T12:59:05.163858+00:00","Deleted":"2024-11-20T12:59:05.163858+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-20T12:59:05.163858+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T12:59:05.163858+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">1e42a85c-f7f8-49c6-b553-c0cf9de44030</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T12:59:05.163858+00:00</Modified> <ContributionGuid>67d3d807-7763-4626-964d-450f7d23efe3</ContributionGuid> <Description>sample string 2</Description> <DisplayTypeId>64</DisplayTypeId> <EventGuid>db51c713-5b44-43af-9bfe-edab60aec776</EventGuid> <EventLocationGuid>1eb53c20-b1e4-485e-a9b4-b268b434a406</EventLocationGuid> <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common"> <d2p1:GuidName> <d2p1:Guid>ade063be-d0b2-4369-890c-2a9013a2830d</d2p1:Guid> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:GuidName> <d2p1:GuidName> <d2p1:Guid>ade063be-d0b2-4369-890c-2a9013a2830d</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>8700defe-7ff1-47eb-b805-2c32441620ec</ParentGuid> <SessionNumber>sample string 8</SessionNumber> <Url>sample string 6</Url> </ActivityViewModel>