Pobierz parametr kategorii z wartościami
GET
/api/CategoryParameters/GetWithDictionaryValues
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/CategoryParameters/GetWithDictionaryValues';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/CategoryParameters/GetWithDictionaryValues \ --header 'Authorization: Bearer <token>'Zwraca parametr kategorii wraz z listą dozwolonych wartości słownikowych.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ParameterId
string
CategoryId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
Examplegenerated
{ "originalId": "example", "name": "example", "type": "example", "required": true, "requiredForProduct": true, "unit": "example", "options": { "ambiguousValueId": "example", "dependsOnParameterId": "example", "describesProduct": true, "customValuesEnabled": true, "additionalProperties": { "additionalProperty": "example" } }, "restrictions": { "min": 1, "max": 1, "range": true, "precision": 1, "minLength": 1, "maxLength": 1, "allowedNumberOfValues": 1, "multipleChoices": true, "additionalProperties": { "additionalProperty": "example" } }, "categoryId": "example", "categoryName": "example", "dictionary": [ { "id": "example", "value": "example", "dependsOnValueIds": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "defaultValues": [ "example" ], "additionalProperties": { "additionalProperty": "example" }}object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
options
object
ambiguousValueId
string
dependsOnParameterId
string
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
restrictions
object
min
number format: double
max
number format: double
range
boolean
precision
integer format: int32
minLength
integer format: int32
maxLength
integer format: int32
allowedNumberOfValues
integer format: int32
multipleChoices
boolean
additionalProperties
object
key
additional properties
categoryId
string
categoryName
string
dictionary
Array<object>
object
id
string
value
string
dependsOnValueIds
Array<string>
additionalProperties
object
key
additional properties
defaultValues
Array<string>
additionalProperties
object
key
additional properties
Examplegenerated
{ "originalId": "example", "name": "example", "type": "example", "required": true, "requiredForProduct": true, "unit": "example", "options": { "ambiguousValueId": "example", "dependsOnParameterId": "example", "describesProduct": true, "customValuesEnabled": true, "additionalProperties": { "additionalProperty": "example" } }, "restrictions": { "min": 1, "max": 1, "range": true, "precision": 1, "minLength": 1, "maxLength": 1, "allowedNumberOfValues": 1, "multipleChoices": true, "additionalProperties": { "additionalProperty": "example" } }, "categoryId": "example", "categoryName": "example", "dictionary": [ { "id": "example", "value": "example", "dependsOnValueIds": [ "example" ], "additionalProperties": { "additionalProperty": "example" } } ], "defaultValues": [ "example" ], "additionalProperties": { "additionalProperty": "example" }}
