GET v1/Activity/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ActivityViewModel
NameDescriptionTypeAdditional 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": "c39f326a-81a1-4fed-9352-0a7391383f72",
  "EventLocationGuid": "f150feee-474a-4361-8fc7-b6e07df2ae51",
  "ParentGuid": "4ba605d3-65fa-4f42-b183-3c3e98820d7f",
  "EventThemes": [
    {
      "Guid": "e4ef2be6-0f9e-4405-911c-29d7f8687fa2",
      "Name": "sample string 2"
    },
    {
      "Guid": "e4ef2be6-0f9e-4405-911c-29d7f8687fa2",
      "Name": "sample string 2"
    }
  ],
  "ContributionGuid": "67e6b4f8-f460-4fae-af55-7deda1d44f8a",
  "Guid": "59ab566d-4b60-4619-bd61-1a4c0c825330",
  "Created": "2024-10-04T07:37:07.7031571+00:00",
  "Modified": "2024-10-04T07:37:07.7031571+00:00",
  "Deleted": "2024-10-04T07:37:07.7031571+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":"c39f326a-81a1-4fed-9352-0a7391383f72","EventLocationGuid":"f150feee-474a-4361-8fc7-b6e07df2ae51","ParentGuid":"4ba605d3-65fa-4f42-b183-3c3e98820d7f","EventThemes":[{"Guid":"e4ef2be6-0f9e-4405-911c-29d7f8687fa2","Name":"sample string 2"},{"Guid":"e4ef2be6-0f9e-4405-911c-29d7f8687fa2","Name":"sample string 2"}],"ContributionGuid":"67e6b4f8-f460-4fae-af55-7deda1d44f8a","Guid":"59ab566d-4b60-4619-bd61-1a4c0c825330","Created":"2024-10-04T07:37:07.7031571+00:00","Modified":"2024-10-04T07:37:07.7031571+00:00","Deleted":"2024-10-04T07:37:07.7031571+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:37:07.7031571+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:07.7031571+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">59ab566d-4b60-4619-bd61-1a4c0c825330</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:07.7031571+00:00</Modified>
  <ContributionGuid>67e6b4f8-f460-4fae-af55-7deda1d44f8a</ContributionGuid>
  <Description>sample string 2</Description>
  <DisplayTypeId>64</DisplayTypeId>
  <EventGuid>c39f326a-81a1-4fed-9352-0a7391383f72</EventGuid>
  <EventLocationGuid>f150feee-474a-4361-8fc7-b6e07df2ae51</EventLocationGuid>
  <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>e4ef2be6-0f9e-4405-911c-29d7f8687fa2</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>e4ef2be6-0f9e-4405-911c-29d7f8687fa2</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>4ba605d3-65fa-4f42-b183-3c3e98820d7f</ParentGuid>
  <SessionNumber>sample string 8</SessionNumber>
  <Url>sample string 6</Url>
</ActivityViewModel>