Update an outbound message
patch
/crmRestApi/resources/11.13.18.05/outboundMessages/{OutboundMessageId}
Request
Path Parameters
-
OutboundMessageId(required): integer(int64)
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-
AlternateMessageId: string
Title:
Alternate Message IDMaximum Length:2000The unique identifier of the outbound email in the email delivery application. -
Body: string
(byte)
Title:
BodyThe body of the outbound message. -
BUOrgId: integer
(int64)
Title:
Business Organization IDThe unique identifier of the business unit organization Id. -
ChannelId: integer
(int64)
Title:
Channel IDThe unique identifier of the channel of the outbound Message. -
ChannelTypeCd: string
Title:
Channel Type CodeMaximum Length:30The channel type code. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15The corporate currency code associated with the outbound message. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
CurcyConvRateType: string
Title:
Type of Currency Conversion RateMaximum Length:30The currency conversion rate type associated with the outbound message. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:15The currency code associated with the outbound message. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
DeliveryServiceCd: string
Title:
Delivery Service CodeMaximum Length:30Default Value:ORA_SVC_UMSThe delivery service code of the outbound message. -
DeliveryTypeCd: string
Title:
Delivery Type CodeMaximum Length:30Default Value:ORA_SVC_IMMEDIATEThe delivery type code of the outbound message. -
MessageContent: string
(byte)
Title:
Message ContentThe content of the outbound message, such as the contents of an email. -
OutboundMessageId: integer
(int64)
Title:
Outbound Message IDThe unique identifier of the outbound message. -
OutboundMsgParts: array
Outbound Message Parts
Title:
Outbound Message PartsThe outbound message parts resource is used to view, create, update, and delete an outbound message part. It's used to get the description of the root outbound message resource part. -
PostedByPartyid: integer
(int64)
Title:
Posted by Party IDThe unique party identifier of the user who posted the outbound message. -
ProcessingStatusCd: string
Title:
Processing Status CodeMaximum Length:30The processing status code of the outbound message. -
ReplyToAddress: string
Title:
Reply to AddressMaximum Length:240The reply to address of the outbound message. -
RetryCount: integer
(int64)
Title:
Retry CountDefault Value:0The retry count of the outbound message. -
SenderEmailSourceCd: string
Title:
Sender Email Source CodeMaximum Length:30The source code of the sender email for the outbound message. -
SenderName: string
Title:
Sender NameMaximum Length:100The name of the sender who sent the outbound message. -
SentDate: string
(date-time)
Title:
Sent DateThe date when the message was sent by the sender. -
SourceCd: string
Title:
Source CodeMaximum Length:30The source code of the outbound message. -
SourceMsgObjId: integer
(int64)
Title:
Source Message Object IDThe object identifier of the outbound message. -
SourceMsgObjTypeCd: string
Title:
Source Message Object Type CodeMaximum Length:30The source message object type code of the outbound message. -
SourceObjId: integer
(int64)
Title:
Source Object IDThe source object identifier of the outbound message. -
SourceObjPkName: string
Title:
Source Object Primary Key NameMaximum Length:30The source object primary key of the outbound message. -
SourceObjTemplateName: string
Title:
Source Object Template NameMaximum Length:240The template name of the outbound message. -
SourceObjTypeCd: string
Title:
Source Object Type CodeMaximum Length:30The source object type code of the outbound message. -
StatusCd: string
Title:
Status CodeMaximum Length:30The status code of the outbound message. -
StatusDetails: string
Title:
Status DetailsMaximum Length:1000The status details of the outbound message. -
StripeCd: string
Title:
Stripe CodeMaximum Length:30The stripe code of the outbound message. -
Subject: string
Title:
SubjectMaximum Length:400The subject of the outbound message. -
UpdateFlag: boolean
Title:
Can Update MessageIndicates whether the outbound message has been updated. -
UsePostedByEmailFlag: boolean
Title:
Use Posted by Party EmailMaximum Length:1Default Value:falseThe email of the user who posted the outbound message. -
UsePostedByNameFlag: boolean
Title:
Use Posted by Party NameMaximum Length:1Default Value:falseThe name of the user who posted the outbound message.
Nested Schema : Outbound Message Parts
Type:
arrayTitle:
Outbound Message PartsThe outbound message parts resource is used to view, create, update, and delete an outbound message part. It's used to get the description of the root outbound message resource part.
Show Source
Nested Schema : schema
Type:
Show Source
object-
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15The corporate currency code associated with the message part. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
CurcyConvRateType: string
Title:
Type of Currency Conversion RateMaximum Length:30The currency conversion rate type for the message part. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:15The currency code associated with the message part. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
OutboundMessageId: integer
(int64)
Title:
Outbound Message IDThe unique identifier of the outbound message detail. -
OutboundMsgPartId: integer
(int64)
Title:
Outbound Message Part IDThe unique part identifier of the outbound message detail. -
PartName: string
Title:
Part NameMaximum Length:64The part name of the outbound message detail. -
PartTypeCd: string
Title:
Part Type CodeMaximum Length:30The part type of the outbound message details. -
PartValue: string
Title:
Part ValueMaximum Length:2000The part value of the outbound message details.
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 : outboundMessages-item-response
Type:
Show Source
object-
AlternateMessageId: string
Title:
Alternate Message IDMaximum Length:2000The unique identifier of the outbound email in the email delivery application. -
Body: string
(byte)
Title:
BodyThe body of the outbound message. -
BUOrgId: integer
(int64)
Title:
Business Organization IDThe unique identifier of the business unit organization Id. -
ChannelId: integer
(int64)
Title:
Channel IDThe unique identifier of the channel of the outbound Message. -
ChannelTypeCd: string
Title:
Channel Type CodeMaximum Length:30The channel type code. -
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15The corporate currency code associated with the outbound message. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the code. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
CurcyConvRateType: string
Title:
Type of Currency Conversion RateMaximum Length:30The currency conversion rate type associated with the outbound message. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:15The currency code associated with the outbound message. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
DeleteFlag: boolean
Title:
Can Delete MessageRead Only:trueIndicates whether the outbound message record can be deleted. -
DeliveryServiceCd: string
Title:
Delivery Service CodeMaximum Length:30Default Value:ORA_SVC_UMSThe delivery service code of the outbound message. -
DeliveryTypeCd: string
Title:
Delivery Type CodeMaximum Length:30Default Value:ORA_SVC_IMMEDIATEThe delivery type code of the outbound message. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the outbound message was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the outbound message. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the outbound message. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageContent: string
(byte)
Title:
Message ContentThe content of the outbound message, such as the contents of an email. -
OutboundMessageId: integer
(int64)
Title:
Outbound Message IDThe unique identifier of the outbound message. -
OutboundMessageNumber: string
Title:
Outbound Message NumberMaximum Length:30The alternate key identifier of the outbound message. -
OutboundMsgParts: array
Outbound Message Parts
Title:
Outbound Message PartsThe outbound message parts resource is used to view, create, update, and delete an outbound message part. It's used to get the description of the root outbound message resource part. -
PostedByPartyid: integer
(int64)
Title:
Posted by Party IDThe unique party identifier of the user who posted the outbound message. -
ProcessingStatusCd: string
Title:
Processing Status CodeMaximum Length:30The processing status code of the outbound message. -
ReplyToAddress: string
Title:
Reply to AddressMaximum Length:240The reply to address of the outbound message. -
RetryCount: integer
(int64)
Title:
Retry CountDefault Value:0The retry count of the outbound message. -
SenderEmailSourceCd: string
Title:
Sender Email Source CodeMaximum Length:30The source code of the sender email for the outbound message. -
SenderName: string
Title:
Sender NameMaximum Length:100The name of the sender who sent the outbound message. -
SentDate: string
(date-time)
Title:
Sent DateThe date when the message was sent by the sender. -
SourceCd: string
Title:
Source CodeMaximum Length:30The source code of the outbound message. -
SourceMsgObjId: integer
(int64)
Title:
Source Message Object IDThe object identifier of the outbound message. -
SourceMsgObjTypeCd: string
Title:
Source Message Object Type CodeMaximum Length:30The source message object type code of the outbound message. -
SourceObjId: integer
(int64)
Title:
Source Object IDThe source object identifier of the outbound message. -
SourceObjPkName: string
Title:
Source Object Primary Key NameMaximum Length:30The source object primary key of the outbound message. -
SourceObjTemplateName: string
Title:
Source Object Template NameMaximum Length:240The template name of the outbound message. -
SourceObjTypeCd: string
Title:
Source Object Type CodeMaximum Length:30The source object type code of the outbound message. -
StatusCd: string
Title:
Status CodeMaximum Length:30The status code of the outbound message. -
StatusDetails: string
Title:
Status DetailsMaximum Length:1000The status details of the outbound message. -
StripeCd: string
Title:
Stripe CodeMaximum Length:30The stripe code of the outbound message. -
Subject: string
Title:
SubjectMaximum Length:400The subject of the outbound message. -
UpdateFlag: boolean
Title:
Can Update MessageIndicates whether the outbound message has been updated. -
UsePostedByEmailFlag: boolean
Title:
Use Posted by Party EmailMaximum Length:1Default Value:falseThe email of the user who posted the outbound message. -
UsePostedByNameFlag: boolean
Title:
Use Posted by Party NameMaximum Length:1Default Value:falseThe name of the user who posted the outbound message.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Outbound Message Parts
Type:
arrayTitle:
Outbound Message PartsThe outbound message parts resource is used to view, create, update, and delete an outbound message part. It's used to get the description of the root outbound message resource part.
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.
Nested Schema : outboundMessages-OutboundMsgParts-item-response
Type:
Show Source
object-
CorpCurrencyCode: string
Title:
Corporate Currency CodeMaximum Length:15The corporate currency code associated with the message part. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the outbound message recipient. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the outbound message was created. -
CurcyConvRateType: string
Title:
Type of Currency Conversion RateMaximum Length:30The currency conversion rate type for the message part. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. -
CurrencyCode: string
Title:
Currency CodeMaximum Length:15The currency code associated with the message part. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. -
DeleteFlag: boolean
Title:
Can Delete Message PartRead Only:trueIndicates whether the outbound message is deleted. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the outbound message detail was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The login of the user who last updated the outbound message detail. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the outbound message detail. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OutboundMessageId: integer
(int64)
Title:
Outbound Message IDThe unique identifier of the outbound message detail. -
OutboundMsgPartId: integer
(int64)
Title:
Outbound Message Part IDThe unique part identifier of the outbound message detail. -
PartName: string
Title:
Part NameMaximum Length:64The part name of the outbound message detail. -
PartTypeCd: string
Title:
Part Type CodeMaximum Length:30The part type of the outbound message details. -
PartValue: string
Title:
Part ValueMaximum Length:2000The part value of the outbound message details. -
UpdateFlag: boolean
Title:
Can Update Message PartRead Only:trueIndicates whether the outbound message can be updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- ChannelTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_CHANNEL_TYPE
The following properties are defined on the LOV link relation:- Source Attribute: ChannelTypeCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- DeliveryServiceCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_DELIVERY_SERVICE
The following properties are defined on the LOV link relation:- Source Attribute: DeliveryServiceCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- DeliveryTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_DELIVERY_TYPE_CD
The following properties are defined on the LOV link relation:- Source Attribute: DeliveryTypeCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- OutboundMsgParts
-
Operation: /crmRestApi/resources/11.13.18.05/outboundMessages/{OutboundMessageId}/child/OutboundMsgPartsParameters:
- OutboundMessageId:
$request.path.OutboundMessageId
The outbound message parts resource is used to view, create, update, and delete an outbound message part. It's used to get the description of the root outbound message resource part. - OutboundMessageId:
- ProcessingStatusCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_PROCESS_STATUS_CD
The following properties are defined on the LOV link relation:- Source Attribute: ProcessingStatusCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- SenderEmailSourceCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_SENDER_EMAIL_SOURCE_CD
The following properties are defined on the LOV link relation:- Source Attribute: SenderEmailSourceCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- SourceCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_SOURCE_CD
The following properties are defined on the LOV link relation:- Source Attribute: SourceCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- SourceMsgObjTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_MSG_OBJECT_TYPE
The following properties are defined on the LOV link relation:- Source Attribute: SourceMsgObjTypeCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- SourceObjTypeCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_SOURCE_OBJECT_TYPE
The following properties are defined on the LOV link relation:- Source Attribute: SourceObjTypeCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
- StatusCdLookup
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_SVC_OBM_STATUS_CD
The following properties are defined on the LOV link relation:- Source Attribute: StatusCd; Target Attribute: LookupCode
- Display Attribute: LookupCode
- finder:
Examples
The following example shows how to update an outbound message by submitting a POST request on the REST resource using cURL.
cURL Command
https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/outboundMessages/300100194002148Example of Response Body
The following example shows the contents of the request body in JSON format.
{
"Subject" : "Testing-Update"
}}Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"OutboundMessageId": 300100194002148,
"SourceMsgObjId": null,
"SourceObjId": 300100187585268,
"SourceObjTypeCd": "ServiceRequest",
"SourceObjTemplateName": null,
"SourceObjPkName": null,
"PostedByPartyid": null,
"Subject": "Testing-Update",
"SourceCd": "ORA_SVC_API",
"ChannelId": null,
"StatusCd": "ORA_SVC_COMMITTED",
"StatusDetails": null,
"ProcessingStatusCd": "ORA_SVC_PROCESSED",
"SentDate": "2020-08-05T11:35:37+00:00",
"ReplyToAddress": "fuscdrmsmc17_extservice@adcdat05.us.oracle.com",
"BUOrgId": null,
"StripeCd": "ORA_SVC_CRM",
"CreationDate": "2020-08-05T11:54:11+00:00",
"CreatedBy": "SALES_ADMIN",
"LastUpdateDate": "2020-08-05T11:54:11.001+00:00",
"LastUpdatedBy": "SALES_ADMIN",
"LastUpdateLogin": "ABC95755E69C9458E053773AF80A7EDA",
"ChannelTypeCd": null,
"RetryCount": 1,
"SourceMsgObjTypeCd": null,
"OutboundMessageNumber": "CDRM_0000049009",
"SenderName": "Sales Admin",
"UsePostedByEmailFlag": false,
"UsePostedByNameFlag": false,
"UpdateFlag": true,
"DeleteFlag": true,
"CorpCurrencyCode": null,
"CurcyConvRateType": null,
"CurrencyCode": null,
...
}