PUT v1/Activity

Request Information

URI Parameters

None.

Body Parameters

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.

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": "1e0f2dd1-2f3a-4bfb-83b4-9a9cc6a309bb",
  "EventLocationGuid": "1ccc3f45-c860-4fbc-8866-85eb8fbe13b2",
  "ParentGuid": "9ba64416-838e-44e2-bcbf-e68137d828f9",
  "EventThemes": [
    {
      "Guid": "5d3e0239-cd06-462e-93ab-bac433fc781f",
      "Name": "sample string 2"
    },
    {
      "Guid": "5d3e0239-cd06-462e-93ab-bac433fc781f",
      "Name": "sample string 2"
    }
  ],
  "ContributionGuid": "09c6ff32-a59b-4c4d-a2f9-90d7e2b78e60",
  "Guid": "6f11e33b-abda-433a-895c-46736f48ebc4",
  "Created": "2024-10-04T07:38:11.834495+00:00",
  "Modified": "2024-10-04T07:38:11.834495+00:00",
  "Deleted": "2024-10-04T07:38:11.834495+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":"1e0f2dd1-2f3a-4bfb-83b4-9a9cc6a309bb","EventLocationGuid":"1ccc3f45-c860-4fbc-8866-85eb8fbe13b2","ParentGuid":"9ba64416-838e-44e2-bcbf-e68137d828f9","EventThemes":[{"Guid":"5d3e0239-cd06-462e-93ab-bac433fc781f","Name":"sample string 2"},{"Guid":"5d3e0239-cd06-462e-93ab-bac433fc781f","Name":"sample string 2"}],"ContributionGuid":"09c6ff32-a59b-4c4d-a2f9-90d7e2b78e60","Guid":"6f11e33b-abda-433a-895c-46736f48ebc4","Created":"2024-10-04T07:38:11.834495+00:00","Modified":"2024-10-04T07:38:11.834495+00:00","Deleted":"2024-10-04T07:38:11.834495+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:38:11.834495+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:38:11.834495+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">6f11e33b-abda-433a-895c-46736f48ebc4</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:38:11.834495+00:00</Modified>
  <ContributionGuid>09c6ff32-a59b-4c4d-a2f9-90d7e2b78e60</ContributionGuid>
  <Description>sample string 2</Description>
  <DisplayTypeId>64</DisplayTypeId>
  <EventGuid>1e0f2dd1-2f3a-4bfb-83b4-9a9cc6a309bb</EventGuid>
  <EventLocationGuid>1ccc3f45-c860-4fbc-8866-85eb8fbe13b2</EventLocationGuid>
  <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>5d3e0239-cd06-462e-93ab-bac433fc781f</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>5d3e0239-cd06-462e-93ab-bac433fc781f</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>9ba64416-838e-44e2-bcbf-e68137d828f9</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

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": "ada8d80e-1e7a-4248-a0b6-f3ce04de0757",
  "EventLocationGuid": "ae9fea51-c35d-4d6c-b171-efbd954a8712",
  "ParentGuid": "559089d8-7f3a-4ee0-8ba6-6b89e1b5c747",
  "EventThemes": [
    {
      "Guid": "44f3b083-dda3-402f-b54f-efc705681fb8",
      "Name": "sample string 2"
    },
    {
      "Guid": "44f3b083-dda3-402f-b54f-efc705681fb8",
      "Name": "sample string 2"
    }
  ],
  "ContributionGuid": "0785d725-acc7-45cc-a0da-0462dca446ae",
  "Guid": "198d7d06-d79a-4b08-a820-31fbbfce6b65",
  "Created": "2024-10-04T07:38:11.8501186+00:00",
  "Modified": "2024-10-04T07:38:11.8501186+00:00",
  "Deleted": "2024-10-04T07:38:11.8501186+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":"ada8d80e-1e7a-4248-a0b6-f3ce04de0757","EventLocationGuid":"ae9fea51-c35d-4d6c-b171-efbd954a8712","ParentGuid":"559089d8-7f3a-4ee0-8ba6-6b89e1b5c747","EventThemes":[{"Guid":"44f3b083-dda3-402f-b54f-efc705681fb8","Name":"sample string 2"},{"Guid":"44f3b083-dda3-402f-b54f-efc705681fb8","Name":"sample string 2"}],"ContributionGuid":"0785d725-acc7-45cc-a0da-0462dca446ae","Guid":"198d7d06-d79a-4b08-a820-31fbbfce6b65","Created":"2024-10-04T07:38:11.8501186+00:00","Modified":"2024-10-04T07:38:11.8501186+00:00","Deleted":"2024-10-04T07:38:11.8501186+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:38:11.8501186+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:38:11.8501186+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">198d7d06-d79a-4b08-a820-31fbbfce6b65</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:38:11.8501186+00:00</Modified>
  <ContributionGuid>0785d725-acc7-45cc-a0da-0462dca446ae</ContributionGuid>
  <Description>sample string 2</Description>
  <DisplayTypeId>64</DisplayTypeId>
  <EventGuid>ada8d80e-1e7a-4248-a0b6-f3ce04de0757</EventGuid>
  <EventLocationGuid>ae9fea51-c35d-4d6c-b171-efbd954a8712</EventLocationGuid>
  <EventThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common">
    <d2p1:GuidName>
      <d2p1:Guid>44f3b083-dda3-402f-b54f-efc705681fb8</d2p1:Guid>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:GuidName>
    <d2p1:GuidName>
      <d2p1:Guid>44f3b083-dda3-402f-b54f-efc705681fb8</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>559089d8-7f3a-4ee0-8ba6-6b89e1b5c747</ParentGuid>
  <SessionNumber>sample string 8</SessionNumber>
  <Url>sample string 6</Url>
</ActivityViewModel>