Pobierz pełną historię pól (spłaszczoną)
GET
/api/v2/AdditionalFields/history/all/flatten
const url = 'https://twoja-instancja-additional-fields-api.enterprise.sellrocket.pl/api/v2/AdditionalFields/history/all/flatten';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-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.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”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
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<object>
object
id
integer format: int64
objectId
string
type
string
operation
string
property
string
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
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
Examplegenerated
{ "error": "example"}Server Error

