openapi: 3.0.0
info:
title: Octorate Integration Central
description: >-
Code | Full Name | Detailed
description | Way to fix it |
Category 400 - Errors
in your request |
400 | Bad
Request | Generic Bad request errors that means that content you've
given to the server was rejected either by the server or the application
server. | Check the format of your request and whether you're
providing the right content-type headers. |
400 | ApiParamsExemption | Application server accepted the
call, but the validation of the params failed, means that you're presenting
you're request to the right endpoint and with the right format, but the
content is the issue there and you're missing some required param or the
value is not acceptable.. | Check carefully the details to check
what's missing or not set corretcly, recheck examples. |
400 | JsonParseExemption | Probably the endpoint is right,
the content type is right, but you've given a malformed json, check in a
json validator online if your json structure is right.. | Use an
online tool to validate your json and check where was
malformed. |
400 | ApiValidationFailed | You're
request is good, your content is good, all required params are given, but it
failes our internal constraints (For instance this call can be wellformed
but you missed some required calls before) | Please check the content
inside or push the other content that misses. |
Category 401 - Permission issues |
401 | ApiKeyMissing | You've not given the access key at
all | Check the headers of your call |
401 | ApiKeyInvalid | You're presenting the api key, but
this api key is wrong | Check whether the api key provided is the
right one (or the access token) |
Category 403 - Access
Forbidden |
403 | ApiSecurityException | You have not the permission to
access the requested resource (i.e. you're trying to get access of the
resource not owned by the provided property) | Check if the resource
is the wanted you want to access. If it is a new customer you may ask the
user with oauth to the auth to access this resource |
403 | ApiQuotaException | You've reached your quota
limits | Wait for new quota, optimize your calls in order to do as few
as you can |
403 | WrongEnviroment | You are
trying to execute a production call in sandbox or viceversa or in the wrong
enviroment | Check where are you trying to execute your
call |
Category 404 - Resource not
found/available |
404 | NotFound (no json details
provided) | This error tells you that you're trying to call a link
that doesn't exists. It can also means that the sandbox env. is not
reacheable | Try in a few minutes if you're working on sandbox. Check
the link you're calling, the slash, the endpoint and the typos.
|
404 | ApiResourceMissing | This error tells
you a specific resource doesn't exist. It's possible that the resource has
been moved or deleted, or that there's a typo in your request. | Make
sure the resource exists. |
404 | ApiResourceEmpty | Used in content in order to allow
you to understand that the relative object/resource was never filled at tall
| Try pushing the resource. |
Category 405 - Method
not allowed |
405 | MethodNotAllowed | The
requested method and resource are not compatible. See the Allow header for
this resource's available methods. This error means that the requested
resource does not support the HTTP method you used. | Find out which
methods are allowed (GET,POST,etc...) for each resource in the API
Reference |
Category 422 - Unprocessable
entity |
422 | ApiResourceMissing | The
request was well-formed but was unable to be followed due to semantic
errors. | |
Category 5xx - Application/Server
issues |
500 | InternalServerError | An
unexpected internal error has occurred. | Please contact Support for
more information. |
550 | ApiPartnerServerError | One of our partner that was
called to take in charge the request has failed to execute
it. | please check the details to try to understand why, feel free to
contact the partner or octorate at second stage. |
Contact Support:
Email: tech@octorate.com
version: 1.0.0
servers:
- url: http://{{octorate}}
- url: http://{{baseurl}}
- url: http://localhost:8080
components:
securitySchemes:
oauth2Auth:
type: http
scheme: oauth2
bearerAuth:
type: http
scheme: bearer
apikeyAuth:
type: http
scheme: apikey
noauthAuth:
type: http
scheme: noauth
security:
- oauth2Auth: []
tags:
- name: rest/v1
- name: rest/v1 > Each User One Login
description: >-
Use the generated token in the Authorization tab of "Each User One Login"
to obtain a token
- name: rest/v1 > Each User One Login > roomrates
- name: rest/v1 > Each User One Login > connection
- name: rest/v1 > Each User One Login > connection > {accommodation}
- name: >-
rest/v1 > Each User One Login > connection > {accommodation} >
{connection}
- name: >-
rest/v1 > Each User One Login > connection >
external/{accommodation}/{connection}
- name: >-
rest/v1 > Each User One Login > connection >
mapping/{accommodation}/{connection}
- name: rest/v1 > Each User One Login > pms
- name: rest/v1 > Each User One Login > pms > meta
- name: rest/v1 > Each User One Login > content
- name: rest/v1 > Each User One Login > content > connections
- name: rest/v1 > Each User One Login > content > connections > {connection}
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
cancellation Policies
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
contacts
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
fees
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
services
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
accommodationconf
- name: >-
rest/v1 > Each User One Login > content > connections > {connection} >
extrabeds
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id}
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > availabilityconf
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > descriptions
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > fees
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > listing
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > pricing
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > rate
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > reservation
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > rooms
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > photos
- name: >-
rest/v1 > Each User One Login > content >
products/{accommodation}/{product Id} > amenities
- name: rest/v1 > Each User One Login > checkin/{accommodation}
- name: rest/v1 > Each User One Login > checkin/{accommodation} > {reservation Id}
- name: >-
rest/v1 > Each User One Login > checkin/{accommodation} > {reservation Id}
> guest/{guest Id}
- name: rest/v1 > Each User One Login > calendar
- name: rest/v1 > Each User One Login > calendar > {accommodation}
- name: rest/v1 > Each User One Login > accommodation
- name: rest/v1 > Each User One Login > accommodation > network
- name: rest/v1 > Each User One Login > accommodation > network > {network}
- name: rest/v1 > Each User One Login > accommodation > {accommodation}
- name: rest/v1 > Each User One Login > accommodation > {accommodation} > photos
- name: rest/v1 > Each User One Login > accommodation > {accommodation} > queue
- name: rest/v1 > Each User One Login > extra/{accommodation}
- name: rest/v1 > Each User One Login > chat
- name: rest/v1 > Each User One Login > reservation
- name: rest/v1 > Each User One Login > reservation > {accommodation}
- name: rest/v1 > Each User One Login > reservation > {accommodation} > {id}
- name: >-
rest/v1 > Each User One Login > reservation > {accommodation} > {id} >
extra
- name: >-
rest/v1 > Each User One Login > reservation > {accommodation} > {id} >
extra > {extra Id}
- name: >-
rest/v1 > Each User One Login > reservation > {accommodation} > {id} >
payment
- name: rest/v1 > Each User One Login > reservation > Split
- name: rest/v1 > Each User One Login > MetaData
- name: rest/v1 > Each User One Login > MetaData > meta
- name: rest/v1 > Each User One Login > invoice
- name: rest/v1 > Each User One Login > Affiliate
- name: rest/v1 > Each User One Login > Payment
- name: rest/v1 > Each User One Login > portal
- name: rest/v1 > Each User One Login > Tags
- name: rest/v1 > Api Admin Operation
- name: rest/v1 > Api Admin Operation > subscription
- name: rest/v1 > Api Admin Operation > subscription > {id}
- name: rest/v1 > Api Admin Operation > portal/apiportal
- name: rest/v1 > Api Admin Operation > identity
- name: rest/v1 > Api Admin Operation > api/configuration
- name: rest/v1 > Api Admin Operation > accommodation
- name: rest/v2 [Experimental]
- name: rest/v2 [Experimental] > Each User One Login
- name: rest/v2 [Experimental] > Each User One Login > reservation
- name: rest/v2 [Experimental] > Each User One Login > payment
- name: rest/v2 [Experimental] > Each User One Login > invoices
paths:
/connect/rest/v1/roomrates/{accommodation}:
get:
tags:
- rest/v1 > Each User One Login > roomrates
summary: Retrieve all the property room and rates
description: >-
Through this call you can retrieve all the Inventory of Octorate
platform.