Account Promotions
The AccountPromotion resource is used to view, create, and update Account Promotions. It is an intersection object, of Accounts and Promotions, used to store information specific to each Account associated with a Promotion.
Resource Plural Label |
AccountPromotion |
Resource Name |
__ORACO__AccountPromotion_c |
Get All Account Promotions
Request: GET
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/
Request Path Parameters
There are no request path parameters for this task.
Request Query Parameters
Use the listed finder parameters to query the resource:
Finder Name | Description |
---|---|
Primary Key |
Finds an Account Promotion with the specified primary key. Finder Variables:
|
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Create an Account Promotion
Request: POST
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/
Request Path Parameters
There are no request path parameters for this task.
Request Body
This table summarizes the supported request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Get an Account Promotion
Request: GET
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id | integer | The unique identifier of the Account Promotion. |
Request Body
There are no elements in the request body for this task.
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Update an Account Promotion
Request: PATCH
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id | integer | The unique identifier of the Account Promotion. |
Request Body
This table summarizes the supported request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Replace an Account Promotion
Request: PUT
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id | integer | The unique identifier of the Account Promotion. |
Request Body
This table summarizes the supported request body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Response Body
This table summarizes the supported response body content types:
Media Type |
application/vnd.oracle.adf.resourcecollection+json |
Delete an Account Promotion
Request: DELETE
URI: /crmRestApi/resources/11.13.18.05/__ORACO__AccountPromotion_c/{Id}
Request Path Parameters
This table summarizes the request path parameters:
Name | Type | Description |
---|---|---|
Id | integer | The unique identifier of the Account Promotion. |
Request Body
There are no elements in the request body for this task.
Response Body
There are no elements in the response body for this task.
List of Values
This table lists all the list of values of the resource.
LOV Name | Source Attribute in LOV | Target Attribute in Resource |
---|---|---|
ViewAccessor_CurrencyCode |
CurrencyCode |
CurrencyCode |
LOVVA_For___ORACO__Select_c |
value |
__ORACO__Select_c |
Resource Attributes
This table lists all the attributes of the resource.
Attribute Name | Attribute Type | Description |
---|---|---|
Id |
integer |
The unique identifier of the Account Promotion. UI Label: Record ID |
RowType |
string |
The type field for the categorization of the records. Properties: The maximum length is 80. |
RecordName |
string |
The name of the Account Promotion. Properties: The maximum length is 80. UI Label: AccountPromotionRecordName |
CreatedBy |
string |
The user who created the Combo Group. Properties: The maximum length is 32. UI Label: Created By |
CreationDate |
datetime |
The date when the Combo Group was created. UI Label: Creation Date |
LastUpdatedBy |
string |
The user who last updated the Combo Group. Properties: The maximum length is 32. UI Label: Last Updated By |
LastUpdateDate |
datetime |
The date when the Combo Group was last updated. UI Label: Last Update Date |
LastUpdateLogin |
string |
The login of the user who last updated the Combo Group. Properties: The maximum length is 32. |
UserLastUpdateDate |
datetime |
The date and time of the last user update made from a personal device. This value is different from LAST_UPDATE_DATE if the record was originally updated in a different database (That is, a different mobile database or the server). |
CurrencyCode |
string |
The currency code associated with the assortment line. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. UI Label: Currency Code |
CurcyConvRateType |
string |
The currency conversion rate type. This attribute is used by CRM Extensibility framework. A list of valid values are defined in the lookup ZCA_COMMON_RATE_TYPE. Review and update the profile option using the Setup and Maintenance work area, Manage Currency Profile Options task. Properties: The maximum length is 15. |
CorpCurrencyCode |
string |
The corporate currency code associated with the assortment. This attribute is used by CRM Extensibility framework. A list of accepted values is defined in the lookup ZCA_COMMON_CORPORATE_CURRENCY. Review and update the profile option using the Setup and Maintenance work area, Manage Trading Community Common Lookups task. Properties: The maximum length is 15. |
Organization_Id___ORACO__Src_Organ izationTo__ORACO__AccountPromotion_c |
integer |
The unique identifier of the Account associated with the Account Promotion. |
Promotion_Id___ORACO__Tgt___ORACO__Pro motion_cTo__ORACO__AccountPromotion_c |
integer |
The unique identifier of the Promotion associated with the Account Promotion. |
__ORACO__Select_c |
boolean |
Deprecated field. Properties: The maximum length is 10. UI Label: Select |
__ORACO__TotalNumberDiscGivn_c |
integer |
The number of delivered orders with the discount promotion applied. UI Label: Total number of discounts given |
__ORACO__TotalAmountDiscGivn_c |
number |
The total amount of discount applied on all delivered orders. UI Label: Total amount of discounts given |
__ORACO__TotalQtyDiscGivn_c |
integer |
The total quantity of delivered products with the discount promotion applied. UI Label: Total quantity of discounts given |