PUT api/customer/automation/condition/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ConditionUpdateData
NameDescriptionTypeAdditional information
Days

string

None.

EndTime

date

None.

FromPlaceId

integer

None.

Name

string

None.

StartTime

date

None.

ToPlaceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Days": "sample string 1",
  "EndTime": "2026-03-31T11:09:21.9966322+00:00",
  "FromPlaceId": 1,
  "Name": "sample string 2",
  "StartTime": "2026-03-31T11:09:21.9966322+00:00",
  "ToPlaceId": 1
}

application/xml, text/xml

Sample:
<AutomationController.ConditionUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers">
  <Days>sample string 1</Days>
  <EndTime>2026-03-31T11:09:21.9966322+00:00</EndTime>
  <FromPlaceId>1</FromPlaceId>
  <Name>sample string 2</Name>
  <StartTime>2026-03-31T11:09:21.9966322+00:00</StartTime>
  <ToPlaceId>1</ToPlaceId>
</AutomationController.ConditionUpdateData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AutomationCondition
NameDescriptionTypeAdditional information
Id

integer

None.

RuleId

integer

None.

FromPlaceId

integer

None.

ToPlaceId

integer

None.

StartTime

date

None.

EndTime

date

None.

Days

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RuleId": 1,
  "FromPlaceId": 1,
  "ToPlaceId": 1,
  "StartTime": "2026-03-31T11:09:21.9966322+00:00",
  "EndTime": "2026-03-31T11:09:21.9966322+00:00",
  "Days": "sample string 2",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<AutomationCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.TripAutomation.Model">
  <Days>sample string 2</Days>
  <EndTime>2026-03-31T11:09:21.9966322+00:00</EndTime>
  <FromPlaceId>1</FromPlaceId>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <RuleId>1</RuleId>
  <StartTime>2026-03-31T11:09:21.9966322+00:00</StartTime>
  <ToPlaceId>1</ToPlaceId>
</AutomationCondition>