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": "d9b97e29-021e-470a-a8b0-34b242538fad",
  "ActivityGuid": "c5bc41dc-da98-4bb6-84e3-298ebeb2c20a",
  "Guid": "7c352c8f-50f8-4521-8e45-85311dfa582e",
  "Created": "2024-03-28T07:29:41.6289012+00:00",
  "Modified": "2024-03-28T07:29:41.6289012+00:00",
  "Deleted": "2024-03-28T07:29:41.6289012+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":"d9b97e29-021e-470a-a8b0-34b242538fad","ActivityGuid":"c5bc41dc-da98-4bb6-84e3-298ebeb2c20a","Guid":"7c352c8f-50f8-4521-8e45-85311dfa582e","Created":"2024-03-28T07:29:41.6289012+00:00","Modified":"2024-03-28T07:29:41.6289012+00:00","Deleted":"2024-03-28T07:29:41.6289012+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-03-28T07:29:41.6289012+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:29:41.6289012+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7c352c8f-50f8-4521-8e45-85311dfa582e</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:29:41.6289012+00:00</Modified>
  <ActivityGuid>c5bc41dc-da98-4bb6-84e3-298ebeb2c20a</ActivityGuid>
  <ActivityScheduleGuid>d9b97e29-021e-470a-a8b0-34b242538fad</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": "a912fe66-5db7-4bf7-bff6-d144baf96d51",
  "ActivityGuid": "37b57071-dfff-4bad-b1f5-b0af5c6b5656",
  "Guid": "571f4e9c-990f-4423-8228-4904b4a57bd9",
  "Created": "2024-03-28T07:29:41.6289012+00:00",
  "Modified": "2024-03-28T07:29:41.6289012+00:00",
  "Deleted": "2024-03-28T07:29:41.6289012+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":"a912fe66-5db7-4bf7-bff6-d144baf96d51","ActivityGuid":"37b57071-dfff-4bad-b1f5-b0af5c6b5656","Guid":"571f4e9c-990f-4423-8228-4904b4a57bd9","Created":"2024-03-28T07:29:41.6289012+00:00","Modified":"2024-03-28T07:29:41.6289012+00:00","Deleted":"2024-03-28T07:29:41.6289012+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-03-28T07:29:41.6289012+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:29:41.6289012+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">571f4e9c-990f-4423-8228-4904b4a57bd9</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:29:41.6289012+00:00</Modified>
  <ActivityGuid>37b57071-dfff-4bad-b1f5-b0af5c6b5656</ActivityGuid>
  <ActivityScheduleGuid>a912fe66-5db7-4bf7-bff6-d144baf96d51</ActivityScheduleGuid>
  <Comment>sample string 2</Comment>
  <Rating>1.1</Rating>
</ActivityScheduleRatingViewModel>