PUT v1/ActivityScheduleRating

Request Information

URI Parameters

None.

Body Parameters

ActivityScheduleRatingViewModel
NameDescriptionTypeAdditional information
Rating

decimal number

None.

Comment

string

None.

ActivityScheduleGuid

globally unique identifier

None.

ActivityGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Rating": 1.1,
  "Comment": "sample string 2",
  "ActivityScheduleGuid": "c37be3e9-b22e-46f4-a796-156f2f6ba057",
  "ActivityGuid": "0c935503-0eb5-4bc8-87c5-3aa305058b84",
  "Guid": "09948efd-80fd-47eb-8c9b-7a2a59e178bf",
  "Created": "2021-04-21T01:42:31.6404665+00:00",
  "Modified": "2021-04-21T01:42:31.6404665+00:00",
  "Deleted": "2021-04-21T01:42:31.6404665+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Rating":1.1,"Comment":"sample string 2","ActivityScheduleGuid":"c37be3e9-b22e-46f4-a796-156f2f6ba057","ActivityGuid":"0c935503-0eb5-4bc8-87c5-3aa305058b84","Guid":"09948efd-80fd-47eb-8c9b-7a2a59e178bf","Created":"2021-04-21T01:42:31.6404665+00:00","Modified":"2021-04-21T01:42:31.6404665+00:00","Deleted":"2021-04-21T01:42:31.6404665+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<ActivityScheduleRatingViewModel 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">2021-04-21T01:42:31.6404665+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-21T01:42:31.6404665+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">09948efd-80fd-47eb-8c9b-7a2a59e178bf</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-21T01:42:31.6404665+00:00</Modified>
  <ActivityGuid>0c935503-0eb5-4bc8-87c5-3aa305058b84</ActivityGuid>
  <ActivityScheduleGuid>c37be3e9-b22e-46f4-a796-156f2f6ba057</ActivityScheduleGuid>
  <Comment>sample string 2</Comment>
  <Rating>1.1</Rating>
</ActivityScheduleRatingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActivityScheduleRatingViewModel
NameDescriptionTypeAdditional information
Rating

decimal number

None.

Comment

string

None.

ActivityScheduleGuid

globally unique identifier

None.

ActivityGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Rating": 1.1,
  "Comment": "sample string 2",
  "ActivityScheduleGuid": "f3c9e71c-5219-4e91-8821-b77509cd30a0",
  "ActivityGuid": "19ae16ff-cb82-4cc1-b29d-dd9bf728d43f",
  "Guid": "c2c7d8a1-4e6e-41e7-b056-dfe70c75c2cf",
  "Created": "2021-04-21T01:42:31.6404665+00:00",
  "Modified": "2021-04-21T01:42:31.6404665+00:00",
  "Deleted": "2021-04-21T01:42:31.6404665+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Rating":1.1,"Comment":"sample string 2","ActivityScheduleGuid":"f3c9e71c-5219-4e91-8821-b77509cd30a0","ActivityGuid":"19ae16ff-cb82-4cc1-b29d-dd9bf728d43f","Guid":"c2c7d8a1-4e6e-41e7-b056-dfe70c75c2cf","Created":"2021-04-21T01:42:31.6404665+00:00","Modified":"2021-04-21T01:42:31.6404665+00:00","Deleted":"2021-04-21T01:42:31.6404665+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<ActivityScheduleRatingViewModel 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">2021-04-21T01:42:31.6404665+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-21T01:42:31.6404665+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">c2c7d8a1-4e6e-41e7-b056-dfe70c75c2cf</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-04-21T01:42:31.6404665+00:00</Modified>
  <ActivityGuid>19ae16ff-cb82-4cc1-b29d-dd9bf728d43f</ActivityGuid>
  <ActivityScheduleGuid>f3c9e71c-5219-4e91-8821-b77509cd30a0</ActivityScheduleGuid>
  <Comment>sample string 2</Comment>
  <Rating>1.1</Rating>
</ActivityScheduleRatingViewModel>