Issue Type: Task Task
Assignee: Unassigned
Components: Platform, Reference Client App
Created: 30/Aug/12 11:47 PM
Description:

Familiarisation Task GET, POST, PUT resources for /staff

m_staff (already in the database schema but not in java) will be equivalent to the personnel table in mifos.

We'll be adding a number of fields and relationships to it. But right now a basic CRUD http api and UI implementation is all that is required. (no need for delete yet).

It should be very similar to m_fund (/funds) in FundsApiResource.java (Fund* in eclipse should get you all the types of classes involved)

/staff is probably the right resource name (no extra 's' because its already a plural).

First Cut Column Definitions that might change
----------------------------------------------
firsname is optional
lastname is mandatory
display_name is a derived, unique field (might change later)
in sql terms display_name is
concat(c.lastname, if(c.firstname > "", concat(", ", c.firstname), "")
so please do put a rule for POST and PUT in java that derives this field.

"displayName" should be returned in GETs but can't be set in POST or PUT.

No automated tests or documentation required for this task

Project: Mifos X
Priority: Minor Minor
Reporter: johnwoodlock
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to