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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ScopeUpdateData
NameDescriptionTypeAdditional information
DivisionId

integer

None.

DriverId

integer

None.

Name

string

None.

VehicleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DivisionId": 1,
  "DriverId": 1,
  "Name": "sample string 1",
  "VehicleId": 1
}

application/xml, text/xml

Sample:
<AutomationController.ScopeUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers">
  <DivisionId>1</DivisionId>
  <DriverId>1</DriverId>
  <Name>sample string 1</Name>
  <VehicleId>1</VehicleId>
</AutomationController.ScopeUpdateData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AutomationScope
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

DivisionId

integer

None.

VehicleId

integer

None.

DriverId

integer

None.

Name

string

None.

RuleId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": 1,
  "DivisionId": 1,
  "VehicleId": 1,
  "DriverId": 1,
  "Name": "sample string 2",
  "RuleId": 3
}

application/xml, text/xml

Sample:
<AutomationScope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.TripAutomation.Model">
  <CustomerId>1</CustomerId>
  <DivisionId>1</DivisionId>
  <DriverId>1</DriverId>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <RuleId>3</RuleId>
  <VehicleId>1</VehicleId>
</AutomationScope>