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

Reverse Actions #50

Open
3 of 7 tasks
cf7 opened this issue Dec 8, 2016 · 3 comments
Open
3 of 7 tasks

Reverse Actions #50

cf7 opened this issue Dec 8, 2016 · 3 comments
Milestone

Comments

@cf7
Copy link
Collaborator

cf7 commented Dec 8, 2016

For every action that SPY staff can utilize on the app, there needs to be another action that reverses it . . .

(This does not mean that every button needs an undo button right next to it.)
It means doing things such as the following . . .

  • checking clients => checking clients out
  • enrolling clients => unenrolling clients
  • adding activity to dropin => removing activity from dropin
  • uploading documents => taking documents down
  • . . .
  • . . .
  • . . .
@cf7 cf7 added this to the Beta milestone Dec 8, 2016
SirSeim added a commit that referenced this issue Dec 11, 2016
DELETE `/api/dropins/{dropinID}/checkin` example payload:
```json
{
    "clients": [
        2,3,4
    ]
}
```
@SirSeim
Copy link
Owner

SirSeim commented Dec 11, 2016

To checkout a client from a dropin:
DELETE /api/dropins/{dropinID}/checkin with example payload:

{
    "clients": [
        2,3,4
    ]
}

Returns:

{
  "statusCode": 200,
  "message": "Success checking out client from dropin!",
  "result": {
    "dropin": 2,
    "clients": [
      2,
      3,
      4
    ]
  }
}

If client IDs are not being returned, its most likely because that client is not associated with that dropin (aka, you never checked in that client for that dropin)

@SirSeim
Copy link
Owner

SirSeim commented Dec 12, 2016

Files is completed

@SirSeim
Copy link
Owner

SirSeim commented Dec 13, 2016

So isn't this complete?

@SirSeim SirSeim closed this as completed Dec 13, 2016
@cf7 cf7 reopened this Mar 7, 2017
@cf7 cf7 modified the milestones: Beta, Minimum Requirements Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants