Create an Allocation Rule
post
/allocationRules
Request
Header Parameters
-
Prefer: string
An optional header parameter that allows you to process the request asynchronously. Set the request header "Prefer" to "respond-async" for asynchronous processing. For synchronous processing, leave the parameter blank or do not define it.
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
Root Schema : schema
Type:
Show Source
object-
allocationRuleDetails:
allocationRuleDetails
-
allocationRuleGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
allocationRuleXid: string
GC3 Unique identifier for the entity. Is used for creating the GID
-
consInvAllocType: string
Consolidated Invoice Allocation Type. Depend on the type of 'By Line Item' or 'By Total', the amount of the child invoices or the total payment will be allocated to the orders on the related shipment.
-
contactProfileGid: string
Allocation rule criteria for matching the involved party contact for shipment/invoice/bill
-
domainName: string
No description.
-
insertDate:
insertDate
Read Only:
trueinsert date -
involvedPartyQualifierGid: string
Allocation rule criteria for matching the involved party qualifier for shipment/invoice/bill
-
isAllocBill: boolean
Identifies if the allocation rule is applicable for Customer Bill Allocation
-
isAllocShipment: boolean
Identifies if the allocation rule is applicable for Shipment Allocation
-
isAllocVoucher: boolean
Identifies if the allocation rule is applicable for Voucher Allocation
-
isAllocVoucherVat: boolean
Identifies if the allocation rule is applicable for Voucher Vat Allocation
-
links: array
links
Read Only:
true -
locationProfileGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
modeProfileGid: string
This is one of the Allocation Rule criteria for determining the allocation rule for a given invoice.
-
updateDate:
updateDate
Read Only:
trueupdate date
Nested Schema : allocationRuleDetails
Type:
Show Source
object-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : allocationRules.allocationRuleDetails
Type:
Show Source
object-
accessorialCodeGid: string
Populated only inc ase cost_type_gid is 'A'. Identifies which accessorial code.
-
allocMethodGid: string
The allocation method that the rule line is going to use.
-
allocMetricGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
allocRuleDetailSeq: number
(double)
The seq for maintaining the primary key.
-
allocType: string
No description.
-
basis: string
No description.
-
costTypeGid: string
The cost type identifier. i.e if the cost is a BaseCost(B), Accessorial (A), Stopoff (S) etc...
-
domainName: string
No description.
-
links: array
links
Read Only:
true
Response
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object-
allocationRuleDetails:
allocationRuleDetails
-
allocationRuleGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
allocationRuleXid: string
GC3 Unique identifier for the entity. Is used for creating the GID
-
consInvAllocType: string
Consolidated Invoice Allocation Type. Depend on the type of 'By Line Item' or 'By Total', the amount of the child invoices or the total payment will be allocated to the orders on the related shipment.
-
contactProfileGid: string
Allocation rule criteria for matching the involved party contact for shipment/invoice/bill
-
domainName: string
No description.
-
insertDate:
insertDate
Read Only:
trueinsert date -
involvedPartyQualifierGid: string
Allocation rule criteria for matching the involved party qualifier for shipment/invoice/bill
-
isAllocBill: boolean
Identifies if the allocation rule is applicable for Customer Bill Allocation
-
isAllocShipment: boolean
Identifies if the allocation rule is applicable for Shipment Allocation
-
isAllocVoucher: boolean
Identifies if the allocation rule is applicable for Voucher Allocation
-
isAllocVoucherVat: boolean
Identifies if the allocation rule is applicable for Voucher Vat Allocation
-
links: array
links
Read Only:
true -
locationProfileGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
modeProfileGid: string
This is one of the Allocation Rule criteria for determining the allocation rule for a given invoice.
-
updateDate:
updateDate
Read Only:
trueupdate date
Nested Schema : allocationRuleDetails
Type:
Show Source
object-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : allocationRules.allocationRuleDetails
Type:
Show Source
object-
accessorialCodeGid: string
Populated only inc ase cost_type_gid is 'A'. Identifies which accessorial code.
-
allocMethodGid: string
The allocation method that the rule line is going to use.
-
allocMetricGid: string
GC3 Global identifier for the entity. Is created by concatenating Domain Name,"." and XID.
-
allocRuleDetailSeq: number
(double)
The seq for maintaining the primary key.
-
allocType: string
No description.
-
basis: string
No description.
-
costTypeGid: string
The cost type identifier. i.e if the cost is a BaseCost(B), Accessorial (A), Stopoff (S) etc...
-
domainName: string
No description.
-
links: array
links
Read Only:
true