Create results for availability

post

/fscmRestApi/resources/11.13.18.05/availableSupplies

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
  • Maximum Length: 255
    Value that uniquely identifies the source application from which the order promising service request originated.
  • Maximum Length: 255
    Value that identifies the module from which the order promising service request originated.
  • Date until when the supply availability information is returned. This attribute is the end date of the supply availability request date range.
  • Maximum Length: 255
    Abbreviation that identifies the error code, if any, returned by Oracle Global Order Promising Cloud for the supply availability request.
  • Maximum Length: 255
    Value that indicates the type of request that needs to be performed for the fulfillment line.
  • Date and time when the promise is generated by Oracle Global Order Promising Cloud.
  • Maximum Length: 255
    Value that identifies the order promising application that performed the availability check.
  • Maximum Length: 255
    Value that uniquely identifies the order promising web service query.
  • Date when the supply availability request was created.
  • Date from when the supply availability information is returned. This attribute is the start date of the supply availability request date range.
  • Supply Availability Details
    Title: Supply Availability Details
    The Supply Availability Details resource manages supply check for an item at one or more organizations, as well as availability check for manufacturing resource or supplier, in a specified time window.
  • Maximum Length: 255
    Value that uniquely identifies the order for the request.
Nested Schema : Supply Availability Details
Type: array
Title: Supply Availability Details
The Supply Availability Details resource manages supply check for an item at one or more organizations, as well as availability check for manufacturing resource or supplier, in a specified time window.
Show Source
Nested Schema : availableSupplies-SupplyAvailabilityDetails-item-post-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 : availableSupplies-item-response
Type: object
Show Source
  • Maximum Length: 255
    Value that uniquely identifies the source application from which the order promising service request originated.
  • Maximum Length: 255
    Value that identifies the module from which the order promising service request originated.
  • Date until when the supply availability information is returned. This attribute is the end date of the supply availability request date range.
  • Maximum Length: 255
    Abbreviation that identifies the error code, if any, returned by Oracle Global Order Promising Cloud for the supply availability request.
  • Links
  • Maximum Length: 255
    Value that indicates the type of request that needs to be performed for the fulfillment line.
  • Date and time when the promise is generated by Oracle Global Order Promising Cloud.
  • Maximum Length: 255
    Value that identifies the order promising application that performed the availability check.
  • Maximum Length: 255
    Value that uniquely identifies the order promising web service query.
  • Date when the supply availability request was created.
  • Date from when the supply availability information is returned. This attribute is the start date of the supply availability request date range.
  • Supply Availability Details
    Title: Supply Availability Details
    The Supply Availability Details resource manages supply check for an item at one or more organizations, as well as availability check for manufacturing resource or supplier, in a specified time window.
  • Maximum Length: 255
    Value that uniquely identifies the order for the request.
Nested Schema : Supply Availability Details
Type: array
Title: Supply Availability Details
The Supply Availability Details resource manages supply check for an item at one or more organizations, as well as availability check for manufacturing resource or supplier, in a specified time window.
Show Source
Nested Schema : availableSupplies-SupplyAvailabilityDetails-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create results for availability.

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.batch+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/"

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.

{
	"parts":[
	{
		"id":"Request",
		"path":"/availableSupplies",
		"operation":"create",
		"payload":{
			"CallingModule": "GOP",
			"CallingInstance": "100010026240309",
			"RequestCreationDate":"2017-01-01",
			"OperationName": "quickAvailability",
			"SupplyAvailabilityDetails" :
			[
			{ 
				"Itemid" : "11593",
				"Requesteddate" :"2019-03-12"
			}
			]                
		}
	}
	]
}

Example Response Body

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

{
	"parts": [
	{
		"id": "Request",
		"path": "https://servername/fscmRestApi/resources/version/availableSupplies",
		"operation": "create",
		"payload": {
			"UniqueOrderId": "205",
			"CallingModule": "GOP",
			"CallingInstance": "100010026240309",
			"QueryId": null,
			"StartDate": null,
			"EndDate": null,
			"RequestCreationDate": "2017-01-01",
			"PromisingSystem": "DOO-OP",
			"PromiseDate": null,
			"ErrorCode": "null",
			"OperationName": "quickAvailability",
			"SupplyAvailabilityDetails": [
			{}
			],
			"links": [
			{
				"rel": "self",
				"href": "https://servername/fscmRestApi/resources/version/availableSupplies/205",
				"name": "availableSupplies",
				"kind": "item"
			},
			{
				"rel": "canonical",
				"href": "https://servername/fscmRestApi/resources/version/availableSupplies/205",
				"name": "availableSupplies",
				"kind": "item"
			},
			{
				"rel": "child",
				"href": "https://servername/fscmRestApi/resources/version/availableSupplies/205/child/SupplyAvailabilityDetails",
				"name": "SupplyAvailabilityDetails",
				"kind": "collection"
			}
			]
		}
	}
	]
}

Back to Top