Create a standing offer assignment
post
/fscmRestApi/resources/11.13.18.05/buyerInitiatedEarlyPaymentOffers/{discountOfferId}/child/assignments
Request
Path Parameters
-
discountOfferId(required): integer(int64)
The unique offer identifier that is generated while creating an offer.
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
-
assignmentDff: array
Early Payment Offers Descriptive Flexfields
Title:
Early Payment Offers Descriptive Flexfields
The early payment offers descriptive flexfields resource is used to manage details about the descriptive flexfield references for an assignment. -
assignmentTypeCode: string
Title:
Assignment Type Code
Maximum Length:30
Type of discount offer assigned to the supplier. Indicates that the supplier is either assigned to campaign or has accepted standing offer. -
billToBUId(required): integer
Title:
Business Unit
The unique identifier of the business unit. -
billToBUName: string
The business unit of the supplier site name assigned to the offer.
-
comments: string
Title:
Comments
Maximum Length:240
Comments for an assignment. -
country: string
The location of the supplier site name assigned to the offer.
-
discountOfferId(required): integer
The unique offer identifier that is generated while creating an offer.
-
discountRate(required): number
Title:
Rate
Active discount percent rate for the dynamic discount calculation. -
emailAddress: string
Title:
Email
Maximum Length:320
The email associated to the assigned supplier. -
enabledFlag: boolean
Title:
Initiated
Maximum Length:1
Default Value:true
Indicates the record is active and in use. The default value is true. -
endDateActive(required): string
(date)
Title:
Expiration Date
Date at the end of the offer assignment period range. -
offerAssignmentId: integer
(int64)
Title:
Offer Assignment ID
The unique offer assignment identifier that is generated while creating an offer assignment. -
startDateActive(required): string
(date)
Title:
Offer Start Date
Date at the start of the offer assignment period range. The default value is set to system date. -
vendorContactId: integer
Title:
Contact
The unique identifier of the supplier contact who receives the offer notifications. -
vendorContactName: string
Title:
Supplier Contact Name
The name of the supplier contact who receives the offer notifications. -
vendorId(required): integer
Title:
Supplier
The unique identifier of the supplier. -
vendorName: string
The supplier name assigned to the offer. The value must be provided while creating the assignment It cannot be updated once the assignment is created.
-
vendorSiteId(required): integer
Title:
Supplier Site
The unique identifier of the supplier site. -
vendorSiteName: string
The supplier site name assigned to the offer. The value must be provided while creating the assignment It cannot be updated once the assignment is created.
-
vendorTypeLookupCode: string
Maximum Length:
30
Type associated to the supplier.
Nested Schema : Early Payment Offers Descriptive Flexfields
Type:
array
Title:
Early Payment Offers Descriptive Flexfields
The early payment offers descriptive flexfields resource is used to manage details about the descriptive flexfield references for an assignment.
Show Source
Nested Schema : buyerInitiatedEarlyPaymentOffers-assignments-assignmentDff-item-post-request
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
The descriptive flexfield context name for the assignment. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
The descriptive flexfield context display value for the assignment. -
OfferAssignmentId: integer
(int64)
The unique offer assignment identifier that is generated while creating an offer assignment.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : buyerInitiatedEarlyPaymentOffers-assignments-item-response
Type:
Show Source
object
-
assignmentDff: array
Early Payment Offers Descriptive Flexfields
Title:
Early Payment Offers Descriptive Flexfields
The early payment offers descriptive flexfields resource is used to manage details about the descriptive flexfield references for an assignment. -
assignmentTypeCode: string
Title:
Assignment Type Code
Maximum Length:30
Type of discount offer assigned to the supplier. Indicates that the supplier is either assigned to campaign or has accepted standing offer. -
billToBUId: integer
Title:
Business Unit
The unique identifier of the business unit. -
billToBUName: string
The business unit of the supplier site name assigned to the offer.
-
comments: string
Title:
Comments
Maximum Length:240
Comments for an assignment. -
country: string
The location of the supplier site name assigned to the offer.
-
createdBy: string
Read Only:
true
Maximum Length:64
The user who created the record. -
creationDate: string
(date-time)
Read Only:
true
The date when the record was created. -
discountOfferId: integer
The unique offer identifier that is generated while creating an offer.
-
discountRate: number
Title:
Rate
Active discount percent rate for the dynamic discount calculation. -
emailAddress: string
Title:
Email
Maximum Length:320
The email associated to the assigned supplier. -
enabledFlag: boolean
Title:
Initiated
Maximum Length:1
Default Value:true
Indicates the record is active and in use. The default value is true. -
endDateActive: string
(date)
Title:
Expiration Date
Date at the end of the offer assignment period range. -
lastUpdateDate: string
(date-time)
Read Only:
true
The user who last updated the record. -
lastUpdatedBy: string
Read Only:
true
Maximum Length:64
The session login associated to the user who last updated the record. -
lastUpdateLogin: string
Read Only:
true
Maximum Length:32
The date when the record was last updated. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
offerAssignmentId: integer
(int64)
Title:
Offer Assignment ID
The unique offer assignment identifier that is generated while creating an offer assignment. -
startDateActive: string
(date)
Title:
Offer Start Date
Date at the start of the offer assignment period range. The default value is set to system date. -
vendorContactId: integer
Title:
Contact
The unique identifier of the supplier contact who receives the offer notifications. -
vendorContactName: string
Title:
Supplier Contact Name
The name of the supplier contact who receives the offer notifications. -
vendorId: integer
Title:
Supplier
The unique identifier of the supplier. -
vendorName: string
The supplier name assigned to the offer. The value must be provided while creating the assignment It cannot be updated once the assignment is created.
-
vendorSiteId: integer
Title:
Supplier Site
The unique identifier of the supplier site. -
vendorSiteName: string
The supplier site name assigned to the offer. The value must be provided while creating the assignment It cannot be updated once the assignment is created.
-
vendorTypeLookupCode: string
Maximum Length:
30
Type associated to the supplier.
Nested Schema : Early Payment Offers Descriptive Flexfields
Type:
array
Title:
Early Payment Offers Descriptive Flexfields
The early payment offers descriptive flexfields resource is used to manage details about the descriptive flexfield references for an assignment.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : buyerInitiatedEarlyPaymentOffers-assignments-assignmentDff-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
The descriptive flexfield context name for the assignment. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
The descriptive flexfield context display value for the assignment. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OfferAssignmentId: integer
(int64)
The unique offer assignment identifier that is generated while creating an offer assignment.
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.
Links
- assignmentDff
-
Parameters:
- discountOfferId:
$request.path.discountOfferId
- offerAssignmentId:
$request.path.offerAssignmentId
The early payment offers descriptive flexfields resource is used to manage details about the descriptive flexfield references for an assignment. - discountOfferId: