Create manufacturers
post
/fscmRestApi/resources/11.13.18.05/manufacturers
Request
Header Parameters
-
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
Address1: string
Title:
Address Line 1
Maximum Length:240
First line in the address of the manufacturer. -
Address2: string
Title:
Address Line 2
Maximum Length:240
Second line in the address of the manufacturer. -
Address3: string
Title:
Address Line 3
Maximum Length:240
Third line in the address of the manufacturer. -
Address4: string
Title:
Address Line 4
Maximum Length:240
Fourth line in the address of the manufacturer. -
AddressElementAttribute1: string
Title:
Additional Address Element 1
Maximum Length:150
Address one element used in flexible address formats. -
AddressElementAttribute2: string
Title:
Additional Address Element 2
Maximum Length:150
Address two element used in flexible address formats. -
AddressElementAttribute3: string
Title:
Additional Address Element 3
Maximum Length:150
Address three element used in flexible address formats. -
AddressElementAttribute4: string
Title:
Additional Address Element 4
Maximum Length:150
Address four element used in flexible address formats. -
AddressElementAttribute5: string
Title:
Additional Address Element 5
Maximum Length:150
Address five element used in flexible address formats. -
AddressStyle: string
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. -
Building: string
Title:
Building
Maximum Length:240
Building name or number of an address. -
City: string
Title:
City
Maximum Length:60
City of the manufacturer. -
Comments: string
Title:
Manufacturer Description
Maximum Length:2000
Description of the manufacturer. -
Country: string
Title:
Country
Maximum Length:2
Country of the manufacturer. -
CountryName: string
Title:
Country
Name of the country. -
County: string
Title:
County
Maximum Length:60
County of the manufacturer. -
DUNSNumber: string
Title:
D-U-N-S Number
Maximum Length:30
Unique nine-character number used to identify the manufacturer. -
FloorNumber: string
Title:
Floor
Maximum Length:40
Floor number of an address, or of a building when the building number is provided. -
HouseType: string
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. -
IsActiveFlag: boolean
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. -
IsPrivateFlag: boolean
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. -
ManufacturerId: integer
(int64)
Value that uniquely identifies the manufacturer.
-
OrganizationName: string
Title:
Manufacturer
Maximum Length:360
Name of the manufacturer. -
PartyType: string
Title:
Party Type
Maximum Length:30
Type of party of the manufacturer. -
PostalCode: string
Title:
Postal Code
Maximum Length:60
Postal code of the manufacturer. -
PostalPlus4Code: string
Title:
Postal Code Extension
Maximum Length:20
Four-digit extension of the United States postal ZIP code in the address. -
PrimaryPhoneExtension: string
Maximum Length:
20
Primary phone extension of the manufacturer. -
PrimaryPhoneNumber: string
Maximum Length:
40
Primary phone number of the manufacturer. -
Province: string
Title:
Province
Maximum Length:60
Province of the manufacturer. -
RegistryId: string
Title:
Registry ID
Maximum Length:30
Value that uniquely identifies the manufacturer by registry ID. -
State: string
Title:
State
Maximum Length:60
State of the address. -
StateName: string
Title:
State
Name of the state. -
Status: string
Title:
Status
Maximum Length:1
Default Value:A
Status of the manufacturer.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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 : manufacturers-item-response
Type:
Show Source
object
-
Address1: string
Title:
Address Line 1
Maximum Length:240
First line in the address of the manufacturer. -
Address2: string
Title:
Address Line 2
Maximum Length:240
Second line in the address of the manufacturer. -
Address3: string
Title:
Address Line 3
Maximum Length:240
Third line in the address of the manufacturer. -
Address4: string
Title:
Address Line 4
Maximum Length:240
Fourth line in the address of the manufacturer. -
AddressElementAttribute1: string
Title:
Additional Address Element 1
Maximum Length:150
Address one element used in flexible address formats. -
AddressElementAttribute2: string
Title:
Additional Address Element 2
Maximum Length:150
Address two element used in flexible address formats. -
AddressElementAttribute3: string
Title:
Additional Address Element 3
Maximum Length:150
Address three element used in flexible address formats. -
AddressElementAttribute4: string
Title:
Additional Address Element 4
Maximum Length:150
Address four element used in flexible address formats. -
AddressElementAttribute5: string
Title:
Additional Address Element 5
Maximum Length:150
Address five element used in flexible address formats. -
AddressStyle: string
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. -
Building: string
Title:
Building
Maximum Length:240
Building name or number of an address. -
City: string
Title:
City
Maximum Length:60
City of the manufacturer. -
Comments: string
Title:
Manufacturer Description
Maximum Length:2000
Description of the manufacturer. -
Country: string
Title:
Country
Maximum Length:2
Country of the manufacturer. -
CountryName: string
Title:
Country
Name of the country. -
County: string
Title:
County
Maximum Length:60
County of the manufacturer. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the manufacturer. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the manufacturer was created. -
DUNSNumber: string
Title:
D-U-N-S Number
Maximum Length:30
Unique nine-character number used to identify the manufacturer. -
FloorNumber: string
Title:
Floor
Maximum Length:40
Floor number of an address, or of a building when the building number is provided. -
HouseType: string
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. -
IsActiveFlag: boolean
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. -
IsPrivateFlag: boolean
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. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
Date when the manufacturer was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
User who last updated the manufacturer. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ManufacturerId: integer
(int64)
Value that uniquely identifies the manufacturer.
-
OrganizationName: string
Title:
Manufacturer
Maximum Length:360
Name of the manufacturer. -
PartyType: string
Title:
Party Type
Maximum Length:30
Type of party of the manufacturer. -
PostalCode: string
Title:
Postal Code
Maximum Length:60
Postal code of the manufacturer. -
PostalPlus4Code: string
Title:
Postal Code Extension
Maximum Length:20
Four-digit extension of the United States postal ZIP code in the address. -
PrimaryPhoneExtension: string
Maximum Length:
20
Primary phone extension of the manufacturer. -
PrimaryPhoneNumber: string
Maximum Length:
40
Primary phone number of the manufacturer. -
Province: string
Title:
Province
Maximum Length:60
Province of the manufacturer. -
RegistryId: string
Title:
Registry ID
Maximum Length:30
Value that uniquely identifies the manufacturer by registry ID. -
State: string
Title:
State
Maximum Length:60
State of the address. -
StateName: string
Title:
State
Name of the state. -
Status: string
Title:
Status
Maximum Length:1
Default Value:A
Status of the manufacturer.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.
Examples
This example describes how to create one manufacturer.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/manufacturers"
Example Request Body
The following example includes the contents of the request body in JSON format:
{ "OrganizationName": "Test rest 2" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "AttributeCategory": null, "CorpCurrencyCode": null, "CreatedBy": "PLM_AUTO", "CreationDate": "2022-04-04T19:44:50+00:00", "CurcyConvRateType": null, "CurrencyCode": null, "IsActiveFlag": null, "IsPrivateFlag": null, "LastUpdateDate": "2022-04-04T19:44:51.328+00:00", "LastUpdateLogin": "DB7D1802BA58746EE0531929F80AA460", "LastUpdatedBy": "PLM_AUTO", "ManufacturerId": 300100550108403, "ObjectVersionNumber": null, "RegistryID": null, "PartyType": null, "PartyUsgAssignmentId": null, "PartyUsageCode": null, "OrganizationName": null, "SysEffectiveDate": null, "Comments": null, "ObjectVersionNumber1": null, "ObjectVersionNumber2": null, "CreatedByModule": null, "Status": null, "Address1": null, "Address2": null, "Country": null, "CountryName": null, "StateName": null, "DunsNumberC": null, "County": null, "City": null, "State": null, "PostalCode": null, "PrimaryPhoneNumber": null, "PrimaryPhoneExtension": null, "Province": null, "HqBranchInd": null, "Address3": null, "Address4": null, "IdenAddrLocationId": null, "IdenAddrPartySiteId": null, "AddrElementAttribute1": null, "AddrElementAttribute2": null, "AddrElementAttribute3": null, "AddrElementAttribute4": null, "AddrElementAttribute5": null, "LocationId": null, "ObjectVersionNumber3": null, "AddressStyle": null, "Building": null, "FloorNumber": null, "HouseType": null, "PostalPlus4Code": null, "CreatedByModule1": null, "CreatedByModule2": null, "AttachmentEntityName": null, "REST_TEXT_c": "REST TEXT DEFAULT VALUE", "REST_DATE_c": "2022-03-31", "REST_DATETIME_c": "2022-04-01T20:20:20+00:00", "REST_LIST_c": "HIGH", "links": [ { "rel": "self", "href": "https://server/fscmRestApi/resources/version/manufacturers/00040000000EACED00057708000110F09AAFA4F3FFFFFFFFFFFFFFFFFFFFFFFF", "name": "manufacturers", "kind": "item" }, { "rel": "canonical", "href": "https://server/fscmRestApi/resources/version/manufacturers/00040000000EACED00057708000110F09AAFA4F3FFFFFFFFFFFFFFFFFFFFFFFF", "name": "manufacturers", "kind": "item" } ] }