PUT api/customer/automation/action/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ActionUpdateData| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionType | integer |
None. |
|
| Active | boolean |
None. |
|
| Description | string |
None. |
|
| Name | string |
None. |
|
| Value | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActionType": 1,
"Active": true,
"Description": "sample string 1",
"Name": "sample string 2",
"Value": "sample string 3"
}
application/xml, text/xml
Sample:
<AutomationController.ActionUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers"> <ActionType>1</ActionType> <Active>true</Active> <Description>sample string 1</Description> <Name>sample string 2</Name> <Value>sample string 3</Value> </AutomationController.ActionUpdateData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AutomationAction| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RuleId | integer |
None. |
|
| Name | string |
None. |
|
| Value | string |
None. |
|
| Description | string |
None. |
|
| Active | boolean |
None. |
|
| ActionType | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RuleId": 1,
"Name": "sample string 2",
"Value": "sample string 3",
"Description": "sample string 4",
"Active": true,
"ActionType": 6
}
application/xml, text/xml
Sample:
<AutomationAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.TripAutomation.Model"> <ActionType>6</ActionType> <Active>true</Active> <Description>sample string 4</Description> <Id>1</Id> <Name>sample string 2</Name> <RuleId>1</RuleId> <Value>sample string 3</Value> </AutomationAction>