Update an object link
patch
/crmRestApi/resources/11.13.18.05/objectLinks/{LinkNumber}
Request
Path Parameters
-
LinkNumber(required): string
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
LinkTypeNumber: string
Title:
Link Type NumberMaximum Length:64The type of link between the source and target objects. -
ObjectReference: string
Title:
Object ReferenceReference value that can be used to query both SourceObjectReference and TargetObjectReference. -
ObjectTypeCd: string
Title:
Object TypeLookup code that indicates the type of the Object. This can be used to query both SourceObjectTypeCd and TargetObjectTypeCd. -
SourceObjectId: integer
Title:
Source IDThe identifier of the source object. -
SourceObjectReference: string
Title:
Source ReferenceMaximum Length:64The reference value of the source object. -
SourceObjectTypeCd: string
Title:
Source TypeMaximum Length:30The lookup code that indicates the type of the source object. -
TargetObjectId: integer
(int64)
Title:
Target IDThe unique identifier of the target object. -
TargetObjectReference: string
Title:
Target ReferenceMaximum Length:64The reference value of the target object. -
TargetObjectTypeCd: string
Title:
Target TypeMaximum Length:30Lookup code that indicates the type of the target object.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : objectLinks-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the row. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the row was created. -
DeleteFlag: boolean
Read Only:
trueIndicates if the user can delete the record. -
InwardCd: string
Title:
InwardRead Only:trueMaximum Length:30The lookup code that describes the inward direction of a link type. This field is auto generated from the value provided for short name. -
InwardCdMeaning: string
Title:
Inward ValueRead Only:trueMaximum Length:255The display value of the inward lookup code for the link type used for the object link. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the object link type was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the object link type. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the row. -
LinkId: integer
Title:
Link IDRead Only:trueThe object link identifier. -
LinkNumber: string
Title:
Link NumberMaximum Length:64The reference number of the object link. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LinkTypeNumber: string
Title:
Link Type NumberMaximum Length:64The type of link between the source and target objects. -
LinkTypeShortName: string
Title:
Short NameMaximum Length:20A unique name for the link type. The outward and inward codes are auto generated based on the short name. -
Name: string
Title:
NameRead Only:trueMaximum Length:400A descriptive name for the link type. -
ObjectReference: string
Title:
Object ReferenceReference value that can be used to query both SourceObjectReference and TargetObjectReference. -
ObjectTypeCd: string
Title:
Object TypeLookup code that indicates the type of the Object. This can be used to query both SourceObjectTypeCd and TargetObjectTypeCd. -
OutwardCd: string
Title:
OutwardRead Only:trueMaximum Length:30Lookup code that describes the outward direction of a link type. This field is auto generated from the value provided for short name. -
OutwardCdMeaning: string
Title:
Outward ValueRead Only:trueMaximum Length:255The display value of the outward lookup code for the link type used for the object link. -
SourceObjectId: integer
Title:
Source IDThe identifier of the source object. -
SourceObjectReference: string
Title:
Source ReferenceMaximum Length:64The reference value of the source object. -
SourceObjectTypeCd: string
Title:
Source TypeMaximum Length:30The lookup code that indicates the type of the source object. -
SourceObjectTypeCdMeaning: string
Title:
Source Type ValueRead Only:trueMaximum Length:255The display value of the source object type lookup code. -
TargetObjectId: integer
(int64)
Title:
Target IDThe unique identifier of the target object. -
TargetObjectReference: string
Title:
Target ReferenceMaximum Length:64The reference value of the target object. -
TargetObjectTypeCd: string
Title:
Target TypeMaximum Length:30Lookup code that indicates the type of the target object. -
TargetObjectTypeCdMeaning: string
Title:
Target Type ValueRead Only:trueMaximum Length:255The display value of the target object type lookup code. -
UpdateFlag: boolean
Read Only:
trueIndicates if the user has access to update the record.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- ObjectLinkTypeLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: LinkTypeNumber; Target Attribute: LinkTypeNumber
- Display Attribute: ShortName, Name, LinkTypeNumber
- ObjectTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_LINK_OBJECT_CD
The following properties are defined on the LOV link relation:- Source Attribute: TargetObjectTypeCd; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder: