POST 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": "d410280f-f246-4b36-bfa2-672dcadb9de1",
  "ActivityGuid": "15699784-1301-4492-a063-b6effd297b20",
  "Guid": "40df94b3-fe1b-41c2-8d69-73d6355a2ce1",
  "Created": "2024-10-04T07:40:09.906555+00:00",
  "Modified": "2024-10-04T07:40:09.906555+00:00",
  "Deleted": "2024-10-04T07:40:09.906555+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":"d410280f-f246-4b36-bfa2-672dcadb9de1","ActivityGuid":"15699784-1301-4492-a063-b6effd297b20","Guid":"40df94b3-fe1b-41c2-8d69-73d6355a2ce1","Created":"2024-10-04T07:40:09.906555+00:00","Modified":"2024-10-04T07:40:09.906555+00:00","Deleted":"2024-10-04T07:40:09.906555+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">2024-10-04T07:40:09.906555+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:40:09.906555+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">40df94b3-fe1b-41c2-8d69-73d6355a2ce1</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:40:09.906555+00:00</Modified>
  <ActivityGuid>15699784-1301-4492-a063-b6effd297b20</ActivityGuid>
  <ActivityScheduleGuid>d410280f-f246-4b36-bfa2-672dcadb9de1</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": "dbf148f1-3ede-4734-90d7-650d8d5c5cf7",
  "ActivityGuid": "110effbc-7338-4a15-a067-c2df74649432",
  "Guid": "8d4854ee-f67e-4094-80c4-a4c541adafac",
  "Created": "2024-10-04T07:40:09.906555+00:00",
  "Modified": "2024-10-04T07:40:09.906555+00:00",
  "Deleted": "2024-10-04T07:40:09.906555+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":"dbf148f1-3ede-4734-90d7-650d8d5c5cf7","ActivityGuid":"110effbc-7338-4a15-a067-c2df74649432","Guid":"8d4854ee-f67e-4094-80c4-a4c541adafac","Created":"2024-10-04T07:40:09.906555+00:00","Modified":"2024-10-04T07:40:09.906555+00:00","Deleted":"2024-10-04T07:40:09.906555+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">2024-10-04T07:40:09.906555+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:40:09.906555+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">8d4854ee-f67e-4094-80c4-a4c541adafac</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:40:09.906555+00:00</Modified>
  <ActivityGuid>110effbc-7338-4a15-a067-c2df74649432</ActivityGuid>
  <ActivityScheduleGuid>dbf148f1-3ede-4734-90d7-650d8d5c5cf7</ActivityScheduleGuid>
  <Comment>sample string 2</Comment>
  <Rating>1.1</Rating>
</ActivityScheduleRatingViewModel>