Update a manufacturer

patch

/fscmRestApi/resources/11.13.18.05/manufacturers/{manufacturersUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Manufacturers resource and used to uniquely identify an instance of Manufacturers. The client should not generate the hash key value. Instead, the client should query on the Manufacturers collection resource in order to navigate to a specific instance of Manufacturers to get the hash key.
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
An attachment is a file provided by a manufacturer for supporting information.
Show Source
Nested Schema : manufacturerEFF
Type: array
Show Source
  • Discriminator: CategoryCode
    Discriminator: { "propertyName":"CategoryCode", "mapping":{ "ALL_MANUFACTURERS":"#/components/schemas/oracle_apps_flex_scm_productCatalogManagement_manufacturerEff_manufacturer_categories_view_j__manufacturerAllManufacturersPrivateVO-item-patch-request" } }
Nested Schema : schema
Type: object
Show Source
Nested Schema : Discriminator: CategoryCode
Type: object
Discriminator: CategoryCode

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_scm_productCatalogManagement_manufacturerEff_manufacturer_categories_view_j__manufacturerAllManufacturersPrivateVO-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 : manufacturers-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
An attachment is a file provided by a manufacturer for supporting information.
Show Source
Nested Schema : manufacturerEFF
Type: array
Show Source
  • Discriminator: CategoryCode
    Discriminator: { "propertyName":"CategoryCode", "mapping":{ "ALL_MANUFACTURERS":"#/components/schemas/oracle_apps_flex_scm_productCatalogManagement_manufacturerEff_manufacturer_categories_view_j__manufacturerAllManufacturersPrivateVO-item-response" } }
Nested Schema : manufacturers-Attachments-item-response
Type: object
Show Source
Nested Schema : Discriminator: CategoryCode
Type: object
Discriminator: CategoryCode

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_scm_productCatalogManagement_manufacturerEff_manufacturer_categories_view_j__manufacturerAllManufacturersPrivateVO-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to update a manufacturer.

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 'request payload'  "https://servername/fscmRestApi/resources/version/manufacturers/manufacturersUniqID"
For example:
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload'  "https://servername/fscmRestApi/resources/version/manufacturers/00050000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65360000000EACED00057708000110F0A21D6535FFFFFFFF"

Example Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "Status": "I"
}

Example Response Body

The following example includes the contents of the response body in JSON format:
{
    "OrganizationName": "TESTINGMFR",
    "Comments": "Delete",
    "RegistryId": "CDRM_943583",
    "DUNSNumber": null,
    "Status": "I",
    "CreatedBy": "PLM_AUTO",
    "CreationDate": "2022-06-30T20:14:08.561+00:00",
    "IsActiveFlag": null,
    "IsPrivateFlag": null,
    "LastUpdatedBy": "PLM_AUTO",
    "LastUpdateDate": "2022-06-30T20:14:34.768+00:00",
    "ManufacturerId": 300100674741557,
    "PartyType": "ORGANIZATION",
    "Address1": null,
    "Address2": null,
    "Country": null,
    "CountryName": null,
    "StateName": null,
    "County": null,
    "City": null,
    "State": null,
    "PostalCode": null,
    "PrimaryPhoneNumber": null,
    "PrimaryPhoneExtension": null,
    "Province": null,
    "Address3": null,
    "Address4": null,
    "AddressElementAttribute1": null,
    "AddressElementAttribute2": null,
    "AddressElementAttribute3": null,
    "AddressElementAttribute4": null,
    "AddressElementAttribute5": null,
    "AddressStyle": null,
    "Building": null,
    "FloorNumber": null,
    "HouseType": null,
    "PostalPlus4Code": null,
    "Custom_Text_c": "Default Value",
    "Custom_Date_c": "2022-06-23",
    "Custom_List_c": "HIGH",
    "Custom_Idea_DCL_Id_c": null,
    "Custom_Idea_DCL_c": null,
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/11.13.18.05/manufacturers/00050000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65360000000EACED00057708000110F0A21D6535FFFFFFFF",
            "name": "manufacturers",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000057704000000057372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B0200007870000000027371007E0004000000017371007E00040000000271007E000378"
            }
        },
        {
            "rel": "canonical",
            "href": "https://server/fscmRestApi/resources/version/manufacturers/00050000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65350000000EACED00057708000110F0A21D65360000000EACED00057708000110F0A21D6535FFFFFFFF",
            "name": "manufacturers",
            "kind": "item"
        }
    ]
}
Back to Top