Add Discount Itemizers
post
/config/sim/v1/sales/discountitemizers
Add the Discount itemizer object to a specified hierarchy unit .
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
-
Simphony-OrgShortName: string
The ShortName of the organization
DiscountItmzrs object of the organization
Root Schema : DiscountItmzrs
Type:
object
Model for Discount Itmzrs
Show Source
-
dscItmzrIndex:
integer
Object number of the Discount ItemizerExample:
1
-
hierUnitId:
integer
Unique reference of the hierarchy unit of the propertyExample:
1
-
hierUnitName(optional):
object hierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1
-
name:
object name
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the Discounts Itmzrs in configured languages
Nested Schema : hierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : name
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the Discounts Itmzrs in configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Response
Supported Media Types
- application/json
200 Response
Location object of the organization
Root Schema : DiscountItemzrsResponse
Type:
Show Source
object
-
dscItmzrIndex:
integer
Unique reference of the Discount ItemizerExample:
1
-
hierUnitId:
integer
Unique Hierarchy Unit ValueExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html