Update a Vehicle Ownership
patch
/crmRestApi/resources/11.13.18.05/autoVehicles/{VehicleIdentificationNumber}/child/VehicleOwnerships/{OwnershipNumber}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
OwnershipNumber: string
Identifier to Vehicle Owners
-
VehicleIdentificationNumber: string
Identifier to Vehicles
The following table describes the body parameters in the request for this task.
Root Schema : autoVehicles-VehicleOwnerships-item
Type:
Show Source
object
-
AssetId(optional):
integer(int64)
Title:
Asset ID
The unique identifier of the asset. -
AttributeCategory(optional):
string
Title:
Attribute Category
Maximum Length:30
A system-generated read-only attribute used by the application framework. -
AverageAnnualMileage(optional):
number
Title:
Average Annual Mileage
The average annual mileage of the vehicle. -
CorpCurrencyCode(optional):
string
Title:
Corporate Currency Code
Maximum Length:15
The corporate currency code of the record. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the record. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the record was created. -
CurcyConvRateType(optional):
string
Title:
Conversion Rate Type
Maximum Length:30
The currency conversion rate type associated with the record. -
CurrencyCode(optional):
string
Title:
Currency Code
Maximum Length:15
The currency code associated with the record like USD or EUR. -
IsPrimary(optional):
string
Title:
Primary
Maximum Length:1
The primary owner of the vehicle. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the record was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the record. -
LastUpdateLogin(optional):
string
Title:
Last Update Login
Maximum Length:32
The login of the user who last updated the record. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Title:
Object Version Number
A system-generated read-only attribute used by the application framework. -
OdometerReadingDate(optional):
string(date)
Title:
Odometer Reading Date
The date when the odometer reading was taken. -
OrgId(optional):
integer(int64)
Title:
Business Unit
The unique identifier of the business unit. -
OriginSystem(optional):
string
Title:
Origin System
Maximum Length:400
The application from where the order originated. -
OriginSystemReference(optional):
string
Title:
Origin System Reference
Maximum Length:400
The unique identifier of the record in the source application. -
OwnershipEndDate(optional):
string(date)
Title:
End Date
The date when the ownership ends. -
OwnershipEndReason(optional):
string
Title:
Reason
Maximum Length:4000
The ownership end reason. -
OwnershipId(optional):
integer(int64)
Title:
Ownership ID
The unique identifier of the ownership. -
OwnershipNumber(optional):
string
Maximum Length:
30
The public unique identifier of the record. -
OwnershipStartDate(optional):
string(date)
Title:
Start Date
The date when the ownership started. -
VehicleId(optional):
integer(int64)
Title:
Vehicle ID
The unique identifier of the vehicle. -
VehicleOwnerId(optional):
integer(int64)
Title:
Owner ID
The unique identifier of the owner associated with the vehicle.
- IsPrimary LOV
-
Method: getPath:
/crmRestApi/resources/11.13.18.05/fndStaticLookups
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : autoVehicles-VehicleOwnerships-item
Type:
Show Source
object
-
AssetId(optional):
integer(int64)
Title:
Asset ID
The unique identifier of the asset. -
AttributeCategory(optional):
string
Title:
Attribute Category
Maximum Length:30
A system-generated read-only attribute used by the application framework. -
AverageAnnualMileage(optional):
number
Title:
Average Annual Mileage
The average annual mileage of the vehicle. -
CorpCurrencyCode(optional):
string
Title:
Corporate Currency Code
Maximum Length:15
The corporate currency code of the record. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the record. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time when the record was created. -
CurcyConvRateType(optional):
string
Title:
Conversion Rate Type
Maximum Length:30
The currency conversion rate type associated with the record. -
CurrencyCode(optional):
string
Title:
Currency Code
Maximum Length:15
The currency code associated with the record like USD or EUR. -
IsPrimary(optional):
string
Title:
Primary
Maximum Length:1
The primary owner of the vehicle. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time when the record was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the record. -
LastUpdateLogin(optional):
string
Title:
Last Update Login
Maximum Length:32
The login of the user who last updated the record. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Title:
Object Version Number
A system-generated read-only attribute used by the application framework. -
OdometerReadingDate(optional):
string(date)
Title:
Odometer Reading Date
The date when the odometer reading was taken. -
OrgId(optional):
integer(int64)
Title:
Business Unit
The unique identifier of the business unit. -
OriginSystem(optional):
string
Title:
Origin System
Maximum Length:400
The application from where the order originated. -
OriginSystemReference(optional):
string
Title:
Origin System Reference
Maximum Length:400
The unique identifier of the record in the source application. -
OwnershipEndDate(optional):
string(date)
Title:
End Date
The date when the ownership ends. -
OwnershipEndReason(optional):
string
Title:
Reason
Maximum Length:4000
The ownership end reason. -
OwnershipId(optional):
integer(int64)
Title:
Ownership ID
The unique identifier of the ownership. -
OwnershipNumber(optional):
string
Maximum Length:
30
The public unique identifier of the record. -
OwnershipStartDate(optional):
string(date)
Title:
Start Date
The date when the ownership started. -
VehicleId(optional):
integer(int64)
Title:
Vehicle ID
The unique identifier of the vehicle. -
VehicleOwnerId(optional):
integer(int64)
Title:
Owner ID
The unique identifier of the owner associated with the vehicle.
- IsPrimary LOV
-
Method: getPath:
/crmRestApi/resources/11.13.18.05/fndStaticLookups
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.