Update an inbound message part
patch
/crmRestApi/resources/11.13.18.05/inboundMessages/{InboundMessageId}/child/InboundMsgParts/{InboundMsgPartId}
Request
Path Parameters
-
InboundMessageId(required): integer(int64)
The unique identifier of an inbound message.
-
InboundMsgPartId(required): integer(int64)
The unique identifier of the message part.
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-
InboundMessageId: integer
(int64)
Title:
Inbound Message IDThe unique identifier of the inbound message with which the message part is associated. -
InboundMsgPartId: integer
(int64)
Title:
Inbound Message Part IDThe unique identifier of the message part. -
PartName: string
Title:
Part NameMaximum Length:64The header name of the inbound message part. -
PartTypeCd: string
Title:
Part Type CodeMaximum Length:30The type of the inbound message part. -
PartTypeCdMeaning: string
Title:
Part Type ValueMaximum Length:255The display value corresponding to the part type lookup code for the inbound message. -
PartValue: string
Title:
Part ValueMaximum Length:2000The value of the inbound message part.
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 : inboundMessages-InboundMsgParts-item-response
Type:
Show Source
object-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the inbound message part. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the inbound message part was created. -
DeleteFlag: boolean
Title:
Can DeleteRead Only:trueIndicates if the inbound message part can be deleted. -
InboundMessageId: integer
(int64)
Title:
Inbound Message IDThe unique identifier of the inbound message with which the message part is associated. -
InboundMsgPartId: integer
(int64)
Title:
Inbound Message Part IDThe unique identifier of the message part. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the inbound message part was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the inbound message part. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartName: string
Title:
Part NameMaximum Length:64The header name of the inbound message part. -
PartTypeCd: string
Title:
Part Type CodeMaximum Length:30The type of the inbound message part. -
PartTypeCdMeaning: string
Title:
Part Type ValueMaximum Length:255The display value corresponding to the part type lookup code for the inbound message. -
PartValue: string
Title:
Part ValueMaximum Length:2000The value of the inbound message part. -
UpdateFlag: boolean
Title:
Can UpdateRead Only:trueIndicates if the inbound message part can be updated.
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
- PartTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_INBND_PART_TYPE
The following properties are defined on the LOV link relation:- Source Attribute: PartTypeCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
Examples
The following example shows how to update an inbound message part by submitting a PATCH request on the REST resource.
Example of Request Header
The following shows an example of the request header.
PATCH /crmRestApi/resources/11.13.18.05/inboundMessages/300100091977695/child/InboundMsgParts/300100091977703 HOST: servername.fa.us2.oraclecloud.com authorization: Basic U0FMRVNfQURNSU46V2VsY29tZTE= content-type: application/vnd.oracle.adf.resourceitem+json
Example of Request Body
The following shows an example of the request body.
{
"PartTypeCd": "ORA_SVC_HEADER",
"PartName": "Date"
}
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Server: Oracle-HTTP-Server-11g Content-Type: application/vnd.oracle.adf.resourceitem+json Content-Language: en
Example of Response Body
The following example shows the contents of the response body.
{
"InboundMsgPartId": 300100091977703,
"InboundMessageId": 300100091977695,
"PartTypeCd": "ORA_SVC_HEADER",
"PartName": "Date",
"PartValue": "incoming@server.fa.us2.oraclecloud.com",
"CreationDate": "2017-04-02T19:54:21.004+00:00",
"CreatedBy": "FUSION_APPS_CRM_ESS_APPID",
"LastUpdateDate": "2017-04-21T12:18:33+00:00",
"LastUpdatedBy": "sales_admin",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/inboundMessages/300100091977695/child/InboundMsgParts/300100091977703",
"name": "InboundMsgParts",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/inboundMessages/300100091977695/child/InboundMsgParts/300100091977703",
"name": "InboundMsgParts",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/inboundMessages/300100091977695",
"name": "inboundMessages",
"kind": "item"
}
]
}