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": "0e371d6a-5e2f-4bf5-9d16-88b156c9d76d",
  "ActivityGuid": "be900909-86c9-4c07-97f2-e93556fce386",
  "Guid": "6c90251e-be03-4ffd-91c1-8106344de97b",
  "Created": "2024-11-21T06:23:31.1605457+00:00",
  "Modified": "2024-11-21T06:23:31.1605457+00:00",
  "Deleted": "2024-11-21T06:23:31.1605457+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":"0e371d6a-5e2f-4bf5-9d16-88b156c9d76d","ActivityGuid":"be900909-86c9-4c07-97f2-e93556fce386","Guid":"6c90251e-be03-4ffd-91c1-8106344de97b","Created":"2024-11-21T06:23:31.1605457+00:00","Modified":"2024-11-21T06:23:31.1605457+00:00","Deleted":"2024-11-21T06:23:31.1605457+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-11-21T06:23:31.1605457+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:23:31.1605457+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">6c90251e-be03-4ffd-91c1-8106344de97b</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:23:31.1605457+00:00</Modified>
  <ActivityGuid>be900909-86c9-4c07-97f2-e93556fce386</ActivityGuid>
  <ActivityScheduleGuid>0e371d6a-5e2f-4bf5-9d16-88b156c9d76d</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": "6412acbb-e833-425b-9a07-4f4251a8be3f",
  "ActivityGuid": "ce4696d7-8cd0-4706-8d75-5e3274140ea1",
  "Guid": "538b0af3-855e-4b5c-8f3f-8409661a5645",
  "Created": "2024-11-21T06:23:31.1605457+00:00",
  "Modified": "2024-11-21T06:23:31.1605457+00:00",
  "Deleted": "2024-11-21T06:23:31.1605457+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":"6412acbb-e833-425b-9a07-4f4251a8be3f","ActivityGuid":"ce4696d7-8cd0-4706-8d75-5e3274140ea1","Guid":"538b0af3-855e-4b5c-8f3f-8409661a5645","Created":"2024-11-21T06:23:31.1605457+00:00","Modified":"2024-11-21T06:23:31.1605457+00:00","Deleted":"2024-11-21T06:23:31.1605457+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-11-21T06:23:31.1605457+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:23:31.1605457+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">538b0af3-855e-4b5c-8f3f-8409661a5645</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:23:31.1605457+00:00</Modified>
  <ActivityGuid>ce4696d7-8cd0-4706-8d75-5e3274140ea1</ActivityGuid>
  <ActivityScheduleGuid>6412acbb-e833-425b-9a07-4f4251a8be3f</ActivityScheduleGuid>
  <Comment>sample string 2</Comment>
  <Rating>1.1</Rating>
</ActivityScheduleRatingViewModel>