Create rules

post

/fscmRestApi/resources/11.13.18.05/collaborationBusinessUnitResolutionRules

Request

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
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 : collaborationBusinessUnitResolutionRules-item-response
Type: object
Show Source
  • Value that uniquely identifies the collaboration business unit rule.
  • Read Only: true
    Maximum Length: 64
    User who created the collaboration business unit rule.
  • Read Only: true
    Date and time when the user created the collaboration business unit rule.
  • Title: Supplier
    Read Only: true
    Maximum Length: 255
    Name of the supplier associated with the collaboration business unit rule displayed on the user interface.
  • Title: Supplier Site
    Read Only: true
    Maximum Length: 255
    Name of the supplier site associated with the collaboration business unit rule displayed on the user interface.
  • Read Only: true
    Date and time when the user most recently updated the collaboration business unit rule.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the collaboration business unit rule.
  • Links
  • Title: Organization
    Maximum Length: 49
    Abbreviation that identifies the organization associated with the collaboration business unit rule.
  • Value that uniquely identifies the organization associated with the collaboration business unit rule.
  • Title: Organization Name
    Read Only: true
    Maximum Length: 255
    Name of the organization associated with the collaboration business unit rule.
  • Title: Procurement BU
    Maximum Length: 240
    Name of the procurement business unit associated with the collaboration business unit rule.
  • Read Only: true
    Maximum Length: 80
    Product data model source application for the collaboration business unit rule. Valid values are External or Oracle.
  • Maximum Length: 30
    Abbreviation that identifies the product data model source application for the collaboration business unit rule. Valid values are ORA_VCS_SRCSYSTEM_EXTERNAL or ORA_VCS_SRCSYSTEM_ORACLE.
  • Title: Supplier
    Maximum Length: 360
    Name of the supplier associated with the collaboration business unit rule.
  • Title: Supplier Site
    Maximum Length: 240
    Name of the supplier site associated with the collaboration business unit rule.
Back to Top

Examples

This example describes how to create rules.

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/collaborationBusinessUnitResolutionRules"

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 creates.

{
	"OrganizationCode": "M1",
	"ProcurementBUName": "Vision Operations",
	"SupplierName": "CV_SuppA01",
	"SupplierSiteName": "ORA_VCS_ALL",
	"SourceSystemCode": "ORA_VCS_SRCSYSTEM_ORACLE"
}

Example Response Body

The following example includes the contents of the response body in JSON format:

{
	"CollaborationBusinessUnitResolutionRuleId": 300100545617038,
	"OrganizationId": 207,
	"OrganizationCode": "M1",
	"OrganizationName": null,
	"ProcurementBUName": "Vision Operations",
	"SupplierName": "CV_SuppA01",
	"SupplierSiteName": "ORA_VCS_ALL",
	"SourceSystem": null,
	"SourceSystemCode": "ORA_VCS_SRCSYSTEM_ORACLE",
	"CreatedBy": "PLANNER",
	"CreationDate": "2021-02-23T16:11:18+00:00",
	"LastUpdatedBy": "PLANNER",
	"LastUpdateDate": "2021-02-23T16:11:18.148+00:00",
	"@context": {
		"key": "300100545617038",
		"headers": {
			"ETag": "{ETagValue}"
		},
		"links": [
		{
			...
		},
		{
			...
		}
		]
	}
}
Back to Top