Standard & Division Module - PaperLessEdu/schoolerp-backend GitHub Wiki
Operation | URL | Content-Type | Body | Response |
---|---|---|---|---|
Add | http://localhost:9090/standards | Content-Type:application/json |
{"name" : "2nd"} |
|
GetStandardList | http://localhost:9090/standards | [{"standard_id":1,"name":"1st","division":[{"division_id":3,"name":"XX","create_dt":"2018-07-01T18:52:10","last_update_dt":"2018-07-02T20:05:49"},{"division_id":4,"name":"A","create_dt":"2018-07-01T18:52:25","last_update_dt":"2018-07-01T18:52:25"},{"division_id":5,"name":"B","create_dt":"2018-07-01T18:52:34","last_update_dt":"2018-07-01T18:52:34"},{"division_id":6,"name":"C","create_dt":"2018-07-01T18:53:17","last_update_dt":"2018-07-01T18:53:17"}],"create_dt":"2018-07-01T18:38:37","last_update_dt":"2018-07-01T18:38:37"}] |
Operation | URL | Content-Type | Body | Response |
---|---|---|---|---|
Add | http://localhost:9090/standards/{standard_id}/divisions | Content-Type:application/json |
{"name" : "A"} |
|
Update | http://localhost:9090/standards/{standard_id}/divisions | Content-Type:application/json |
{"name" : "X"} |
|
Delete | http://localhost:9090/standards/{standard_id}/divisions/{division_id} | Origin:http://localhost:9090 |
||
GetDivisionList | http://localhost:9090/standards/{standard_id}/divisions | [{"division_id":3,"name":"XX","create_dt":"2018-07-01T18:52:10","last_update_dt":"2018-07-02T20:05:49"},{"division_id":4,"name":"A","create_dt":"2018-07-01T18:52:25","last_update_dt":"2018-07-01T18:52:25"},{"division_id":5,"name":"B","create_dt":"2018-07-01T18:52:34","last_update_dt":"2018-07-01T18:52:34"},{"division_id":6,"name":"C","create_dt":"2018-07-01T18:53:17","last_update_dt":"2018-07-01T18:53:17"}] |