Port Activity

API

Authentication with API

You can authenticate either with your session key or with your api key. Session key is generated once logged in to the system. Api key is more permanent access method that can be used with machine-to-machine communications.

Example of using session key

curl http://localhost:8000/export/timestamps?id=<id>&imo=<imo>&port_call_id=<port_call_id>&start_date_time=<start_date_time>&end_date_time=<end_date_time>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET' \
-H 'Authorization: Bearer yourbearer'

Example of using api key

curl http://localhost:8000/export/timestamps?id=<id>&imo=<imo>&port_call_id=<port_call_id>&start_date_time=<start_date_time>&end_date_time=<end_date_time>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET' \
-H 'Authorization: ApiKey yourapikey'

POST:/login

Required permission: login

Parameters:

curl http://localhost:8000/login \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","password":"<password>"}'

POST:/logout

Required permission: login

No parameters

curl http://localhost:8000/logout \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/session

Required permission: login

No parameters

curl http://localhost:8000/session?email=<email>&password=<password> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/register-push-token

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/register-push-token \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"installation_id":"<installation_id>","platform":"<platform>","push_token":"<push_token>"}'

GET:/users

Required permission: manage_user

Parameters:

curl http://localhost:8000/users?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/users

Required permission: manage_user

Parameters:

curl http://localhost:8000/users \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","first_name":"<first_name>","last_name":"<last_name>","role":"<role>"}'

PUT:/users/:id

Required permission: manage_user

Parameters:

curl http://localhost:8000/users/:id \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","first_name":"<first_name>","last_name":"<last_name>","password":"<password>","role":"<role>","updateRole":"<updateRole>"}'

GET:/users/:id

Required permission: manage_user

Parameters:

curl http://localhost:8000/users/:id \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

DELETE:/users/:id

Required permission: manage_user

Parameters:

curl http://localhost:8000/users/:id \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

POST:/register

Required permission: public

Parameters:

curl http://localhost:8000/register \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"first_name":"<first_name>","last_name":"<last_name>","code":"<code>","email":"<email>","password":"<password>"}'

POST:/request-password-reset

Required permission: public

Parameters:

curl http://localhost:8000/request-password-reset \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","port":"<port>"}'

POST:/reset-password

Required permission: public

Parameters:

curl http://localhost:8000/reset-password \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"password":"<password>","token":"<token>"}'

POST:/change-password

Required permission: manage_user

Parameters:

curl http://localhost:8000/change-password \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","password":"<password>"}'

POST:/timestamps

Required permission: add_manual_timestamp

Parameters:

curl http://localhost:8000/timestamps \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"vessel_name":"<vessel_name>","time_type":"<time_type>","state":"<state>","time":"<time>","payload":[]}'

GET:/timestamp-definitions

Required permission: add_manual_timestamp

No parameters

curl http://localhost:8000/timestamp-definitions?imo=<imo>&vessel_name=<vessel_name>&time_type=<time_type>&state=<state>&time=<time>&payload=<payload> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/agent/rest/timestamps

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/timestamps \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"vessel_name":"<vessel_name>","time_type":"<time_type>","state":"<state>","time":"<time>","payload":[]}'

POST:/agent/rest/logistics-timestamps

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/logistics-timestamps \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"time":"<time>","external_id":123,"checkpoint":"<checkpoint>","direction":"<direction>","front_license_plates":[],"rear_license_plates":[],"containers":[]}'

POST:/agent/rest/vis-notifications

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/vis-notifications \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"time":"<time>","from_service_id":"<from_service_id>","message_id":"<message_id>","message_type":"<message_type>","notification_type":"<notification_type>","subject":"<subject>","payload":"<payload>"}'

POST:/agent/rest/vis-messages

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/vis-messages \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"time":"<time>","from_service_id":"<from_service_id>","to_service_id":"<to_service_id>","message_id":"<message_id>","message_type":"<message_type>","payload":"<payload>"}'

POST:/agent/rest/vis-voyage-plans

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/vis-voyage-plans \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"time":"<time>","from_service_id":"<from_service_id>","to_service_id":"<to_service_id>","message_id":"<message_id>","message_type":"<message_type>","rtz_state":"<rtz_state>","rtz_parse_results":"<rtz_parse_results>","payload":"<payload>"}'

POST:/agent/rest/vis-vessels

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/vis-vessels \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"vessel_name":"<vessel_name>","service_id":"<service_id>","service_url":"<service_url>"}'

