{ "info": { "_postman_id": "9242b2d1-196b-4b2e-af57-c0e9eb141dba", "name": "BreCal", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "10427908" }, "item": [ { "name": "Participant GET", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/participant?user_id=1", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "participant" ], "query": [ { "key": "user_id", "value": "1" } ] } }, "response": [] }, { "name": "Shipcalls GET", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/shipcalls", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "shipcalls" ] } }, "response": [] }, { "name": "Shipcalls POST", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"ship_id\" : 1,\r\n \"type\" : 1,\r\n \"eta\" : \"2023-07-23T07:18:19\",\r\n \"voyage\" : \"43B\",\r\n \"tug_required\" : false,\r\n \"pilot_required\" : true,\r\n \"flags\" : 0,\r\n \"pier_side\" : false,\r\n \"bunkering\" : true,\r\n \"recommended_tugs\" : 2\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://{{PATH}}/shipcalls", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "shipcalls" ] } }, "response": [] }, { "name": "Shipcalls PUT", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"id\" : 2, \r\n \"recommended_tugs\" : 3\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://{{PATH}}/shipcalls", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "shipcalls" ] } }, "response": [] }, { "name": "Berths GET", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/berths", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "berths" ] } }, "response": [] }, { "name": "Notifications GET", "request": { "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/notifications?participant_id=1", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "notifications" ], "query": [ { "key": "participant_id", "value": "1" } ] } }, "response": [] }, { "name": "Ships GET", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/ships", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "ships" ] } }, "response": [] }, { "name": "Times GET", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://{{PATH}}/times?shipcall_id=1", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "times" ], "query": [ { "key": "shipcall_id", "value": "1" } ] } }, "response": [] }, { "name": "Times POST", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"start_planned\" : \"2023-04-18T07:18:19\",\r\n \"end_planned\" : \"2023-04-18T09:18:19\", \r\n \"shipcall_id\" : 1,\r\n \"participant_id\" : 1\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://{{PATH}}/times", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "times" ] } }, "response": [] }, { "name": "Times PUT", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"start_planned\" : \"2023-05-18T07:18:19\",\r\n \"end_planned\" : \"2023-05-18T09:18:19\", \r\n \"id\" : 1\r\n}" }, "url": { "raw": "http://{{PATH}}/times", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "times" ] } }, "response": [] }, { "name": "Times DELETE", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxTest", "type": "string" } ] }, "method": "DELETE", "header": [], "url": { "raw": "http://{{PATH}}/times?id=3", "protocol": "http", "host": [ "{{PATH}}" ], "path": [ "times" ], "query": [ { "key": "id", "value": "3" } ] } }, "response": [] } ] }