Przejdź do głównej zawartości

Pobierz pełną historię pól (spłaszczoną)

GET
/api/v2/AdditionalFields/history/all/flatten
curl --request GET \
--url https://twoja-instancja-additional-fields-api.enterprise.sellrocket.pl/api/v2/AdditionalFields/history/all/flatten \
--header 'Authorization: Bearer <token>'

Zwraca całą historię zmian pól dodatkowych obiektu w spłaszczonej postaci, bez stronicowania.

objectId
integer format: int64

Id of an object for which the all the fields should be returned

ownerType
string

Type of an object for which the all the fields should be returned. To check available OwnerTypes, check GET /AdditionalFieldsOwners

Success

Typ treściapplication/json
Array<object>
object
id
integer format: int64
nullable
objectId
string
nullable
type
string
nullable
operation
string
nullable
property
string
nullable
prevValue
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object recursive
value
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object recursive
createdAtUtc
string format: date-time
createdBy
string
nullable
Examplegenerated
[
{
"id": 1,
"objectId": "example",
"type": "example",
"operation": "example",
"property": "example",
"prevValue": {},
"value": {},
"createdAtUtc": "2026-04-15T12:00:00Z",
"createdBy": "example"
}
]

Bad Request

Typ treściapplication/json
object
error
string
nullable
Examplegenerated
{
"error": "example"
}

Server Error