POST:/agent/rest/live-eta

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/live-eta \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"time":"<time>","payload":[]}'

POST:/agent/rest/inbound-vessels

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/inbound-vessels \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"time":"<time>","imo":123,"vessel_name":"<vessel_name>","from_service_id":"<from_service_id>"}'

POST:/agent/rest/slot-reservations

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/slot-reservations \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","imo":123,"vessel_name":"<vessel_name>","loa":"<loa>","beam":"<beam>","draft":"<draft>","laytime":"<laytime>","eta":"<eta>"}'

PUT:/agent/rest/slot-reservations

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/slot-reservations \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"laytime":"<laytime>","jit_eta":"<jit_eta>"}'

GET:/agent/rest/slot-reservation-by-id

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/slot-reservation-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

DELETE:/agent/rest/slot-reservations

Required permission: timestamp

Parameters:

curl http://localhost:8000/agent/rest/slot-reservations \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/port-calls

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/port-calls?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/port-call-timestamps

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/port-call-timestamps?port_call_id=<port_call_id>&limit=<limit>&offset=<offset>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/non-port-call-timestamps

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/non-port-call-timestamps?imo=<imo>&limit=<limit>&offset=<offset>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/ongoing-port-calls

Required permission: basic_user_action

No parameters

curl http://localhost:8000/ongoing-port-calls?imo=<imo>&limit=<limit>&offset=<offset>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/port-call

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/port-call?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/port-call-csv

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/port-call-csv?id=<id>&time_zone=<time_zone> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/port-call-template

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/port-call-template?namespace=<namespace> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/logistics-timestamps/:limit

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/logistics-timestamps/:limit \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/logistics-timestamps/by-license-plate/:license_plate

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/logistics-timestamps/by-license-plate/:license_plate \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/rta-web-form

Required permission: send_rta_web_form

Parameters:

curl http://localhost:8000/rta-web-form \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"port_call_id":123,"port":"<port>","imo":123,"rta":"<rta>","eta_min":"<eta_min>","eta_max":"<eta_max>"}'

GET:/api-keys

Required permission: manage_api_key

Parameters:

curl http://localhost:8000/api-keys?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/api-keys

Required permission: manage_api_key

Parameters:

curl http://localhost:8000/api-keys \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"name":"<name>"}'

PUT:/api-keys/disable

Required permission: manage_api_key

Parameters:

curl http://localhost:8000/api-keys/disable \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

PUT:/api-keys/enable

Required permission: manage_api_key

Parameters:

curl http://localhost:8000/api-keys/enable \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/health-check

Required permission: public

No parameters

curl http://localhost:8000/health-check?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/translation/:ns/:lng

Required permission: translation

Parameters:

curl http://localhost:8000/translation/:ns/:lng \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"missing":[]}'

GET:/translations/:ns/:lng

Required permission: public

Parameters:

curl http://localhost:8000/translations/:ns/:lng \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

PUT:/translations/:ns/:lng

Required permission: manage_translation

Parameters:

curl http://localhost:8000/translations/:ns/:lng \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"updated":[]}'

POST:/translations/:ns/:lng

Required permission: manage_translation

Parameters:

curl http://localhost:8000/translations/:ns/:lng \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"translations":[]}'

GET:/registration-codes/:limit

Required permission: manage_registration_code

Parameters:

curl http://localhost:8000/registration-codes/:limit?offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/registration-codes

Required permission: manage_registration_code

Parameters:

curl http://localhost:8000/registration-codes \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"role":"<role>","description":"<description>"}'

PUT:/registration-codes/:id

Required permission: manage_registration_code

Parameters:

curl http://localhost:8000/registration-codes/:id \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"enabled":123,"role":"<role>"}'

DELETE:/registration-codes/:id

Required permission: manage_registration_code

Parameters:

curl http://localhost:8000/registration-codes/:id \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

GET:/notifications/:limit

Required permission: basic_user_action

No parameters

curl http://localhost:8000/notifications/:limit?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/notifications

Required permission: send_push_notification

Parameters:

curl http://localhost:8000/notifications \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"type":"<type>","message":"<message>","ship_imo":"<ship_imo>"}'

DELETE:/notifications/:id

Required permission: delete_push_notification

Parameters:

curl http://localhost:8000/notifications/:id \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

GET:/pinned-vessel-ids

Required permission: basic_user_action

No parameters

curl http://localhost:8000/pinned-vessel-ids?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

PUT:/pinned-vessel-ids

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/pinned-vessel-ids \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"vessel_ids":"<vessel_ids>"}'

