Update a standing early payment offer
patch
/fscmRestApi/resources/11.13.18.05/buyerInitiatedEarlyPaymentOffers/{discountOfferId}
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
assignments: array
Early Payment Offer Assignments
Title:
Early Payment Offer Assignments
The early payment offer assignments resource is used to manage details about supplier assignment to the standing discount offers which includes descriptive flexfields. -
description: string
Title:
Offer Description
Maximum Length:240
Description of the early payment offer made to the supplier. -
discountRate: number
Title:
Rate
Active discount percent rate for the dynamic discount calculation. -
discountRateUnitCode: string
Maximum Length:
30
Default Value:ORA_ANNUAL
The type of the offer. The default value is set to Annual. -
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 period range. -
lastNotificationDate: string
(date)
Title:
Last Notification Date
Date when the early payment offer notification was last sent to the suppliers in the campaign. -
name: string
Title:
Offer Name
Maximum Length:60
Name of the early payment offer made to the supplier. -
startDateActive: string
(date)
Title:
Offer Start Date
Date at the start of the offer period range. The default value is set to system date.
Nested Schema : Early Payment Offer Assignments
Type:
array
Title:
Early Payment Offer Assignments
The early payment offer assignments resource is used to manage details about supplier assignment to the standing discount offers which includes descriptive flexfields.
Show Source
Nested Schema : buyerInitiatedEarlyPaymentOffers-assignments-item-patch-request
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. -
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: 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. -
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. -
vendorContactName: string
Title:
Supplier Contact Name
The name of the supplier contact who receives the offer notifications. -
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.
-
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-patch-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.
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-item-response
Type:
Show Source
object
-
assignments: array
Early Payment Offer Assignments
Title:
Early Payment Offer Assignments
The early payment offer assignments resource is used to manage details about supplier assignment to the standing discount offers which includes descriptive flexfields. -
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. -
description: string
Title:
Offer Description
Maximum Length:240
Description of the early payment offer made to the supplier. -
discountOfferId: integer
(int64)
The unique offer identifier that is generated while creating an offer.
-
discountRate: number
Title:
Rate
Active discount percent rate for the dynamic discount calculation. -
discountRateUnitCode: string
Maximum Length:
30
Default Value:ORA_ANNUAL
The type of the offer. The default value is set to Annual. -
discountsTaken: integer
Title:
Discounts Taken
Read Only:true
Total discount taken. -
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 period range. -
enrolledSuppliers: integer
Title:
Enrolled Suppliers
Read Only:true
Total number of suppliers who have enrolled into standing offers. All invoices for these suppliers are eligible for early payment in exchange for a discount. -
lastNotificationDate: string
(date)
Title:
Last Notification Date
Date when the early payment offer notification was last sent to the suppliers in the campaign. -
lastUpdateDate: string
(date-time)
Read Only:
true
The date when the record was last updated. -
lastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the record. -
lastUpdateLogin: string
Read Only:
true
Maximum Length:32
The session login associated to the user who last updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
name: string
Title:
Offer Name
Maximum Length:60
Name of the early payment offer made to the supplier. -
startDateActive: string
(date)
Title:
Offer Start Date
Date at the start of the offer period range. The default value is set to system date. -
totalSuppliers: integer
Title:
Total Suppliers
Read Only:true
Total number of suppliers added to the campaign. Early payment offers are sent via email to all the suppliers in the campaign.
Nested Schema : Early Payment Offer Assignments
Type:
array
Title:
Early Payment Offer Assignments
The early payment offer assignments resource is used to manage details about supplier assignment to the standing discount offers which includes descriptive flexfields.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested 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
- assignments
-
Parameters:
- discountOfferId:
$request.path.discountOfferId
The early payment offer assignments resource is used to manage details about supplier assignment to the standing discount offers which includes descriptive flexfields. - discountOfferId: