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

El API debería poder relacionar productos a centros de acopio #16

Open
rbdr opened this issue Sep 21, 2017 · 0 comments
Open

El API debería poder relacionar productos a centros de acopio #16

rbdr opened this issue Sep 21, 2017 · 0 comments

Comments

@rbdr
Copy link
Contributor

rbdr commented Sep 21, 2017

POST a /v1/acopios/{id}/productos

este es el schema con el que estamos trabajando:

CREATE TABLE `CentrosDeAcopioProductos` (
  `centro_de_acopio_id` int(11) NOT NULL,
  `producto_id` int(11) NOT NULL,
  `falta` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Hay que basarse en este file: https://github.com/Skycatch/acopio-api/blob/develop/lib/plugins/acopios/post.js

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

No branches or pull requests

1 participant