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
  • Title: Address Line 1
    Maximum Length: 240
    First line in the address of the manufacturer.
  • Title: Address Line 2
    Maximum Length: 240
    Second line in the address of the manufacturer.
  • Title: Address Line 3
    Maximum Length: 240
    Third line in the address of the manufacturer.
  • Title: Address Line 4
    Maximum Length: 240
    Fourth line in the address of the manufacturer.
  • Title: Additional Address Element 1
    Maximum Length: 150
    Address one element used in flexible address formats.
  • Title: Additional Address Element 2
    Maximum Length: 150
    Address two element used in flexible address formats.
  • Title: Additional Address Element 3
    Maximum Length: 150
    Address three element used in flexible address formats.
  • Title: Additional Address Element 4
    Maximum Length: 150
    Address four element used in flexible address formats.
  • Title: Additional Address Element 5
    Maximum Length: 150
    Address five element used in flexible address formats.
  • Maximum Length: 30
    Used to view the different styles in which an address can be formatted. There are multiple address formats such as general address, rural address, and military address.
  • Title: Building
    Maximum Length: 240
    Building name or number of an address.
  • Title: City
    Maximum Length: 60
    City of the manufacturer.
  • Title: Manufacturer Description
    Maximum Length: 2000
    Description of the manufacturer.
  • Title: Country
    Maximum Length: 2
    Country of the manufacturer.
  • Title: Country
    Name of the country.
  • Title: County
    Maximum Length: 60
    County of the manufacturer.
  • Title: D-U-N-S Number
    Maximum Length: 30
    Unique nine-character number used to identify the manufacturer.
  • Title: Floor
    Maximum Length: 40
    Floor number of an address, or of a building when the building number is provided.
  • Title: House Type
    Maximum Length: 30
    Type of the building in the address. A list of valid values are defined in the lookup HZ_HOUSE_TYPE. Review and update the codes using the Setup and Maintenance work area, Manage Standard Lookups task.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the manufacturer is active. If false, then the manufacturer is inactive. The default value is true.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the manufacturer is private. If false, then the manufacturer is public. The default value is false.
  • Value that uniquely identifies the manufacturer.
  • Title: Manufacturer
    Maximum Length: 360
    Name of the manufacturer.
  • Title: Postal Code
    Maximum Length: 60
    Postal code of the manufacturer.
  • Title: Postal Code Extension
    Maximum Length: 20
    Four-digit extension of the United States postal ZIP code in the address.
  • Maximum Length: 20
    Primary phone extension of the manufacturer.
  • Maximum Length: 40
    Primary phone number of the manufacturer.
  • Title: Province
    Maximum Length: 60
    Province of the manufacturer.
  • Title: Registry ID
    Maximum Length: 30
    Value that uniquely identifies the manufacturer by registry ID.
  • Title: State
    Maximum Length: 60
    State of the address.
  • Title: State
    Name of the state.
  • Title: Status
    Maximum Length: 1
    Default Value: A
    Status of the manufacturer.
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
  • Title: Address Line 1
    Maximum Length: 240
    First line in the address of the manufacturer.
  • Title: Address Line 2
    Maximum Length: 240
    Second line in the address of the manufacturer.
  • Title: Address Line 3
    Maximum Length: 240
    Third line in the address of the manufacturer.
  • Title: Address Line 4
    Maximum Length: 240
    Fourth line in the address of the manufacturer.
  • Title: Additional Address Element 1
    Maximum Length: 150
    Address one element used in flexible address formats.
  • Title: Additional Address Element 2
    Maximum Length: 150
    Address two element used in flexible address formats.
  • Title: Additional Address Element 3
    Maximum Length: 150
    Address three element used in flexible address formats.
  • Title: Additional Address Element 4
    Maximum Length: 150
    Address four element used in flexible address formats.
  • Title: Additional Address Element 5
    Maximum Length: 150
    Address five element used in flexible address formats.
  • Maximum Length: 30
    Used to view the different styles in which an address can be formatted. There are multiple address formats such as general address, rural address, and military address.
  • Title: Building
    Maximum Length: 240
    Building name or number of an address.
  • Title: City
    Maximum Length: 60
    City of the manufacturer.
  • Title: Manufacturer Description
    Maximum Length: 2000
    Description of the manufacturer.
  • Title: Country
    Maximum Length: 2
    Country of the manufacturer.
  • Title: Country
    Name of the country.
  • Title: County
    Maximum Length: 60
    County of the manufacturer.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the manufacturer.
  • Title: Creation Date
    Read Only: true
    Date when the manufacturer was created.
  • Title: D-U-N-S Number
    Maximum Length: 30
    Unique nine-character number used to identify the manufacturer.
  • Title: Floor
    Maximum Length: 40
    Floor number of an address, or of a building when the building number is provided.
  • Title: House Type
    Maximum Length: 30
    Type of the building in the address. A list of valid values are defined in the lookup HZ_HOUSE_TYPE. Review and update the codes using the Setup and Maintenance work area, Manage Standard Lookups task.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the manufacturer is active. If false, then the manufacturer is inactive. The default value is true.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the manufacturer is private. If false, then the manufacturer is public. The default value is false.
  • Title: Last Updated Date
    Read Only: true
    Date when the manufacturer was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the manufacturer.
  • Links
  • Value that uniquely identifies the manufacturer.
  • Title: Manufacturer
    Maximum Length: 360
    Name of the manufacturer.
  • Title: Party Type
    Maximum Length: 30
    Type of party of the manufacturer.
  • Title: Postal Code
    Maximum Length: 60
    Postal code of the manufacturer.
  • Title: Postal Code Extension
    Maximum Length: 20
    Four-digit extension of the United States postal ZIP code in the address.
  • Maximum Length: 20
    Primary phone extension of the manufacturer.
  • Maximum Length: 40
    Primary phone number of the manufacturer.
  • Title: Province
    Maximum Length: 60
    Province of the manufacturer.
  • Title: Registry ID
    Maximum Length: 30
    Value that uniquely identifies the manufacturer by registry ID.
  • Title: State
    Maximum Length: 60
    State of the address.
  • Title: State
    Name of the state.
  • Title: Status
    Maximum Length: 1
    Default Value: A
    Status of the manufacturer.
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