Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest API - Organization - Create Organization [Due 3/6] #290

Closed
Code4SocialGood opened this issue Feb 20, 2017 · 1 comment
Closed

Rest API - Organization - Create Organization [Due 3/6] #290

Code4SocialGood opened this issue Feb 20, 2017 · 1 comment

Comments

@Code4SocialGood
Copy link
Owner

  • Rest API

/api/organization/create

  • Requirement
  1. "id" is an system generated identity column. This field should not be exposed in the API.
  2. "name" is a mandatory field. But API marks it as optional.
  3. "status" is a column of not null with default 'A'. This fields should not be exposed in the API. the row will be inserted with default vallue of 'A' (active).
  4. "createdate" column does not exist in database table, due to a pending task of Implement database auditing with Envers #129 Implement database auditing with Envers. Nobody is working on that task yet. Maybe we could just comment out this "createdate" field in Rest API, until we figure out what to do with Envers.
  5. The following fields need to be exposed to API: url, city, zip, contact_name, contact_phone, contact_email. (Note: UI needs to be refactored to provide fields for user to enter these information)
  • Reference - database table

image

  • Reference - Rest API

image

@Code4SocialGood Code4SocialGood changed the title Rest API - Organization - Create Organization Rest API - Organization - Create Organization [Due 3/6] Feb 20, 2017
@Code4SocialGood
Copy link
Owner Author

This issue was moved to Code4SocialGood/c4sg-services#22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants