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

return identifier of created Entry #131

Open
michielbdejong opened this issue Aug 22, 2022 · 3 comments
Open

return identifier of created Entry #131

michielbdejong opened this issue Aug 22, 2022 · 3 comments

Comments

@michielbdejong
Copy link
Member

As mentioned in https://gitter.im/federatedbookkeeping/timesheets?at=630353709994996293fe509b

This might be related to #127, I think we already return the movement ID but I will find out.

@michielbdejong
Copy link
Member Author

Ah, I see the problem:

curl -i -d'["22 Aug 2022", "nlnet-timesh", "Federated Timesheets", 6]' http://michiel:****@localhost:8080/v1/worked-hours
HTTP/1.1 200 OK
Host: localhost:8080
Date: Mon, 22 Aug 2022 10:57:22 GMT
Connection: close
X-Powered-By: PHP/8.1.4
Content-type: text/html; charset=UTF-8

[
    {
        "worker": "michiel",
        "project": "nlnet-timesh:Federated Timesheets",
        "timestamp_": "2022-08-22 00:00:00",
        "amount": "8",
        "description": ""
    }
]

@gsvarovsky
Copy link

Could you please update the docs for this?

@michielbdejong
Copy link
Member Author

@ishifoev can you do this docs update as part of your work on #101 next week?

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