GET:/settings

Required permission: basic_user_action

No parameters

curl http://localhost:8000/settings?vessel_ids=<vessel_ids> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/settings/by-name/:name

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/settings/by-name/:name \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

PUT:/settings/:name/:value

Required permission: manage_setting

Parameters:

curl http://localhost:8000/settings/:name/:value \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

GET:/roles

Required permission: basic_user_action

No parameters

curl http://localhost:8000/roles?name=<name>&value=<value> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/permissions

Required permission: basic_user_action

No parameters

curl http://localhost:8000/permissions?name=<name>&value=<value> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/role-permissions

Required permission: basic_user_action

No parameters

curl http://localhost:8000/role-permissions?name=<name>&value=<value> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/role-permissions/by-role/:role

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/role-permissions/by-role/:role \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

PUT:/role-permissions/:role/:permission

Required permission: manage_permission

Parameters:

curl http://localhost:8000/role-permissions/:role/:permission \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

DELETE:/role-permissions/:role/:permission

Required permission: manage_permission

Parameters:

curl http://localhost:8000/role-permissions/:role/:permission \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '[]'

POST:/push-notification-tokens

Required permission: push_notification_token

Parameters:

curl http://localhost:8000/push-notification-tokens \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"tokens":[]}'

GET:/export/timestamps

Required permission: export_api

Parameters:

curl http://localhost:8000/export/timestamps?id=<id>&imo=<imo>&port_call_id=<port_call_id>&start_date_time=<start_date_time>&end_date_time=<end_date_time>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/timestamps

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/timestamps?id=<id>&imo=<imo>&port_call_id=<port_call_id>&start_date_time=<start_date_time>&end_date_time=<end_date_time>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

DELETE:/timestamps

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/timestamps \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/export/port-calls

Required permission: export_api

No parameters

curl http://localhost:8000/export/port-calls?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vessels

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/vessels?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/vessel-visibility

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/vessel-visibility \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"visible":"<visible>"}'

GET:/vis-services

Required permission: view_vis_information

Parameters:

curl http://localhost:8000/vis-services?imo=<imo>&service_id=<service_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vis-vessels

Required permission: view_vis_information

Parameters:

curl http://localhost:8000/vis-vessels?imo=<imo>&vessel_name=<vessel_name>&service_id=<service_id>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vis-voyage-plans

Required permission: view_vis_information

Parameters:

curl http://localhost:8000/vis-voyage-plans?from_service_id=<from_service_id>&to_service_id=<to_service_id>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vis-text-messages

Required permission: view_vis_information

Parameters:

curl http://localhost:8000/vis-text-messages?from_service_id=<from_service_id>&to_service_id=<to_service_id>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vis-notifications

Required permission: view_vis_information

Parameters:

curl http://localhost:8000/vis-notifications?from_service_id=<from_service_id>&offset=<offset>&limit=<limit>&sort=<sort> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/vis-text-messages-with-imo

Required permission: send_vis_text_message

Parameters:

curl http://localhost:8000/vis-text-messages-with-imo \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"imo":123,"subject":"<subject>","body":"<body>"}'

POST:/vis-text-messages

Required permission: send_vis_text_message

Parameters:

curl http://localhost:8000/vis-text-messages \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"vis_service_id":"<vis_service_id>","author":"<author>","subject":"<subject>","body":"<body>","informationObjectReferenceId":"<informationObjectReferenceId>","informationObjectReferenceType":"<informationObjectReferenceType>","area":"<area>"}'

POST:/vis-send-rta

Required permission: send_vis_rta

Parameters:

curl http://localhost:8000/vis-send-rta \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"vis_service_id":"<vis_service_id>","rta":"<rta>","eta_min":"<eta_min>","eta_max":"<eta_max>","port_call_id":123}'

GET:/vis-service-poll

Required permission: view_vis_information

No parameters

curl http://localhost:8000/vis-service-poll?vis_service_id=<vis_service_id>&rta=<rta>&eta_min=<eta_min>&eta_max=<eta_max>&port_call_id=<port_call_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/vis-configuration

Required permission: view_vis_information

No parameters

curl http://localhost:8000/vis-configuration?vis_service_id=<vis_service_id>&rta=<rta>&eta_min=<eta_min>&eta_max=<eta_max>&port_call_id=<port_call_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/update-port-call-id

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/update-port-call-id \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"portCallId":123}'

POST:/unset-port-call-id

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/unset-port-call-id \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

