DELETE 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": "29092fb0-4782-4f03-ac9b-f2e8bacba4f9",
  "EventLocationGuid": "6cae7494-fde6-4bb8-94e9-696ac12d5fd7",
  "ParentGuid": "8e20be86-a17b-44c6-a5e3-d29076abde90",
  "EventThemes": [
    {
      "Guid": "6337a5f2-d2ba-458a-bc2c-a45ee4708b9b",
      "Name": "sample string 2"
    },
    {
      "Guid": "6337a5f2-d2ba-458a-bc2c-a45ee4708b9b",
      "Name": "sample string 2"
    }
  ],
  "ContributionGuid": "5ff19f03-3324-4187-b7e5-a796075110a4",
  "Guid": "a209e2da-9874-4152-b5d3-391c73d02dab",
  "Created": "2024-11-19T16:06:38.7201925+00:00",
  "Modified": "2024-11-19T16:06:38.7201925+00:00",
  "Deleted": "2024-11-19T16:06:38.7201925+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":"29092fb0-4782-4f03-ac9b-f2e8bacba4f9","EventLocationGuid":"6cae7494-fde6-4bb8-94e9-696ac12d5fd7","ParentGuid":"8e20be86-a17b-44c6-a5e3-d29076abde90","EventThemes":[{"Guid":"6337a5f2-d2ba-458a-bc2c-a45ee4708b9b","Name":"sample string 2"},{"Guid":"6337a5f2-d2ba-458a-bc2c-a45ee4708b9b","Name":"sample string 2"}],"ContributionGuid":"5ff19f03-3324-4187-b7e5-a796075110a4","Guid":"a209e2da-9874-4152-b5d3-391c73d02dab","Created":"2024-11-19T16:06:38.7201925+00:00","Modified":"2024-11-19T16:06:38.7201925+00:00","Deleted":"2024-11-19T16:06:38.7201925+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-19T16:06:38.7201925+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-19T16:06:38.7201925+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">a209e2da-9874-4152-b5d3-391c73d02dab</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-19T16:06:38.7201925+00:00</Modified>
  <ContributionGuid>5ff19f03-3324-4187-b7e5-a796075110a4</ContributionGuid>
  <Description>sample string 2</Description>
  <DisplayTypeId>64</DisplayTypeId>
  <EventGuid>29092fb0-4782-4f03-ac9b-f2e8bacba4f9</EventGuid>
  <EventLocationGuid>6cae7494-fde6-4bb8-94e9-696ac12d5fd7</EventLocationGuid>
  <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>6337a5f2-d2ba-458a-bc2c-a45ee4708b9b</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>6337a5f2-d2ba-458a-bc2c-a45ee4708b9b</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>8e20be86-a17b-44c6-a5e3-d29076abde90</ParentGuid>
  <SessionNumber>sample string 8</SessionNumber>
  <Url>sample string 6</Url>
</ActivityViewModel>