EntityVersions

(implementation of EntityVersion entity)

Provides following method for API calls:

Create

URL:

/api/v1/{format}/entityversions

Method:

POST

Parameters request:

Object< EntityVersion >

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

Delete

URL:

/api/v1/{format}/entityversions/{id}

Method:

DELETE

Parameters request:

null

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

DeleteByIds

URL:

/api/v1/{format}/entityversions

Method:

DELETE

Parameters request:

Url parameters: ids

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

Get

URL:

/api/v1/{format}/entityversions/{id}

Method:

GET

Parameters request:

null

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

GetAll

URL:

/api/v1/{format}/entityversions

Method:

GET

Parameters request:

null

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

GetByEntityId

URL:

/api/v1/{format}/entityversions

Method:

GET

Parameters request:

Url parameters: entityId

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

SaveAll

URL:

/api/v1/{format}/entityversions/saveall

Method:

POST

Parameters request:

Array< EntityVersion >

Parameters response:

Array

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

SaveAllAndReturnIds

URL:

/api/v1/{format}/entityversions/saveall

Method:

POST

Parameters request:

Url parameters: full

Array< EntityVersion >

Parameters response:

Array

Description:
ARRAY<NUMBER>

SearchFirst

URL:

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

Method:

POST

Parameters request:

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)

Update

URL:

/api/v1/{format}/entityversions/{id}

Method:

PUT

Parameters request:

Object< EntityVersion >

Parameters response:

Object

Description:

  1. timestamp(NUMBER(Date representation wrapped))
  2. entity_class(STRING<ENTITY_CLASS_NAME>)
  3. entity_id(NUMBER)
  4. entity(NUMBER)
  5. id(NUMBER)