Post to 'https://crystal.2b-or-not.net/{client}/generate/{template}' with a json or xml body containing the data set.
Post to 'https://crystal.2b-or-not.net/{client}/generatefromdb/{template}' with a json body like either:
{
"ConnectionString": "_some_connection_string_"
}
or
{
"Server": "_server_address_",
"Database": "_database_name_",
"Username": "_username_",
"Password": "_password_"
}
Note: posts must have an "Authorization" header set to the correct API key for the client.