Create customer demand requests.
post
/fscmRestApi/resources/11.13.18.05/collaborationCustomerDemandRequests
Create customer demand requests.
Request
Header Parameters
-
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.
-
Upsert-Mode(required):
When set to true, the server will perform an Upsert operation instead of a Create. In an Upsert operation the server attempts to find an existing resource that matches the payload. If found, the server updates the existing resource instead of creating a new one. If not found, or when set to false (the default), a Create is performed.
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Nested Schema : collaborationCustomerDemandRequests-item
Type:
Show Source
object
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the customer demand request. -
CreationDate: string
(date)
Title:
Creation Date
Read Only:true
Date and time when the user created the customer demand request. -
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that uniquely identifies the customer demand request. -
CustomerNumber: string
Title:
Customer Number
Maximum Length:30
Number of the customer that receives the item. -
CustomerSiteNumber: string
Title:
Customer Site Number
Maximum Length:30
Number of the customer site that receives the item. -
DocumentTypeCode: string
Title:
Document Type Code
Maximum Length:30
Abbreviation that identifies the type of document used for collaboration. -
DocumentTypeName: string
Title:
Document Type Name
Read Only:true
Maximum Length:300
Type of document used for collaboration. -
IncrementalFlag: boolean
Title:
Incremental Flag
Contains one of the following values: true or false. If true, then only the quantities for the dates provided will be updated. If false, then quantities for all dates will be updated. -
ItemLevelValue: string
Title:
Item Level Value
Maximum Length:300
Value that identifies the item level of the customer demand request. -
LastUpdateDate: string
(date)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the customer demand request. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
Login of the user who most recently updated the customer demand request. -
MeasureTypeCode: string
Title:
Measure Type Code
Maximum Length:18
Abbreviation that identifies the type of measure used for collaboration within a document. -
MeasureTypeName: string
Title:
Measure Type Name
Read Only:true
Maximum Length:30
Type of measure used for collaboration within a document. -
OrganizationLevelValue: string
Title:
Item Level Value
Maximum Length:49
Value that identifies the organization level of the customer demand request. -
PublishedByPartyCode: string
Title:
Published By Party Code
Read Only:true
Abbreviation that identifies the party type that published the data. -
PublishedDate: string
Title:
Published Date
Read Only:true
Date the user submitted the customer demand request. -
Status: string
Title:
Status
Read Only:true
Current state of the customer demand request. -
StatusCode: string
Title:
Status Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the current state of the customer demand request.
- canonical
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- details
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details
- requestStatusDetails
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails
- self
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
Nested Schema : collaborationCustomerDemandRequests-details-item
Type:
Show Source
object
-
Date: string
(date)
Title:
Date
Date on the measure. -
DetailsId: number
Title:
Details ID
Read Only:true
Value that uniquely identifies the detail for the customer demand request. -
Quantity: number
Title:
Quantity
Quantity for a specified date on the measure.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
Nested Schema : collaborationCustomerDemandRequests-requestStatusDetails-item
Type:
Show Source
object
-
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that identifies the customer demand request. -
DetailsId: integer
Title:
Details ID
Read Only:true
Value that identifies the detail of the customer demand request. -
MessageCode: string
Title:
Message Code
Read Only:true
Value that identifies the message associated with the customer demand request or detail record. -
MessageToken: string
Title:
Message Token
Read Only:true
First token of the message code. -
MessageToken2: string
Title:
Message Token 2
Read Only:true
Second token of the message code. -
MessageToken3: string
Title:
Message Token 3
Read Only:true
Third token of the message code. -
MessageTokenValue: string
Title:
Message Token Value
Read Only:true
First token value of the message code. -
MessageTokenValue2: string
Title:
Message Token Value 2
Read Only:true
Second token value of the message code. -
MessageTokenValue3: string
Title:
Message Token Value 3
Read Only:true
Third token value of the message code. -
MessageType: string
Title:
Message Type
Read Only:true
Type of message associated with the customer demand request or detail record. -
MessageTypeCode: string
Title:
Message Type Code
Read Only:true
Value that identifies the type of message associated with the customer demand request or detail record. -
RequestStatusDetailsId: integer
Title:
Request Status Details ID
Read Only:true
Value that uniquely identifies the request status detail associated with the message code.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}
Nested Schema : collaborationCustomerDemandRequests-item
Type:
Show Source
object
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the customer demand request. -
CreationDate: string
(date)
Title:
Creation Date
Read Only:true
Date and time when the user created the customer demand request. -
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that uniquely identifies the customer demand request. -
CustomerNumber: string
Title:
Customer Number
Maximum Length:30
Number of the customer that receives the item. -
CustomerSiteNumber: string
Title:
Customer Site Number
Maximum Length:30
Number of the customer site that receives the item. -
DocumentTypeCode: string
Title:
Document Type Code
Maximum Length:30
Abbreviation that identifies the type of document used for collaboration. -
DocumentTypeName: string
Title:
Document Type Name
Read Only:true
Maximum Length:300
Type of document used for collaboration. -
IncrementalFlag: boolean
Title:
Incremental Flag
Contains one of the following values: true or false. If true, then only the quantities for the dates provided will be updated. If false, then quantities for all dates will be updated. -
ItemLevelValue: string
Title:
Item Level Value
Maximum Length:300
Value that identifies the item level of the customer demand request. -
LastUpdateDate: string
(date)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the customer demand request. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
Login of the user who most recently updated the customer demand request. -
MeasureTypeCode: string
Title:
Measure Type Code
Maximum Length:18
Abbreviation that identifies the type of measure used for collaboration within a document. -
MeasureTypeName: string
Title:
Measure Type Name
Read Only:true
Maximum Length:30
Type of measure used for collaboration within a document. -
OrganizationLevelValue: string
Title:
Item Level Value
Maximum Length:49
Value that identifies the organization level of the customer demand request. -
PublishedByPartyCode: string
Title:
Published By Party Code
Read Only:true
Abbreviation that identifies the party type that published the data. -
PublishedDate: string
Title:
Published Date
Read Only:true
Date the user submitted the customer demand request. -
Status: string
Title:
Status
Read Only:true
Current state of the customer demand request. -
StatusCode: string
Title:
Status Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the current state of the customer demand request.
- canonical
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- details
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details
- requestStatusDetails
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails
- self
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
Nested Schema : collaborationCustomerDemandRequests-details-item
Type:
Show Source
object
-
Date: string
(date)
Title:
Date
Date on the measure. -
DetailsId: number
Title:
Details ID
Read Only:true
Value that uniquely identifies the detail for the customer demand request. -
Quantity: number
Title:
Quantity
Quantity for a specified date on the measure.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
Nested Schema : collaborationCustomerDemandRequests-requestStatusDetails-item
Type:
Show Source
object
-
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that identifies the customer demand request. -
DetailsId: integer
Title:
Details ID
Read Only:true
Value that identifies the detail of the customer demand request. -
MessageCode: string
Title:
Message Code
Read Only:true
Value that identifies the message associated with the customer demand request or detail record. -
MessageToken: string
Title:
Message Token
Read Only:true
First token of the message code. -
MessageToken2: string
Title:
Message Token 2
Read Only:true
Second token of the message code. -
MessageToken3: string
Title:
Message Token 3
Read Only:true
Third token of the message code. -
MessageTokenValue: string
Title:
Message Token Value
Read Only:true
First token value of the message code. -
MessageTokenValue2: string
Title:
Message Token Value 2
Read Only:true
Second token value of the message code. -
MessageTokenValue3: string
Title:
Message Token Value 3
Read Only:true
Third token value of the message code. -
MessageType: string
Title:
Message Type
Read Only:true
Type of message associated with the customer demand request or detail record. -
MessageTypeCode: string
Title:
Message Type Code
Read Only:true
Value that identifies the type of message associated with the customer demand request or detail record. -
RequestStatusDetailsId: integer
Title:
Request Status Details ID
Read Only:true
Value that uniquely identifies the request status detail associated with the message code.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- 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.
Nested Schema : ItemProperties
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
Nested Schema : collaborationCustomerDemandRequests-item
Type:
Show Source
object
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
User who created the customer demand request. -
CreationDate: string
(date)
Title:
Creation Date
Read Only:true
Date and time when the user created the customer demand request. -
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that uniquely identifies the customer demand request. -
CustomerNumber: string
Title:
Customer Number
Maximum Length:30
Number of the customer that receives the item. -
CustomerSiteNumber: string
Title:
Customer Site Number
Maximum Length:30
Number of the customer site that receives the item. -
DocumentTypeCode: string
Title:
Document Type Code
Maximum Length:30
Abbreviation that identifies the type of document used for collaboration. -
DocumentTypeName: string
Title:
Document Type Name
Read Only:true
Maximum Length:300
Type of document used for collaboration. -
IncrementalFlag: boolean
Title:
Incremental Flag
Contains one of the following values: true or false. If true, then only the quantities for the dates provided will be updated. If false, then quantities for all dates will be updated. -
ItemLevelValue: string
Title:
Item Level Value
Maximum Length:300
Value that identifies the item level of the customer demand request. -
LastUpdateDate: string
(date)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the customer demand request. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
Login of the user who most recently updated the customer demand request. -
MeasureTypeCode: string
Title:
Measure Type Code
Maximum Length:18
Abbreviation that identifies the type of measure used for collaboration within a document. -
MeasureTypeName: string
Title:
Measure Type Name
Read Only:true
Maximum Length:30
Type of measure used for collaboration within a document. -
OrganizationLevelValue: string
Title:
Item Level Value
Maximum Length:49
Value that identifies the organization level of the customer demand request. -
PublishedByPartyCode: string
Title:
Published By Party Code
Read Only:true
Abbreviation that identifies the party type that published the data. -
PublishedDate: string
Title:
Published Date
Read Only:true
Date the user submitted the customer demand request. -
Status: string
Title:
Status
Read Only:true
Current state of the customer demand request. -
StatusCode: string
Title:
Status Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the current state of the customer demand request.
- canonical
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- details
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details
- requestStatusDetails
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails
- self
-
Method: getPath:
fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
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.
Nested Schema : collaborationCustomerDemandRequests-details-item
Type:
Show Source
object
-
Date: string
(date)
Title:
Date
Date on the measure. -
DetailsId: number
Title:
Details ID
Read Only:true
Value that uniquely identifies the detail for the customer demand request. -
Quantity: number
Title:
Quantity
Quantity for a specified date on the measure.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/details/{collaborationCustomerDemandRequests_Details_Id}
Nested Schema : collaborationCustomerDemandRequests-requestStatusDetails-item-response
Match All
Show Source
Nested Schema : collaborationCustomerDemandRequests-requestStatusDetails-item
Type:
Show Source
object
-
CustomerDemandRequestId: integer
Title:
Customer Demand Request ID
Read Only:true
Value that identifies the customer demand request. -
DetailsId: integer
Title:
Details ID
Read Only:true
Value that identifies the detail of the customer demand request. -
MessageCode: string
Title:
Message Code
Read Only:true
Value that identifies the message associated with the customer demand request or detail record. -
MessageToken: string
Title:
Message Token
Read Only:true
First token of the message code. -
MessageToken2: string
Title:
Message Token 2
Read Only:true
Second token of the message code. -
MessageToken3: string
Title:
Message Token 3
Read Only:true
Third token of the message code. -
MessageTokenValue: string
Title:
Message Token Value
Read Only:true
First token value of the message code. -
MessageTokenValue2: string
Title:
Message Token Value 2
Read Only:true
Second token value of the message code. -
MessageTokenValue3: string
Title:
Message Token Value 3
Read Only:true
Third token value of the message code. -
MessageType: string
Title:
Message Type
Read Only:true
Type of message associated with the customer demand request or detail record. -
MessageTypeCode: string
Title:
Message Type Code
Read Only:true
Value that identifies the type of message associated with the customer demand request or detail record. -
RequestStatusDetailsId: integer
Title:
Request Status Details ID
Read Only:true
Value that uniquely identifies the request status detail associated with the message code.
- canonical
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}
- parent
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}
- self
-
Method: getPath:
/fscmRestApi/scc/collaborationCustomerDemandRequests/{collaborationCustomerDemandRequests_Id}/requestStatusDetails/{collaborationCustomerDemandRequests_requestStatusDetails_Id}