Skip to content

Instantly share code, notes, and snippets.

@ShaneDunn
Last active June 29, 2016 02:18
Show Gist options
  • Select an option

  • Save ShaneDunn/62d1dd20436545ce0bfcc4dafaae46bb to your computer and use it in GitHub Desktop.

Select an option

Save ShaneDunn/62d1dd20436545ce0bfcc4dafaae46bb to your computer and use it in GitHub Desktop.
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "sdun","password": "xxxx"},"call": {"library": "dbgmvint.p", "procedure": "getVintage"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmblock.p","procedure": "getSingleBlockDetail", "filters": [{"procedure": "getSingleBlockDetail", "block_ids": [337, 339, 1150]}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmblock.p","procedure": "setActualBlockTest", "action": [{"procedure": "setActualBlockTest", "block_id": 337, "date": "2015-01-05", "sequence": 43200, "source": "V"}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmblock.p","procedure": "getBlockByGrwr","filters": [{"procedure": "getSingleBlock", "block_ids": [ 337, 338, 1150 ]}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvint.p","procedure": "getVintage"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvint_getVintage_20151231.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmgrow.p","procedure": "getGrowerDetails"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmgrade.p","procedure": "getGrade"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmgi.p","procedure": "getGICodes"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmest.p","procedure": "getBlockEst"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmenduse.p","procedure": "getEndUse"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmdepot.p","procedure": "getDepots"}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmintake.p","procedure": "deleteScheduleGroup", "action":[{"procedure":"deleteScheduleGroup", "schedule_id": 5956}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmintake.p","procedure": "updateScheduleGroup", "action":[{"procedure":"updateScheduleGroup", "schedule_id": 9764, "work_centre": "crusher1", "start_date_time": "2015-04-01T08:00:00.000", "end_date_time": "2015-04-01T13:00:00.000", "tonnes_per_hour": 60, "total_tonnes": 100, "target_baume": 12, "min_baume": 11, "max_baume": 13, "remark": ""}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmwc.p","procedure": "getWorkCtr"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmwc_getWorkCtr_20151231.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvar.p","procedure": "getLIPVariety"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvar_getLIPVariety_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvint.p","procedure": "getVintage"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvint_getVintage_20151231.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvint.p","procedure": "getVintage"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvar_getLIPVariety_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmwc.p","procedure": "getWorkCtr"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmwc_getWorkCtr_20151231.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvar.p","procedure": "getLIPVariety"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvar_getLIPVariety_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmvar.p","procedure": "getVariety"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmvar_getVariety_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****", "password": "****"}, "call": {"library": "dbgmblock.p", "procedure": "getSingleBlock", "filters": [{"procedure": "getSingleBlock", "block_ids": [337, 339, 1150]}]}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmblock_getSingleBlock_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****", "password": "****"}, "call": {"library": "dbgmblock.p", "procedure": "getSingleBlockDetail", "filters": [{"procedure": "getSingleBlockDetail", "block_ids": [337, 339, 1150]}]}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmblock_getSingleBlockDetail_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****", "password": "****"}, "call": {"library": "dbgmblock.p", "procedure": "getSingleBlockDetail", "filters": [{"procedure": "getSingleBlockDetail", "block_ids": [337]}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****", "password": "****"}, "call": {"library": "dbgmblock.p", "procedure": "getPlannedBlockByVar", "filters": [{"procedure": "getPlannedBlockByVar", "variety_id": "8W-CHA"}]}}' http://visched-dev.debortoli.private:3000/qad
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****", "password": "****"}, "call": {"library": "dbgmblock.p", "procedure": "getPlannedBlockByVar", "filters": [{"procedure": "getPlannedBlockByVar", "variety_id": "8W-CHA"}]}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmblock_getPlannedBlockByVar_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmblock.p","procedure": "getPlannedBlockDetail"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmblock_getPlannedBlockDetail_20151230.json
curl -H "Content-Type: application/json" -X POST -d '{"authentication": {"username": "****","password": "****"},"call": {"library": "dbgmblock.p","procedure": "getBlocks"}}' http://visched-dev.debortoli.private:3000/qad > /media/ubuntu/dsk/erp_json/dbgmblock_getBlocks_20151230.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment