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.

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.

Created

date

None.

Modified

date

None.

Deleted

date

None.

ErrorMessages

Dictionary of string [key] and string [value]

None.

IsValid

boolean

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,
  "EventGuid": "66060963-3c74-4417-aee3-646a8d1d6eef",
  "EventLocationGuid": "60a29727-ce01-4f9b-882c-fc0c62b7c899",
  "ParentGuid": "668e0879-0b0c-458e-ac3a-8c0bce649a0e",
  "EventThemes": [
    {
      "Guid": "57a02060-6b3b-4da9-a523-024ca68d871a",
      "Name": "sample string 2"
    },
    {
      "Guid": "57a02060-6b3b-4da9-a523-024ca68d871a",
      "Name": "sample string 2"
    }
  ],
  "ContributionGuid": "5f0ace9c-8d37-48e4-9628-ef4b086cd745",
  "Guid": "36c49d45-cf1f-47a5-af2f-ea7e4b6f78c0",
  "Created": "2019-10-18T15:24:57.2095828+00:00",
  "Modified": "2019-10-18T15:24:57.2095828+00:00",
  "Deleted": "2019-10-18T15:24:57.2095828+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,"EventGuid":"66060963-3c74-4417-aee3-646a8d1d6eef","EventLocationGuid":"60a29727-ce01-4f9b-882c-fc0c62b7c899","ParentGuid":"668e0879-0b0c-458e-ac3a-8c0bce649a0e","EventThemes":[{"Guid":"57a02060-6b3b-4da9-a523-024ca68d871a","Name":"sample string 2"},{"Guid":"57a02060-6b3b-4da9-a523-024ca68d871a","Name":"sample string 2"}],"ContributionGuid":"5f0ace9c-8d37-48e4-9628-ef4b086cd745","Guid":"36c49d45-cf1f-47a5-af2f-ea7e4b6f78c0","Created":"2019-10-18T15:24:57.2095828+00:00","Modified":"2019-10-18T15:24:57.2095828+00:00","Deleted":"2019-10-18T15:24:57.2095828+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">2019-10-18T15:24:57.2095828+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:24:57.2095828+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">36c49d45-cf1f-47a5-af2f-ea7e4b6f78c0</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:24:57.2095828+00:00</Modified>
  <ContributionGuid>5f0ace9c-8d37-48e4-9628-ef4b086cd745</ContributionGuid>
  <Description>sample string 2</Description>
  <EventGuid>66060963-3c74-4417-aee3-646a8d1d6eef</EventGuid>
  <EventLocationGuid>60a29727-ce01-4f9b-882c-fc0c62b7c899</EventLocationGuid>
  <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>57a02060-6b3b-4da9-a523-024ca68d871a</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>57a02060-6b3b-4da9-a523-024ca68d871a</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>668e0879-0b0c-458e-ac3a-8c0bce649a0e</ParentGuid>
  <SessionNumber>sample string 8</SessionNumber>
  <Url>sample string 6</Url>
</ActivityViewModel>