PUT api/conditional-agenda-item-styles/{conditionalAgendaItemStyleId}

Updates a specific ConditionalAgendaItemStyle.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
conditionalAgendaItemStyleId

The id of the ConditionalAgendaItemStyle to update.

integer

Required



Body Parameters

A model depicting the state to update the ConditionalAgendaItemStyle to.

UpdateConditionalAgendaItemStyleViewModel
NameDescriptionTypeAdditional information
BackgroundColor

string

None.

Conditions

Collection of EntityCriteriaListCriteriaViewModel

None.

Id

integer

None.

Order

integer

None.

Text

string

None.

TextColor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BackgroundColor": "sample string 1",
  "Conditions": [
    {
      "CompareValue": "sample string 1",
      "EntityAttributeId": 2,
      "IsDateOfToday": true,
      "DateOfTodayDayOffset": 4,
      "ModifierId": 5,
      "RecursionPath": [
        1,
        2
      ]
    },
    {
      "CompareValue": "sample string 1",
      "EntityAttributeId": 2,
      "IsDateOfToday": true,
      "DateOfTodayDayOffset": 4,
      "ModifierId": 5,
      "RecursionPath": [
        1,
        2
      ]
    }
  ],
  "Id": 2,
  "Order": 3,
  "Text": "sample string 4",
  "TextColor": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateConditionalAgendaItemStyleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <BackgroundColor>sample string 1</BackgroundColor>
  <Conditions>
    <EntityCriteriaListCriteriaViewModel>
      <CompareValue>sample string 1</CompareValue>
      <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
      <EntityAttributeId>2</EntityAttributeId>
      <IsDateOfToday>true</IsDateOfToday>
      <ModifierId>5</ModifierId>
      <RecursionPath xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </RecursionPath>
    </EntityCriteriaListCriteriaViewModel>
    <EntityCriteriaListCriteriaViewModel>
      <CompareValue>sample string 1</CompareValue>
      <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
      <EntityAttributeId>2</EntityAttributeId>
      <IsDateOfToday>true</IsDateOfToday>
      <ModifierId>5</ModifierId>
      <RecursionPath xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </RecursionPath>
    </EntityCriteriaListCriteriaViewModel>
  </Conditions>
  <Id>2</Id>
  <Order>3</Order>
  <Text>sample string 4</Text>
  <TextColor>sample string 5</TextColor>
</UpdateConditionalAgendaItemStyleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadConditionalAgendaItemStyleViewModel representing the updated ConditionalAgendaItemStyle.

ReadConditionalAgendaItemStyleViewModel

NameDescriptionTypeAdditional information
Id

integer

None.

AgendaItemBackgroundColor

string

None.

AgendaItemText

string

None.

AgendaItemTextColor

string

None.

EntityAttributeId

integer

None.

EntityCriteriaList

ReadEntityCriteriaListViewModel

None.

EntityCriteriaListId

integer

None.

Order

integer

None.