Update an outbound message part

patch

/crmRestApi/resources/11.13.18.05/outboundMessages/{OutboundMessageId}/child/OutboundMsgParts/{OutboundMsgPartId}

Request

Path Parameters
  • 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=
  • 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
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Corporate Currency Code
    Maximum Length: 15
    The 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.
  • Title: Type of Currency Conversion Rate
    Maximum Length: 30
    The 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.
  • Title: Currency Code
    Maximum Length: 15
    The 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.
  • Title: Outbound Message ID
    The unique identifier of the outbound message detail.
  • Title: Outbound Message Part ID
    The unique part identifier of the outbound message detail.
  • Title: Part Name
    Maximum Length: 64
    The part name of the outbound message detail.
  • Title: Part Type Code
    Maximum Length: 30
    The part type of the outbound message details.
  • Title: Part Value
    Maximum Length: 2000
    The part value of the outbound message details.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : outboundMessages-OutboundMsgParts-item-response
Type: object
Show Source
  • Title: Corporate Currency Code
    Maximum Length: 15
    The 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.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the outbound message recipient.
  • Title: Creation Date
    Read Only: true
    The date when the outbound message was created.
  • Title: Type of Currency Conversion Rate
    Maximum Length: 30
    The 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.
  • Title: Currency Code
    Maximum Length: 15
    The 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.
  • Title: Can Delete Message Part
    Read Only: true
    Indicates whether the outbound message is deleted.
  • Title: Last Updated Date
    Read Only: true
    The date when the outbound message detail was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The login of the user who last updated the outbound message detail.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The login of the user who last updated the outbound message detail.
  • Links
  • Title: Outbound Message ID
    The unique identifier of the outbound message detail.
  • Title: Outbound Message Part ID
    The unique part identifier of the outbound message detail.
  • Title: Part Name
    Maximum Length: 64
    The part name of the outbound message detail.
  • Title: Part Type Code
    Maximum Length: 30
    The part type of the outbound message details.
  • Title: Part Value
    Maximum Length: 2000
    The part value of the outbound message details.
  • Title: Can Update Message Part
    Read Only: true
    Indicates whether the outbound message can be updated.
Back to Top

Examples

The following example shows how to update an outbound message part by submitting a PATCH request on the REST resource using cURL.

cURL Command

https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/outboundMessages/300100188082127/child/OutboundMsgParts/300100188085657

Example of Request Body

The following shows the contents of the request body in JSON format.

{
      "PartValue": "ankita.biswas@oracle.com"
}

Example of Response Body

The following shows the contents of the response body in JSON format.

{
  "OutboundMsgPartId": 300100188085657,
  "OutboundMessageId": 300100188082127,
  "PartTypeCd": "ORA_SVC_TO",
  "PartName": "To",
  "PartValue": "ankita.biswas@oracle.com",
  "CreationDate": "2020-08-06T17:24:03+00:00",
  "CreatedBy": "FUSION",
  "LastUpdateDate": "2020-08-06T17:24:03.002+00:00",
  "LastUpdatedBy": "FUSION",
  "LastUpdateLogin": "AB8E5BAC48AD7278E0531C5CF00A3B51",
  "DeleteFlag": true,
  "UpdateFlag": true,
  "CorpCurrencyCode": null,
  "CurcyConvRateType": null,
  "CurrencyCode": null,
 ...
}
Back to Top