account-product-rules
Operations addressed under /account-product-rules — 7 operations.
create-account-product-rule
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_1 | 400 | THERE_IS_A_DEFINITION_WITH_THE_SAME_CODE | There is a definition with the same code. |
create-account-product-rule › Request Body
codeformulaDefinitionIdruleTypebeginDateendDatecreate-account-product-rule › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
idIdentifier returned by the command.
get-account-product-rule-map-list-by-account-product-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<AccountProductRuleMapDto>.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
AccountProductId | Guid? | yes |
AccountProductRuleId | Guid? | yes |
Member names are the service's declaration names.
path Parameters
accountProductIdquery Parameters
orderByorderSortpageIndexpageSizeget-account-product-rule-map-list-by-account-product-id › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
accountProductIdaccountProductRuleIdidupdate-account-product-rule
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_1 | 400 | THERE_IS_A_DEFINITION_WITH_THE_SAME_CODE | There is a definition with the same code. |
ERR_ACCNT_109 | 400 | ACCOUNT_PRODUCT_RULE_NOT_FOUND | Account product rule not found. |
path Parameters
idupdate-account-product-rule › Request Body
beginDatecodeendDateformulaDefinitionIdisActiveruleTypeupdate-account-product-rule › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
execute-account-product-rule-formula
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as AccountProductRuleFormulaResultDto.
| Field | Declared type | Nullable |
|---|---|---|
FormulaResult | Dictionary<string, dynamic> | no |
Member names are the service's declaration names.
path Parameters
idexecute-account-product-rule-formula › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
create-account-product-rule-map
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_109 | 400 | ACCOUNT_PRODUCT_RULE_NOT_FOUND | Account product rule not found. |
ERR_ACCNT_115 | 400 | DUBLICATE_ACCOUNT_PRODUCT_RULE_FOR_ACCOUNT_PRODUCT | Duplicate account product rule for account product. |
path Parameters
idcreate-account-product-rule-map › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
idIdentifier returned by the command.
update-account-product-rule-map
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_109 | 400 | ACCOUNT_PRODUCT_RULE_NOT_FOUND | Account product rule not found. |
ERR_ACCNT_110 | 400 | ACCOUNT_PRODUCT_RULE_MAP_NOT_FOUND | Account product rule map not found. |
ERR_ACCNT_115 | 400 | DUBLICATE_ACCOUNT_PRODUCT_RULE_FOR_ACCOUNT_PRODUCT | Duplicate account product rule for account product. |
path Parameters
idmapIdupdate-account-product-rule-map › Request Body
accountProductIdaccountProductRuleIdupdate-account-product-rule-map › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
delete-account-product-rule-map
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_109 | 400 | ACCOUNT_PRODUCT_RULE_NOT_FOUND | Account product rule not found. |
ERR_ACCNT_110 | 400 | ACCOUNT_PRODUCT_RULE_MAP_NOT_FOUND | Account product rule map not found. |
path Parameters
idmapIddelete-account-product-rule-map › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.