euphorie/Euphorie — pull request #55 by wichert (2012-11-30 15:53:34+00:00)
Title: Create Country/Sector API

We would like to be able to create countries and sectors through an api from a remote plone server.

Applicants on that remote plone server fill in a registration form including the following information:
* Name and Surname of the applicant
* Organisation
* Email address
* Name of the sector (as known by the general public) and NACE Code
* Whether a “Country Manager account” is needed
* Applicants will also be asked whether they would like to receive periodic reports containing statistics on the contents of the tools made up of exclusively aggregated and anonymous data. (oira specific attribute)

The provided information is processed on the server and once approved, an api call would be issued that creates either a country or a sector (depending on the checkbox/flag above).

Once the account is created, an email is sent out to the user to inform him about the credentials.