Update one supplier notification

patch

/fscmRestApi/resources/11.13.18.05/newSupplierNotification/{NewSupplierNotificationId}

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=
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
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : newSupplierNotification-attachments-item-patch-request
Type: object
Show Source
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 : newSupplierNotification-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : newSupplierNotification-attachments-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update one supplier notification.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d '{
  "EmailSubject": "test email subject",
  "EmailBody": "test email body"
}'  "https://servername/fscmRestApi/resources/version/newSupplierNotification/NewSupplierNotificationId"

Example 1

Example cURL Command

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d '{
  "EmailSubject": "test email subject",
  "EmailBody": "test email body"
}'  "https://servername/fscmRestApi/resources/version/newSupplierNotification/300100089172366"

Example Request Body

{
  "EmailSubject": "test email subject",
  "EmailBody": "test email body"
}

Example Response Body

{
  "NewSupplierNotificationId": 300100089172366,
  "TaxCountryCode": "GLOBAL",
  "TaxCountry": null,
  "EmailSubject": "test email subject",
  "UserComments": null,
  "EmailBody": "test email body"
}

Example 2

Example cURL Command

curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d '{
  "UserComments": "test user comments updated"
}'  "https://servername/fscmRestApi/resources/version/newSupplierNotification/300100650831593"

Example Request Body

{
  "UserComments": "test user comments updated"
}

Example Response Body

{
  "NewSupplierNotificationId": 300100650831593,
  "TaxCountryCode": "AQ",
  "TaxCountry": "Antarctica",
  "EmailSubject": null,
  "UserComments": "test user comments updated",
  "EmailBody": null
}
Back to Top