CRUD Operations


List Entities

GET {entityType}

GET parameters:

offset : (int) offset

maxSize : (int) max size

where : (array) filters

sortBy : (string) field to sort by

GET http://uuidcloud.domain/api/v1/Person?offset=0&maxSize=10
{
  "list": [... array of records...],
  "total": {totalCountOfRecords}
}

Read Entity

GET http://uuidcloud.domain/api/v1/{entityType}/{id}
{
  "assignedUserId": "1",
  "... attribute of record..."
}

Update Entity

PUT http://uuidcloud.domain/api/v1/{entityType}/{id}

Payload: Object of entity attributes needed to be changed

Returns attributes in JSON object.

Payload

{
  "assignedUserId": "1",
  "... attribute of record..."
}

Delete Entity

DELETE http://uuidcloud.domain/api/v1/{entityType}/{id}
Example: DELETE http://uuidcloud.domain/api/v1/Person/5564764442a6d024c