POST:/restore-timestamp

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/restore-timestamp \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/rebuild-port-calls

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/rebuild-port-calls?imo=<imo> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/timestamps-to-port-calls

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/timestamps-to-port-calls?imo=<imo>&isFromAgent=<isFromAgent>&ignoreStatus=<ignoreStatus> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/force-close-port-call

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/force-close-port-call?port_call_id=<port_call_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/force-scan-port-call

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/force-scan-port-call?port_call_id=<port_call_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/port-call-range

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/port-call-range?port_call_id=<port_call_id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/port-call-range

Required permission: manage_port_call

Parameters:

curl http://localhost:8000/port-call-range \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"port_call_id":123,"start":"<start>","end":"<end>"}'

GET:/inbound-vessels

Required permission: basic_user_action

Parameters:

curl http://localhost:8000/inbound-vessels?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/ports

Required permission: manage_port

Parameters:

curl http://localhost:8000/ports \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"name":"<name>","service_id":"<service_id>","locodes":[]}'

GET:/ports

Required permission: manage_port

Parameters:

curl http://localhost:8000/ports?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/port-whitelist-in

Required permission: manage_port

Parameters:

curl http://localhost:8000/port-whitelist-in \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"service_id":"<service_id>","whitelist":"<whitelist>"}'

POST:/port-whitelist-out

Required permission: manage_port

Parameters:

curl http://localhost:8000/port-whitelist-out \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"service_id":"<service_id>","whitelist":"<whitelist>"}'

POST:/berths

Required permission: manage_berth

Parameters:

curl http://localhost:8000/berths \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"code":"<code>","name":"<name>","nominatable":"<nominatable>"}'

PUT:/berths

Required permission: manage_berth

Parameters:

curl http://localhost:8000/berths \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"code":"<code>","name":"<name>","nominatable":"<nominatable>"}'

DELETE:/berths

Required permission: manage_berth

Parameters:

curl http://localhost:8000/berths \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/berths

Required permission: view_berth

Parameters:

curl http://localhost:8000/berths?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/berth-by-id

Required permission: view_berth

Parameters:

curl http://localhost:8000/berth-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/own-nominations

Required permission: manage_own_queue_nomination

Parameters:

curl http://localhost:8000/own-nominations \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"company_name":"<company_name>","email":"<email>","imo":123,"vessel_name":"<vessel_name>","window_start":"<window_start>","window_end":"<window_end>","berth_ids":[]}'

PUT:/own-nominations

Required permission: manage_own_queue_nomination

Parameters:

curl http://localhost:8000/own-nominations \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"company_name":"<company_name>","email":"<email>","imo":123,"vessel_name":"<vessel_name>","window_start":"<window_start>","window_end":"<window_end>","berth_ids":[]}'

DELETE:/own-nominations

Required permission: manage_own_queue_nomination

Parameters:

curl http://localhost:8000/own-nominations \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/own-nominations

Required permission: view_own_queue_nomination

Parameters:

curl http://localhost:8000/own-nominations?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/own-nomination-by-id

Required permission: view_own_queue_nomination

Parameters:

curl http://localhost:8000/own-nomination-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/all-nominatable-berths

Required permission: view_own_queue_nomination

No parameters

curl http://localhost:8000/all-nominatable-berths?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/consignee-users

Required permission: view_all_queue_nomination

No parameters

curl http://localhost:8000/consignee-users?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/nomination-for-consignee

Required permission: manage_all_queue_nomination

Parameters:

curl http://localhost:8000/nomination-for-consignee \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"consignee_user_id":123,"company_name":"<company_name>","email":"<email>","imo":123,"vessel_name":"<vessel_name>","window_start":"<window_start>","window_end":"<window_end>","berth_ids":[]}'

PUT:/nominations

Required permission: manage_all_queue_nomination

Parameters:

curl http://localhost:8000/nominations \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"company_name":"<company_name>","email":"<email>","imo":123,"vessel_name":"<vessel_name>","window_start":"<window_start>","window_end":"<window_end>","berth_ids":[]}'

DELETE:/nominations

Required permission: manage_all_queue_nomination

Parameters:

curl http://localhost:8000/nominations \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/nominations

Required permission: view_all_queue_nomination

Parameters:

curl http://localhost:8000/nominations?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/nomination-by-id

Required permission: view_all_queue_nomination

Parameters:

curl http://localhost:8000/nomination-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/berth-reservations

Required permission: manage_berth_reservation

