submit
Submit a collected data entity for storage.
If the entity contains an ID (and the ID is valid), this will replace the stored data for that ID. Otherwise, the server generates a new ID and stores the data under it.
It is important to store this ID, as it allows you to retrieve and delete the data later.
Return
The ID corresponding with the stored data.