MENU navbar-image

Introduction

Authentification

Pour accéder à certaines routes de l’API, vous devez être connecté.
Connectez-vous via l’interface web ou utilisez une route d’authentification API (ex : /api/login).
Renseignez ensuite le token dans l’en-tête Authorization :

Authorization: Bearer VOTRE_TOKEN

This documentation aims to provide all the information you need to work with our API.

Authenticating requests

To authenticate requests, include an Authorization header with the value "Bearer Bearer {YOUR_JWT_TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

Connectez-vous via POST /api/v1/auth/login pour obtenir un JWT. Collez-le ensuite dans le champ Auth en haut de la page (ex: Bearer eyJ...).

Authentification

Mini description: Inscription d'un nouvel utilisateur avec upload d'avatar optionnel. Retourne le token JWT.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/register" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "username=consequatur"\
    --form "first_name=consequatur"\
    --form "last_name=consequatur"\
    --form "job=consequatur"\
    --form "location=consequatur"\
    --form "country_id=consequatur"\
    --form "phone=consequatur"\
    --form "email=qkunze@example.com"\
    --form "password=O[2UZ5ij-e/dl4m{o,"\
    --form "password_confirmation=consequatur"\
    --form "avatar=@C:\Users\fgh\AppData\Local\Temp\phpDDE1.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/register"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('username', 'consequatur');
body.append('first_name', 'consequatur');
body.append('last_name', 'consequatur');
body.append('job', 'consequatur');
body.append('location', 'consequatur');
body.append('country_id', 'consequatur');
body.append('phone', 'consequatur');
body.append('email', 'qkunze@example.com');
body.append('password', 'O[2UZ5ij-e/dl4m{o,');
body.append('password_confirmation', 'consequatur');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Example response (201):


{
    "success": true,
    "data": {
        "user": {
            "id": 1,
            "username": "john_doe",
            "email": "john@example.com"
        },
        "token": "<JWT>"
    },
    "message": "User created successfully. Please check your email to verify your account."
}
 

Example response (400):


{
    "success": false,
    "message": "Require fields error",
    "data": {
        "email": [
            "The email has already been taken."
        ]
    }
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to create user"
}
 

Request      

POST api/v1/auth/register

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

username   string   

Nom d'utilisateur unique. Exemple: john_doe Example: consequatur

first_name   string   

Prénom. Exemple: John Example: consequatur

last_name   string   

Nom. Exemple: Doe Example: consequatur

job   string  optional  

Métier. Exemple: Développeur Example: consequatur

location   string  optional  

Localisation. Exemple: Paris, France Example: consequatur

country_id   string   

The id of an existing record in the countries table. Example: consequatur

phone   string  optional  

Numéro de téléphone. Exemple: +33123456789 Example: consequatur

email   string   

Email unique. Exemple: john@example.com Example: qkunze@example.com

password   string   

Min 6 caractères. Exemple: password123 Example: O[2UZ5ij-e/dl4m{o,

password_confirmation   string   

Confirmation du mot de passe. Exemple: password123 Example: consequatur

avatar   file  optional  

Image de profil (jpeg/png/webp <= 5MB). Example: C:\Users\fgh\AppData\Local\Temp\phpDDE1.tmp

POST api/v1/auth/login

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"consequatur\",
    \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "login": "consequatur",
    "password": "O[2UZ5ij-e\/dl4m{o,"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
    "success": true,
    "data": {
        "token": "<JWT>",
        "role": "user",
        "id": 1
    },
    "message": "User connected successfully"
}
 

Example response (400):


{
    "success": false,
    "message": "Require fields error",
    "data": {
        "login": [
            "The login field is required."
        ]
    }
}
 

Example response (401):


{
    "success": false,
    "message": "Unauthorized",
    "data": "invalid credential"
}
 

Example response (403):


{
    "success": false,
    "message": "Veuillez vérifier votre email avant de vous connecter. Un email de vérification a été envoyé à votre adresse."
}
 

Example response (500):


{
    "success": false,
    "message": "error"
}
 

Request      

POST api/v1/auth/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

login   string   

Email ou téléphone de l'utilisateur. Exemple: user@example.com Example: consequatur

password   string   

Mot de passe. Exemple: mypassword Example: O[2UZ5ij-e/dl4m{o,

POST api/v1/auth/refresh

requires authentication

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/refresh" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/refresh"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Example response (200):


{
    "newToken": "<JWT>"
}
 

Example response (401):


{
    "error": "Token has expired and can no longer be refreshed"
}
 

Example response (500):


{
    "error": "Failed to refresh token"
}
 

Request      

POST api/v1/auth/refresh

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

Endpoints

Display Oauth2 callback pages.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/oauth2-callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/oauth2-callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/oauth2-callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Authenticate the request for channel access.

Gère l'authentification des channels privés avec JWT. Génère la signature Pusher/Reverb manuellement.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/broadcasting/auth" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/broadcasting/auth"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/broadcasting/auth

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/change-status-reservation-by-proprio/{reservation_id}/{status}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/change-status-reservation-by-proprio/consequatur/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/change-status-reservation-by-proprio/consequatur/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/change-status-reservation-by-proprio/{reservation_id}/{status}

POST api/v1/reservations/change-status-reservation-by-proprio/{reservation_id}/{status}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

reservation_id   string   

The ID of the reservation. Example: consequatur

status   string   

Example: consequatur

POST api/v1/booking_canceled_to_guest_notification/{payment_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booking_canceled_to_guest_notification/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booking_canceled_to_guest_notification/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/booking_canceled_to_guest_notification/{payment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payment_id   string   

The ID of the payment. Example: consequatur

GET api/v1/auth/verify-email

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/verify-email" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/verify-email"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/auth/verify-email

POST api/v1/auth/verify-email

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/auth/resend-verification

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/resend-verification" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/resend-verification"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/auth/resend-verification

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/quotes/confirm

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/confirm" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/confirm"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/quotes/confirm

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Vérifie le statut du paiement après redirection depuis Stripe

Cette méthode est appelée par le frontend après que Stripe redirige l'utilisateur vers la page de succès avec le session_id

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/payment/verify" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/payment/verify"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/quotes/payment/verify

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Gère les événements webhook envoyés par Stripe

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/stripe/webhook" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/stripe/webhook"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/stripe/webhook

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/new_message_from_traveler/{message_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/new_message_from_traveler/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/new_message_from_traveler/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/new_message_from_traveler/{message_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

message_id   string   

The ID of the message. Example: consequatur

POST api/v1/new_message_from_traveler_comment_notification/{comment_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/new_message_from_traveler_comment_notification/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/new_message_from_traveler_comment_notification/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/new_message_from_traveler_comment_notification/{comment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

comment_id   string   

The ID of the comment. Example: consequatur

POST api/v1/owner_message_to_traveler_notification/{message_id}/{sender_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/owner_message_to_traveler_notification/consequatur/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/owner_message_to_traveler_notification/consequatur/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/owner_message_to_traveler_notification/{message_id}/{sender_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

message_id   string   

The ID of the message. Example: consequatur

sender_id   string   

The ID of the sender. Example: consequatur

POST api/v1/payment_status_notification/{payment_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payment_status_notification/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payment_status_notification/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/payment_status_notification/{payment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payment_id   string   

The ID of the payment. Example: consequatur

GET api/v1/user

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/hi

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/hi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/hi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/hi

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/properties/public

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/public" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/public"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/public

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/popular" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/popular"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Recherche de propriétés avec filtres avancés GET /api/v1/properties/search

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/filter" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/filter"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/filter

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/properties/{id}/favorite

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/favorite" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/favorite"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/{id}/favorite

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property. Example: consequatur

GET api/v1/properties/get/favorites

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/get/favorites" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/get/favorites"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/get/favorites

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/favorites/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/favorites/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

GET api/v1/property/types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property/types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property/types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property/types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/auth/logout

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/logout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/logout"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/auth/logout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/auth/google

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/google" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/google"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/auth/google

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/auth/google/callback

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/google/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/google/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/auth/google/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/auth/facebook

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/facebook" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/facebook"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/auth/facebook

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/auth/facebook/callback

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/facebook/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/auth/facebook/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/auth/facebook/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/password_reset/verify_email

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/verify_email" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/verify_email"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/password_reset/verify_email

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/password_reset/verify_code_dended

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/verify_code_dended" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/verify_code_dended"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/password_reset/verify_code_dended

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/password_reset/reset_old_password

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/reset_old_password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/password_reset/reset_old_password"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/password_reset/reset_old_password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/policies/index

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/index" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/index"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/policies/index

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/policies/show_policy_by_id/{policy_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/show_policy_by_id/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/show_policy_by_id/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/policies/show_policy_by_id/{policy_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

policy_id   string   

The ID of the policy. Example: consequatur

POST api/v1/policies/store

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/store" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/store"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/policies/store

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/policies/update/{policy_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/update/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/update/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/policies/update/{policy_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

policy_id   string   

The ID of the policy. Example: consequatur

DELETE api/v1/policies/delete/{policy_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/delete/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/delete/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/policies/delete/{policy_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

policy_id   string   

The ID of the policy. Example: consequatur

GET api/v1/policies/type/{type}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/type/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/policies/type/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/policies/type/{type}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

type   string   

The type. Example: consequatur

GET api/v1/user/policies/unaccepted

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/unaccepted" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/unaccepted"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/policies/unaccepted

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/policies/check/{type}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/check/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/check/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/policies/check/{type}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

type   string   

Example: consequatur

POST api/v1/user/policies/accept/{policyId}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/accept/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/policies/accept/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/user/policies/accept/{policyId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

policyId   string   

Example: consequatur

GET api/v1/seasons-test

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/seasons-test

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/seasons-test

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"season_libelle\": \"vmqeopfuudtdsufvyvddq\",
    \"season_description\": \"consequatur\",
    \"season_start_date\": \"2020-04-15\",
    \"season_end_date\": \"2107-01-18\",
    \"season_reduction_percent\": 0,
    \"season_min_stay\": 56,
    \"season_max_stay\": 17,
    \"season_reduction_policy\": \"nights\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "season_libelle": "vmqeopfuudtdsufvyvddq",
    "season_description": "consequatur",
    "season_start_date": "2020-04-15",
    "season_end_date": "2107-01-18",
    "season_reduction_percent": 0,
    "season_min_stay": 56,
    "season_max_stay": 17,
    "season_reduction_policy": "nights",
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/seasons-test

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

season_libelle   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

season_description   string  optional  

Example: consequatur

season_start_date   string   

Must be a valid date. Must be a date before or equal to season_end_date. Example: 2020-04-15

season_end_date   string   

Must be a valid date. Must be a date after or equal to season_start_date. Example: 2107-01-18

season_reduction_percent   number   

Must be between 0 and 100. Example: 0

season_min_stay   integer  optional  

Must be at least 1. Example: 56

season_max_stay   integer  optional  

Must be at least 1. Example: 17

season_reduction_policy   string  optional  

Example: nights

Must be one of:
  • booking
  • nights
property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/seasons-test/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/seasons-test/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the seasons test. Example: consequatur

PUT api/v1/seasons-test/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"season_libelle\": \"vmqeopfuudtdsufvyvddq\",
    \"season_description\": \"consequatur\",
    \"season_start_date\": \"2020-04-15\",
    \"season_end_date\": \"2107-01-18\",
    \"season_reduction_percent\": 0,
    \"season_min_stay\": 56,
    \"season_max_stay\": 17,
    \"season_reduction_policy\": \"nights\",
    \"season_status\": \"active\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "season_libelle": "vmqeopfuudtdsufvyvddq",
    "season_description": "consequatur",
    "season_start_date": "2020-04-15",
    "season_end_date": "2107-01-18",
    "season_reduction_percent": 0,
    "season_min_stay": 56,
    "season_max_stay": 17,
    "season_reduction_policy": "nights",
    "season_status": "active"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/seasons-test/{id}

PATCH api/v1/seasons-test/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the seasons test. Example: consequatur

Body Parameters

season_libelle   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

season_description   string  optional  

Example: consequatur

season_start_date   string  optional  

Must be a valid date. Must be a date before or equal to season_end_date. Example: 2020-04-15

season_end_date   string  optional  

Must be a valid date. Must be a date after or equal to season_start_date. Example: 2107-01-18

season_reduction_percent   number  optional  

Must be between 0 and 100. Example: 0

season_min_stay   integer  optional  

Must be at least 1. Example: 56

season_max_stay   integer  optional  

Must be at least 1. Example: 17

season_reduction_policy   string  optional  

Example: nights

Must be one of:
  • booking
  • nights
season_status   string  optional  

Example: active

Must be one of:
  • active
  • inactive
property_id   string  optional  

The id of an existing record in the properties table.

DELETE api/v1/seasons-test/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons-test/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/seasons-test/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the seasons test. Example: consequatur

POST api/v1/webhook/notifications

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/notifications" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/notifications"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/webhook/notifications

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/get-countries

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-countries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-countries"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/get-countries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/get-cities/{country_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-cities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-cities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/get-cities/{country_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

country_id   string   

The ID of the country. Example: consequatur

GET api/v1/get-neighborhoods/{city_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-neighborhoods/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get-neighborhoods/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/get-neighborhoods/{city_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

city_id   string   

The ID of the city. Example: consequatur

Retourne le calendrier journalier d'une propriété entre deux dates.

GET /api/v1/calendar/properties/{property_id}/availability?from=YYYY-MM-DD&to=YYYY-MM-DD

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/availability" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/availability"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/calendars/properties/{property_id}/availability

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

Opérations en masse sur le calendrier d'une propriété.

POST /api/v1/calendar/properties/{property_id}/bulk body: { action: block|unblock|set_price, start_date, end_date, reason?, price_per_night? }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/bulk" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"action\": \"set_price\",
    \"start_date\": \"2025-12-19\",
    \"end_date\": \"2025-12-19\",
    \"reason\": \"vmqeopfuudtdsufvyvddq\",
    \"price_per_night\": 1,
    \"cleaning_fee\": 45,
    \"extra_guest_fee\": 46
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/bulk"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "action": "set_price",
    "start_date": "2025-12-19",
    "end_date": "2025-12-19",
    "reason": "vmqeopfuudtdsufvyvddq",
    "price_per_night": 1,
    "cleaning_fee": 45,
    "extra_guest_fee": 46
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/calendars/properties/{property_id}/bulk

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

action   string   

Example: set_price

Must be one of:
  • block
  • unblock
  • set_price
start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

end_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

reason   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

price_per_night   number  optional  

Must be at least 0. Example: 1

cleaning_fee   number  optional  

Must be at least 0. Example: 45

extra_guest_fee   number  optional  

Must be at least 0. Example: 46

Créer une fermeture de dates (non réservable) pour une propriété.

POST /api/v1/calendar/properties/{property_id}/close body: { start_date: Y-m-d, end_date: Y-m-d, reason?: string } Règle: on refuse si la période chevauche une réservation EXISTANTE quel que soit le statut (pending, inquiry, confirmed, etc.).

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"start_date\": \"2025-12-19\",
    \"end_date\": \"2025-12-19\",
    \"reason\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "start_date": "2025-12-19",
    "end_date": "2025-12-19",
    "reason": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/calendars/properties/{property_id}/close

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

end_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

reason   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

Supprimer une fermeture précise par ID.

DELETE /api/v1/calendar/properties/{property_id}/close/{block_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/calendars/properties/{property_id}/close/{block_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

block_id   string   

The ID of the block. Example: consequatur

Supprimer toutes les fermetures qui chevauchent une plage.

DELETE /api/v1/calendar/properties/{property_id}/close?from=YYYY-MM-DD&to=YYYY-MM-DD

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendars/properties/consequatur/close"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/calendars/properties/{property_id}/close

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

GET api/v1/webhook/notifications-list

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/notifications-list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/notifications-list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/webhook/notifications-list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/webhook/list

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/webhook/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/webhook/{propertyUuid}/show

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/show" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/show"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/webhook/{propertyUuid}/show

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

POST api/v1/webhook/{propertyUuid}/create

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/create" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/create"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/webhook/{propertyUuid}/create

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

POST api/v1/webhook/{propertyUuid}/create-test

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/create-test" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/create-test"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/webhook/{propertyUuid}/create-test

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

PUT api/v1/webhook/{webhookUuid}/{propertyUuid}/update

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/66529e01-d113-3473-8d6f-9e11e09332ea/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/66529e01-d113-3473-8d6f-9e11e09332ea/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/webhook/{webhookUuid}/{propertyUuid}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

webhookUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

propertyUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

DELETE api/v1/webhook/{webhookUuid}/delete

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/webhook/66529e01-d113-3473-8d6f-9e11e09332ea/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/webhook/{webhookUuid}/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

webhookUuid   string   

Example: 66529e01-d113-3473-8d6f-9e11e09332ea

GET api/v1/room-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/room-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/room-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/room-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/room-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/room-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room type. Example: consequatur

PUT api/v1/room-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/room-types/{id}

PATCH api/v1/room-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/room-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/room-types/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/room-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the room type. Example: 1

GET api/v1/property-information-templates

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-information-templates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/property-information-templates

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/property-information-templates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/property-information-templates/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-information-templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property information template. Example: consequatur

PUT api/v1/property-information-templates/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/property-information-templates/{id}

PATCH api/v1/property-information-templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property information template. Example: consequatur

DELETE api/v1/property-information-templates/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/property-information-templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property information template. Example: consequatur

GET api/v1/property-information-templates/categories

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-information-templates/categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-information-templates/categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/users

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/users

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"username\": \"consequatur\",
    \"first_name\": \"consequatur\",
    \"last_name\": \"consequatur\",
    \"job\": \"consequatur\",
    \"location\": \"consequatur\",
    \"phone\": \"consequatur\",
    \"email\": \"qkunze@example.com\",
    \"avatar\": \"consequatur\",
    \"password\": \"[2UZ5ij-e\\/dl4\",
    \"password_confirmation\": \"vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "username": "consequatur",
    "first_name": "consequatur",
    "last_name": "consequatur",
    "job": "consequatur",
    "location": "consequatur",
    "phone": "consequatur",
    "email": "qkunze@example.com",
    "avatar": "consequatur",
    "password": "[2UZ5ij-e\/dl4",
    "password_confirmation": "vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

username   string   

Example: consequatur

first_name   string   

Example: consequatur

last_name   string   

Example: consequatur

job   string  optional  

Example: consequatur

location   string  optional  

Example: consequatur

phone   string  optional  

Example: consequatur

email   string   

Example: qkunze@example.com

avatar   string  optional  

Example: consequatur

password   string   

Must be at least 6 characters. Example: [2UZ5ij-e/dl4

password_confirmation   string   

Must be at least 6 characters. Example: vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick

GET api/v1/users/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

PUT api/v1/users/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"username\": \"consequatur\",
    \"first_name\": \"consequatur\",
    \"last_name\": \"consequatur\",
    \"job\": \"consequatur\",
    \"location\": \"consequatur\",
    \"phone\": \"consequatur\",
    \"email\": \"qkunze@example.com\",
    \"avatar\": \"consequatur\",
    \"password\": \"[2UZ5ij-e\\/dl4\",
    \"password_confirmation\": \"vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "username": "consequatur",
    "first_name": "consequatur",
    "last_name": "consequatur",
    "job": "consequatur",
    "location": "consequatur",
    "phone": "consequatur",
    "email": "qkunze@example.com",
    "avatar": "consequatur",
    "password": "[2UZ5ij-e\/dl4",
    "password_confirmation": "vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/users/{id}

PATCH api/v1/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

Body Parameters

username   string   

Example: consequatur

first_name   string   

Example: consequatur

last_name   string   

Example: consequatur

job   string  optional  

Example: consequatur

location   string  optional  

Example: consequatur

phone   string  optional  

Example: consequatur

email   string   

Example: qkunze@example.com

avatar   string  optional  

Example: consequatur

password   string   

Must be at least 6 characters. Example: [2UZ5ij-e/dl4

password_confirmation   string   

Must be at least 6 characters. Example: vyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyick

DELETE api/v1/users/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/users/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the user. Example: 2

GET api/v1/owner/assigned-users

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/owner/assigned-users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/owner/assigned-users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/owner/assigned-users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/assigned-users/create-and-assign

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/create-and-assign" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"username\": \"consequatur\",
    \"first_name\": \"consequatur\",
    \"last_name\": \"consequatur\",
    \"email\": \"carolyne.luettgen@example.org\",
    \"phone\": \"fuudtdsufvyvddqam\",
    \"role\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/create-and-assign"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "username": "consequatur",
    "first_name": "consequatur",
    "last_name": "consequatur",
    "email": "carolyne.luettgen@example.org",
    "phone": "fuudtdsufvyvddqam",
    "role": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/assigned-users/create-and-assign

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

username   string   

Example: consequatur

first_name   string   

Example: consequatur

last_name   string   

Example: consequatur

email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

phone   string   

Must not be greater than 20 characters. Example: fuudtdsufvyvddqam

role   string   

Example: consequatur

properties   string[]  optional  

The id of an existing record in the properties table.

GET api/v1/assigned-users

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/assigned-users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/assigned-users

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/assigned-users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/assigned-users/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/assigned-users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the assigned user. Example: consequatur

PUT api/v1/assigned-users/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"consequatur\",
    \"last_name\": \"consequatur\",
    \"role\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "first_name": "consequatur",
    "last_name": "consequatur",
    "role": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/assigned-users/{id}

PATCH api/v1/assigned-users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the assigned user. Example: consequatur

Body Parameters

username   string  optional  
first_name   string  optional  

Example: consequatur

last_name   string  optional  

Example: consequatur

email   string  optional  
phone   string  optional  
role   string  optional  

Example: consequatur

properties   string[]  optional  

The id of an existing record in the properties table.

DELETE api/v1/assigned-users/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/assigned-users/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/assigned-users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the assigned user. Example: consequatur

GET api/v1/space-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/space-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/space-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/space-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/space-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/space-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the space type. Example: consequatur

PUT api/v1/space-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/space-types/{id}

PATCH api/v1/space-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the space type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/space-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/space-types/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/space-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the space type. Example: 1

GET api/v1/conveniences-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conveniences-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/conveniences-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/conveniences-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/conveniences-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conveniences-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the conveniences type. Example: consequatur

PUT api/v1/conveniences-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/conveniences-types/{id}

PATCH api/v1/conveniences-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the conveniences type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/conveniences-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences-types/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/conveniences-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the conveniences type. Example: 17

GET api/v1/channels

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/channels" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/channels"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/channels

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/channels

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/channels" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=consequatur"\
    --form "ota_code=HBD"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "icon=@C:\Users\fgh\AppData\Local\Temp\phpED05.tmp" \
    --form "picture=@C:\Users\fgh\AppData\Local\Temp\phpED06.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/channels"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'consequatur');
body.append('ota_code', 'HBD');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('icon', document.querySelector('input[name="icon"]').files[0]);
body.append('picture', document.querySelector('input[name="picture"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/channels

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

ota_code   string   

Example: HBD

Must be one of:
  • ABB
  • ACO
  • ADO
  • AGO
  • BDC
  • CTZ
  • DDC
  • OVK
  • EXP
  • FER
  • GDS
  • GHA
  • GIT
  • HBD
  • HG
  • HIC
  • HRS
  • HWL
  • LO
  • MMB
  • OC
  • OSA
  • RC
  • RSR
  • TSQ
  • VB
  • VRB
  • WBK
  • WBR
description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

icon   file  optional  

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\phpED05.tmp

picture   file  optional  

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\phpED06.tmp

GET api/v1/guest-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/guest-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/guest-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/guest-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/guest-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/guest-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the guest type. Example: consequatur

PUT api/v1/guest-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/guest-types/{id}

PATCH api/v1/guest-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the guest type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/guest-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/guest-types/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/guest-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the guest type. Example: 1

GET api/v1/contract-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/contract-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/contract-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/contract-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/contract-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/contract-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the contract type. Example: consequatur

PUT api/v1/contract-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/contract-types/{id}

PATCH api/v1/contract-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the contract type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/contract-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-types/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/contract-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the contract type. Example: 1

Match automatique d'une politique selon critères.

GET /api/refund-policies/match?user_id=...&accommodation_type=...&stay_nights=...

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/match" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 17,
    \"accommodation_type\": \"mqeopfuudtdsufvyvddqa\",
    \"stay_nights\": 45
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/match"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_id": 17,
    "accommodation_type": "mqeopfuudtdsufvyvddqa",
    "stay_nights": 45
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/refund-policies/match

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_id   integer  optional  

Example: 17

accommodation_type   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

stay_nights   integer  optional  

Must be at least 1. Example: 45

GET api/v1/refund-policies

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/refund-policies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/refund-policies

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"flexible\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"deadline_hours\": 12,
    \"deadline_days\": 66,
    \"refund_percentage\": 4,
    \"refundable_after_deadline\": false,
    \"requires_proof\": true,
    \"accepted_force_majeure_reasons\": [
        \"consequatur\"
    ],
    \"host_id\": 17,
    \"accommodation_type\": \"mqeopfuudtdsufvyvddqa\",
    \"min_nights\": 45,
    \"max_nights\": 46,
    \"is_default\": false
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "flexible",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "deadline_hours": 12,
    "deadline_days": 66,
    "refund_percentage": 4,
    "refundable_after_deadline": false,
    "requires_proof": true,
    "accepted_force_majeure_reasons": [
        "consequatur"
    ],
    "host_id": 17,
    "accommodation_type": "mqeopfuudtdsufvyvddqa",
    "min_nights": 45,
    "max_nights": 46,
    "is_default": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/refund-policies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

type   string   

Example: flexible

Must be one of:
  • flexible
  • semi_flexible
  • moderee
  • stricte
  • force_majeure
description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

deadline_hours   integer  optional  

Must be at least 0. Example: 12

deadline_days   integer  optional  

Must be at least 0. Example: 66

refund_percentage   integer   

Must be at least 0. Must not be greater than 100. Example: 4

refundable_after_deadline   boolean  optional  

Example: false

requires_proof   boolean  optional  

Example: true

accepted_force_majeure_reasons   string[]  optional  
additional_rules   object  optional  
host_id   integer  optional  

Example: 17

accommodation_type   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

min_nights   integer  optional  

Must be at least 1. Example: 45

max_nights   integer  optional  

Must be at least 1. Example: 46

is_default   boolean  optional  

Example: false

GET api/v1/refund-policies/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/refund-policies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the refund policy. Example: 1

PUT api/v1/refund-policies/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"flexible\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"deadline_hours\": 12,
    \"deadline_days\": 66,
    \"refund_percentage\": 4,
    \"refundable_after_deadline\": true,
    \"requires_proof\": false,
    \"accepted_force_majeure_reasons\": [
        \"consequatur\"
    ],
    \"host_id\": 17,
    \"accommodation_type\": \"mqeopfuudtdsufvyvddqa\",
    \"min_nights\": 45,
    \"max_nights\": 46,
    \"is_default\": false
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "flexible",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "deadline_hours": 12,
    "deadline_days": 66,
    "refund_percentage": 4,
    "refundable_after_deadline": true,
    "requires_proof": false,
    "accepted_force_majeure_reasons": [
        "consequatur"
    ],
    "host_id": 17,
    "accommodation_type": "mqeopfuudtdsufvyvddqa",
    "min_nights": 45,
    "max_nights": 46,
    "is_default": false
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/refund-policies/{id}

PATCH api/v1/refund-policies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the refund policy. Example: 1

Body Parameters

type   string  optional  

Example: flexible

Must be one of:
  • flexible
  • semi_flexible
  • moderee
  • stricte
  • force_majeure
description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

deadline_hours   integer  optional  

Must be at least 0. Example: 12

deadline_days   integer  optional  

Must be at least 0. Example: 66

refund_percentage   integer  optional  

Must be at least 0. Must not be greater than 100. Example: 4

refundable_after_deadline   boolean  optional  

Example: true

requires_proof   boolean  optional  

Example: false

accepted_force_majeure_reasons   string[]  optional  
additional_rules   object  optional  
host_id   integer  optional  

Example: 17

accommodation_type   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

min_nights   integer  optional  

Must be at least 1. Example: 45

max_nights   integer  optional  

Must be at least 1. Example: 46

is_default   boolean  optional  

Example: false

DELETE api/v1/refund-policies/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/refund-policies/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/refund-policies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the refund policy. Example: 1

GET api/v1/prepartion-times

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/prepartion-times

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/prepartion-times

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/prepartion-times

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/prepartion-times/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/prepartion-times/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the prepartion time. Example: consequatur

PUT api/v1/prepartion-times/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/prepartion-times/{id}

PATCH api/v1/prepartion-times/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the prepartion time. Example: consequatur

Body Parameters

name   string  optional  
description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/prepartion-times/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/prepartion-times/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/prepartion-times/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the prepartion time. Example: 1

GET api/v1/offers

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/offers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/offers

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"target\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Necessitatibus architecto aut consequatur debitis et id.\",
    \"is_active\": false,
    \"properties\": [
        {
            \"id\": \"consequatur\",
            \"discount_value\": 45,
            \"discount_type\": \"amount\",
            \"expiration_date\": \"2107-01-18\"
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "target": "amniihfqcoynlazghdtqt",
    "description": "Necessitatibus architecto aut consequatur debitis et id.",
    "is_active": false,
    "properties": [
        {
            "id": "consequatur",
            "discount_value": 45,
            "discount_type": "amount",
            "expiration_date": "2107-01-18"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/offers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

target   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Must not be greater than 255 characters. Example: Necessitatibus architecto aut consequatur debitis et id.

is_active   boolean  optional  

Example: false

properties   object[]   
id   string   

The id of an existing record in the properties table. Example: consequatur

discount_value   number   

Must be at least 0. Example: 45

discount_type   string   

Example: amount

Must be one of:
  • percent
  • amount
expiration_date   string   

Must be a valid date. Must be a date after today. Example: 2107-01-18

GET api/v1/offers/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: consequatur

PUT api/v1/offers/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"target\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Necessitatibus architecto aut consequatur debitis et id.\",
    \"is_active\": true
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "target": "amniihfqcoynlazghdtqt",
    "description": "Necessitatibus architecto aut consequatur debitis et id.",
    "is_active": true
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/offers/{id}

PATCH api/v1/offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: consequatur

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

target   string  optional  

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Must not be greater than 255 characters. Example: Necessitatibus architecto aut consequatur debitis et id.

is_active   boolean  optional  

Example: true

DELETE api/v1/offers/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the offer. Example: consequatur

GET api/v1/packages

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/packages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/packages

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"target\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Necessitatibus architecto aut consequatur debitis et id.\",
    \"is_active\": true
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "target": "amniihfqcoynlazghdtqt",
    "description": "Necessitatibus architecto aut consequatur debitis et id.",
    "is_active": true
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/packages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

target   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Must not be greater than 255 characters. Example: Necessitatibus architecto aut consequatur debitis et id.

property_id   string  optional  
is_active   boolean  optional  

Example: true

GET api/v1/packages/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/packages/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the package. Example: consequatur

PUT api/v1/packages/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"target\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Necessitatibus architecto aut consequatur debitis et id.\",
    \"is_active\": false
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "target": "amniihfqcoynlazghdtqt",
    "description": "Necessitatibus architecto aut consequatur debitis et id.",
    "is_active": false
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/packages/{id}

PATCH api/v1/packages/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the package. Example: consequatur

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

target   string  optional  

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Must not be greater than 255 characters. Example: Necessitatibus architecto aut consequatur debitis et id.

is_active   boolean  optional  

Example: false

DELETE api/v1/packages/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/packages/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/packages/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the package. Example: consequatur

POST api/v1/{packageId}/assign

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/consequatur/assign" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/consequatur/assign"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/{packageId}/assign

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

packageId   string   

Example: consequatur

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/conveniences

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conveniences

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/conveniences

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"is_active\": \"consequatur\",
    \"conveniences_type_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "is_active": "consequatur",
    "conveniences_type_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/conveniences

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

is_active   string   

Example: consequatur

conveniences_type_id   string   

Example: consequatur

GET api/v1/conveniences/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conveniences/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the convenience. Example: 17

PUT api/v1/conveniences/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"is_active\": \"consequatur\",
    \"conveniences_type_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "is_active": "consequatur",
    "conveniences_type_id": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/conveniences/{id}

PATCH api/v1/conveniences/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the convenience. Example: 17

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

is_active   string   

Example: consequatur

conveniences_type_id   string   

Example: consequatur

DELETE api/v1/conveniences/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conveniences/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/conveniences/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the convenience. Example: 17

GET api/v1/countries

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/countries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/countries

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"flag\": \"consequatur\",
    \"zip_code\": \"consequatur\",
    \"iso_code\": \"consequatur\",
    \"phone_code\": \"consequatur\",
    \"currency_code\": \"consequatur\",
    \"support_commission\": 11613.31890586
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "flag": "consequatur",
    "zip_code": "consequatur",
    "iso_code": "consequatur",
    "phone_code": "consequatur",
    "currency_code": "consequatur",
    "support_commission": 11613.31890586
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/countries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

flag   string   

Example: consequatur

zip_code   string  optional  

Example: consequatur

iso_code   string   

Example: consequatur

phone_code   string   

Example: consequatur

currency_code   string   

Example: consequatur

support_commission   number  optional  

'time_zone' => 'required',. Example: 11613.31890586

support_user_id   string  optional  

The id of an existing record in the users table.

GET api/v1/countries/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/countries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the country. Example: consequatur

PUT api/v1/countries/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"flag\": \"consequatur\",
    \"zip_code\": \"consequatur\",
    \"phone_code\": \"consequatur\",
    \"currency_code\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "flag": "consequatur",
    "zip_code": "consequatur",
    "phone_code": "consequatur",
    "currency_code": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/countries/{id}

PATCH api/v1/countries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the country. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

flag   string  optional  

Example: consequatur

zip_code   string  optional  

Example: consequatur

iso_code   string  optional  
phone_code   string  optional  

Example: consequatur

currency_code   string  optional  

Example: consequatur

DELETE api/v1/countries/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/countries/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/countries/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the country. Example: 1

GET api/v1/cities

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/cities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/cities

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"country_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "country_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/cities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

country_id   string   

The id of an existing record in the countries table. Example: consequatur

GET api/v1/cities/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/cities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the city. Example: consequatur

PUT api/v1/cities/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"country_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "country_id": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/cities/{id}

PATCH api/v1/cities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the city. Example: consequatur

Body Parameters

name   string   

Example: consequatur

country_id   string   

The id of an existing record in the countries table. Example: consequatur

DELETE api/v1/cities/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cities/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/cities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the city. Example: 1

GET api/v1/neighborhoods

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/neighborhoods

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/neighborhoods

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"city_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "city_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/neighborhoods

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

city_id   string   

The id of an existing record in the cities table. Example: consequatur

GET api/v1/neighborhoods/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/neighborhoods/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the neighborhood. Example: consequatur

PUT api/v1/neighborhoods/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/neighborhoods/{id}

PATCH api/v1/neighborhoods/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the neighborhood. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

city_id   string  optional  

The id of an existing record in the cities table.

DELETE api/v1/neighborhoods/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/neighborhoods/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/neighborhoods/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the neighborhood. Example: 1

GET api/v1/code-promos

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/code-promos

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/code-promos

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores molestias ipsam sit.\",
    \"value\": 25,
    \"discount_type\": \"fexed\",
    \"usage_limit\": 19,
    \"used_count\": 57,
    \"start_date\": \"2025-12-19T17:32:47\",
    \"end_date\": \"2096-06-15\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "code": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores molestias ipsam sit.",
    "value": 25,
    "discount_type": "fexed",
    "usage_limit": 19,
    "used_count": 57,
    "start_date": "2025-12-19T17:32:47",
    "end_date": "2096-06-15"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/code-promos

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

code   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  

Must not be greater than 255 characters. Example: Dolores molestias ipsam sit.

value   number   

Must be at least 0. Example: 25

discount_type   string   

Example: fexed

Must be one of:
  • percentage
  • fexed
usage_limit   integer  optional  

Must be at least 1. Example: 19

used_count   integer  optional  

Must be at least 0. Example: 57

start_date   string   

Must be a valid date. Example: 2025-12-19T17:32:47

end_date   string   

Must be a valid date. Must be a date after or equal to date_debut. Example: 2096-06-15

GET api/v1/code-promos/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/code-promos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the code promo. Example: consequatur

PUT api/v1/code-promos/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores molestias ipsam sit.\",
    \"value\": 25,
    \"discount_type\": \"percentage\",
    \"usage_limit\": 19,
    \"used_count\": 57,
    \"start_date\": \"2025-12-19T17:32:47\",
    \"end_date\": \"2107-01-18\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "code": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores molestias ipsam sit.",
    "value": 25,
    "discount_type": "percentage",
    "usage_limit": 19,
    "used_count": 57,
    "start_date": "2025-12-19T17:32:47",
    "end_date": "2107-01-18"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/code-promos/{id}

PATCH api/v1/code-promos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the code promo. Example: consequatur

Body Parameters

code   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  

Must not be greater than 255 characters. Example: Dolores molestias ipsam sit.

value   number  optional  

Must be at least 0. Example: 25

discount_type   string  optional  

Example: percentage

Must be one of:
  • percentage
  • fixed
usage_limit   integer  optional  

Must be at least 1. Example: 19

used_count   integer  optional  

Must be at least 0. Example: 57

start_date   string  optional  

Must be a valid date. Example: 2025-12-19T17:32:47

end_date   string  optional  

Must be a valid date. Must be a date after or equal to start_date. Example: 2107-01-18

DELETE api/v1/code-promos/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/code-promos/10"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/code-promos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the code promo. Example: 10

GET api/v1/market-places

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/market-places

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/market-places

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"logo\": \"consequatur\",
    \"url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "logo": "consequatur",
    "url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/market-places

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

logo   string  optional  

Example: consequatur

url   string  optional  

Example: http://kunze.biz/iste-laborum-eius-est-dolor.html

GET api/v1/market-places/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/market-places/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the market place. Example: 17

PUT api/v1/market-places/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"logo\": \"consequatur\",
    \"url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "logo": "consequatur",
    "url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/market-places/{id}

PATCH api/v1/market-places/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the market place. Example: 17

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

logo   string  optional  

Example: consequatur

url   string  optional  

Example: http://kunze.biz/iste-laborum-eius-est-dolor.html

DELETE api/v1/market-places/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/market-places/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/market-places/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the market place. Example: 17

GET api/v1/document-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/document-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/document-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "document_name=vmqeopfuudtdsufvyvddq"\
    --form "document_description=consequatur"\
    --form "property_id=17"\
    --form "party_type=individual"\
    --form "document_file=@C:\Users\fgh\AppData\Local\Temp\php707.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('document_name', 'vmqeopfuudtdsufvyvddq');
body.append('document_description', 'consequatur');
body.append('property_id', '17');
body.append('party_type', 'individual');
body.append('document_file', document.querySelector('input[name="document_file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/document-managements

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

document_name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

document_description   string  optional  

Example: consequatur

property_id   integer   

The id of an existing record in the properties table. Example: 17

document_file   file   

Must be a file. Must not be greater than 5120 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\php707.tmp

party_type   string   

Limite à 5MB. Example: individual

Must be one of:
  • individual
  • company

GET api/v1/document-managements/{document_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/document-managements/{document_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

document_id   integer   

The ID of the document. Example: 2

POST api/v1/document-managements/{document_id}/update

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"document_name\": \"vmqeopfuudtdsufvyvddq\",
    \"document_description\": \"consequatur\",
    \"property_id\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "document_name": "vmqeopfuudtdsufvyvddq",
    "document_description": "consequatur",
    "property_id": 17
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/document-managements/{document_id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

document_id   integer   

The ID of the document. Example: 2

Body Parameters

document_name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

document_description   string  optional  

Example: consequatur

property_id   integer   

The id of an existing record in the properties table. Example: 17

DELETE api/v1/document-managements/{document_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/document-managements/{document_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

document_id   integer   

The ID of the document. Example: 2

PUT api/v1/document-managements/{document_id}/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/document-managements/{document_id}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

document_id   integer   

The ID of the document. Example: 2

POST /api/v1/document-managements/{document_id}/generate-link

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/share-link" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/share-link"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Partager un document avec une liste d'emails.

POST /api/v1/document-managements/{document_id}/share

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/share" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"emails\": [
        \"user1@example.com\",
        \"user2@example.com\"
    ],
    \"can_edit\": false,
    \"expires_in_hours\": 72,
    \"message\": \"\\\"Voici le contrat à signer\\\"\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document-managements/2/share"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "emails": [
        "user1@example.com",
        "user2@example.com"
    ],
    "can_edit": false,
    "expires_in_hours": 72,
    "message": "\"Voici le contrat à signer\""
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/document-managements/{document_id}/share

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

document_id   integer   

The ID of the document. Example: 2

Body Parameters

emails   string[]   

Liste des emails destinataires.

can_edit   boolean  optional  

Autoriser la modification. Default: true Example: false

expires_in_hours   integer  optional  

Expiration du lien en heures. Example: 72

message   string  optional  

Message personnalisé pour l'email. Example: "Voici le contrat à signer"

GET api/v1/claims-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/claims-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/claims-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"mark\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"reservation_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "mark": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "reservation_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/claims-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

mark   string   

'designation' => 'required|string',. Example: consequatur

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

reservation_id   string   

Example: consequatur

PUT api/v1/claims-managements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"mark\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "mark": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/claims-managements/{id}

PATCH api/v1/claims-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the claims management. Example: consequatur

Body Parameters

mark   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/claims-managements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/claims-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the claims management. Example: 1

GET api/v1/services/my-services

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/my-services" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/my-services"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/services/my-services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/services

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/services

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/services/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the service. Example: consequatur

PUT api/v1/services/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/services/{id}

PATCH api/v1/services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the service. Example: consequatur

DELETE api/v1/services/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/services/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the service. Example: consequatur

GET api/v1/electronic-key-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/electronic-key-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/electronic-key-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"key_code\": \"consequatur\",
    \"key_type\": \"consequatur\",
    \"key_status\": \"consequatur\",
    \"property_id\": \"consequatur\",
    \"channel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "key_code": "consequatur",
    "key_type": "consequatur",
    "key_status": "consequatur",
    "property_id": "consequatur",
    "channel_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/electronic-key-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

key_code   string   

Example: consequatur

key_type   string  optional  

Example: consequatur

key_status   string   

Example: consequatur

property_id   string   

Example: consequatur

channel_id   string   

Example: consequatur

GET api/v1/electronic-key-managements/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/electronic-key-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the electronic key management. Example: 17

PUT api/v1/electronic-key-managements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"key_code\": \"consequatur\",
    \"key_type\": \"consequatur\",
    \"key_status\": \"consequatur\",
    \"property_id\": \"consequatur\",
    \"channel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "key_code": "consequatur",
    "key_type": "consequatur",
    "key_status": "consequatur",
    "property_id": "consequatur",
    "channel_id": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/electronic-key-managements/{id}

PATCH api/v1/electronic-key-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the electronic key management. Example: 17

Body Parameters

key_code   string   

Example: consequatur

key_type   string  optional  

Example: consequatur

key_status   string   

Example: consequatur

property_id   string   

Example: consequatur

channel_id   string   

Example: consequatur

DELETE api/v1/electronic-key-managements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/electronic-key-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/electronic-key-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the electronic key management. Example: 17

GET api/v1/property-cares/get-stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/get-stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/get-stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-cares/get-stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/property-cares

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-cares

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/property-cares

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"kind\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"status\": \"in_progress\",
    \"emergency\": \"low\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "kind": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "status": "in_progress",
    "emergency": "low",
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/property-cares

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

kind   string   

Example: consequatur

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

status   string  optional  

Example: in_progress

Must be one of:
  • pending
  • in_progress
  • done
emergency   string  optional  

Example: low

Must be one of:
  • high
  • normal
  • medium
  • low
property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/property-cares/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-cares/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property care. Example: consequatur

PUT api/v1/property-cares/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"kind\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"status\": \"done\",
    \"emergency\": \"low\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "kind": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "status": "done",
    "emergency": "low"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/property-cares/{id}

PATCH api/v1/property-cares/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property care. Example: consequatur

Body Parameters

kind   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

status   string  optional  

Example: done

Must be one of:
  • pending
  • in_progress
  • done
emergency   string  optional  

Example: low

Must be one of:
  • high
  • normal
  • medium
  • low
property_id   string  optional  

The id of an existing record in the properties table.

DELETE api/v1/property-cares/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/5" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-cares/5"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/property-cares/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the property care. Example: 5

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"logo\": \"consequatur\",
    \"url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "logo": "consequatur",
    "url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"logo\": \"consequatur\",
    \"url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "logo": "consequatur",
    "url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/platform-links/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

GET api/v1/contract-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/contract-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/contract-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "title=vmqeopfuudtdsufvyvddq"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "start_date=2025-12-19T17:32:54"\
    --form "end_date=2107-01-18"\
    --form "channel_id=consequatur"\
    --form "contract_type=@C:\Users\fgh\AppData\Local\Temp\php1B6C.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('title', 'vmqeopfuudtdsufvyvddq');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('start_date', '2025-12-19T17:32:54');
body.append('end_date', '2107-01-18');
body.append('channel_id', 'consequatur');
body.append('contract_type', document.querySelector('input[name="contract_type"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/contract-managements

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

start_date   string   

Must be a valid date. Example: 2025-12-19T17:32:54

end_date   string   

Must be a valid date. Must be a date after or equal to start_date. Example: 2107-01-18

contract_type   file   

Must be a file. Must not be greater than 5120 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\php1B6C.tmp

channel_id   string   

Example: consequatur

GET api/v1/contract-managements/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/contract-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the contract management. Example: 17

PUT api/v1/contract-managements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"start_date\": \"2025-12-19T17:32:55\",
    \"end_date\": \"2107-01-18\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "start_date": "2025-12-19T17:32:55",
    "end_date": "2107-01-18"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/contract-managements/{id}

PATCH api/v1/contract-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the contract management. Example: 17

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

start_date   string  optional  

Must be a valid date. Example: 2025-12-19T17:32:55

end_date   string  optional  

Must be a valid date. Must be a date after or equal to start_date. Example: 2107-01-18

DELETE api/v1/contract-managements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/contract-managements/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/contract-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the contract management. Example: 17

GET api/v1/inventory-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/inventory-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/inventory-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"location\": \"consequatur\",
    \"date\": \"2025-12-19T17:32:55\",
    \"details\": \"consequatur\",
    \"item_name\": \"consequatur\",
    \"item_description\": \"consequatur\",
    \"quantity\": \"consequatur\",
    \"reservation_id\": \"consequatur\",
    \"property_id\": \"consequatur\",
    \"channel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "location": "consequatur",
    "date": "2025-12-19T17:32:55",
    "details": "consequatur",
    "item_name": "consequatur",
    "item_description": "consequatur",
    "quantity": "consequatur",
    "reservation_id": "consequatur",
    "property_id": "consequatur",
    "channel_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/inventory-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

location   string  optional  

'code_ref' => 'required|string',. Example: consequatur

date   string   

'status' => 'required|string',. Must be a valid date. Example: 2025-12-19T17:32:55

details   string   

Example: consequatur

item_name   string   

Example: consequatur

item_description   string   

Example: consequatur

quantity   string   

Example: consequatur

reservation_id   string   

Example: consequatur

property_id   string   

Example: consequatur

channel_id   string   

Example: consequatur

GET api/v1/inventory-managements/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/inventory-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the inventory management. Example: consequatur

PUT api/v1/inventory-managements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"location\": \"consequatur\",
    \"date\": \"2025-12-19T17:32:55\",
    \"details\": \"consequatur\",
    \"item_name\": \"consequatur\",
    \"item_description\": \"consequatur\",
    \"quantity\": 17,
    \"reservation_id\": 17,
    \"property_id\": 17,
    \"channel_id\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "location": "consequatur",
    "date": "2025-12-19T17:32:55",
    "details": "consequatur",
    "item_name": "consequatur",
    "item_description": "consequatur",
    "quantity": 17,
    "reservation_id": 17,
    "property_id": 17,
    "channel_id": 17
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/inventory-managements/{id}

PATCH api/v1/inventory-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the inventory management. Example: consequatur

Body Parameters

location   string  optional  

'code_ref' => 'required|string',. Example: consequatur

date   string  optional  

'status' => 'required|string',. Must be a valid date. Example: 2025-12-19T17:32:55

details   string  optional  

Example: consequatur

item_name   string  optional  

Example: consequatur

item_description   string  optional  

Example: consequatur

quantity   integer  optional  

Example: 17

reservation_id   integer  optional  

Example: 17

property_id   integer  optional  

Example: 17

channel_id   integer  optional  

Example: 17

DELETE api/v1/inventory-managements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/inventory-managements/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/inventory-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the inventory management. Example: 1

GET api/v1/seasons

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/seasons

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/seasons

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"season_libelle\": \"vmqeopfuudtdsufvyvddq\",
    \"season_description\": \"consequatur\",
    \"season_start_date\": \"2020-04-15\",
    \"season_end_date\": \"2107-01-18\",
    \"season_reduction_percent\": 0,
    \"season_min_stay\": 56,
    \"season_max_stay\": 17,
    \"season_reduction_policy\": \"booking\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "season_libelle": "vmqeopfuudtdsufvyvddq",
    "season_description": "consequatur",
    "season_start_date": "2020-04-15",
    "season_end_date": "2107-01-18",
    "season_reduction_percent": 0,
    "season_min_stay": 56,
    "season_max_stay": 17,
    "season_reduction_policy": "booking",
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/seasons

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

season_libelle   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

season_description   string  optional  

Example: consequatur

season_start_date   string   

Must be a valid date. Must be a date before or equal to season_end_date. Example: 2020-04-15

season_end_date   string   

Must be a valid date. Must be a date after or equal to season_start_date. Example: 2107-01-18

season_reduction_percent   number   

Must be between 0 and 100. Example: 0

season_min_stay   integer  optional  

Must be at least 1. Example: 56

season_max_stay   integer  optional  

Must be at least 1. Example: 17

season_reduction_policy   string  optional  

Example: booking

Must be one of:
  • booking
  • nights
property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/seasons/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/seasons/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the season. Example: consequatur

PUT api/v1/seasons/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"season_libelle\": \"vmqeopfuudtdsufvyvddq\",
    \"season_description\": \"consequatur\",
    \"season_start_date\": \"2020-04-15\",
    \"season_end_date\": \"2107-01-18\",
    \"season_reduction_percent\": 0,
    \"season_min_stay\": 56,
    \"season_max_stay\": 17,
    \"season_reduction_policy\": \"nights\",
    \"season_status\": \"inactive\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "season_libelle": "vmqeopfuudtdsufvyvddq",
    "season_description": "consequatur",
    "season_start_date": "2020-04-15",
    "season_end_date": "2107-01-18",
    "season_reduction_percent": 0,
    "season_min_stay": 56,
    "season_max_stay": 17,
    "season_reduction_policy": "nights",
    "season_status": "inactive"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/seasons/{id}

PATCH api/v1/seasons/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the season. Example: consequatur

Body Parameters

season_libelle   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

season_description   string  optional  

Example: consequatur

season_start_date   string  optional  

Must be a valid date. Must be a date before or equal to season_end_date. Example: 2020-04-15

season_end_date   string  optional  

Must be a valid date. Must be a date after or equal to season_start_date. Example: 2107-01-18

season_reduction_percent   number  optional  

Must be between 0 and 100. Example: 0

season_min_stay   integer  optional  

Must be at least 1. Example: 56

season_max_stay   integer  optional  

Must be at least 1. Example: 17

season_reduction_policy   string  optional  

Example: nights

Must be one of:
  • booking
  • nights
season_status   string  optional  

Example: inactive

Must be one of:
  • active
  • inactive
property_id   string  optional  

The id of an existing record in the properties table.

DELETE api/v1/seasons/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/seasons/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/seasons/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the season. Example: consequatur

GET api/v1/booing-audits

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/booing-audits

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/booing-audits

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"booking_ref_code\": \"consequatur\",
    \"checkin_date\": \"consequatur\",
    \"checkout_date\": \"consequatur\",
    \"guests\": \"consequatur\",
    \"price_details\": \"consequatur\",
    \"status\": \"consequatur\",
    \"special_requests\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "booking_ref_code": "consequatur",
    "checkin_date": "consequatur",
    "checkout_date": "consequatur",
    "guests": "consequatur",
    "price_details": "consequatur",
    "status": "consequatur",
    "special_requests": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/booing-audits

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

booking_ref_code   string   

Example: consequatur

checkin_date   string   

Example: consequatur

checkout_date   string   

Example: consequatur

guests   string   

Example: consequatur

price_details   string   

Example: consequatur

status   string   

Example: consequatur

special_requests   string  optional  

Example: consequatur

GET api/v1/booing-audits/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/booing-audits/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the booing audit. Example: 17

PUT api/v1/booing-audits/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"booking_ref_code\": \"consequatur\",
    \"checkin_date\": \"consequatur\",
    \"checkout_date\": \"consequatur\",
    \"guests\": \"consequatur\",
    \"price_details\": \"consequatur\",
    \"status\": \"consequatur\",
    \"special_requests\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "booking_ref_code": "consequatur",
    "checkin_date": "consequatur",
    "checkout_date": "consequatur",
    "guests": "consequatur",
    "price_details": "consequatur",
    "status": "consequatur",
    "special_requests": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/booing-audits/{id}

PATCH api/v1/booing-audits/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the booing audit. Example: 17

Body Parameters

booking_ref_code   string   

Example: consequatur

checkin_date   string   

Example: consequatur

checkout_date   string   

Example: consequatur

guests   string   

Example: consequatur

price_details   string   

Example: consequatur

status   string   

Example: consequatur

special_requests   string  optional  

Example: consequatur

DELETE api/v1/booing-audits/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/booing-audits/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/booing-audits/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the booing audit. Example: 17

GET api/v1/partnerships

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/partnerships

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/partnerships

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "type=morale"\
    --form "firstName=consequatur"\
    --form "lastName=consequatur"\
    --form "libelle=consequatur"\
    --form "email=carolyne.luettgen@example.org"\
    --form "phone=consequatur"\
    --form "contract_date=2025-12-19T17:32:56"\
    --form "address=consequatur"\
    --form "contract_file=@C:\Users\fgh\AppData\Local\Temp\php2496.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('type', 'morale');
body.append('firstName', 'consequatur');
body.append('lastName', 'consequatur');
body.append('libelle', 'consequatur');
body.append('email', 'carolyne.luettgen@example.org');
body.append('phone', 'consequatur');
body.append('contract_date', '2025-12-19T17:32:56');
body.append('address', 'consequatur');
body.append('contract_file', document.querySelector('input[name="contract_file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/partnerships

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

type   string   

Example: morale

Must be one of:
  • physique
  • morale
firstName   string  optional  

Champs pour type physique. This field is required when type is physique. Example: consequatur

lastName   string  optional  

This field is required when type is physique. Example: consequatur

libelle   string  optional  

Champs pour type morale. This field is required when type is morale. Example: consequatur

email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

phone   string   

Example: consequatur

contract_date   string   

Must be a valid date. Example: 2025-12-19T17:32:56

address   string   

Example: consequatur

contract_file   file   

'status' => 'required|string', fichier obligatoire. Must be a file. Example: C:\Users\fgh\AppData\Local\Temp\php2496.tmp

GET api/v1/partnerships/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/partnerships/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partnership. Example: consequatur

PUT api/v1/partnerships/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "type=physique"\
    --form "firstName=consequatur"\
    --form "lastName=consequatur"\
    --form "libelle=consequatur"\
    --form "contract_date=2025-12-19T17:32:56"\
    --form "address=consequatur"\
    --form "status=active"\
    --form "contract_file=@C:\Users\fgh\AppData\Local\Temp\php2498.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('type', 'physique');
body.append('firstName', 'consequatur');
body.append('lastName', 'consequatur');
body.append('libelle', 'consequatur');
body.append('contract_date', '2025-12-19T17:32:56');
body.append('address', 'consequatur');
body.append('status', 'active');
body.append('contract_file', document.querySelector('input[name="contract_file"]').files[0]);

fetch(url, {
    method: "PUT",
    headers,
    body,
}).then(response => response.json());

Request      

PUT api/v1/partnerships/{id}

PATCH api/v1/partnerships/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partnership. Example: consequatur

Body Parameters

type   string  optional  

Example: physique

Must be one of:
  • physique
  • morale
firstName   string  optional  

Personne physique. This field is required when type is physique. Example: consequatur

lastName   string  optional  

This field is required when type is physique. Example: consequatur

libelle   string  optional  

Personne morale. This field is required when type is morale. Example: consequatur

email   string  optional  
phone   string  optional  
contract_date   string  optional  

Must be a valid date. Example: 2025-12-19T17:32:56

address   string  optional  

Example: consequatur

status   string  optional  

Example: active

Must be one of:
  • pending
  • active
  • disable
contract_file   file  optional  

'pending', 'active', 'disable'. Must be a file. Example: C:\Users\fgh\AppData\Local\Temp\php2498.tmp

DELETE api/v1/partnerships/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/partnerships/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the partnership. Example: consequatur

GET api/v1/commodities

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/commodities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/commodities

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"type\": \"amniihfqcoynlazghdtqt\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "type": "amniihfqcoynlazghdtqt"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/commodities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

type   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

GET api/v1/commodities/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/commodities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the commodity. Example: consequatur

PUT api/v1/commodities/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/commodities/{id}

PATCH api/v1/commodities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the commodity. Example: consequatur

DELETE api/v1/commodities/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/commodities/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/commodities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the commodity. Example: consequatur

GET api/v1/conditions-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conditions-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/conditions-managements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/conditions-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

'designation' => 'required|string',. Example: consequatur

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/conditions-managements/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/conditions-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the conditions management. Example: consequatur

PUT api/v1/conditions-managements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/conditions-managements/{id}

PATCH api/v1/conditions-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the conditions management. Example: consequatur

Body Parameters

title   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/conditions-managements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/conditions-managements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/conditions-managements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the conditions management. Example: consequatur

GET api/v1/advertisements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/advertisements

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"consequatur\",
    \"posting_date\": \"2025-12-19T17:32:56\",
    \"status\": \"pending\",
    \"price\": \"consequatur\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "consequatur",
    "posting_date": "2025-12-19T17:32:56",
    "status": "pending",
    "price": "consequatur",
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/advertisements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

type   string   

Example: consequatur

posting_date   string   

Must be a valid date. Example: 2025-12-19T17:32:56

status   string   

Example: pending

Must be one of:
  • pending
  • approve
  • refuse
price   string   

Example: consequatur

property_id   string   

Example: consequatur

GET api/v1/advertisements/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the advertisement. Example: consequatur

PUT api/v1/advertisements/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"consequatur\",
    \"posting_date\": \"2025-12-19T17:32:56\",
    \"status\": \"refuse\",
    \"price\": \"consequatur\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "type": "consequatur",
    "posting_date": "2025-12-19T17:32:56",
    "status": "refuse",
    "price": "consequatur",
    "property_id": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/advertisements/{id}

PATCH api/v1/advertisements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the advertisement. Example: consequatur

Body Parameters

type   string   

Example: consequatur

posting_date   string   

Must be a valid date. Example: 2025-12-19T17:32:56

status   string   

Example: refuse

Must be one of:
  • pending
  • approve
  • refuse
price   string   

Example: consequatur

property_id   string   

Example: consequatur

DELETE api/v1/advertisements/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/advertisements/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the advertisement. Example: consequatur

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/partnerships/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

PATCH api/v1/advertisements/{user_id}/advertisement/status

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"pending\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "pending"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/advertisements/{user_id}/advertisement/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

Body Parameters

status   string   

Example: pending

Must be one of:
  • pending
  • approve
  • refuse

GET api/v1/advertisements/all/advertisement

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/all/advertisement" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/all/advertisement"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/all/advertisement

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/advertisements/{user_id}/advertisement

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/{user_id}/advertisement

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

POST api/v1/advertisements/{user_id}/search-advertisement

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/search-advertisement" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/search-advertisement"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/advertisements/{user_id}/search-advertisement

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

POST api/v1/advertisements/{user_id}/search-type-property-advertisement

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/search-type-property-advertisement" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/search-type-property-advertisement"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/advertisements/{user_id}/search-type-property-advertisement

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/advertisements/{user_id}/advertisement-pending

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-pending" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-pending"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/{user_id}/advertisement-pending

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/advertisements/{user_id}/advertisement-approve

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-approve" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-approve"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/{user_id}/advertisement-approve

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/advertisements/{user_id}/advertisement-refuse

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-refuse" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/advertisements/consequatur/advertisement-refuse"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/advertisements/{user_id}/advertisement-refuse

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/event/ical-feeds

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/event/ical-feeds

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/event/ical-feeds

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"url\": \"https:\\/\\/www.mueller.com\\/laborum-eius-est-dolor-dolores-minus-voluptatem\",
    \"user_id\": \"consequatur\",
    \"source\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "url": "https:\/\/www.mueller.com\/laborum-eius-est-dolor-dolores-minus-voluptatem",
    "user_id": "consequatur",
    "source": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/event/ical-feeds

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: consequatur

url   string   

Must be a valid URL. Example: https://www.mueller.com/laborum-eius-est-dolor-dolores-minus-voluptatem

user_id   string   

The id of an existing record in the users table. Example: consequatur

source   string  optional  

Example: consequatur

POST api/v1/event/ical-feeds/{id}/sync

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds/17/sync" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds/17/sync"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/event/ical-feeds/{id}/sync

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the ical feed. Example: 17

GET api/v1/event/ical-feeds/{id}/send-events

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds/17/send-events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/event/ical-feeds/17/send-events"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/event/ical-feeds/{id}/send-events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the ical feed. Example: 17

GET api/v1/ical-feeds/export-all-reservation-to-ical

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/export-all-reservation-to-ical" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/export-all-reservation-to-ical"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ical-feeds/export-all-reservation-to-ical

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/ical-feeds/{reservation_id}/export-single-reservation-ical

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/consequatur/export-single-reservation-ical" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/consequatur/export-single-reservation-ical"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ical-feeds/{reservation_id}/export-single-reservation-ical

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

reservation_id   string   

The ID of the reservation. Example: consequatur

GET api/v1/ical-feeds/{property_id}/export-ical

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/consequatur/export-ical" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/consequatur/export-ical"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ical-feeds/{property_id}/export-ical

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

POST api/v1/ical-feeds/import-ical-file

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/import-ical-file" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/import-ical-file"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/ical-feeds/import-ical-file

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/ical-feeds/import-ical-from-url

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/import-ical-from-url" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ical-feeds/import-ical-from-url"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/ical-feeds/import-ical-from-url

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created price override.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/pricing/overrides" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/pricing/overrides"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/pricing/overrides

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Afficher tous les tarifs pour une propriété.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/pricing/overrides" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/pricing/overrides"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/pricing/overrides

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/calendar/availability

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/availability" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/availability"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/calendar/availability

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/calendar/check

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/check" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\",
    \"checkin_date\": \"2025-12-19T17:32:57\",
    \"checkout_date\": \"2107-01-18\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/check"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur",
    "checkin_date": "2025-12-19T17:32:57",
    "checkout_date": "2107-01-18"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/calendar/check

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

checkin_date   string   

Must be a valid date. Example: 2025-12-19T17:32:57

checkout_date   string   

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

PATCH api/v1/tasks/{task}/status

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"completed\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "completed"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/tasks/{task}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

task   string   

The task. Example: consequatur

Body Parameters

status   string   

Example: completed

Must be one of:
  • todo
  • in_progress
  • completed
  • cancelled

GET api/v1/tasks/by-status

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/by-status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"cancelled\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/by-status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "cancelled"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/tasks/by-status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

status   string   

Example: cancelled

Must be one of:
  • todo
  • in_progress
  • completed
  • cancelled

GET api/v1/tasks/overdue

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/overdue" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/overdue"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/tasks/overdue

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/tasks

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/tasks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/tasks

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"title\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"starting_date\": \"2025-12-19T17:32:57\",
    \"ending_date\": \"2107-01-18\",
    \"status\": \"completed\",
    \"priority\": \"low\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "title": "amniihfqcoynlazghdtqt",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "starting_date": "2025-12-19T17:32:57",
    "ending_date": "2107-01-18",
    "status": "completed",
    "priority": "low"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/tasks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

title   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

starting_date   string   

Must be a valid date. Example: 2025-12-19T17:32:57

ending_date   string   

Must be a valid date. Must be a date after or equal to starting_date. Example: 2107-01-18

status   string   

Example: completed

Must be one of:
  • todo
  • in_progress
  • completed
  • cancelled
priority   string   

Example: low

Must be one of:
  • low
  • medium
  • high
  • urgent
user_ids   string[]  optional  

The id of an existing record in the users table.

GET api/v1/tasks/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/tasks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task. Example: consequatur

PUT api/v1/tasks/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\",
    \"title\": \"amniihfqcoynlazghdtqt\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"starting_date\": \"2025-12-19T17:32:57\",
    \"ending_date\": \"2107-01-18\",
    \"status\": \"todo\",
    \"priority\": \"urgent\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq",
    "title": "amniihfqcoynlazghdtqt",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "starting_date": "2025-12-19T17:32:57",
    "ending_date": "2107-01-18",
    "status": "todo",
    "priority": "urgent"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/tasks/{id}

PATCH api/v1/tasks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task. Example: consequatur

Body Parameters

name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

title   string   

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

starting_date   string   

Must be a valid date. Example: 2025-12-19T17:32:57

ending_date   string   

Must be a valid date. Must be a date after or equal to starting_date. Example: 2107-01-18

status   string   

Example: todo

Must be one of:
  • todo
  • in_progress
  • completed
  • cancelled
priority   string   

Example: urgent

Must be one of:
  • low
  • medium
  • high
  • urgent
user_ids   string[]  optional  

The id of an existing record in the users table.

DELETE api/v1/tasks/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/tasks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task. Example: consequatur

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_placeholders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail_template_placeholders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_placeholders/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template placeholder. Example: consequatur

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_placeholders/{id}

PATCH api/v1/mail_template_placeholders/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the mail template placeholder. Example: 1

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mail_template_placeholders/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the mail template placeholder. Example: 1

PUT api/v1/mail_template_placeholders/{mail_template_placeholder}/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_placeholders/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_placeholders/{mail_template_placeholder}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_template_placeholder   string   

Example: consequatur

Display a listing of the resource.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_settings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail_template_settings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_settings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template setting. Example: consequatur

Met à jour les paramètres de notification pour plusieurs propriétés.

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_settings/{id}

PATCH api/v1/mail_template_settings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template setting. Example: consequatur

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_settings/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mail_template_settings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template setting. Example: consequatur

Liste tous les types de notifications, groupés par catégorie.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail_template_types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

(Optionnel) Récupérer un type spécifique.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template type. Example: consequatur

Update the specified resource in storage.

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_types/{id}

PATCH api/v1/mail_template_types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template type. Example: consequatur

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mail_template_types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template type. Example: consequatur

GET api/v1/mail_template_categories

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/mail_template_categories

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail_template_categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/mail_template_categories/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_template_categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the mail template category. Example: 1

PUT api/v1/mail_template_categories/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_categories/{id}

PATCH api/v1/mail_template_categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the mail template category. Example: 1

DELETE api/v1/mail_template_categories/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mail_template_categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the mail template category. Example: 1

PUT api/v1/mail_template_categories/{mail_template_category}/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_template_categories/1/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_template_categories/{mail_template_category}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_template_category   integer   

Example: 1

GET api/v1/mail_templates

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_templates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/mail_templates

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail_templates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/mail_templates/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail_templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template. Example: consequatur

PUT api/v1/mail_templates/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_templates/{id}

PATCH api/v1/mail_templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template. Example: consequatur

DELETE api/v1/mail_templates/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/mail_templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the mail template. Example: consequatur

PUT api/v1/mail_templates/{mail_template}/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail_templates/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/mail_templates/{mail_template}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_template   string   

Example: consequatur

GET api/v1/get_languages

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get_languages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/get_languages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/get_languages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/show_language/{language_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/show_language/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/show_language/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/show_language/{language_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

language_id   string   

The ID of the language. Example: consequatur

POST api/v1/store_language

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/store_language" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/store_language"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/store_language

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/update_language/{language_id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/update_language/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/update_language/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/update_language/{language_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

language_id   string   

The ID of the language. Example: consequatur

DELETE api/v1/delete_language/{language_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/delete_language/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/delete_language/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/delete_language/{language_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

language_id   string   

The ID of the language. Example: consequatur

PUT api/v1/change_status_language/{language_id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/change_status_language/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/change_status_language/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/change_status_language/{language_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

language_id   string   

The ID of the language. Example: consequatur

GET api/v1/chatbots

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/chatbots

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/chatbots/new_chat

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/new_chat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/new_chat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/chatbots/new_chat

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/chatbots/{chatbot_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/chatbots/{chatbot_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_id   string   

The ID of the chatbot. Example: consequatur

PUT api/v1/chatbots/{chatbot_id}/closed

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur/closed" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur/closed"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/chatbots/{chatbot_id}/closed

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_id   string   

The ID of the chatbot. Example: consequatur

DELETE api/v1/chatbots/{chatbot_id}/destroy

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur/destroy" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chatbots/consequatur/destroy"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/chatbots/{chatbot_id}/destroy

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_id   string   

The ID of the chatbot. Example: consequatur

POST api/v1/history_chatbots/chat_to_bot

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/chat_to_bot" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/chat_to_bot"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/history_chatbots/chat_to_bot

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/history_chatbots/{chatbot_history_id}/response

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/response" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/response"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/history_chatbots/{chatbot_history_id}/response

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_history_id   string   

The ID of the chatbot history. Example: consequatur

GET api/v1/history_chatbots/{chatbot_history_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/history_chatbots/{chatbot_history_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_history_id   string   

The ID of the chatbot history. Example: consequatur

POST api/v1/history_chatbots/{chatbot_history_id}/update

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/history_chatbots/{chatbot_history_id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_history_id   string   

The ID of the chatbot history. Example: consequatur

DELETE api/v1/history_chatbots/{chatbot_history_id}/destroy

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/destroy" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/history_chatbots/consequatur/destroy"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/history_chatbots/{chatbot_history_id}/destroy

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

chatbot_history_id   string   

The ID of the chatbot history. Example: consequatur

GET api/v1/emails

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/emails

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/emails

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/emails

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/emails/{mail_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/emails/{mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_id   string   

The ID of the mail. Example: consequatur

PUT api/v1/emails/{mail_id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/emails/{mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_id   string   

The ID of the mail. Example: consequatur

DELETE api/v1/emails/{mail_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/emails/{mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

mail_id   string   

The ID of the mail. Example: consequatur

GET api/v1/category_emails

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/category_emails

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/category_emails

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/category_emails

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/category_emails/{category_mail_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/category_emails/{category_mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

category_mail_id   string   

The ID of the category mail. Example: consequatur

PUT api/v1/category_emails/{category_mail_id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/category_emails/{category_mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

category_mail_id   string   

The ID of the category mail. Example: consequatur

DELETE api/v1/category_emails/{category_mail_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/category_emails/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/category_emails/{category_mail_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

category_mail_id   string   

The ID of the category mail. Example: consequatur

GET api/v1/calendar/events

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/calendar/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/calendar/events

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/calendar/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/calendar/events/{eventId}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/calendar/events/{eventId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

eventId   string   

Example: consequatur

PUT api/v1/calendar/events/{eventId}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/calendar/events/{eventId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

eventId   string   

Example: consequatur

DELETE api/v1/calendar/events/{eventId}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/calendar/events/{eventId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

eventId   string   

Example: consequatur

POST api/v1/calendar/events/{eventId}/participants

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur/participants" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur/participants"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/calendar/events/{eventId}/participants

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

eventId   string   

Example: consequatur

DELETE api/v1/calendar/events/{eventId}/participants/{userId}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur/participants/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/events/consequatur/participants/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/calendar/events/{eventId}/participants/{userId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

eventId   string   

Example: consequatur

userId   string   

Example: consequatur

GET api/v1/user/list

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/user/search-user

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/search-user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/search-user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/user/search-user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/user-active

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-active" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-active"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/user-active

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/user-to-block

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-to-block" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-to-block"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/user-to-block

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/user-owner

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-owner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-owner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/user-owner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/user-guest

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-guest" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/user-guest"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/user-guest

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/user/become-owner

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/become-owner" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_type\": \"company\",
    \"country_region\": \"consequatur\",
    \"id_type\": \"driver_licence\",
    \"id_number\": \"consequatur\",
    \"id_expiry_date\": \"2025-12-19T17:33:00\",
    \"id_reco_path\": \"mqeopfuudtdsufvyvddqa\",
    \"id_verso_path\": \"mniihfqcoynlazghdtqtq\",
    \"place_type\": \"apartment\",
    \"place_details\": \"consequatur\",
    \"address\": \"consequatur\",
    \"city\": \"consequatur\",
    \"state\": \"consequatur\",
    \"postal_code\": \"consequatur\",
    \"country\": \"consequatur\",
    \"latitude\": 11613.31890586,
    \"longitude\": 11613.31890586
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/become-owner"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_type": "company",
    "country_region": "consequatur",
    "id_type": "driver_licence",
    "id_number": "consequatur",
    "id_expiry_date": "2025-12-19T17:33:00",
    "id_reco_path": "mqeopfuudtdsufvyvddqa",
    "id_verso_path": "mniihfqcoynlazghdtqtq",
    "place_type": "apartment",
    "place_details": "consequatur",
    "address": "consequatur",
    "city": "consequatur",
    "state": "consequatur",
    "postal_code": "consequatur",
    "country": "consequatur",
    "latitude": 11613.31890586,
    "longitude": 11613.31890586
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/user/become-owner

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

user_type   string   

Example: company

Must be one of:
  • individual
  • company
country_region   string   

Example: consequatur

id_type   string   

Example: driver_licence

Must be one of:
  • identity_card
  • passport
  • driver_licence
id_number   string   

Example: consequatur

id_expiry_date   string   

Must be a valid date. Example: 2025-12-19T17:33:00

id_reco_path   string   

Must not be greater than 2048 characters. Example: mqeopfuudtdsufvyvddqa

id_verso_path   string  optional  

Must not be greater than 2048 characters. Example: mniihfqcoynlazghdtqtq

place_type   string  optional  

Example: apartment

Must be one of:
  • house
  • apartment
  • hotel
  • other
place_details   string   

Example: consequatur

address   string   

Example: consequatur

city   string   

Example: consequatur

state   string   

Example: consequatur

postal_code   string   

Example: consequatur

country   string   

Example: consequatur

latitude   number   

Example: 11613.31890586

longitude   number   

Example: 11613.31890586

GET api/v1/user/owner-requests

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/owner-requests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/owner-requests"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/owner-requests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/user/accept-owner-request/{requesterId}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/accept-owner-request/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/accept-owner-request/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/user/accept-owner-request/{requesterId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

requesterId   string   

Example: consequatur

GET api/v1/user/owner-request-status

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/owner-request-status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/owner-request-status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/owner-request-status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/individuals

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/individuals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/individuals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/individuals

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/companies

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/companies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/companies"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/companies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/user/stats/detailed

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/stats/detailed" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/stats/detailed"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/user/stats/detailed

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/user/admin-support/assign

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/admin-support/assign" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/admin-support/assign"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/user/admin-support/assign

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/search" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/search"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

POST api/v1/reservations/preview

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/preview" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\",
    \"checkin_date\": \"2025-12-19T17:33:00\",
    \"checkout_date\": \"2107-01-18\",
    \"promo_code\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/preview"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur",
    "checkin_date": "2025-12-19T17:33:00",
    "checkout_date": "2107-01-18",
    "promo_code": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/reservations/preview

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

checkin_date   string   

Must be a valid date. Example: 2025-12-19T17:33:00

checkout_date   string   

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

promo_code   string  optional  

The code of an existing record in the code_promos table. Example: consequatur

GET api/v1/reservations/monthly-stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/monthly-stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/monthly-stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/monthly-stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/analytics/predictive

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/analytics/predictive" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/analytics/predictive"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/analytics/predictive

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/count-reservations-user

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/count-reservations-user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/count-reservations-user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/count-reservations-user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/modified

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/modified" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/modified"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/modified

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/with-owner/{owner_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/with-owner/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/with-owner/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/with-owner/{owner_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

owner_id   string   

The ID of the owner. Example: consequatur

POST api/v1/reservations/{id}/invoice

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/invoice"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/reservations/{id}/invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

Approuve un remboursement en attente pour une réservation

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/approve-refund" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/approve-refund"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/reservations/{id}/approve-refund

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

Rejette un remboursement en attente pour une réservation

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/reject-refund" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/reject-refund"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/reservations/{id}/reject-refund

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

Annule une réservation

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/cancel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/reservations/{id}/cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

Retourne le calendrier journalier d'une propriété entre deux dates.

GET /api/v1/calendar/properties/{property_id}/availability?from=YYYY-MM-DD&to=YYYY-MM-DD

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/availability" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/availability"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/{property_id}/availability

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

GET api/v1/calendar/properties/{property_id}/full

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/full" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/full"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/{property_id}/full

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

Retourne la liste des dates bloquées sur la période demandée.

Route: GET /api/calendar/properties/blocked-dates?from=YYYY-MM-DD&to=YYYY-MM-DD&property_id=123 (property_id optionnel) Si property_id est fourni, on retourne uniquement pour cette propriété, sinon pour toutes les propriétés.

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/blocked-dates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\",
    \"property_id\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/blocked-dates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19",
    "property_id": 17
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/blocked-dates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

from   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

property_id   integer  optional  

The id of an existing record in the properties table. Example: 17

Modifier une date bloquée spécifique PUT /api/v1/calendar/properties/{property_id}/blocks/{block_id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/blocked-dates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"start_date\": \"2025-12-19\",
    \"end_date\": \"2025-12-19\",
    \"reason\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/blocked-dates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "start_date": "2025-12-19",
    "end_date": "2025-12-19",
    "reason": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/calendar/properties/{property_id}/blocked-dates/{block_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

block_id   string   

The ID of the block. Example: consequatur

Body Parameters

start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

end_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

reason   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

Version légère pour les calendriers (sans les détails jour par jour des quotes) GET /api/v1/calendar/properties/{property_id}/overview?from=YYYY-MM-DD&to=YYYY-MM-DD

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/overview" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/overview"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/{property_id}/overview

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-12-19

GET api/v1/calendar/properties/with-calendar-actions

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/with-calendar-actions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/with-calendar-actions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/with-calendar-actions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Version avec pagination pour beaucoup de propriétés GET /api/v1/calendar/properties-with-actions/paginated?page=1&per_page=10

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/with-calendar-actions/paginated" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/with-calendar-actions/paginated"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/calendar/properties/with-calendar-actions/paginated

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Opérations en masse sur le calendrier d'une propriété.

POST /api/v1/calendar/properties/{property_id}/bulk body: { action: block|unblock|set_price, start_date, end_date, reason?, price_per_night? }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/bulk" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"action\": \"unblock\",
    \"start_date\": \"2025-12-19\",
    \"end_date\": \"2025-12-19\",
    \"reason\": \"vmqeopfuudtdsufvyvddq\",
    \"price_per_night\": 1,
    \"cleaning_fee\": 45,
    \"extra_guest_fee\": 46
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/bulk"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "action": "unblock",
    "start_date": "2025-12-19",
    "end_date": "2025-12-19",
    "reason": "vmqeopfuudtdsufvyvddq",
    "price_per_night": 1,
    "cleaning_fee": 45,
    "extra_guest_fee": 46
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/calendar/properties/{property_id}/bulk

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

action   string   

Example: unblock

Must be one of:
  • block
  • unblock
  • set_price
start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

end_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

reason   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

price_per_night   number  optional  

Must be at least 0. Example: 1

cleaning_fee   number  optional  

Must be at least 0. Example: 45

extra_guest_fee   number  optional  

Must be at least 0. Example: 46

Créer une fermeture de dates (non réservable) pour une propriété.

POST /api/v1/calendar/properties/{property_id}/close body: { start_date: Y-m-d, end_date: Y-m-d, reason?: string } Règle: on refuse si la période chevauche une réservation EXISTANTE quel que soit le statut (pending, inquiry, confirmed, etc.).

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"start_date\": \"2025-12-19\",
    \"end_date\": \"2025-12-19\",
    \"reason\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "start_date": "2025-12-19",
    "end_date": "2025-12-19",
    "reason": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/calendar/properties/{property_id}/close

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

end_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

reason   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

Supprimer une fermeture précise par ID.

DELETE /api/v1/calendar/properties/{property_id}/close/{block_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/calendar/properties/{property_id}/close/{block_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

block_id   string   

The ID of the block. Example: consequatur

Supprimer toutes les fermetures qui chevauchent une plage.

DELETE /api/v1/calendar/properties/{property_id}/close?from=YYYY-MM-DD&to=YYYY-MM-DD

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from\": \"2025-12-19\",
    \"to\": \"2025-12-19\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/calendar/properties/consequatur/close"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "from": "2025-12-19",
    "to": "2025-12-19"
};

fetch(url, {
    method: "DELETE",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

DELETE api/v1/calendar/properties/{property_id}/close

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

from   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

to   string   

Must be a valid date in the format Y-m-d. Example: 2025-12-19

POST api/v1/quotes/preview

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/preview" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\",
    \"checkin_date\": \"2025-12-19T17:33:00\",
    \"checkout_date\": \"2107-01-18\",
    \"guests\": [
        {
            \"first_name\": \"mqeopfuudtdsufvyvddqa\",
            \"last_name\": \"mniihfqcoynlazghdtqtq\",
            \"email\": \"ablanda@example.org\",
            \"phone\": \"wbpilpmufinllwloauydl\",
            \"country\": \"sm\",
            \"language\": \"sjury\",
            \"age\": 74
        }
    ],
    \"promo_code\": \"consequatur\",
    \"services\": [
        17
    ],
    \"origin\": \"channex\",
    \"refund_policy_id\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/preview"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur",
    "checkin_date": "2025-12-19T17:33:00",
    "checkout_date": "2107-01-18",
    "guests": [
        {
            "first_name": "mqeopfuudtdsufvyvddqa",
            "last_name": "mniihfqcoynlazghdtqtq",
            "email": "ablanda@example.org",
            "phone": "wbpilpmufinllwloauydl",
            "country": "sm",
            "language": "sjury",
            "age": 74
        }
    ],
    "promo_code": "consequatur",
    "services": [
        17
    ],
    "origin": "channex",
    "refund_policy_id": 17
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/quotes/preview

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

checkin_date   string   

Must be a valid date. Example: 2025-12-19T17:33:00

checkout_date   string   

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

guests   object[]   
first_name   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

last_name   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: ablanda@example.org

phone   string  optional  

Must not be greater than 30 characters. Example: wbpilpmufinllwloauydl

country   string  optional  

Must not be greater than 2 characters. Example: sm

language   string  optional  

Must not be greater than 5 characters. Example: sjury

age   integer  optional  

Must be at least 0. Example: 74

promo_code   string  optional  

The code of an existing record in the code_promos table. Example: consequatur

services   integer[]  optional  

The id of an existing record in the services table.

origin   string  optional  

Example: channex

Must be one of:
  • website
  • phone
  • walk_in
  • booking
  • airbnb
  • expedia
  • channex
refund_policy_id   integer  optional  

The id of an existing record in the refund_policy table. Example: 17

POST api/v1/quotes

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\",
    \"checkin_date\": \"2025-12-19T17:33:00\",
    \"checkout_date\": \"2107-01-18\",
    \"guests\": [
        {
            \"first_name\": \"mqeopfuudtdsufvyvddqa\",
            \"last_name\": \"mniihfqcoynlazghdtqtq\",
            \"email\": \"ablanda@example.org\",
            \"phone\": \"wbpilpmufinllwloauydl\",
            \"country\": \"sm\",
            \"language\": \"sjury\",
            \"age\": 74
        }
    ],
    \"promo_code\": \"consequatur\",
    \"services\": [
        17
    ],
    \"origin\": \"consequatur\",
    \"refund_policy_id\": 17,
    \"expires_in_hours\": 13,
    \"create_reservation\": false,
    \"block_dates\": false,
    \"notes\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur",
    "checkin_date": "2025-12-19T17:33:00",
    "checkout_date": "2107-01-18",
    "guests": [
        {
            "first_name": "mqeopfuudtdsufvyvddqa",
            "last_name": "mniihfqcoynlazghdtqtq",
            "email": "ablanda@example.org",
            "phone": "wbpilpmufinllwloauydl",
            "country": "sm",
            "language": "sjury",
            "age": 74
        }
    ],
    "promo_code": "consequatur",
    "services": [
        17
    ],
    "origin": "consequatur",
    "refund_policy_id": 17,
    "expires_in_hours": 13,
    "create_reservation": false,
    "block_dates": false,
    "notes": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/quotes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

checkin_date   string   

Must be a valid date. Example: 2025-12-19T17:33:00

checkout_date   string   

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

guests   object[]   
first_name   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

last_name   string  optional  

Must not be greater than 255 characters. Example: mniihfqcoynlazghdtqtq

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: ablanda@example.org

phone   string  optional  

Must not be greater than 30 characters. Example: wbpilpmufinllwloauydl

country   string  optional  

Must not be greater than 2 characters. Example: sm

language   string  optional  

Must not be greater than 5 characters. Example: sjury

age   integer  optional  

Must be at least 0. Example: 74

promo_code   string  optional  

The code of an existing record in the code_promos table. Example: consequatur

services   integer[]  optional  

The id of an existing record in the services table.

origin   string  optional  

Example: consequatur

refund_policy_id   integer  optional  

The id of an existing record in the refund_policy table. Example: 17

expires_in_hours   integer  optional  

Must be at least 1. Must not be greater than 720. Example: 13

create_reservation   boolean  optional  

Example: false

block_dates   boolean  optional  

Example: false

notes   string  optional  

Example: consequatur

GET api/v1/quotes/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/quotes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

POST api/v1/quotes/{id}/convert

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/convert" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"confirmed\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/convert"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "confirmed"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/quotes/{id}/convert

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

Body Parameters

status   string  optional  

Example: confirmed

Must be one of:
  • pending
  • confirmed
  • cancelled
  • completed

PUT api/v1/quotes/{id}/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"draft\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "draft"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/quotes/{id}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

Body Parameters

status   string   

Example: draft

Must be one of:
  • draft
  • sent

PUT api/v1/quotes/{id}/update

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"checkin_date\": \"2025-12-19T17:33:00\",
    \"checkout_date\": \"2107-01-18\",
    \"promo_code\": \"consequatur\",
    \"services\": [
        17
    ],
    \"origin\": \"consequatur\",
    \"refund_policy_id\": 17,
    \"expires_in_hours\": 13,
    \"status\": \"sent\",
    \"guests\": [
        {
            \"first_name\": \"qeopfuudtdsufvyvddqam\",
            \"last_name\": \"niihfqcoynlazghdtqtqx\",
            \"email\": \"adams.selmer@example.com\",
            \"phone\": \"pilpmufinllwloauydlsm\",
            \"country\": \"sj\",
            \"language\": \"uryvo\",
            \"age\": 32
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "checkin_date": "2025-12-19T17:33:00",
    "checkout_date": "2107-01-18",
    "promo_code": "consequatur",
    "services": [
        17
    ],
    "origin": "consequatur",
    "refund_policy_id": 17,
    "expires_in_hours": 13,
    "status": "sent",
    "guests": [
        {
            "first_name": "qeopfuudtdsufvyvddqam",
            "last_name": "niihfqcoynlazghdtqtqx",
            "email": "adams.selmer@example.com",
            "phone": "pilpmufinllwloauydlsm",
            "country": "sj",
            "language": "uryvo",
            "age": 32
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/quotes/{id}/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

Body Parameters

checkin_date   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:00

checkout_date   string  optional  

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

guests   object[]  optional  
first_name   string  optional  

Must not be greater than 255 characters. Example: qeopfuudtdsufvyvddqam

last_name   string  optional  

Must not be greater than 255 characters. Example: niihfqcoynlazghdtqtqx

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: adams.selmer@example.com

phone   string  optional  

Must not be greater than 30 characters. Example: pilpmufinllwloauydlsm

country   string  optional  

Must not be greater than 2 characters. Example: sj

language   string  optional  

Must not be greater than 5 characters. Example: uryvo

age   integer  optional  

Must be at least 0. Example: 32

promo_code   string  optional  

The code of an existing record in the code_promos table. Example: consequatur

services   integer[]  optional  

The id of an existing record in the services table.

origin   string  optional  

Example: consequatur

refund_policy_id   integer  optional  

The id of an existing record in the refund_policy table. Example: 17

expires_in_hours   integer  optional  

Must be at least 1. Must not be greater than 720. Example: 13

status   string  optional  

Example: sent

Must be one of:
  • draft
  • sent
  • confirmed
  • expired
  • converted

POST api/v1/quotes/{id}/send

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/send" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/send"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/quotes/{id}/send

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

GET api/v1/quotes/{id}/email-preview

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/email-preview" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/email-preview"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/quotes/{id}/email-preview

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

PUT api/v1/quotes/{id}/email-draft

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/email-draft" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email_subject_draft\": \"vmqeopfuudtdsufvyvddq\",
    \"email_body_draft\": \"consequatur\",
    \"email_locale\": \"hi_IN\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/email-draft"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email_subject_draft": "vmqeopfuudtdsufvyvddq",
    "email_body_draft": "consequatur",
    "email_locale": "hi_IN"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/quotes/{id}/email-draft

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

Body Parameters

email_subject_draft   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

email_body_draft   string  optional  

Example: consequatur

email_locale   string  optional  

Must not be greater than 10 characters. Example: hi_IN

DELETE api/v1/quotes/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/quotes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

GET api/v1/quotes/{id}/deletion-check

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/deletion-check" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/quotes/consequatur/deletion-check"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/quotes/{id}/deletion-check

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quote. Example: consequatur

POST api/v1/properties

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name_of_structure=vmqeopfuudtdsufvyvddq"\
    --form "who_are_you=amniihfqcoynlazghdtqt"\
    --form "internal_name=qxbajwbpilpmufinllwlo"\
    --form "public_name=auydlsmsjuryvojcybzvr"\
    --form "square_footage=73"\
    --form "check_in_time=17:33:00"\
    --form "check_in_time_end=17:33:00"\
    --form "check_out_time=17:33:00"\
    --form "type=mqeopfuudtdsufvyvddqa"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "state=consequatur"\
    --form "address=consequatur"\
    --form "location=consequatur"\
    --form "country_name=consequatur"\
    --form "status=consequatur"\
    --form "breakfast_included="\
    --form "pets_allowed=1"\
    --form "base_price=45"\
    --form "price_per_night=56"\
    --form "currency_id=17"\
    --form "pricing=45"\
    --form "capacity=56"\
    --form "cleaning_fee=16"\
    --form "tax=50"\
    --form "like_count=55"\
    --form "security_deposit=19"\
    --form "rating=4"\
    --form "image_urls[]=http://kunze.biz/iste-laborum-eius-est-dolor.html"\
    --form "import_id=consequatur"\
    --form "import_selected[]=consequatur"\
    --form "property_type_id=consequatur"\
    --form "room_types_channex[][title]=mqeopfuudtdsufvyvddqa"\
    --form "room_types_channex[][count_of_rooms]=45"\
    --form "room_types_channex[][occ_adults]=46"\
    --form "room_types_channex[][default_occupancy]=28"\
    --form "room_types_channex[][occ_children]=30"\
    --form "room_types_channex[][occ_infants]=25"\
    --form "rate_plans_channex[][title]=fqcoynlazghdtqtqxbajw"\
    --form "rate_plans_channex[][room_type_title]=bpilpmufinllwloauydls"\
    --form "rate_plans_channex[][currency]=consequatur"\
    --form "rate_plans_channex[][children_fee]=consequatur"\
    --form "rate_plans_channex[][infant_fee]=consequatur"\
    --form "rate_plans_channex[][options][][occupancy]=45"\
    --form "rate_plans_channex[][options][][is_primary]="\
    --form "rate_plans_channex[][options][][rate]=11613.31890586"\
    --form "images[]=@C:\Users\fgh\AppData\Local\Temp\php3341.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name_of_structure', 'vmqeopfuudtdsufvyvddq');
body.append('who_are_you', 'amniihfqcoynlazghdtqt');
body.append('internal_name', 'qxbajwbpilpmufinllwlo');
body.append('public_name', 'auydlsmsjuryvojcybzvr');
body.append('square_footage', '73');
body.append('check_in_time', '17:33:00');
body.append('check_in_time_end', '17:33:00');
body.append('check_out_time', '17:33:00');
body.append('type', 'mqeopfuudtdsufvyvddqa');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('state', 'consequatur');
body.append('address', 'consequatur');
body.append('location', 'consequatur');
body.append('country_name', 'consequatur');
body.append('status', 'consequatur');
body.append('breakfast_included', '');
body.append('pets_allowed', '1');
body.append('base_price', '45');
body.append('price_per_night', '56');
body.append('currency_id', '17');
body.append('pricing', '45');
body.append('capacity', '56');
body.append('cleaning_fee', '16');
body.append('tax', '50');
body.append('like_count', '55');
body.append('security_deposit', '19');
body.append('rating', '4');
body.append('image_urls[]', 'http://kunze.biz/iste-laborum-eius-est-dolor.html');
body.append('import_id', 'consequatur');
body.append('import_selected[]', 'consequatur');
body.append('property_type_id', 'consequatur');
body.append('room_types_channex[][title]', 'mqeopfuudtdsufvyvddqa');
body.append('room_types_channex[][count_of_rooms]', '45');
body.append('room_types_channex[][occ_adults]', '46');
body.append('room_types_channex[][default_occupancy]', '28');
body.append('room_types_channex[][occ_children]', '30');
body.append('room_types_channex[][occ_infants]', '25');
body.append('rate_plans_channex[][title]', 'fqcoynlazghdtqtqxbajw');
body.append('rate_plans_channex[][room_type_title]', 'bpilpmufinllwloauydls');
body.append('rate_plans_channex[][currency]', 'consequatur');
body.append('rate_plans_channex[][children_fee]', 'consequatur');
body.append('rate_plans_channex[][infant_fee]', 'consequatur');
body.append('rate_plans_channex[][options][][occupancy]', '45');
body.append('rate_plans_channex[][options][][is_primary]', '');
body.append('rate_plans_channex[][options][][rate]', '11613.31890586');
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/properties

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name_of_structure   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

who_are_you   string  optional  

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

internal_name   string  optional  

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

public_name   string   

Must not be greater than 255 characters. Example: auydlsmsjuryvojcybzvr

some_informations   object   
wifi_informations   object  optional  
square_footage   integer   

Must be at least 0. Example: 73

check_in_time   string   

Must be a valid date in the format H:i:s. Example: 17:33:00

check_in_time_end   string   

Must be a valid date in the format H:i:s. Example: 17:33:00

check_out_time   string   

Must be a valid date in the format H:i:s. Example: 17:33:00

type   string  optional  

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

state   string  optional  

Example: consequatur

address   string   

Example: consequatur

location   string   

Example: consequatur

country_name   string  optional  

Example: consequatur

country_id   string  optional  

The id of an existing record in the countries table.

commodities   string[]  optional  

The id of an existing record in the commodities table.

features   object   
cancellation_policy   object  optional  
rules   object   
status   string   

Example: consequatur

breakfast_included   boolean   

Example: false

pets_allowed   boolean   

Example: true

base_price   number   

Must be at least 0. Example: 45

price_per_night   number  optional  

Must be at least 0. Example: 56

currency_id   integer  optional  

The id of an existing record in the currencies table. Example: 17

pricing   number  optional  

Must be at least 0. Example: 45

capacity   integer   

Must be at least 1. Example: 56

cleaning_fee   number  optional  

Must be at least 0. Example: 16

tax   number  optional  

Must be at least 0. Example: 50

like_count   integer  optional  

Must be at least 0. Example: 55

security_deposit   number   

Must be at least 0. Example: 19

rating   number   

Must be at least 0. Must not be greater than 5. Example: 4

specifications   object   
availability_rules   object   
room_facilities   object   
image_urls   string[]  optional  

Must be a valid URL.

import_id   string  optional  

Example: consequatur

import_selected   string[]  optional  
convenience_id   string  optional  

Relations directes requises par la BD 'room_type_id' => 'exists:room_type,id', 'space_type_id' => 'exists:space_types,id',. The id of an existing record in the conveniences table.

property_type_id   string   

The id of an existing record in the property_types table. Example: consequatur

neighborhood_id   string  optional  

The id of an existing record in the neighborhoods table.

user_id   string  optional  
room_types_channex   object[]  optional  

Nouveau: room types Channex à créer après la propriété.

title   string  optional  

This field is required when room_types_channex is present. Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

count_of_rooms   integer  optional  

This field is required when room_types_channex is present. Must be at least 1. Example: 45

occ_adults   integer  optional  

This field is required when room_types_channex is present. Must be at least 0. Example: 46

default_occupancy   integer  optional  

This field is required when room_types_channex is present. Must be at least 0. Example: 28

occ_children   integer  optional  

Must be at least 0. Example: 30

occ_infants   integer  optional  

Must be at least 0. Example: 25

rate_plans_channex   object[]  optional  

Option A: création des rate plans uniquement si fournis.

title   string  optional  

This field is required when rate_plans_channex is present. Must not be greater than 255 characters. Example: fqcoynlazghdtqtqxbajw

room_type_title   string  optional  

This field is required when rate_plans_channex is present. Must not be greater than 255 characters. Example: bpilpmufinllwloauydls

currency   string  optional  

Example: consequatur

children_fee   string  optional  

Example: consequatur

infant_fee   string  optional  

Example: consequatur

max_stay   object  optional  

Must contain 7 items.

min_stay_arrival   object  optional  

Must contain 7 items.

min_stay_through   object  optional  

Must contain 7 items.

closed_to_arrival   object  optional  

Must contain 7 items.

closed_to_departure   object  optional  

Must contain 7 items.

stop_sell   object  optional  

Must contain 7 items.

options   object[]  optional  
occupancy   integer  optional  

This field is required when rate_plans_channex.*.options is present. Must be at least 1. Example: 45

is_primary   boolean  optional  

This field is required when rate_plans_channex.*.options is present. Example: false

rate   number  optional  

This field is required when rate_plans_channex.*.options is present. Example: 11613.31890586

refund_policy_id   string  optional  

Refund policy ID. The id of an existing record in the refund_policies table.

images   file[]  optional  

Must be an image. Must not be greater than 5120 kilobytes.

Importer une propriété depuis une URL externe (Airbnb, Booking, Agoda) POST /api/v1/properties/import

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/import" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/import"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/import

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/properties/{property_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "internal_name=vmqeopfuudtdsufvyvddq"\
    --form "public_name=amniihfqcoynlazghdtqt"\
    --form "square_footage=16"\
    --form "check_in_time=17:33:00"\
    --form "check_in_time_end=17:33:00"\
    --form "check_out_time=17:33:00"\
    --form "type=xbajwbpilpmufinllwloa"\
    --form "description=Dolores dolorum amet iste laborum eius est dolor."\
    --form "address=consequatur"\
    --form "location=consequatur"\
    --form "country_name=consequatur"\
    --form "status=consequatur"\
    --form "breakfast_included="\
    --form "pets_allowed="\
    --form "base_price=11613.31890586"\
    --form "price_per_night=11613.31890586"\
    --form "pricing=11613.31890586"\
    --form "capacity=17"\
    --form "cleaning_fee=11613.31890586"\
    --form "tax=11613.31890586"\
    --form "like_count=17"\
    --form "security_deposit=11613.31890586"\
    --form "rating=11613.31890586"\
    --form "delete_media_ids[]=17"\
    --form "keep_media_ids[]=17"\
    --form "room_types_channex[][title]=mqeopfuudtdsufvyvddqa"\
    --form "room_types_channex[][count_of_rooms]=45"\
    --form "room_types_channex[][occ_adults]=46"\
    --form "room_types_channex[][default_occupancy]=28"\
    --form "room_types_channex[][occ_children]=30"\
    --form "room_types_channex[][occ_infants]=25"\
    --form "rate_plans_channex[][title]=fqcoynlazghdtqtqxbajw"\
    --form "rate_plans_channex[][room_type_title]=bpilpmufinllwloauydls"\
    --form "rate_plans_channex[][currency]=consequatur"\
    --form "rate_plans_channex[][children_fee]=consequatur"\
    --form "rate_plans_channex[][infant_fee]=consequatur"\
    --form "rate_plans_channex[][options][][occupancy]=45"\
    --form "rate_plans_channex[][options][][is_primary]=1"\
    --form "rate_plans_channex[][options][][rate]=11613.31890586"\
    --form "images[]=@C:\Users\fgh\AppData\Local\Temp\php3370.tmp" \
    --form "medias[]=@C:\Users\fgh\AppData\Local\Temp\php3381.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('internal_name', 'vmqeopfuudtdsufvyvddq');
body.append('public_name', 'amniihfqcoynlazghdtqt');
body.append('square_footage', '16');
body.append('check_in_time', '17:33:00');
body.append('check_in_time_end', '17:33:00');
body.append('check_out_time', '17:33:00');
body.append('type', 'xbajwbpilpmufinllwloa');
body.append('description', 'Dolores dolorum amet iste laborum eius est dolor.');
body.append('address', 'consequatur');
body.append('location', 'consequatur');
body.append('country_name', 'consequatur');
body.append('status', 'consequatur');
body.append('breakfast_included', '');
body.append('pets_allowed', '');
body.append('base_price', '11613.31890586');
body.append('price_per_night', '11613.31890586');
body.append('pricing', '11613.31890586');
body.append('capacity', '17');
body.append('cleaning_fee', '11613.31890586');
body.append('tax', '11613.31890586');
body.append('like_count', '17');
body.append('security_deposit', '11613.31890586');
body.append('rating', '11613.31890586');
body.append('delete_media_ids[]', '17');
body.append('keep_media_ids[]', '17');
body.append('room_types_channex[][title]', 'mqeopfuudtdsufvyvddqa');
body.append('room_types_channex[][count_of_rooms]', '45');
body.append('room_types_channex[][occ_adults]', '46');
body.append('room_types_channex[][default_occupancy]', '28');
body.append('room_types_channex[][occ_children]', '30');
body.append('room_types_channex[][occ_infants]', '25');
body.append('rate_plans_channex[][title]', 'fqcoynlazghdtqtqxbajw');
body.append('rate_plans_channex[][room_type_title]', 'bpilpmufinllwloauydls');
body.append('rate_plans_channex[][currency]', 'consequatur');
body.append('rate_plans_channex[][children_fee]', 'consequatur');
body.append('rate_plans_channex[][infant_fee]', 'consequatur');
body.append('rate_plans_channex[][options][][occupancy]', '45');
body.append('rate_plans_channex[][options][][is_primary]', '1');
body.append('rate_plans_channex[][options][][rate]', '11613.31890586');
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);
body.append('medias[]', document.querySelector('input[name="medias[]"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/properties/{property_id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

Body Parameters

internal_name   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

public_name   string  optional  

Must not be greater than 255 characters. Example: amniihfqcoynlazghdtqt

some_informations   object  optional  
wifi_informations   object  optional  
square_footage   integer  optional  

Must not be greater than 999999. Example: 16

check_in_time   string  optional  

Must be a valid date in the format H:i:s. Example: 17:33:00

check_in_time_end   string  optional  

Must be a valid date in the format H:i:s. Example: 17:33:00

check_out_time   string  optional  

Must be a valid date in the format H:i:s. Example: 17:33:00

type   string  optional  

Must not be greater than 255 characters. Example: xbajwbpilpmufinllwloa

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

address   string  optional  

Example: consequatur

location   string  optional  

Example: consequatur

country_name   string  optional  

Example: consequatur

country_id   string  optional  

The id of an existing record in the countries table.

commodities   string[]  optional  

The id of an existing record in the commodities table.

features   object  optional  
cancellation_policy   object  optional  
rules   object  optional  
status   string  optional  

Example: consequatur

breakfast_included   boolean  optional  

Example: false

pets_allowed   boolean  optional  

Example: false

base_price   number  optional  

Example: 11613.31890586

price_per_night   number  optional  

Example: 11613.31890586

pricing   number  optional  

Example: 11613.31890586

capacity   integer  optional  

Example: 17

cleaning_fee   number  optional  

Example: 11613.31890586

tax   number  optional  

Example: 11613.31890586

like_count   integer  optional  

Example: 17

security_deposit   number  optional  

Example: 11613.31890586

rating   number  optional  

Example: 11613.31890586

specifications   object  optional  
availability_rules   object  optional  
room_facilities   object  optional  
room_types_channex   object[]  optional  

Relations Channex.

title   string  optional  

This field is required when room_types_channex is present. Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

count_of_rooms   integer  optional  

This field is required when room_types_channex is present. Must be at least 1. Example: 45

occ_adults   integer  optional  

This field is required when room_types_channex is present. Must be at least 0. Example: 46

default_occupancy   integer  optional  

This field is required when room_types_channex is present. Must be at least 0. Example: 28

occ_children   integer  optional  

Must be at least 0. Example: 30

occ_infants   integer  optional  

Must be at least 0. Example: 25

rate_plans_channex   object[]  optional  
title   string  optional  

This field is required when rate_plans_channex is present. Must not be greater than 255 characters. Example: fqcoynlazghdtqtqxbajw

room_type_title   string  optional  

This field is required when rate_plans_channex is present. Must not be greater than 255 characters. Example: bpilpmufinllwloauydls

currency   string  optional  

Example: consequatur

children_fee   string  optional  

Example: consequatur

infant_fee   string  optional  

Example: consequatur

max_stay   object  optional  

Must contain 7 items.

min_stay_arrival   object  optional  

Must contain 7 items.

min_stay_through   object  optional  

Must contain 7 items.

closed_to_arrival   object  optional  

Must contain 7 items.

closed_to_departure   object  optional  

Must contain 7 items.

stop_sell   object  optional  

Must contain 7 items.

options   object[]  optional  
occupancy   integer  optional  

This field is required when rate_plans_channex.*.options is present. Must be at least 1. Example: 45

is_primary   boolean  optional  

This field is required when rate_plans_channex.*.options is present. Example: true

rate   number  optional  

This field is required when rate_plans_channex.*.options is present. Example: 11613.31890586

delete_media_ids   integer[]  optional  

The id of an existing record in the media table.

keep_media_ids   integer[]  optional  

The id of an existing record in the media table.

property_type_id   string  optional  

Foreign keys 'room_type_id' => 'sometimes|exists:room_types,id', 'space_type_id' => 'sometimes|exists:space_types,id',. The id of an existing record in the property_types table.

neighborhood_id   string  optional  

'convenience_id' => 'sometimes|exists:conveniences,id',. The id of an existing record in the neighborhoods table.

refund_policy_id   string  optional  

Refund policy. The id of an existing record in the refund_policies table.

images   file[]  optional  

Images. Must be an image. Must not be greater than 5120 kilobytes.

medias   file[]  optional  

Must be an image. Must not be greater than 5120 kilobytes.

DELETE api/v1/properties/{property_id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/properties/{property_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

GET api/v1/properties/{property_id}/comments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/comments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/comments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/{property_id}/comments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

GET api/v1/properties/{user_id}/property

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/{user_id}/property

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/properties/{user_id}/property/active

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/active" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/active"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/{user_id}/property/active

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/properties/{user_id}/property/inactive

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/inactive" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/inactive"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/{user_id}/property/inactive

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

POST api/v1/properties/{user_id}/property/search-type

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/search-type" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/search-type"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/{user_id}/property/search-type

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

POST api/v1/properties/{user_id}/property/search-date

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/search-date" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/property/search-date"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/{user_id}/property/search-date

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/recommended" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/recommended"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

POST api/v1/properties/webhooks/espo

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/webhooks/espo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/webhooks/espo"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/webhooks/espo

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/claims-managements/{user_id}/claims-managements

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/1/claims-managements" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/claims-managements/1/claims-managements"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/claims-managements/{user_id}/claims-managements

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   integer   

The ID of the user. Example: 1

PATCH api/v1/notifications/{id}/mark-as-read

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur/mark-as-read" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur/mark-as-read"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/notifications/{id}/mark-as-read

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: consequatur

POST api/v1/notifications/send

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/send" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"message\": \"consequatur\",
    \"payload\": \"consequatur\",
    \"role\": \"user\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/send"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "message": "consequatur",
    "payload": "consequatur",
    "role": "user"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/notifications/send

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

message   string   

Example: consequatur

payload   string  optional  

Example: consequatur

role   string  optional  

Example: user

Must be one of:
  • admin
  • user
  • guest
user_ids   string[]  optional  

The id of an existing record in the users table.

POST api/v1/notifications/send-fcm-notification

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/send-fcm-notification" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/send-fcm-notification"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/notifications/send-fcm-notification

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/notifications/sent

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/sent" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/sent"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/notifications/sent

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/reservations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

PUT api/v1/reservations/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"checkin_date\": \"2025-12-19T17:33:01\",
    \"checkout_date\": \"2107-01-18\",
    \"special_requests\": \"consequatur\",
    \"status\": \"completed\",
    \"rooms\": [
        {
            \"room_type_id\": 17,
            \"rate_plan_id\": 17,
            \"rooms_count\": 45
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "checkin_date": "2025-12-19T17:33:01",
    "checkout_date": "2107-01-18",
    "special_requests": "consequatur",
    "status": "completed",
    "rooms": [
        {
            "room_type_id": 17,
            "rate_plan_id": 17,
            "rooms_count": 45
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/reservations/{id}

PATCH api/v1/reservations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

Body Parameters

property_id   string  optional  

The id of an existing record in the properties table.

checkin_date   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:01

checkout_date   string  optional  

Must be a valid date. Must be a date after checkin_date. Example: 2107-01-18

price_details   object  optional  
guests   object  optional  
special_requests   string  optional  

Example: consequatur

status   string  optional  

Example: completed

Must be one of:
  • pending
  • confirmed
  • cancelled
  • completed
rooms   object[]  optional  
room_type_id   integer  optional  

Example: 17

rate_plan_id   integer  optional  

Example: 17

rooms_count   integer  optional  

Must be at least 1. Example: 45

DELETE api/v1/reservations/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/reservations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reservation. Example: consequatur

GET api/v1/medias

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/medias

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/medias

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "media_type=consequatur"\
    --form "property_id=consequatur"\
    --form "file=@C:\Users\fgh\AppData\Local\Temp\php3632.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('media_type', 'consequatur');
body.append('property_id', 'consequatur');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/medias

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

media_type   string   

Example: consequatur

file   file   

Must be an image. Must not be greater than 5120 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\php3632.tmp

property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/medias/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/medias/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the media. Example: consequatur

PUT api/v1/medias/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "media_type=consequatur"\
    --form "file=@C:\Users\fgh\AppData\Local\Temp\php3643.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('media_type', 'consequatur');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "PUT",
    headers,
    body,
}).then(response => response.json());

Request      

PUT api/v1/medias/{id}

PATCH api/v1/medias/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the media. Example: consequatur

Body Parameters

media_type   string  optional  

Example: consequatur

file   file  optional  

Must be a file. Example: C:\Users\fgh\AppData\Local\Temp\php3643.tmp

property_id   string  optional  

The id of an existing record in the properties table.

DELETE api/v1/medias/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/medias/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/medias/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the media. Example: consequatur

GET api/v1/comments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/comments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/comments

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"comment\": \"consequatur\",
    \"owner_response\": \"consequatur\",
    \"property_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "comment": "consequatur",
    "owner_response": "consequatur",
    "property_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/comments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

comment   string  optional  

Example: consequatur

owner_response   string  optional  

Example: consequatur

property_id   string   

The id of an existing record in the properties table. Example: consequatur

GET api/v1/comments/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/comments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the comment. Example: consequatur

PUT api/v1/comments/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"comment\": \"consequatur\",
    \"owner_response\": \"consequatur\",
    \"status\": \"rejected\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "comment": "consequatur",
    "owner_response": "consequatur",
    "status": "rejected"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/comments/{id}

PATCH api/v1/comments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the comment. Example: consequatur

Body Parameters

comment   string  optional  

Example: consequatur

owner_response   string  optional  

Example: consequatur

status   string  optional  

Example: rejected

Must be one of:
  • pending
  • approved
  • rejected

DELETE api/v1/comments/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/comments/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/comments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the comment. Example: consequatur

GET api/v1/notifications

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/notifications

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/notifications

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"message\": \"consequatur\",
    \"payload\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "message": "consequatur",
    "payload": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/notifications

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

message   string   

Example: consequatur

payload   string  optional  

Example: consequatur

GET api/v1/notifications/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/notifications/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: consequatur

PUT api/v1/notifications/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"message\": \"consequatur\",
    \"payload\": \"consequatur\",
    \"is_read\": true
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "message": "consequatur",
    "payload": "consequatur",
    "is_read": true
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/notifications/{id}

PATCH api/v1/notifications/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: consequatur

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

message   string  optional  

Example: consequatur

payload   string  optional  

Example: consequatur

is_read   boolean  optional  

Example: true

DELETE api/v1/notifications/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/notifications/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/notifications/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: consequatur

GET api/v1/chats/conversation_summaries

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/conversation_summaries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/conversation_summaries"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/chats/conversation_summaries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/chats/messages/{userId}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/messages/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/messages/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/chats/messages/{userId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

userId   string   

Example: consequatur

POST api/v1/chats/send_messages

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/send_messages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sender_id\": 17,
    \"receiver_id\": 17,
    \"content\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/send_messages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "sender_id": 17,
    "receiver_id": 17,
    "content": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/chats/send_messages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

sender_id   integer   

The id of an existing record in the users table. Example: 17

receiver_id   integer   

The id of an existing record in the users table. Example: 17

content   string  optional  

Example: consequatur

attachment   string  optional  

PATCH api/v1/chats/read-message/{messageId}

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/read-message/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/read-message/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/chats/read-message/{messageId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

messageId   string   

Example: consequatur

DELETE api/v1/chats/delete_message/{messageId}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/delete_message/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/delete_message/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/chats/delete_message/{messageId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

messageId   string   

Example: consequatur

POST api/v1/chats/typing_status

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/typing_status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/chats/typing_status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/chats/typing_status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/reservations/pending

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/pending" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/pending"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/reservations/pending

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/properties/{propertyId}/booking-rate

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/booking-rate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/booking-rate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/booking-rate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/dashboard/properties/{propertyId}/income

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/income" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/income"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/income

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/dashboard/properties/{propertyId}/pending-bookings

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/pending-bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/pending-bookings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/pending-bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/dashboard/reservations/monthly

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/monthly" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/monthly"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/reservations/monthly

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/finance/weekly

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/finance/weekly" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/finance/weekly"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/finance/weekly

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/finance/monthly

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/finance/monthly" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/finance/monthly"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/finance/monthly

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/occupancy-rate/global

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/occupancy-rate/global" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/occupancy-rate/global"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/occupancy-rate/global

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/properties/{propertyId}/occupancy-rate

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/occupancy-rate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/occupancy-rate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/occupancy-rate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/dashboard/properties/{propertyId}/comments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/comments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/comments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/comments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/dashboard/properties/{propertyId}/average-rating

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/average-rating" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/properties/consequatur/average-rating"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/properties/{propertyId}/average-rating

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/transactions

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/transactions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/transactions/export

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/export" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/export"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/transactions/export

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/transactions/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/transactions/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/transactions/monthly-summary

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/monthly-summary" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/monthly-summary"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/transactions/monthly-summary

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/transactions/{transaction}/refund

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/consequatur/refund" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/consequatur/refund"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/transactions/{transaction}/refund

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

transaction   string   

The transaction. Example: consequatur

POST api/v1/transactions/{transaction}/cancel

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/consequatur/cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/transactions/consequatur/cancel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/transactions/{transaction}/cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

transaction   string   

The transaction. Example: consequatur

GET api/v1/payments/my

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/my" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/my"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/my

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/payments/export

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/export" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/export"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/export

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PATCH api/v1/payments/{id}/status

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"FAILED\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "FAILED"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/payments/{id}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the payment. Example: consequatur

Body Parameters

status   string   

Example: FAILED

Must be one of:
  • EN_ATTENTE
  • COMPLETED
  • FAILED

DELETE api/v1/payments/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/payments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the payment. Example: consequatur

POST api/v1/payments/process

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/process" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reservation_id\": 17,
    \"currency\": \"mqe\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/process"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "reservation_id": 17,
    "currency": "mqe"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/payments/process

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

reservation_id   integer   

The id of an existing record in the reservations table. Example: 17

currency   string   

Must be 3 characters. Example: mqe

type   string  optional  

POST api/v1/payments/payments/webhook

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/payments/webhook" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/payments/webhook"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/payments/payments/webhook

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/payments/{payment}/receipt

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/receipt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/receipt"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/{payment}/receipt

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

payment   string   

The payment. Example: consequatur

POST api/v1/payments/test-webhook/{session_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/test-webhook/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/test-webhook/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/payments/test-webhook/{session_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

session_id   string   

The ID of the session. Example: consequatur

POST api/v1/payments/finalize/{session_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/finalize/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/finalize/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/payments/finalize/{session_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

session_id   string   

The ID of the session. Example: consequatur

POST api/v1/cards

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cards" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"payment_method_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/cards"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "payment_method_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/cards

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

payment_method_id   string   

Example: consequatur

GET api/v1/property-types

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/property-types

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/property-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

GET api/v1/property-types/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/property-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property type. Example: consequatur

PUT api/v1/property-types/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "description": "Dolores dolorum amet iste laborum eius est dolor."
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/property-types/{id}

PATCH api/v1/property-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the property type. Example: consequatur

Body Parameters

name   string  optional  

Example: consequatur

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

DELETE api/v1/property-types/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/47" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/property-types/47"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/property-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the property type. Example: 47

PATCH api/v1/geographic-restrictions/{restriction_id}/status

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"active\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "active"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/geographic-restrictions/{restriction_id}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

restriction_id   string   

The ID of the restriction. Example: consequatur

Body Parameters

status   string   

Example: active

Must be one of:
  • active
  • disabled
  • review

GET api/v1/geographic-restrictions/users-dropdown

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/users-dropdown" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/users-dropdown"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/geographic-restrictions/users-dropdown

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/geographic-restrictions/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/geographic-restrictions/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/geographic-restrictions

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/geographic-restrictions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/geographic-restrictions

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restricted_regions\": [
        \"vmqeopfuudtdsufvyvddq\"
    ],
    \"restriction_type\": \"limited_access\",
    \"status\": \"active\",
    \"comments\": \"amniihfqcoynlazghdtqt\",
    \"user_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "restricted_regions": [
        "vmqeopfuudtdsufvyvddq"
    ],
    "restriction_type": "limited_access",
    "status": "active",
    "comments": "amniihfqcoynlazghdtqt",
    "user_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/geographic-restrictions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

restricted_regions   string[]   

Must not be greater than 100 characters.

restriction_type   string   

Example: limited_access

Must be one of:
  • access_blocked
  • conditioned_access
  • limited_access
status   string   

Example: active

Must be one of:
  • active
  • disabled
  • review
comments   string  optional  

Must not be greater than 1000 characters. Example: amniihfqcoynlazghdtqt

user_id   string   

The id of an existing record in the users table. Example: consequatur

GET api/v1/geographic-restrictions/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/geographic-restrictions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the geographic restriction. Example: consequatur

PUT api/v1/geographic-restrictions/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restricted_regions\": [
        \"vmqeopfuudtdsufvyvddq\"
    ],
    \"restriction_type\": \"conditioned_access\",
    \"status\": \"review\",
    \"comments\": \"amniihfqcoynlazghdtqt\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "restricted_regions": [
        "vmqeopfuudtdsufvyvddq"
    ],
    "restriction_type": "conditioned_access",
    "status": "review",
    "comments": "amniihfqcoynlazghdtqt"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/geographic-restrictions/{id}

PATCH api/v1/geographic-restrictions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the geographic restriction. Example: consequatur

Body Parameters

restricted_regions   string[]  optional  

This field is required when restricted_regions is present. Must not be greater than 100 characters.

restriction_type   string  optional  

Example: conditioned_access

Must be one of:
  • access_blocked
  • conditioned_access
  • limited_access
status   string  optional  

Example: review

Must be one of:
  • active
  • disabled
  • review
comments   string  optional  

Must not be greater than 1000 characters. Example: amniihfqcoynlazghdtqt

DELETE api/v1/geographic-restrictions/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/geographic-restrictions/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/geographic-restrictions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the geographic restriction. Example: consequatur

POST api/v1/newsletters/send

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/send" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"consequatur\",
    \"content\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/send"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "subject": "consequatur",
    "content": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/newsletters/send

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

subject   string   

Example: consequatur

content   string   

Example: consequatur

POST api/v1/newsletters/subscribe

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/subscribe" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/subscribe"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/newsletters/subscribe

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: qkunze@example.com

POST api/v1/newsletters/unsubscribe

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/unsubscribe" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/newsletters/unsubscribe"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/newsletters/unsubscribe

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. The email of an existing record in the news_letters table. Example: qkunze@example.com

GET api/v1/dashboard/reservation/booking-rate

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservation/booking-rate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservation/booking-rate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/reservation/booking-rate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/reservations/count

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/reservations/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/reservations/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/payments-income/count

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/payments-income/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/payments-income/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/payments-income/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/admin-proprio/count

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/admin-proprio/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/admin-proprio/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/admin-proprio/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/admin-client/count

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/admin-client/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/admin-client/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/admin-client/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/dashboard/comments/count

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/comments/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/dashboard/comments/count"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/dashboard/comments/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/payments/reports

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/reports"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/reports

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/payments/generate-report

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/generate-report" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"month\": 2,
    \"year\": \"8107\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/generate-report"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "month": 2,
    "year": "8107"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/payments/generate-report

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

month   integer   

Must be between 1 and 12. Example: 2

year   string   

Must be 4 digits. Example: 8107

GET api/v1/payments/download-report/{filename}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/download-report/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/download-report/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/download-report/{filename}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

filename   string   

Example: consequatur

GET api/v1/payments/{user_id}/all-payments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/all-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/all-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/{user_id}/all-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/payments/{user_id}/income-payments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/income-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/income-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/{user_id}/income-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/payments/{user_id}/pending-payments

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/pending-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/consequatur/pending-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/payments/{user_id}/pending-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   string   

The ID of the user. Example: consequatur

GET api/v1/ratings

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/ratings/all-properties

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/all-properties" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/all-properties"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings/all-properties

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/ratings/user/properties

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/user/properties" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/user/properties"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings/user/properties

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/ratings/property/{propertyId}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings/property/{propertyId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/ratings/property/{propertyId}/my

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur/my" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur/my"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings/property/{propertyId}/my

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/ratings/property/{propertyId}/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ratings/property/{propertyId}/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

POST api/v1/ratings/property/{propertyId}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"stars\": 5
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/property/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "stars": 5
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ratings/property/{propertyId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

stars   integer   

Must be at least 1. Must not be greater than 5. Example: 5

PUT api/v1/ratings/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"stars\": 5
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "stars": 5
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/ratings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the rating. Example: consequatur

Body Parameters

stars   integer   

Must be at least 1. Must not be greater than 5. Example: 5

DELETE api/v1/ratings/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ratings/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/ratings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the rating. Example: consequatur

POST api/v1/expenses

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 73,
    \"description\": \"Dolorum amet iste laborum eius est dolor.\",
    \"date\": \"2025-12-19T17:33:02\",
    \"category_name\": \"dtdsufvyvddqamniihfqc\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "amount": 73,
    "description": "Dolorum amet iste laborum eius est dolor.",
    "date": "2025-12-19T17:33:02",
    "category_name": "dtdsufvyvddqamniihfqc"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/expenses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

amount   number   

Must be at least 0. Example: 73

description   string   

Must not be greater than 255 characters. Example: Dolorum amet iste laborum eius est dolor.

date   string   

Must be a valid date. Example: 2025-12-19T17:33:02

category_name   string  optional  

Must not be greater than 255 characters. Example: dtdsufvyvddqamniihfqc

GET api/v1/expenses

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expenses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/expenses/statistics

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/statistics" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/statistics"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expenses/statistics

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/expenses/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense. Example: consequatur

PUT api/v1/expenses/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 73,
    \"description\": \"Dolorum amet iste laborum eius est dolor.\",
    \"date\": \"2025-12-19T17:33:02\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "amount": 73,
    "description": "Dolorum amet iste laborum eius est dolor.",
    "date": "2025-12-19T17:33:02"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense. Example: consequatur

Body Parameters

amount   number  optional  

Must be at least 0. Example: 73

description   string  optional  

Must not be greater than 255 characters. Example: Dolorum amet iste laborum eius est dolor.

date   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:02

expense_categories_id   string  optional  

The id of an existing record in the expense_categories table.

DELETE api/v1/expenses/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expenses/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense. Example: consequatur

GET api/v1/expense-categories

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expense-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/expense-categories

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/expense-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 100 characters. Example: vmqeopfuudtdsufvyvddq

GET api/v1/expense-categories/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expense-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense category. Example: consequatur

GET api/v1/expense-categories/statistics

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/statistics" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/statistics"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/expense-categories/statistics

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/expense-categories/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/expense-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense category. Example: consequatur

Body Parameters

name   string  optional  

DELETE api/v1/expense-categories/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/expense-categories/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/expense-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense category. Example: consequatur

GET api/v1/incomes/admin-proprio

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/admin-proprio" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/admin-proprio"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/incomes/admin-proprio

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/incomes/support

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/support" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/support"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/incomes/support

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/incomes/analytics

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/analytics" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/incomes/analytics"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/incomes/analytics

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/withdrawals

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"admin_proprio_id\": \"consequatur\",
    \"amount\": 13,
    \"currency\": \"eur\",
    \"description\": \"Amet iste laborum eius est dolor dolores.\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "admin_proprio_id": "consequatur",
    "amount": 13,
    "currency": "eur",
    "description": "Amet iste laborum eius est dolor dolores."
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/withdrawals

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

admin_proprio_id   string   

The id of an existing record in the users table. Example: consequatur

amount   number   

Must be at least 10. Must not be greater than 10000. Example: 13

currency   string   

Example: eur

Must be one of:
  • eur
  • usd
description   string  optional  

Must not be greater than 255 characters. Example: Amet iste laborum eius est dolor dolores.

GET api/v1/withdrawals

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/withdrawals

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/withdrawals/stripe-connect/{user_id}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe-connect/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe-connect/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/withdrawals/stripe-connect/{user_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

user_id   integer   

The ID of the user. Example: 2

GET api/v1/withdrawals/stripe/return

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe/return" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe/return"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/withdrawals/stripe/return

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/withdrawals/stripe/refresh

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe/refresh" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/withdrawals/stripe/refresh"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/withdrawals/stripe/refresh

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/balances

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/balances" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/balances"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/balances

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/reservations/{reservation}/host-cancel

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/host-cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/consequatur/host-cancel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "reason": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/reservations/{reservation}/host-cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

reservation   string   

The reservation. Example: consequatur

Body Parameters

reason   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

GET api/v1/host/cancellations/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/host/cancellations/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/host/cancellations/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/host/cancellations/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/host/cancellations/penalties

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/host/cancellations/penalties" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/host/cancellations/penalties"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/host/cancellations/penalties

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/maintenances

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/maintenances

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/maintenances

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": \"consequatur\",
    \"user_id\": \"consequatur\",
    \"kind\": \"mqeopfuudtdsufvyvddqa\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"emergency\": \"medium\",
    \"status\": \"completed\",
    \"reported_at\": \"2025-12-19T17:33:02\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": "consequatur",
    "user_id": "consequatur",
    "kind": "mqeopfuudtdsufvyvddqa",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "emergency": "medium",
    "status": "completed",
    "reported_at": "2025-12-19T17:33:02"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/maintenances

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   string   

The id of an existing record in the properties table. Example: consequatur

user_id   string   

The id of an existing record in the users table. Example: consequatur

kind   string   

Must not be greater than 255 characters. Example: mqeopfuudtdsufvyvddqa

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

emergency   string   

Example: medium

Must be one of:
  • high
  • urgent
  • important
  • medium
status   string   

Example: completed

Must be one of:
  • in_progress
  • completed
reported_at   string   

Must be a valid date. Example: 2025-12-19T17:33:02

GET api/v1/maintenances/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/maintenances/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the maintenance. Example: consequatur

PUT api/v1/maintenances/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"kind\": \"vmqeopfuudtdsufvyvddq\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"emergency\": \"high\",
    \"status\": \"completed\",
    \"reported_at\": \"2025-12-19T17:33:02\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "kind": "vmqeopfuudtdsufvyvddq",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "emergency": "high",
    "status": "completed",
    "reported_at": "2025-12-19T17:33:02"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/maintenances/{id}

PATCH api/v1/maintenances/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the maintenance. Example: consequatur

Body Parameters

kind   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

emergency   string  optional  

Example: high

Must be one of:
  • high
  • urgent
  • important
  • medium
status   string  optional  

Example: completed

Must be one of:
  • in_progress
  • completed
reported_at   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:02

DELETE api/v1/maintenances/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/maintenances/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the maintenance. Example: consequatur

GET api/v1/maintenances/by-property/{property_id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/by-property/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/maintenances/by-property/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/maintenances/by-property/{property_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   string   

The ID of the property. Example: consequatur

GET api/v1/rapports_taxe

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/rapports_taxe

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/rapports_taxe/export-csv

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe/export-csv" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe/export-csv"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/rapports_taxe/export-csv

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/rapports_taxe/export-pdf

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe/export-pdf" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/rapports_taxe/export-pdf"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/rapports_taxe/export-pdf

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/marketplaces/user_info_key

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_info_key" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_info_key"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_info_key

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/marketplaces/user_property_key

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_property_key" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_property_key"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_property_key

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/marketplaces/user_reservations_key

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_reservations_key" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_reservations_key"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_reservations_key

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/marketplaces/user_payments_key

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_payments_key" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_payments_key"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_payments_key

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/marketplaces/info_user/{key}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/info_user/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/info_user/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/info_user/{key}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

key   string   

Example: consequatur

GET api/v1/marketplaces/user_property/{key}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_property/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_property/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_property/{key}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

key   string   

Example: consequatur

GET api/v1/marketplaces/user_reservations/{key}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_reservations/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_reservations/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_reservations/{key}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

key   string   

Example: consequatur

GET api/v1/marketplaces/user_payments/{key}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_payments/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/marketplaces/user_payments/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/marketplaces/user_payments/{key}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

key   string   

Example: consequatur

GET api/v1/properties/properties/grouped-by-location

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/properties/grouped-by-location" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/properties/grouped-by-location"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/properties/grouped-by-location

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/privacy-terms

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/privacy-terms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/privacy-terms/for-user

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/for-user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/for-user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/privacy-terms/for-user

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/privacy-terms

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/privacy-terms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/privacy-terms/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/privacy-terms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the privacy term. Example: consequatur

DELETE api/v1/privacy-terms/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/privacy-terms/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/privacy-terms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the privacy term. Example: consequatur

GET api/v1/smart-locks/providers

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/providers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/smart-locks/providers/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/providers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the provider. Example: consequatur

POST api/v1/smart-locks/providers/{providerId}/connect

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur/connect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur/connect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/providers/{providerId}/connect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

providerId   string   

Example: consequatur

POST api/v1/smart-locks/providers/{providerId}/sync-locks

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur/sync-locks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/providers/consequatur/sync-locks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/providers/{providerId}/sync-locks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

providerId   string   

Example: consequatur

GET api/v1/smart-locks/locks

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/locks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/smart-locks/locks

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/locks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/smart-locks/locks/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/locks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the lock. Example: consequatur

PUT api/v1/smart-locks/locks/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/smart-locks/locks/{id}

PATCH api/v1/smart-locks/locks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the lock. Example: consequatur

DELETE api/v1/smart-locks/locks/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/smart-locks/locks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the lock. Example: consequatur

GET api/v1/smart-locks/locks/{lockId}/access-codes

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/locks/{lockId}/access-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

lockId   string   

Example: consequatur

POST api/v1/smart-locks/locks/{lockId}/access-codes

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/locks/{lockId}/access-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

lockId   string   

Example: consequatur

DELETE api/v1/smart-locks/locks/{lockId}/access-codes/{accessCodeId}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-codes/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/smart-locks/locks/{lockId}/access-codes/{accessCodeId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

lockId   string   

Example: consequatur

accessCodeId   string   

Example: consequatur

GET api/v1/smart-locks/locks/{lockId}/access-logs

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-logs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/locks/consequatur/access-logs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/locks/{lockId}/access-logs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

lockId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/smartlocks/{connectionId}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/smartlocks/{connectionId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

connectionId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/state

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/state" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/state"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/state

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/lock

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/lock" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/lock"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/lock

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/unlock

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/unlock" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/unlock"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/unlock

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

PUT api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes/{authId}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes/{authId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

authId   string   

Example: consequatur

DELETE api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes/{authId}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-codes/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-codes/{authId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

authId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-logs

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-logs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/access-logs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/access-logs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/config

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/config" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/config"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/smartlocks/{smartLockId}/config

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

PUT api/v1/smart-locks/nuki/smartlocks/{smartLockId}/config

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/config" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/smartlocks/consequatur/config"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/smart-locks/nuki/smartlocks/{smartLockId}/config

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

smartLockId   string   

Example: consequatur

GET api/v1/smart-locks/nuki/account

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/account" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/account"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/smart-locks/nuki/account

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/smart-locks/nuki/sync

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/sync" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/smart-locks/nuki/sync"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/smart-locks/nuki/sync

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/v1/properties/{propertyId}/smart-lock/status

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/v1/properties/{propertyId}/smart-lock/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

POST api/v1/properties/{propertyId}/smart-lock/sync

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/sync" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/sync"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/{propertyId}/smart-lock/sync

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

POST api/v1/properties/{propertyId}/smart-lock/reservations/access-code

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/reservations/access-code" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/reservations/access-code"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/properties/{propertyId}/smart-lock/reservations/access-code

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

DELETE api/v1/properties/{propertyId}/smart-lock/reservations/access-code

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/reservations/access-code" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/consequatur/smart-lock/reservations/access-code"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/properties/{propertyId}/smart-lock/reservations/access-code

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/faqs

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/faqs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/faqs

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"description\": \"consequatur\",
    \"role\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "description": "consequatur",
    "role": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/faqs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: consequatur

description   string   

Example: consequatur

role   string   

Example: consequatur

GET api/v1/faqs/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/faqs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the faq. Example: consequatur

PUT api/v1/faqs/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/faqs/{id}

PATCH api/v1/faqs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the faq. Example: consequatur

Body Parameters

title   string  optional  

Example: consequatur

description   string  optional  
role   string  optional  

DELETE api/v1/faqs/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/faqs/2"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/faqs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the faq. Example: 2

GET api/v1/vrbo-connection/channels-list

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/vrbo-connection/channels-list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/vrbo-connection/channels-list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/vrbo-connection/channels-list

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/vrbo-connection/authenticate

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/vrbo-connection/authenticate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"username\": \"consequatur\",
    \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/vrbo-connection/authenticate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "username": "consequatur",
    "password": "O[2UZ5ij-e\/dl4m{o,"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/vrbo-connection/authenticate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

username   string   

Example: consequatur

password   string   

Example: O[2UZ5ij-e/dl4m{o,

POST api/v1/test-send-me-mail

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/test-send-me-mail" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/test-send-me-mail"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/test-send-me-mail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/feedback/comment

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/feedback/comment" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"booking_ref_code\": \"consequatur\",
    \"user_email\": \"carolyne.luettgen@example.org\",
    \"comment\": \"consequatur\",
    \"owner_response\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/feedback/comment"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "booking_ref_code": "consequatur",
    "user_email": "carolyne.luettgen@example.org",
    "comment": "consequatur",
    "owner_response": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/feedback/comment

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

booking_ref_code   string   

The booking_ref_code of an existing record in the reservations table. Example: consequatur

user_email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

comment   string  optional  

Example: consequatur

owner_response   string  optional  

Example: consequatur

POST api/v1/feedback/rating/{propertyId}

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/feedback/rating/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"booking_ref_code\": \"consequatur\",
    \"user_email\": \"carolyne.luettgen@example.org\",
    \"stars\": 2
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/feedback/rating/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "booking_ref_code": "consequatur",
    "user_email": "carolyne.luettgen@example.org",
    "stars": 2
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/feedback/rating/{propertyId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

booking_ref_code   string   

The booking_ref_code of an existing record in the reservations table. Example: consequatur

user_email   string   

Must be a valid email address. Example: carolyne.luettgen@example.org

stars   integer   

Must be at least 1. Must not be greater than 5. Example: 2

✅ Afficher les infos de la réservation à partir du booking_ref_code

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/public-feedback/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/public-feedback/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/public-feedback/{bookingRefCode}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

bookingRefCode   string   

Example: consequatur

✅ Enregistrer un commentaire et une note publique

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/public-feedback/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"stars\": 5,
    \"comment\": \"mqeopfuudtdsufvyvddqa\",
    \"email\": \"eloisa.harber@example.com\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/public-feedback/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "stars": 5,
    "comment": "mqeopfuudtdsufvyvddqa",
    "email": "eloisa.harber@example.com"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/public-feedback/{bookingRefCode}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

bookingRefCode   string   

Example: consequatur

Body Parameters

stars   integer   

Must be at least 1. Must not be greater than 5. Example: 5

comment   string  optional  

Must not be greater than 2000 characters. Example: mqeopfuudtdsufvyvddqa

email   string   

Must be a valid email address. Example: eloisa.harber@example.com

Liste tous les rapports financiers GET /api/financial-reports

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/financial-reports

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Obtient un résumé des rapports par type GET /api/financial-reports/summary

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/summary" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/summary"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/financial-reports/summary

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Obtient des statistiques en temps réel (sans créer de rapport) GET /api/financial-reports/statistics/real-time

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/statistics/real-time" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"period_start\": \"2025-12-19T17:33:03\",
    \"period_end\": \"2107-01-18\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/statistics/real-time"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "period_start": "2025-12-19T17:33:03",
    "period_end": "2107-01-18"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/financial-reports/statistics/real-time

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

period_start   string   

Must be a valid date. Example: 2025-12-19T17:33:03

period_end   string   

Must be a valid date. Must be a date after period_start. Example: 2107-01-18

Génère un nouveau rapport financier POST /api/financial-reports/generate

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/generate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"report_type\": \"monthly\",
    \"period_start\": \"2025-12-19T17:33:03\",
    \"period_end\": \"2107-01-18\",
    \"notes\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/generate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "report_type": "monthly",
    "period_start": "2025-12-19T17:33:03",
    "period_end": "2107-01-18",
    "notes": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/financial-reports/generate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

report_type   string   

Example: monthly

Must be one of:
  • daily
  • weekly
  • monthly
  • quarterly
  • yearly
  • custom
period_start   string   

Must be a valid date. Example: 2025-12-19T17:33:03

period_end   string   

Must be a valid date. Must be a date after period_start. Example: 2107-01-18

notes   string  optional  

Example: consequatur

Affiche un rapport financier spécifique GET /api/financial-reports/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/financial-reports/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Met à jour un rapport financier PUT/PATCH /api/financial-reports/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"notes\": \"consequatur\",
    \"status\": \"draft\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "notes": "consequatur",
    "status": "draft"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/financial-reports/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Body Parameters

notes   string  optional  

Example: consequatur

status   string  optional  

Example: draft

Must be one of:
  • draft
  • published
  • archived

Met à jour un rapport financier PUT/PATCH /api/financial-reports/{id}

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"notes\": \"consequatur\",
    \"status\": \"archived\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "notes": "consequatur",
    "status": "archived"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PATCH api/v1/financial-reports/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Body Parameters

notes   string  optional  

Example: consequatur

status   string  optional  

Example: archived

Must be one of:
  • draft
  • published
  • archived

Supprime un rapport financier DELETE /api/financial-reports/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/financial-reports/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Publie un rapport financier POST /api/financial-reports/{id}/publish

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur/publish" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur/publish"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/financial-reports/{id}/publish

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Archive un rapport financier POST /api/financial-reports/{id}/archive

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur/archive" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/financial-reports/consequatur/archive"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/financial-reports/{id}/archive

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the financial report. Example: consequatur

Tester la connexion Booking.com via Channex Corps attendu (exemple): { "channel": "BookingCom", "settings": {"hotel_id": "5868189"} }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/test-connection" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"channel\": \"consequatur\",
    \"settings\": []
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/test-connection"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "channel": "consequatur",
    "settings": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/booking/test-connection

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

channel   string   

Example: consequatur

settings   object   

POST api/v1/ota/booking/connection-details

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/connection-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"channel\": \"consequatur\",
    \"settings\": []
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/connection-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "channel": "consequatur",
    "settings": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/booking/connection-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

channel   string   

Example: consequatur

settings   object   

Crée (ou met à jour) la connexion Booking.com pour une propriété Channex donnée

POST body attendu (exemple): { "credentials": { "hotel_id": "1234567", // identifiant Booking.com (fourni par la doc/partenaire) "legal_entity_id": "ABCDEF", // si requis "region": "EU" // si requis }, "options": { "auto_publish_ari": true } }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/connect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"credentials\": [],
    \"options\": {
        \"auto_publish_ari\": false
    }
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/connect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "credentials": [],
    "options": {
        "auto_publish_ari": false
    }
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/booking/properties/{propertyId}/connect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

credentials   object   
options   object  optional  
auto_publish_ari   boolean  optional  

Example: false

Mappe les Room Types et Rate Plans locaux avec Booking.com via Channex.

On récupère les external_id des ChannexRoomType/ChannexRatePlan et on crée les mappages côté channel.

POST body (exemple si Booking exige des codes côté OTA): { "mappings": [ { "room_type_external_id": "RT_abc123", "ota_room_code": "12345" }, { "rate_plan_external_id": "RP_def456", "ota_rate_code": "BAR" } ] }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/map" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"mappings\": [
        {
            \"room_type_external_id\": \"consequatur\",
            \"rate_plan_external_id\": \"consequatur\",
            \"ota_room_code\": \"consequatur\",
            \"ota_rate_code\": \"consequatur\"
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/map"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "mappings": [
        {
            "room_type_external_id": "consequatur",
            "rate_plan_external_id": "consequatur",
            "ota_room_code": "consequatur",
            "ota_rate_code": "consequatur"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/booking/properties/{propertyId}/map

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

mappings   object[]   

Must have at least 1 items.

room_type_external_id   string  optional  

Example: consequatur

rate_plan_external_id   string  optional  

Example: consequatur

ota_room_code   string  optional  

Example: consequatur

ota_rate_code   string  optional  

Example: consequatur

Publie Availability / Rates / Restrictions (ARI) vers Booking.com via Channex

Body (exemples simplifiés): { "availability": [ { ... } ], "rates": [ { ... } ] }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/publish-ari" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/publish-ari"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/ota/booking/properties/{propertyId}/publish-ari

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Récupère le statut de la connexion Booking.com pour une propriété

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/booking/properties/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ota/booking/properties/{propertyId}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Créer/mettre à jour la connexion Trip.com pour une propriété POST /trip/properties/{propertyId}/connect

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/connect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"hotel_code\": \"consequatur\",
    \"group_id\": \"98adc52b-966d-39db-809a-55902ee7228f\",
    \"title\": \"consequatur\",
    \"is_active\": false
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/connect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "hotel_code": "consequatur",
    "group_id": "98adc52b-966d-39db-809a-55902ee7228f",
    "title": "consequatur",
    "is_active": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/trip/properties/{propertyId}/connect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

hotel_code   string   

Example: consequatur

group_id   string   

Must be a valid UUID. Example: 98adc52b-966d-39db-809a-55902ee7228f

title   string  optional  

Example: consequatur

is_active   boolean  optional  

Example: false

Mapper Room Types / Rate Plans POST /trip/properties/{propertyId}/map

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/map" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"connection_id\": \"66529e01-d113-3473-8d6f-9e11e09332ea\",
    \"mappings\": [
        {
            \"rate_plan_id\": \"66529e01-d113-3473-8d6f-9e11e09332ea\",
            \"rate_plan_code\": \"consequatur\",
            \"room_type_code\": \"consequatur\",
            \"occupancy\": 17,
            \"primary_occ\": true
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/map"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "connection_id": "66529e01-d113-3473-8d6f-9e11e09332ea",
    "mappings": [
        {
            "rate_plan_id": "66529e01-d113-3473-8d6f-9e11e09332ea",
            "rate_plan_code": "consequatur",
            "room_type_code": "consequatur",
            "occupancy": 17,
            "primary_occ": true
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/trip/properties/{propertyId}/map

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

connection_id   string   

Must be a valid UUID. Example: 66529e01-d113-3473-8d6f-9e11e09332ea

mappings   object[]   
rate_plan_id   string   

Must be a valid UUID. Example: 66529e01-d113-3473-8d6f-9e11e09332ea

rate_plan_code   string   

Example: consequatur

room_type_code   string   

Example: consequatur

occupancy   integer   

Example: 17

primary_occ   boolean   

Example: true

Publier ARI (Availability, Rates, Inventory) POST /trip/properties/{propertyId}/publish-ari

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/publish-ari" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"connection_id\": \"66529e01-d113-3473-8d6f-9e11e09332ea\",
    \"start_date\": \"2025-12-19T17:33:03\",
    \"end_date\": \"2107-01-18\",
    \"room_types\": []
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/publish-ari"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "connection_id": "66529e01-d113-3473-8d6f-9e11e09332ea",
    "start_date": "2025-12-19T17:33:03",
    "end_date": "2107-01-18",
    "room_types": []
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/trip/properties/{propertyId}/publish-ari

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

connection_id   string   

Must be a valid UUID. Example: 66529e01-d113-3473-8d6f-9e11e09332ea

start_date   string   

Must be a valid date. Example: 2025-12-19T17:33:03

end_date   string   

Must be a valid date. Must be a date after start_date. Example: 2107-01-18

room_types   object   

Statut de la connexion GET /trip/properties/{propertyId}/status

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/trip/properties/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ota/trip/properties/{propertyId}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Créer/mettre à jour la connexion Hopper's Home pour une propriété POST /api/v1/hopper-homes/properties/{propertyId}/connect

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/connect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"host_email\": \"qkunze@example.com\",
    \"host_name\": \"opfuudtdsufvyvddqamni\",
    \"auto_publish\": true
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/connect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "host_email": "qkunze@example.com",
    "host_name": "opfuudtdsufvyvddqamni",
    "auto_publish": true
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/hopper-homes/properties/{propertyId}/connect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

host_email   string   

Must be a valid email address. Example: qkunze@example.com

host_name   string   

Must not be greater than 255 characters. Example: opfuudtdsufvyvddqamni

auto_publish   boolean  optional  

Example: true

Créer/éditer le listing sur Hopper's Home POST /api/v1/hopper-homes/properties/{propertyId}/listings

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/listings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/listings"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/ota/hopper-homes/properties/{propertyId}/listings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Configurer la tarification sur Hopper's Home POST /api/v1/hopper-homes/properties/{propertyId}/pricing

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/pricing" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"nightly_price\": 73,
    \"currency\": \"USD\",
    \"cancellation_policy\": \"moderate\",
    \"cleaning_fee\": 45,
    \"additional_guest_fee\": 56
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/pricing"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "nightly_price": 73,
    "currency": "USD",
    "cancellation_policy": "moderate",
    "cleaning_fee": 45,
    "additional_guest_fee": 56
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/hopper-homes/properties/{propertyId}/pricing

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

nightly_price   number   

Must be at least 0. Example: 73

currency   string   

Example: USD

Must be one of:
  • USD
cancellation_policy   string   

Example: moderate

Must be one of:
  • moderate
  • strict
  • non-refundable
cleaning_fee   number  optional  

Must be at least 0. Example: 45

additional_guest_fee   number  optional  

Must be at least 0. Example: 56

Configurer les règles de disponibilité POST /api/v1/hopper-homes/properties/{propertyId}/availability-rules

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/availability-rules" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"min_stay\": 73,
    \"max_stay\": 45,
    \"check_in_days\": [
        \"wed\"
    ],
    \"min_lead_time_hours\": 56,
    \"max_lead_time_days\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/availability-rules"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "min_stay": 73,
    "max_stay": 45,
    "check_in_days": [
        "wed"
    ],
    "min_lead_time_hours": 56,
    "max_lead_time_days": 17
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/hopper-homes/properties/{propertyId}/availability-rules

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

Body Parameters

min_stay   integer   

Must be at least 1. Example: 73

max_stay   integer  optional  

Must be at least 1. Example: 45

check_in_days   string[]  optional  
Must be one of:
  • mon
  • tue
  • wed
  • thu
  • fri
  • sat
  • sun
min_lead_time_hours   integer  optional  

Must be at least 0. Example: 56

max_lead_time_days   integer  optional  

Must be at least 1. Example: 17

Activer/désactiver le listing POST /api/v1/hopper-homes/properties/{propertyId}/listings/{listingId}/status

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/listings/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"archived\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/listings/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "archived"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/hopper-homes/properties/{propertyId}/listings/{listingId}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

listingId   string   

Example: consequatur

Body Parameters

status   string   

Example: archived

Must be one of:
  • active
  • inactive
  • archived

Statut de la connexion Hopper's Home GET /api/v1/hopper-homes/properties/{propertyId}/status

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/hopper-homes/properties/consequatur/status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ota/hopper-homes/properties/{propertyId}/status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   string   

Example: consequatur

GET api/v1/ota/google-hotel-ads/google-hotel-ads

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ota/google-hotel-ads/google-hotel-ads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/ota/google-hotel-ads/google-hotel-ads

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"group_id\": \"462ee709-6d9f-345a-95e6-76f833111fb8\",
    \"properties\": [
        \"1915c795-5d1c-3def-965b-5abe034dd150\"
    ],
    \"booking_link\": \"http:\\/\\/www.grady.com\\/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus\",
    \"bathrooms_count\": 21,
    \"bedrooms_count\": 26,
    \"beds_count\": 12,
    \"rate_plans\": [
        {
            \"rate_plan_id\": \"256a184d-8b0c-30c1-bc2a-067c1083249f\"
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "group_id": "462ee709-6d9f-345a-95e6-76f833111fb8",
    "properties": [
        "1915c795-5d1c-3def-965b-5abe034dd150"
    ],
    "booking_link": "http:\/\/www.grady.com\/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus",
    "bathrooms_count": 21,
    "bedrooms_count": 26,
    "beds_count": 12,
    "rate_plans": [
        {
            "rate_plan_id": "256a184d-8b0c-30c1-bc2a-067c1083249f"
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/google-hotel-ads/google-hotel-ads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

group_id   string   

Must be a valid UUID. Example: 462ee709-6d9f-345a-95e6-76f833111fb8

properties   string[]  optional  

Must be a valid UUID.

booking_link   string   

Must be a valid URL. Example: http://www.grady.com/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus

bathrooms_count   integer  optional  

Must be at least 0. Example: 21

bedrooms_count   integer  optional  

Must be at least 0. Example: 26

beds_count   integer   

Must be at least 1. Example: 12

rate_plans   object[]  optional  
rate_plan_id   string   

Must be a valid UUID. Example: 256a184d-8b0c-30c1-bc2a-067c1083249f

PUT api/v1/ota/google-hotel-ads/google-hotel-ads/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"group_id\": \"462ee709-6d9f-345a-95e6-76f833111fb8\",
    \"properties\": [
        \"1915c795-5d1c-3def-965b-5abe034dd150\"
    ],
    \"booking_link\": \"http:\\/\\/www.grady.com\\/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus\",
    \"bathrooms_count\": 21,
    \"bedrooms_count\": 26,
    \"beds_count\": 12,
    \"is_active\": false,
    \"rate_plans\": [
        {
            \"rate_plan_id\": \"256a184d-8b0c-30c1-bc2a-067c1083249f\"
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "group_id": "462ee709-6d9f-345a-95e6-76f833111fb8",
    "properties": [
        "1915c795-5d1c-3def-965b-5abe034dd150"
    ],
    "booking_link": "http:\/\/www.grady.com\/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus",
    "bathrooms_count": 21,
    "bedrooms_count": 26,
    "beds_count": 12,
    "is_active": false,
    "rate_plans": [
        {
            "rate_plan_id": "256a184d-8b0c-30c1-bc2a-067c1083249f"
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/ota/google-hotel-ads/google-hotel-ads/{id}

PATCH api/v1/ota/google-hotel-ads/google-hotel-ads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the google hotel ad. Example: consequatur

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

group_id   string   

Must be a valid UUID. Example: 462ee709-6d9f-345a-95e6-76f833111fb8

properties   string[]  optional  

Must be a valid UUID.

booking_link   string   

Must be a valid URL. Example: http://www.grady.com/aspernatur-natus-earum-quas-dignissimos-perferendis-voluptatibus

bathrooms_count   integer  optional  

Must be at least 0. Example: 21

bedrooms_count   integer  optional  

Must be at least 0. Example: 26

beds_count   integer   

Must be at least 1. Example: 12

is_active   boolean  optional  

Example: false

rate_plans   object[]  optional  
rate_plan_id   string   

Must be a valid UUID. Example: 256a184d-8b0c-30c1-bc2a-067c1083249f

DELETE api/v1/ota/google-hotel-ads/google-hotel-ads/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/google-hotel-ads/google-hotel-ads/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/ota/google-hotel-ads/google-hotel-ads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the google hotel ad. Example: consequatur

GET api/v1/ota/expedia/expedia

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/ota/expedia/expedia

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/ota/expedia/expedia

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"group_id\": \"98adc52b-966d-39db-809a-55902ee7228f\",
    \"property_id\": \"d48a46b6-3a18-3763-951d-66b7fdb284ae\",
    \"hotel_id\": \"consequatur\",
    \"min_stay_type\": \"Through\",
    \"rate_plans\": [
        {
            \"rate_plan_id\": \"66529e01-d113-3473-8d6f-9e11e09332ea\",
            \"settings\": {
                \"rate_plan_code\": 17,
                \"room_type_code\": 17,
                \"occupancy\": 17,
                \"pricing_type\": \"consequatur\",
                \"primary_occ\": true
            }
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "group_id": "98adc52b-966d-39db-809a-55902ee7228f",
    "property_id": "d48a46b6-3a18-3763-951d-66b7fdb284ae",
    "hotel_id": "consequatur",
    "min_stay_type": "Through",
    "rate_plans": [
        {
            "rate_plan_id": "66529e01-d113-3473-8d6f-9e11e09332ea",
            "settings": {
                "rate_plan_code": 17,
                "room_type_code": 17,
                "occupancy": 17,
                "pricing_type": "consequatur",
                "primary_occ": true
            }
        }
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/expedia/expedia

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Example: consequatur

group_id   string   

Must be a valid UUID. Example: 98adc52b-966d-39db-809a-55902ee7228f

property_id   string   

Must be a valid UUID. Example: d48a46b6-3a18-3763-951d-66b7fdb284ae

hotel_id   string   

Example: consequatur

min_stay_type   string   

Example: Through

Must be one of:
  • Arrival
  • Through
rate_plans   object[]   
rate_plan_id   string   

Must be a valid UUID. Example: 66529e01-d113-3473-8d6f-9e11e09332ea

settings   object  optional  
rate_plan_code   integer   

Example: 17

room_type_code   integer   

Example: 17

occupancy   integer   

Example: 17

pricing_type   string   

Example: consequatur

primary_occ   boolean   

Example: true

PUT api/v1/ota/expedia/expedia/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"consequatur\",
    \"group_id\": \"98adc52b-966d-39db-809a-55902ee7228f\",
    \"property_id\": \"d48a46b6-3a18-3763-951d-66b7fdb284ae\",
    \"hotel_id\": \"consequatur\",
    \"min_stay_type\": \"Through\",
    \"is_active\": false,
    \"rate_plans\": [
        {
            \"rate_plan_id\": \"66529e01-d113-3473-8d6f-9e11e09332ea\",
            \"settings\": {
                \"rate_plan_code\": 17,
                \"room_type_code\": 17,
                \"occupancy\": 17,
                \"pricing_type\": \"consequatur\",
                \"primary_occ\": false
            }
        }
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "consequatur",
    "group_id": "98adc52b-966d-39db-809a-55902ee7228f",
    "property_id": "d48a46b6-3a18-3763-951d-66b7fdb284ae",
    "hotel_id": "consequatur",
    "min_stay_type": "Through",
    "is_active": false,
    "rate_plans": [
        {
            "rate_plan_id": "66529e01-d113-3473-8d6f-9e11e09332ea",
            "settings": {
                "rate_plan_code": 17,
                "room_type_code": 17,
                "occupancy": 17,
                "pricing_type": "consequatur",
                "primary_occ": false
            }
        }
    ]
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/ota/expedia/expedia/{id}

PATCH api/v1/ota/expedia/expedia/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expedium. Example: consequatur

Body Parameters

title   string   

Example: consequatur

group_id   string   

Must be a valid UUID. Example: 98adc52b-966d-39db-809a-55902ee7228f

property_id   string   

Must be a valid UUID. Example: d48a46b6-3a18-3763-951d-66b7fdb284ae

hotel_id   string   

Example: consequatur

min_stay_type   string   

Example: Through

Must be one of:
  • Arrival
  • Through
is_active   boolean  optional  

Example: false

rate_plans   object[]   
rate_plan_id   string   

Must be a valid UUID. Example: 66529e01-d113-3473-8d6f-9e11e09332ea

settings   object  optional  
rate_plan_code   integer   

Example: 17

room_type_code   integer   

Example: 17

occupancy   integer   

Example: 17

pricing_type   string   

Example: consequatur

primary_occ   boolean   

Example: false

DELETE api/v1/ota/expedia/expedia/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/expedia/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/ota/expedia/expedia/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expedium. Example: consequatur

POST api/v1/ota/expedia/test-connection

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/test-connection" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"hotel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/test-connection"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "hotel_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/expedia/test-connection

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

hotel_id   string   

Example: consequatur

POST api/v1/ota/expedia/mapping-details

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/mapping-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"hotel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/mapping-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "hotel_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/expedia/mapping-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

hotel_id   string   

Example: consequatur

POST api/v1/ota/expedia/connection-details

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/connection-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"hotel_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/ota/expedia/connection-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "hotel_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/ota/expedia/connection-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

hotel_id   string   

Example: consequatur

Récupère le mapping OTA pour Agoda.

POST /api/v1/agoda/map/agoda Body: { "hotel_id": "xxxx" }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/map/agoda" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/map/agoda"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/agoda/map/agoda

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Crée le channel Agoda sur Channex pour une propriété donnée.

POST /api/v1/agoda/create/channel Body: { "group_id": "...", "property_id": "...", "hotel_id": "...", "rate_plans": [...] }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/create/channel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/create/channel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/agoda/create/channel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Récupère les détails de connexion Agoda via Channex.

POST /api/v1/agoda/connection-details Body: { "hotel_id": "xxxx" }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/connection-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/agoda/connection-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/agoda/connection-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Récupère le mapping OTA pour Agoda.

POST /api/v1/agoda/map/agoda Body: { "hotel_id": "xxxx" }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/map/traveloka" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/map/traveloka"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/traveloka/map/traveloka

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Crée le channel Agoda sur Channex pour une propriété donnée.

POST /api/v1/agoda/create/channel Body: { "group_id": "...", "property_id": "...", "hotel_id": "...", "rate_plans": [...] }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/create/channel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/create/channel"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/traveloka/create/channel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

roomTypesOptions - Ces deux endpoints attendent un paramètre de query filter[property_id].

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/room-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/room-types"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/traveloka/room-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

ratePlansOptions : - Ces deux endpoints attendent un paramètre de query filter[property_id].

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/rate-plans" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/traveloka/rate-plans"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/traveloka/rate-plans

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/currencies

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/currencies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/currencies/convert

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/convert" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 73,
    \"from\": \"consequatur\",
    \"to\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/convert"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "amount": 73,
    "from": "consequatur",
    "to": "consequatur"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/currencies/convert

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

amount   number   

Must be at least 0. Example: 73

from   string   

The code of an existing record in the currencies table. Example: consequatur

to   string   

The code of an existing record in the currencies table. Example: consequatur

GET api/v1/currencies/convert-by-id

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/convert-by-id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 73,
    \"from_id\": 17,
    \"to_id\": 17
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/convert-by-id"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "amount": 73,
    "from_id": 17,
    "to_id": 17
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/currencies/convert-by-id

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

amount   number   

Must be at least 0. Example: 73

from_id   integer   

The id of an existing record in the currencies table. Example: 17

to_id   integer   

The id of an existing record in the currencies table. Example: 17

GET api/v1/currencies/exchange-rate

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/exchange-rate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fromCode\": \"consequatur\",
    \"toCode\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/exchange-rate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "fromCode": "consequatur",
    "toCode": "consequatur"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/currencies/exchange-rate

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

fromCode   string   

The code of an existing record in the currencies table. Example: consequatur

toCode   string   

The code of an existing record in the currencies table. Example: consequatur

GET api/v1/currencies/default-currency

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/default-currency" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/default-currency"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/currencies/default-currency

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/currencies/active-currency

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/active-currency" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/active-currency"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/currencies/active-currency

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/currencies/set-default

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/set-default" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"currency_code\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/set-default"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "currency_code": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/currencies/set-default

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

currency_code   string   

The code of an existing record in the currencies table. Example: consequatur

POST api/v1/currencies/update-rates

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/update-rates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/update-rates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/currencies/update-rates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/currencies/toggle-status

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/toggle-status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"currency_code\": \"consequatur\",
    \"is_active\": false
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/currencies/toggle-status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "currency_code": "consequatur",
    "is_active": false
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/currencies/toggle-status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

currency_code   string   

The code of an existing record in the currencies table. Example: consequatur

is_active   boolean   

Example: false

GET api/v1/document_shared_mail

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document_shared_mail" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document_shared_mail"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/document_shared_mail

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Liste toutes les catégories avec leurs templates GET /api/notifications/categories

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/categories"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Liste les templates d'une catégorie avec leurs configurations GET /api/notifications/categories/{categorySlug}/templates

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/categories/consequatur/templates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/categories/consequatur/templates"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/categories/{categorySlug}/templates

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

categorySlug   string   

Example: consequatur

Récupère les détails d'un template spécifique GET /api/notifications/templates/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/templates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the template. Example: consequatur

Active/Désactive un template PATCH /api/notifications/templates/{id}/toggle

Example request:
curl --request PATCH \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur/toggle" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur/toggle"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PATCH",
    headers,
}).then(response => response.json());

Request      

PATCH api/v1/mail-notifications/templates/{id}/toggle

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the template. Example: consequatur

Liste les placeholders disponibles pour un template GET /api/notifications/templates/{id}/placeholders

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur/placeholders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/templates/consequatur/placeholders"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/templates/{id}/placeholders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the template. Example: consequatur

Historique des notifications envoyées GET /api/notifications/sent

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/sent

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Détails d'une notification envoyée GET /api/notifications/sent/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/sent/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sent. Example: consequatur

Renvoyer une notification échouée POST /api/notifications/sent/{id}/retry

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent/consequatur/retry" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/sent/consequatur/retry"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/mail-notifications/sent/{id}/retry

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sent. Example: consequatur

Statistiques des notifications GET /api/notifications/stats

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/stats" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/mail-notifications/stats"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/mail-notifications/stats

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Liste tous les documents disponibles

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/documents

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Récupère les informations d'un document spécifique

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/documents/{filename}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

filename   string   

Example: consequatur

Génère la configuration pour l'éditeur OnlyOffice (pour iframe)

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/editor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"file_url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\",
    \"mode\": \"view\",
    \"document_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/editor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "file_url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html",
    "mode": "view",
    "document_id": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/onlyoffice/editor

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

file_url   string  optional  

'file_url' n'est plus strictement requis si on passe un document_id valide. Must be a valid URL. Example: http://kunze.biz/iste-laborum-eius-est-dolor.html

mode   string  optional  

Example: view

Must be one of:
  • edit
  • view
document_id   string   

Example: consequatur

Génère une URL complète pour l'iframe OnlyOffice

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/iframe" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"file_url\": \"http:\\/\\/kunze.biz\\/iste-laborum-eius-est-dolor.html\",
    \"mode\": \"edit\",
    \"document_id\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/iframe"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "file_url": "http:\/\/kunze.biz\/iste-laborum-eius-est-dolor.html",
    "mode": "edit",
    "document_id": "consequatur"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/onlyoffice/iframe

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

file_url   string  optional  

Must be a valid URL. Example: http://kunze.biz/iste-laborum-eius-est-dolor.html

mode   string  optional  

Example: edit

Must be one of:
  • edit
  • view
document_id   string   

Example: consequatur

Proxy pour le script OnlyOffice (évite les problèmes CORS)

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/script" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/script"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/onlyoffice/script

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Callback OnlyOffice pour recevoir les modifications du document

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/onlyoffice/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/onlyoffice/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Servir les documents du dossier public/document_pdf Cette route permet à OnlyOffice d'accéder aux documents

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document_pdf/2UZ5i" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/document_pdf/2UZ5i"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/document_pdf/{filename}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

filename   string   

Example: 2UZ5i

Ouvrir un document partagé via un lien public dans OnlyOffice.

GET /api/v1/documents/share/{token}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents/share/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/documents/share/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/documents/share/{token}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

token   string   

Example: consequatur

Créer un compte Nextcloud pour l'utilisateur connecté

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account/create" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account/create"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/nextcloud/account/create

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Obtenir les informations du compte Nextcloud

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/nextcloud/account

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Obtenir les informations d'authentification pour se connecter à Nextcloud

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account/credentials" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/account/credentials"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/nextcloud/account/credentials

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Créer un dossier dans Nextcloud

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/folder" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"folder_name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/folder"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "folder_name": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/nextcloud/folder

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

folder_name   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

Upload un fichier vers Nextcloud

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/upload" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "path=consequatur"\
    --form "file=@C:\Users\fgh\AppData\Local\Temp\php4160.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/upload"
);

const headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('path', 'consequatur');
body.append('file', document.querySelector('input[name="file"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Request      

POST api/v1/nextcloud/upload

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

file   file   

Must be a file. Must not be greater than 102400 kilobytes. Example: C:\Users\fgh\AppData\Local\Temp\php4160.tmp

path   string  optional  

100 MB max. Example: consequatur

Créer un lien de partage public

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/share" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"path\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/share"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "path": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/nextcloud/share

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

path   string   

Example: consequatur

Redirection vers Nextcloud avec auto-login (nouvel onglet)

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/redirect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/redirect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/nextcloud/redirect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST /api/v1/nextcloud/generate-link

Retourne un lien que le frontend peut utiliser Le client clique sur ce lien et est redirigé vers Nextcloud

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/generate-link" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/generate-link"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Lister les documents Nextcloud de l'utilisateur

GET /api/v1/nextcloud/documents

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/nextcloud/documents

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Ouvrir un document dans OnlyOffice

POST /api/v1/nextcloud/documents/open Body: { "file_path": "/Documents/fichier.docx" }

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/open" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"file_path\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/open"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "file_path": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/nextcloud/documents/open

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

file_path   string   

Example: consequatur

Générer une page HTML avec OnlyOffice intégré

GET /api/v1/nextcloud/documents/editor?file_path=/Documents/fichier.docx

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/editor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"file_path\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/editor"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "file_path": "consequatur"
};

fetch(url, {
    method: "GET",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

GET api/v1/nextcloud/documents/editor

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

file_path   string   

Example: consequatur

Callback OnlyOffice pour la sauvegarde

POST /api/v1/nextcloud/documents/callback

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/callback" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/documents/callback"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/v1/nextcloud/documents/callback

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Endpoint UserInfo pour OAuth2/OIDC

GET /oauth/userinfo

Retourne les informations de l'utilisateur authentifié

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/oauth/userinfo" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/oauth/userinfo"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/oauth/userinfo

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

⭐ Redirection SSO vers Nextcloud (OAuth2)

GET /api/v1/nextcloud/sso-redirect

Redirige l'utilisateur vers Nextcloud avec authentification SSO automatique

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/sso-redirect" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/nextcloud/sso-redirect"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/nextcloud/sso-redirect

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Endpoint Discovery pour OpenID Connect

GET /.well-known/openid-configuration

Retourne la configuration OIDC du serveur

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/.well-known/openid-configuration" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/.well-known/openid-configuration"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/.well-known/openid-configuration

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Endpoint JWKS (JSON Web Key Set)

GET /oauth/jwks

Retourne les clés publiques pour vérifier les JWT

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/oauth/jwks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/oauth/jwks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/oauth/jwks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Récupérer les filtres disponibles (Public) GET /api/v1/job-offers/filters

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/filters" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/filters"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/job-offers/filters

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Liste des offres d'emploi (Public) GET /api/v1/job-offers

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/job-offers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Détails d'une offre d'emploi (Public) GET /api/v1/job-offers/{id}

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/job-offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the job offer. Example: consequatur

Créer une offre d'emploi (Admin) POST /api/v1/job-offers

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"department\": \"amniihfqcoynlazghdtqt\",
    \"location\": \"qxbajwbpilpmufinllwlo\",
    \"type\": \"auydlsmsjuryvojcybzvr\",
    \"experience\": \"byickznkygloigmkwxphl\",
    \"salary\": \"vazjrcnfbaqywuxhgjjmz\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"full_description\": \"consequatur\",
    \"responsibilities\": [
        \"consequatur\"
    ],
    \"requirements\": [
        \"consequatur\"
    ],
    \"benefits\": [
        \"consequatur\"
    ],
    \"contact_email\": \"carolyne.luettgen@example.org\",
    \"contact_phone\": \"fuudtdsufvyvddqamniih\",
    \"contact_name\": \"fqcoynlazghdtqtqxbajw\",
    \"is_active\": false,
    \"expires_at\": \"2025-12-19T17:33:04\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "department": "amniihfqcoynlazghdtqt",
    "location": "qxbajwbpilpmufinllwlo",
    "type": "auydlsmsjuryvojcybzvr",
    "experience": "byickznkygloigmkwxphl",
    "salary": "vazjrcnfbaqywuxhgjjmz",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "full_description": "consequatur",
    "responsibilities": [
        "consequatur"
    ],
    "requirements": [
        "consequatur"
    ],
    "benefits": [
        "consequatur"
    ],
    "contact_email": "carolyne.luettgen@example.org",
    "contact_phone": "fuudtdsufvyvddqamniih",
    "contact_name": "fqcoynlazghdtqtqxbajw",
    "is_active": false,
    "expires_at": "2025-12-19T17:33:04"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/v1/job-offers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

department   string   

Must not be greater than 100 characters. Example: amniihfqcoynlazghdtqt

location   string   

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

type   string   

Must not be greater than 50 characters. Example: auydlsmsjuryvojcybzvr

experience   string   

Must not be greater than 100 characters. Example: byickznkygloigmkwxphl

salary   string   

Must not be greater than 100 characters. Example: vazjrcnfbaqywuxhgjjmz

description   string   

Example: Dolores dolorum amet iste laborum eius est dolor.

full_description   string   

Example: consequatur

responsibilities   string[]  optional  
requirements   string[]  optional  
benefits   string[]  optional  
contact_email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: carolyne.luettgen@example.org

contact_phone   string  optional  

Must not be greater than 50 characters. Example: fuudtdsufvyvddqamniih

contact_name   string  optional  

Must not be greater than 255 characters. Example: fqcoynlazghdtqtqxbajw

is_active   boolean  optional  

Example: false

expires_at   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:04

Modifier une offre d'emploi (Admin) PUT /api/v1/job-offers/{id}

Example request:
curl --request PUT \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\",
    \"department\": \"amniihfqcoynlazghdtqt\",
    \"location\": \"qxbajwbpilpmufinllwlo\",
    \"type\": \"auydlsmsjuryvojcybzvr\",
    \"experience\": \"byickznkygloigmkwxphl\",
    \"salary\": \"vazjrcnfbaqywuxhgjjmz\",
    \"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
    \"full_description\": \"consequatur\",
    \"responsibilities\": [
        \"consequatur\"
    ],
    \"requirements\": [
        \"consequatur\"
    ],
    \"benefits\": [
        \"consequatur\"
    ],
    \"contact_email\": \"carolyne.luettgen@example.org\",
    \"contact_phone\": \"fuudtdsufvyvddqamniih\",
    \"contact_name\": \"fqcoynlazghdtqtqxbajw\",
    \"is_new\": false,
    \"is_active\": true,
    \"expires_at\": \"2025-12-19T17:33:04\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq",
    "department": "amniihfqcoynlazghdtqt",
    "location": "qxbajwbpilpmufinllwlo",
    "type": "auydlsmsjuryvojcybzvr",
    "experience": "byickznkygloigmkwxphl",
    "salary": "vazjrcnfbaqywuxhgjjmz",
    "description": "Dolores dolorum amet iste laborum eius est dolor.",
    "full_description": "consequatur",
    "responsibilities": [
        "consequatur"
    ],
    "requirements": [
        "consequatur"
    ],
    "benefits": [
        "consequatur"
    ],
    "contact_email": "carolyne.luettgen@example.org",
    "contact_phone": "fuudtdsufvyvddqamniih",
    "contact_name": "fqcoynlazghdtqtqxbajw",
    "is_new": false,
    "is_active": true,
    "expires_at": "2025-12-19T17:33:04"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/v1/job-offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the job offer. Example: consequatur

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

department   string  optional  

Must not be greater than 100 characters. Example: amniihfqcoynlazghdtqt

location   string  optional  

Must not be greater than 255 characters. Example: qxbajwbpilpmufinllwlo

type   string  optional  

Must not be greater than 50 characters. Example: auydlsmsjuryvojcybzvr

experience   string  optional  

Must not be greater than 100 characters. Example: byickznkygloigmkwxphl

salary   string  optional  

Must not be greater than 100 characters. Example: vazjrcnfbaqywuxhgjjmz

description   string  optional  

Example: Dolores dolorum amet iste laborum eius est dolor.

full_description   string  optional  

Example: consequatur

responsibilities   string[]  optional  
requirements   string[]  optional  
benefits   string[]  optional  
contact_email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: carolyne.luettgen@example.org

contact_phone   string  optional  

Must not be greater than 50 characters. Example: fuudtdsufvyvddqamniih

contact_name   string  optional  

Must not be greater than 255 characters. Example: fqcoynlazghdtqtqxbajw

is_new   boolean  optional  

Example: false

is_active   boolean  optional  

Example: true

expires_at   string  optional  

Must be a valid date. Example: 2025-12-19T17:33:04

Supprimer une offre d'emploi (Admin) DELETE /api/v1/job-offers/{id}

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/job-offers/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/v1/job-offers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the job offer. Example: consequatur

Paiements

Mini description: Liste paginée des paiements avec filtres (statut, mois, année, propriété) et regroupement par propriété.

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 101,
                "status": "completed",
                "reservation": {
                    "id": 45,
                    "property": {
                        "id": 12,
                        "public_name": "Villa Océane"
                    }
                }
            }
        ],
        "per_page": 20,
        "total": 1
    }
}
 

Example response (403):


{
    "success": false,
    "message": "Accès non autorisé."
}
 

Request      

GET api/v1/payments

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

Mini description: Détails d’un paiement (montant, statut, réservation, propriété, utilisateur).

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/17" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/payments/17"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "id": 101,
    "amount": 500,
    "status": "paid",
    "reservation": {
        "id": 45,
        "property": {
            "id": 12,
            "public_name": "Villa Océane"
        },
        "user": {
            "id": 7,
            "name": "John Doe",
            "email": "john@example.com"
        }
    }
}
 

Example response (403):


{
    "success": false,
    "message": "Accès refusé"
}
 

Example response (404):


{
    "success": false,
    "message": "Payment not found"
}
 

Request      

GET api/v1/payments/{id}

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

ID du paiement. Exemple: 101 Example: 17

Propriétés

Mini description: Liste paginée des propriétés avec filtres et indicateur de disponibilité.

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/recommended" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/recommended"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "message": "Properties retrieved successfully",
    "data": {
        "data": [
            {
                "id": 1,
                "public_name": "Villa",
                "total_comments": 0
            }
        ]
    }
}
 

Example response (401):


{"error":"Unauthorized"}
Récupère une liste paginée de propriétés recommandées pour l'utilisateur authentifié.

- Si l'utilisateur a le rôle "admin_proprio", seules ses propriétés recommandées actives sont retournées.
- Sinon, toutes les propriétés recommandées actives sont retournées.
- Les propriétés incluent leurs médias et commodités associés.
- Pour chaque propriété, la disponibilité (réservée ou non) est calculée selon les dates fournies.
 

Mini description: Liste paginée des propriétés de l'utilisateur synchronisées avec Channex.

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/synced" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/synced"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties/synced

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

Mini description: Détails complets d’une propriété (relations, dates réservées, propriétaire).

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "message": "Property retrieved successfully",
    "data": {
        "id": 12,
        "public_name": "Villa Océane",
        "reserved_dates": [],
        "total_comments": 0
    }
}
 

Example response (404):


{
    "error": "Property not found"
}
 

Example response (500):


{
    "error": "Failed to retrieve property"
}
 

Request      

GET api/v1/properties/{property_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

property_id   integer   

ID de la propriété. Exemple: 12 Example: 17

} } } ) ),

@OA\Response( response=500, description="Server error",

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Request      

GET api/v1/properties

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Réservations

GET api/v1/reservations/reservations-by-properties

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/reservations-by-properties" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations/reservations-by-properties"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "current_page": 1,
        "data": []
    },
    "message": "Reservations retrieved successfully"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to retrieve reservations"
}
 

Request      

GET api/v1/reservations/reservations-by-properties

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/v1/reservations

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "current_page": 1,
        "data": []
    },
    "message": "Reservations retrieved successfully"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to retrieve reservations"
}
 

Request      

GET api/v1/reservations

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/v1/reservations

requires authentication

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"property_id\": 17,
    \"checkin_date\": \"consequatur\",
    \"checkout_date\": \"consequatur\",
    \"guests\": [
        \"consequatur\"
    ],
    \"status\": \"consequatur\",
    \"rooms\": [
        {
            \"rooms_count\": 73
        }
    ],
    \"promo_code\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/reservations"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "property_id": 17,
    "checkin_date": "consequatur",
    "checkout_date": "consequatur",
    "guests": [
        "consequatur"
    ],
    "status": "consequatur",
    "rooms": [
        {
            "rooms_count": 73
        }
    ],
    "promo_code": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
    "success": true,
    "data": {
        "reservation": {
            "id": 1
        },
        "total_price": 750
    },
    "message": "Reservation created successfully"
}
 

Example response (400):


{
    "success": false,
    "message": "Validation Error",
    "data": {
        "property_id": [
            "The property id field is required."
        ]
    }
}
 

Example response (404):


{
    "success": false,
    "message": "Property not found"
}
 

Example response (409):


{
    "success": false,
    "message": "La propriété est déjà réservée sur cette période"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to create reservation"
}
 

Request      

POST api/v1/reservations

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

property_id   integer   

ID de la propriété. Exemple: 1 Example: 17

checkin_date   date   

Date d'arrivée (YYYY-MM-DD). Exemple: 2024-06-15 Example: consequatur

checkout_date   date   

Date de départ (YYYY-MM-DD). Exemple: 2024-06-20 Example: consequatur

guests   string[]   

Liste des invités. Exemple: [{"first_name":"John","last_name":"Doe","age":30}]

status   string   

Statut initial. Exemple: pending Example: consequatur

rooms   object[]  optional  

Validation des chambres si tableau présent.

room_type_id   string  optional  

This field is required when rooms is present. The id of an existing record in the channex_room_types table.

rate_plan_id   string  optional  

The id of an existing record in the channex_rate_plans table.

rooms_count   integer  optional  

Must be at least 1. Example: 73

promo_code   string  optional  

Code promo. Exemple: SUMMER2024 Example: consequatur

Smart Locks

POST api/v1/properties/{propertyId}/smart-lock/configure

requires authentication

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/configure" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"smart_lock_provider_id\": 17,
    \"smart_lock_id\": 17,
    \"smart_lock_config\": [],
    \"smart_lock_status\": \"consequatur\"
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/configure"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "smart_lock_provider_id": 17,
    "smart_lock_id": 17,
    "smart_lock_config": [],
    "smart_lock_status": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "id": 12,
        "smart_lock_status": "active"
    },
    "message": "Serrure smart lock configurée avec succès"
}
 

Example response (403):


{
    "success": false,
    "message": "Vous n'êtes pas autorisé à configurer cette propriété"
}
 

Example response (422):


{
    "success": false,
    "message": "Validation failed"
}
 

Example response (500):


{
    "success": false,
    "message": "Erreur lors de la configuration de la serrure"
}
 

Request      

POST api/v1/properties/{propertyId}/smart-lock/configure

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   integer   

ID de la propriété. Exemple: 12 Example: 17

Body Parameters

smart_lock_provider_id   integer   

ID du fournisseur de serrure. Exemple: 1 Example: 17

smart_lock_id   integer   

ID de la serrure. Exemple: 10 Example: 17

smart_lock_config   object  optional  

Config additionnelle. Exemple: {"auto_lock": true, "timeout": 30}

smart_lock_status   string  optional  

Statut de la serrure. Exemple: active Example: consequatur

GET api/v1/properties/{propertyId}/smart-lock/info

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/info" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/info"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "has_smart_lock": true,
        "status": "active"
    },
    "message": "Informations de la serrure smart lock récupérées"
}
 

Example response (403):


{
    "success": false,
    "message": "Vous n'êtes pas autorisé à voir cette propriété"
}
 

Example response (404):


{
    "success": false,
    "message": "Property not found"
}
 

Example response (500):


{
    "success": false,
    "message": "Erreur lors de la récupération des informations"
}
 

Request      

GET api/v1/properties/{propertyId}/smart-lock/info

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   integer   

ID de la propriété. Exemple: 12 Example: 17

GET api/v1/properties/{propertyId}/smart-lock/access-codes

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/access-codes" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/access-codes"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": [
        {
            "code": "123456",
            "valid_from": "2025-08-01T09:00:00Z"
        }
    ],
    "message": "Codes d'accès actifs récupérés"
}
 

Example response (403):


{
    "success": false,
    "message": "Accès non autorisé"
}
 

Example response (404):


{
    "success": false,
    "message": "Property not found"
}
 

Example response (500):


{
    "success": false,
    "message": "Erreur lors de la récupération des codes d'accès"
}
 

Request      

GET api/v1/properties/{propertyId}/smart-lock/access-codes

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   integer   

ID de la propriété. Exemple: 12 Example: 17

GET api/v1/properties/{propertyId}/smart-lock/access-codes/history

requires authentication

Example request:
curl --request GET \
    --get "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/access-codes/history" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/properties/17/smart-lock/access-codes/history"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "message": "Historique des codes d'accès récupéré",
    "data": []
}
 

Example response (401):


{
    "error": "Unauthorized"
}
 

Example response (403):


{
    "error": "Accès non autorisé"
}
 

Example response (404):


{
    "error": "Property not found"
}
 

Example response (500):


{
    "error": "Erreur lors de la récupération de l'historique"
}
 

Request      

GET api/v1/properties/{propertyId}/smart-lock/access-codes/history

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

propertyId   integer   

ID de la propriété. Exemple: 12 Example: 17

Tâches

POST api/v1/tasks/{task}/assign-users

requires authentication

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/17/assign-users" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_ids\": [
        \"consequatur\"
    ]
}"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/tasks/17/assign-users"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "user_ids": [
        "consequatur"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "message": "Users assigned to task successfully",
    "data": {
        "id": 1,
        "title": "Nouvelle tâche",
        "users": [
            {
                "id": 1,
                "name": "Jean Dupont",
                "email": "jean@example.com"
            },
            {
                "id": 2,
                "name": "Marie Curie",
                "email": "marie@example.com"
            }
        ]
    }
}
 

Example response (400):


{
    "success": false,
    "message": "Validation error",
    "data": {
        "user_ids": [
            "The selected user_ids.1 is invalid."
        ]
    }
}
 

Example response (404):


{
    "success": false,
    "message": "Task not found"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to assign users to task"
}
 

Request      

POST api/v1/tasks/{task}/assign-users

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

task   integer   

ID de la tâche. Exemple: 1 Example: 17

Body Parameters

user_ids   string[]   

Liste des IDs d'utilisateurs à assigner. Exemple: [1,2,3]

Utilisateur

POST api/v1/user/update

requires authentication

Example request:
curl --request POST \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/update" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "username=consequatur"\
    --form "first_name=consequatur"\
    --form "last_name=consequatur"\
    --form "job=consequatur"\
    --form "location=consequatur"\
    --form "phone=consequatur"\
    --form "email=qkunze@example.com"\
    --form "password=O[2UZ5ij-e/dl4m{o,"\
    --form "password_confirmation=consequatur"\
    --form "avatar=@C:\Users\fgh\AppData\Local\Temp\php31B9.tmp" 
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/update"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('username', 'consequatur');
body.append('first_name', 'consequatur');
body.append('last_name', 'consequatur');
body.append('job', 'consequatur');
body.append('location', 'consequatur');
body.append('phone', 'consequatur');
body.append('email', 'qkunze@example.com');
body.append('password', 'O[2UZ5ij-e/dl4m{o,');
body.append('password_confirmation', 'consequatur');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": {
        "id": 1,
        "username": "john_doe"
    },
    "message": "User informations updated successfully"
}
 

Example response (400):


{
    "success": false,
    "message": "Require fields error",
    "data": {
        "email": [
            "The email has already been taken."
        ]
    }
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to update user"
}
 

Request      

POST api/v1/user/update

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

username   string  optional  

Nom d'utilisateur. Exemple: john_doe Example: consequatur

first_name   string  optional  

Prénom. Exemple: John Example: consequatur

last_name   string  optional  

Nom. Exemple: Doe Example: consequatur

job   string  optional  

Métier. Exemple: Développeur Example: consequatur

country_id   string  optional  

The id of an existing record in the countries table.

location   string  optional  

Localisation. Exemple: Paris Example: consequatur

phone   string  optional  

Téléphone. Exemple: +33612345678 Example: consequatur

email   string  optional  

Email. Exemple: john.doe@example.com Example: qkunze@example.com

avatar   file  optional  

Avatar (jpeg/png/webp <= 5MB) Example: C:\Users\fgh\AppData\Local\Temp\php31B9.tmp

password   string  optional  

Nouveau mot de passe (min 6) + confirmation. Example: O[2UZ5ij-e/dl4m{o,

password_confirmation   string  optional  

Confirmation du mot de passe. Example: consequatur

DELETE api/v1/user/delete

requires authentication

Example request:
curl --request DELETE \
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/delete" \
    --header "Authorization: Bearer Bearer {YOUR_JWT_TOKEN}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://imobiznets-backend-prod-yxxo2i-fecde5-136-112-175-192.traefik.me/api/v1/user/delete"
);

const headers = {
    "Authorization": "Bearer Bearer {YOUR_JWT_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (200):


{
    "success": true,
    "data": null,
    "message": "Utilisateur supprimé avec succès"
}
 

Example response (500):


{
    "success": false,
    "message": "Erreur lors de la suppression"
}
 

Request      

DELETE api/v1/user/delete

Headers

Authorization      

Example: Bearer Bearer {YOUR_JWT_TOKEN}

Content-Type      

Example: application/json

Accept      

Example: application/json