Parameters:

curl http://localhost:8000/berth-reservations \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"berth_id":123,"berth_reservation_type":"<berth_reservation_type>","reservation_start":"<reservation_start>","reservation_end":"<reservation_end>","slot_reservation_id":123}'

PUT:/berth-reservations

Required permission: manage_berth_reservation

Parameters:

curl http://localhost:8000/berth-reservations \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"reservation_start":"<reservation_start>","reservation_end":"<reservation_end>"}'

DELETE:/berth-reservations

Required permission: manage_berth_reservation

Parameters:

curl http://localhost:8000/berth-reservations \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'

GET:/berth-reservations

Required permission: view_berth_reservation

Parameters:

curl http://localhost:8000/berth-reservations?berth_id=<berth_id>&limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/berth-reservation-by-id

Required permission: view_berth_reservation

Parameters:

curl http://localhost:8000/berth-reservation-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/slot-reservations

Required permission: manage_queue_slot_reservation

Parameters:

curl http://localhost:8000/slot-reservations \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"email":"<email>","imo":123,"vessel_name":"<vessel_name>","loa":"<loa>","beam":"<beam>","draft":"<draft>","laytime":"<laytime>","eta":"<eta>"}'

PUT:/slot-reservations

Required permission: manage_queue_slot_reservation

Parameters:

curl http://localhost:8000/slot-reservations \
-X 'PUT'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"laytime":"<laytime>","jit_eta":"<jit_eta>","rta_window_start":"<rta_window_start>"}'

DELETE:/slot-reservations

Required permission: manage_queue_slot_reservation

Parameters:

curl http://localhost:8000/slot-reservations \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123,"cancel_only":"<cancel_only>","by_vessel":"<by_vessel>"}'

GET:/slot-reservations

Required permission: view_queue_slot_reservation

Parameters:

curl http://localhost:8000/slot-reservations?limit=<limit>&offset=<offset>&sort=<sort>&search=<search>&isDashboard=<isDashboard> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/slot-reservation-by-id

Required permission: view_queue_slot_reservation

Parameters:

curl http://localhost:8000/slot-reservation-by-id?id=<id> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/dashboard-slot-reservations

Required permission: view_queue_slot_reservation

Parameters:

curl http://localhost:8000/dashboard-slot-reservations?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/timestamp-api-key-weights

Required permission: manage_api_key

No parameters

curl http://localhost:8000/timestamp-api-key-weights?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/timestamp-api-key-weights

Required permission: manage_api_key

Parameters:

curl http://localhost:8000/timestamp-api-key-weights \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"timestamp_time_type":"<timestamp_time_type>","timestamp_state":"<timestamp_state>","api_key_ids":[]}'

GET:/sea-chart/vessels

Required permission: basic_user_action

No parameters

curl http://localhost:8000/sea-chart/vessels?timestamp_time_type=<timestamp_time_type>&timestamp_state=<timestamp_state>&api_key_ids=<api_key_ids> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

GET:/sea-chart/markers

Required permission: basic_user_action

No parameters

curl http://localhost:8000/sea-chart/markers?timestamp_time_type=<timestamp_time_type>&timestamp_state=<timestamp_state>&api_key_ids=<api_key_ids> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/sea-chart/vessels

Required permission: update_sea_chart_location

Parameters:

curl http://localhost:8000/sea-chart/vessels \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"latitude":"<latitude>","longitude":"<longitude>","headingDegrees":"<headingDegrees>","speedKnots":"<speedKnots>","locationTimestamp":"<locationTimestamp>","imo":"<imo>","mmsi":"<mmsi>"}'

GET:/sea-chart/fixed-vessels

Required permission: modify_sea_chart_vessels

Parameters:

curl http://localhost:8000/sea-chart/fixed-vessels?limit=<limit>&offset=<offset>&sort=<sort>&search=<search> \
-X 'GET'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'

POST:/sea-chart/fixed-vessel

Required permission: modify_sea_chart_vessels

Parameters:

curl http://localhost:8000/sea-chart/fixed-vessel \
-X 'POST'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"mmsi":123,"markerTypeId":123,"vesselName":"<vesselName>","imo":"<imo>"}'

DELETE:/sea-chart/fixed-vessel

Required permission: modify_sea_chart_vessels

Parameters:

curl http://localhost:8000/sea-chart/fixed-vessel \
-X 'DELETE'\
-H 'Content-Type: application/json;charset=utf-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer yourbearer'
-d '{"id":123}'