Development talk:MNet API
From MoodleDocs
If you name your type as 'service' it wont work. We're working with postgres and the type field is only 6 chars long, 'service' is 7 chars. It will give an error while inserting into the database and the method will never get registered. Were still having problems calling the methods using the procedure specified in the documentation.