Create

HTTP Method: POST
Base Syntax:

 http://deepserhost/api/rest/[entities]/

JSON Payload Syntax: a JSON object with the data to insert

Example Syntax:

http://deepserhost/api/rest/companies

Example JSON Payload Syntax:

{
	"name" : "ACME Portugal",
  	"description" : "ACME Portugal SA."
}

Description: creates the entity, given the payload JSON data.
Example Result:

http://deepserhost/api/rest/companies
{
    "name": "ACME Portugal",
    "description": "ACME Portugal SA.",
    "created_at": "2018-10-29 15:57:42",
    "updated_at": "2018-10-29 15:57:42",
    "entity_id": "8"
}

Returns the company created, field entity_id is the ID of the new company.