SystemOne REST Api

Create

To create data, use:
POST http://epc.ub.uu.se/cora/rest/record/theTypeYouWantToCreate

Examples of what the body should look like can be found here:
AbstractRecordType

Read

To read a list of types, use:
GET http://epc.ub.uu.se/cora/rest/record/theTypeYouWantToRead

To read an instance of a type, use:
GET http://epc.ub.uu.se/cora/rest/record/theTypeYouWantToRead/theIdOfTheInstanceYouWantToRead

Update

To update data use:
POST http://epc.ub.uu.se/cora/rest/record/theTypeYouWantToUpdate/theIdOfTheDataYouWantToUpdate

Examples of what the body should look like can be found here:
AbstractRecordType

Delete

To delete data use:
DELETE http://epc.ub.uu.se/cora/rest/record/theTypeYouWantToUpdate/theIdOfTheDataYouWantToDelete

Examples can be found in our acceptance tests