Create the resource specified by the given model class and initialized with the data
dict, returning an appropriate JSON response.
:param model_cls: The class of the model for this resource
:param data: The initial data for this resource stored as a dictionary
:param get_function: The name of the view function (as a string) that gets a single instance of this resource. This is used for the response Location header.
:return: a Flask Response object
Parameters:
schema (object): The class of the model for this resource
data (dict) : The initial data for this resource stored as a dictionary
get_function (string): The name of the view function (as a string) that gets a single
instance of this resource. This is used for the response Location header.