Ectosy.com has several API capabilities. Click on the Ectosy API keys option to generate an API key for a specific API user.

API url: https://api.ectosy.com/api
Headers Content-Type: application/json
Headers x-api-key: SECRET-API-KEY
Currently there are 3 API resources:
-------------------------------------
1. /resources (method GET) - lists all users' positions
example: https://api.ectosy.com/api/resources
response: [{positionId: string, positionTitle: string}, {positionId: string, positionTitle: string}]
-------------------------------------
2. /period (methods POST and DELETE) - saves/deletes a reservation
2.1. example (POST):
body: {positionId: string (result of previous /resource GET), apiUserTitle: string, start: yyyy-mm-dd, end: yyyy-mm-dd, customers: JSON.stringified [{name:string, surname: string}, {name:string, surname: string}]
response: {periodId: string, customers: [{name: string, surname: string, customerId: string}, {name: string, surname: string, customerId: string}], appliedPrice: number, appliedCurrency: string}
2.2. example (DELETE):
body: {periodId: string}
response: [{customerId: string, surname: string, name: string}]
-------------------------------------
3. /customers (method PUT) - update name or surname of a guest in the existing period
example (POST): https://api.ectosy.com/api/customers
body: [{customerId: string, name: string (new name), surname: string (new surname)}]
response: {res: ok}
-------------------------------------
Ectosy.com has several API capabilities. Click on the Ectosy API keys option to generate an API key for a specific API user.

API url: https://api.ectosy.com/api
Headers Content-Type: application/json
Headers x-api-key: SECRET-API-KEY
Currently there are 3 API resources:
-------------------------------------
1. /resources (method GET) - lists all users' positions
example: https://api.ectosy.com/api/resources
response: [{positionId: string, positionTitle: string}, {positionId: string, positionTitle: string}]
-------------------------------------
2. /period (methods POST and DELETE) - saves/deletes a reservation
2.1. example (POST):
body: {positionId: string (result of previous /resource GET), apiUserTitle: string, start: yyyy-mm-dd, end: yyyy-mm-dd, customers: JSON.stringified [{name:string, surname: string}, {name:string, surname: string}]
response: {periodId: string, customers: [{name: string, surname: string, customerId: string}, {name: string, surname: string, customerId: string}], appliedPrice: number, appliedCurrency: string}
2.2. example (DELETE):
body: {periodId: string}
response: [{customerId: string, surname: string, name: string}]
-------------------------------------
3. /customers (method PUT) - update name or surname of a guest in the existing period
example (POST): https://api.ectosy.com/api/customers
body: [{customerId: string, name: string (new name), surname: string (new surname)}]
response: {res: ok}
-------------------------------------