LogEvents

(implementation of LogEvent entity)

Provides following method for API calls:

Create

URL:

/api/v1/{format}/logevents

Method:

POST

Parameters request:

Object< LogEvent >

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

Delete

URL:

/api/v1/{format}/logevents/{id}

Method:

DELETE

Parameters request:

null

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

DeleteByIds

URL:

/api/v1/{format}/logevents

Method:

DELETE

Parameters request:

Url parameters: ids

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

Get

URL:

/api/v1/{format}/logevents/{id}

Method:

GET

Parameters request:

null

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

GetAll

URL:

/api/v1/{format}/logevents

Method:

GET

Parameters request:

null

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

GetByEntityId

URL:

/api/v1/{format}/logevents

Method:

GET

Parameters request:

Url parameters: entityId

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

SaveAll

URL:

/api/v1/{format}/logevents/saveall

Method:

POST

Parameters request:

Array< LogEvent >

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

SaveAllAndReturnIds

URL:

/api/v1/{format}/logevents/saveall

Method:

POST

Parameters request:

Url parameters: full

Array< LogEvent >

Parameters response:

Array

Description:
ARRAY<NUMBER>

SearchFirst

URL:

/api/v1/{format}/logevents/search/first

Method:

POST

Parameters request:

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)

Update

URL:

/api/v1/{format}/logevents/{id}

Method:

PUT

Parameters request:

Object< LogEvent >

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class_name(STRING)
  3. entity_id(NUMBER)
  4. action(OBJECT< LogEvent$Action >)
  5. field_name(STRING)
  6. previous_value(STRING)
  7. new_value(STRING)
  8. user(OBJECT< User >)
  9. id(NUMBER)