[POST] .../v1/retailcardmigration/settingcondition/get
Returns additional conditions for a retail card migration task setting. Use this method to retrieve item, item group or stock conditions attached to a retail card migration setting. The request requires setting_id and can also filter by condition ids; the response result contains each condition type, value, exclusion flag and resolved display name. The method checks the current request user and requires retail card migration select permission; missing body, missing setting_id, denied permission, invalid filters and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | Array of Filter | Optional | Optional filters by fields available for this API method. |
Filterable Fields
| Field | Type | Description |
|---|---|---|
| id | int | Condition ID array. |
| setting_id | int | Setting ID whose conditions are requested. |
Request Example
{
"filters": [
{
"Field": "id",
"Operator": "Equal",
"Value": "string"
}
]
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| next_offset | Int32 | Offset for the next data page. |
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Array of RetailCardMigrationSettingCondition | Result array. |
| total | Int64 | Total number of result items. |
Response Example
{
"next_offset": 1,
"ok": true,
"result": [
{
"exclude": true,
"id": 1,
"name": "string",
"setting_id": 1,
"type": "Items",
"value": 1
}
],
"total": 1
}