MENU navbar-image

Introduction

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

Authenticating requests

This API is not authenticated.

AI Report

AI Report.

This endpoint generates an AI-based report summary using the provided prompt.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/ai" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"prompt\": \"\\\"Generate a summary of the company\'s financial performance for Q2 2024.\\\"\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/ai"
);

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

let body = {
    "prompt": "\"Generate a summary of the company's financial performance for Q2 2024.\""
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "summary": "The company's financial performance in Q2 2024 showed significant improvement...",
        "created_at": "2024-09-05T12:34:56.000000Z"
    },
    "message": "AI report generated successfully"
}
 

Example response (400):


{
    "message": "Invalid prompt format provided.",
    "error_code": "ERR_INVALID_PROMPT"
}
 

Example response (500):


{
    "message": "An unexpected error occurred while processing the request."
}
 

Request      

GET api/ai

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

prompt   string   

The prompt to generate the AI report. Example: "Generate a summary of the company's financial performance for Q2 2024."

AI Report.

This endpoint generates an AI-based report summary using the provided prompt.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/chatgpt-reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"prompt\": \"\\\"Generate a summary of the company\'s financial performance for Q2 2024.\\\"\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/chatgpt-reports"
);

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

let body = {
    "prompt": "\"Generate a summary of the company's financial performance for Q2 2024.\""
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "summary": "The company's financial performance in Q2 2024 showed significant improvement...",
        "created_at": "2024-09-05T12:34:56.000000Z"
    },
    "message": "AI report generated successfully"
}
 

Example response (400):


{
    "message": "Invalid prompt format provided.",
    "error_code": "ERR_INVALID_PROMPT"
}
 

Example response (500):


{
    "message": "An unexpected error occurred while processing the request."
}
 

Request      

GET api/chatgpt-reports

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

prompt   string   

The prompt to generate the AI report. Example: "Generate a summary of the company's financial performance for Q2 2024."

Authentication

Login user.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"berge.horace@example.com\",
    \"password\": \"7Ny>VUZ\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/login"
);

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

let body = {
    "email": "berge.horace@example.com",
    "password": "7Ny>VUZ"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "John Doe",
        "email": "johndoe@example.com",
        "created_at": "2022-03-26T12:34:56.000000Z",
        "updated_at": "2022-03-26T12:34:56.000000Z"
    },
    "message": "User authenticated successfully"
}
 

Request      

POST api/auth/login

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

The email of the user. Example: berge.horace@example.com

password   string   

The password of the user. Example: 7Ny>VUZ

Register a new user.

requires authentication

This endpoint registers a new user with the provided details.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/register-tenant" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"voluptate\",
    \"phone_number\": \"ad\",
    \"business_name\": \"aut\",
    \"email\": \"maymie.collier@example.com\",
    \"password\": \"0*xrySlKSjf\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/register-tenant"
);

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

let body = {
    "name": "voluptate",
    "phone_number": "ad",
    "business_name": "aut",
    "email": "maymie.collier@example.com",
    "password": "0*xrySlKSjf"
};

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

Example response (200):


{
  "data": {
      "id": 1,
      "name": "John Doe",
      "phone_number": "123-456-7890",
      "business_name": "Example Business",
      "email": "john@example.com",
      "password": "$2y$10$5cWcBn9ivxu/XMZYm6wrzezve.2BF5Gz5gBuJueN9rOuf79lQ1GZG", // Hashed password
      "created_at": "2024-04-02T12:00:00.000000Z",
      "updated_at": "2024-04-02T12:00:00.000000Z"
  }
}
 

Request      

POST api/auth/register-tenant

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

The name of the user. Example: voluptate

phone_number   string   

The phone number of the user. Example: ad

business_name   string   

The business name of the user. Example: aut

email   string   

The email address of the user. Example: maymie.collier@example.com

password   string   

The password of the user. Example: 0*xrySlKSjf

Generate OTP (One-Time Password) and send it via email.

This endpoint generates a random OTP and sends it to the provided email address.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/generate-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"greenfelder.osvaldo@example.com\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/generate-otp"
);

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

let body = {
    "email": "greenfelder.osvaldo@example.com"
};

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

Example response (200):


{
  "data": 123456, // The generated OTP
  "message": "Generated Successfully"
}
 

Request      

POST api/auth/generate-otp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

The email address to which the OTP will be sent. Example: greenfelder.osvaldo@example.com

Verify OTP (One-Time Password).

This endpoint verifies the provided OTP against the stored OTP in the database.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/verify-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"otp\": \"at\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/verify-otp"
);

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

let body = {
    "otp": "at"
};

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

Example response (200):


{
  "data": true|false, // Whether the OTP is verified or not
  "message": "OTP True Successfully" // Message indicating the verification status
}
 

Request      

POST api/auth/verify-otp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

otp   string   

The OTP (One-Time Password) to be verified. Example: at

Register a new user.

requires authentication

This endpoint registers a new user with the provided details.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/auth/company/request/accept/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quos\",
    \"phone_number\": \"esse\",
    \"business_name\": \"qui\",
    \"email\": \"progahn@example.org\",
    \"password\": \"1GVGw_)*\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/company/request/accept/consequatur"
);

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

let body = {
    "name": "quos",
    "phone_number": "esse",
    "business_name": "qui",
    "email": "progahn@example.org",
    "password": "1GVGw_)*"
};

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

Example response (200):


{
  "data": {
      "id": 1,
      "name": "John Doe",
      "phone_number": "123-456-7890",
      "business_name": "Example Business",
      "email": "john@example.com",
      "password": "$2y$10$5cWcBn9ivxu/XMZYm6wrzezve.2BF5Gz5gBuJueN9rOuf79lQ1GZG", // Hashed password
      "created_at": "2024-04-02T12:00:00.000000Z",
      "updated_at": "2024-04-02T12:00:00.000000Z"
  }
}
 

Request      

GET api/auth/company/request/accept/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the accept. Example: consequatur

Body Parameters

name   string   

The name of the user. Example: quos

phone_number   string   

The phone number of the user. Example: esse

business_name   string   

The business name of the user. Example: qui

email   string   

The email address of the user. Example: progahn@example.org

password   string   

The password of the user. Example: 1GVGw_)*

Logout

@authenticated

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/logout" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/logout"
);

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

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

Example response (200):


{
    "data": true,
    "message": "User Logout Successfully"
}
 

Request      

POST api/auth/logout

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Change user password.

requires authentication

This endpoint allows users to change their password.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/change-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"current_password\": \"dolores\",
    \"new_password\": \"xkdtzvnbfmmfgcnqhzniqlbncusjydpkorgnlypwxzvkoweneqrnomp\",
    \"email\": \"tabitha68@example.net\",
    \"password\": \"kX6@okYk^Ta&3$0=o[X9\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/change-password"
);

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

let body = {
    "current_password": "dolores",
    "new_password": "xkdtzvnbfmmfgcnqhzniqlbncusjydpkorgnlypwxzvkoweneqrnomp",
    "email": "tabitha68@example.net",
    "password": "kX6@okYk^Ta&3$0=o[X9"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "John Doe",
        "email": "john@example.com",
        "password_last_updated_at": "2024-04-02T12:00:00.000000Z",
        "email_verified_at": "2024-04-02T12:00:00.000000Z",
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    },
    "message": "Updated Successfully"
}
 

Request      

POST api/auth/change-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

current_password   string   

Example: dolores

new_password   string   

Must be at least 8 characters. Example: xkdtzvnbfmmfgcnqhzniqlbncusjydpkorgnlypwxzvkoweneqrnomp

email   string   

The email address of the user. Example: tabitha68@example.net

password   string   

The new password for the user. Example: kX6@okYk^Ta&3$0=o[X9

Revert user password to a new randomly generated password and send it via email.

requires authentication

This endpoint reverts the user's password to a new randomly generated password and sends it to the user's email address.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/reset-password/possimus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/reset-password/possimus"
);

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

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

Example response (200):


{
    "data": true,
    "message": "Password Changed"
}
 

Request      

POST api/auth/reset-password/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reset password. Example: possimus

Contacts

Show all Contacts

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/contacts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/contacts

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created contact in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/contacts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"John\",
    \"last_name\": \"Doe\",
    \"date_of_birth\": \"1990-01-01\",
    \"phone\": \"1234567890\",
    \"1\": \"schuppe.louisa@example.org\",
    \"customer_id\": 12,
    \"supplier_id\": 15,
    \"work_phone\": \"0987654321\",
    \"email\": \"john@example.com\",
    \"job_title\": \"Developer\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts"
);

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

let body = {
    "first_name": "John",
    "last_name": "Doe",
    "date_of_birth": "1990-01-01",
    "phone": "1234567890",
    "1": "schuppe.louisa@example.org",
    "customer_id": 12,
    "supplier_id": 15,
    "work_phone": "0987654321",
    "email": "john@example.com",
    "job_title": "Developer"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "first_name": "John",
        "last_name": "Doe",
        "date_of_birth": "1990-01-01",
        "phone": "1234567890",
        "email": "john@example.com",
        "job_title": "Developer",
        "customer_id": 1,
        "supplier_id": null,
        "created_at": "2024-04-07T00:00:00.000000Z",
        "updated_at": "2024-04-07T00:00:00.000000Z"
    }
}
 

Request      

POST api/contacts

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

first_name   string   

The first name of the contact. Example: John

last_name   string   

The last name of the contact. Example: Doe

date_of_birth   string   

The date of birth of the contact (YYYY-MM-DD). Example: 1990-01-01

phone   string   

The phone number of the contact. Example: 1234567890

0   string  optional  
1   string  optional  

Must be a valid email address. Example: schuppe.louisa@example.org

2   string  optional  
customer_id   integer  optional  

required_if:supplier_id,null The ID of the customer associated with the contact. Example: 12

supplier_id   integer  optional  

required_if:customer_id,null The ID of the supplier associated with the contact. Example: 15

work_phone   string  optional  

The work phone number of the contact. Example: 0987654321

email   string  optional  

The email address of the contact. Example: john@example.com

job_title   string  optional  

The job title of the contact. Example: Developer

Display the specified contact.

requires authentication

Fetches a contact by its ID.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/contacts/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/ut"
);

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

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

Example response (200):


{
    "data": {
        "id": 1,
        "first_name": "John",
        "last_name": "Doe",
        "date_of_birth": "1990-01-01",
        "phone": "1234567890",
        "email": "john@example.com",
        "job_title": "Developer",
        "customer_id": 1,
        "supplier_id": null,
        "created_at": "2024-04-07T00:00:00.000000Z",
        "updated_at": "2024-04-07T00:00:00.000000Z"
    }
}
 

Example response (404):


{
    "error": "Contact not found"
}
 

Request      

GET api/contacts/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the contact. Example: ut

Update created resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/contacts/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"date_of_birth\": \"2025-03-11\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/et"
);

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

let body = {
    "date_of_birth": "2025-03-11"
};

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

Example response (404):


{
    "error": "Contact not found"
}
 

Request      

PUT api/contacts/{id}

PATCH api/contacts/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the contact. Example: et

Body Parameters

date_of_birth   string  optional  

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

customer_id   string  optional  
supplier_id   string  optional  

Delete contact

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/contacts/quasi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/quasi"
);

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

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

Example response (404):


{
    "error": "Contact not found"
}
 

Request      

DELETE api/contacts/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the contact. Example: quasi

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/contacts/search?searchTerm=ipsa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/search"
);

const params = {
    "searchTerm": "ipsa",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

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

Example response (200):


{
  "data": [
    {
      "id": 1,
      "first_name": "John",
      "last_name": "Doe",
      "date_of_birth": "1990-01-01",
      "phone": "1234567890",
      "work_phone": "",
      "email": "john.doe@example.com",
      "job_title": "Software Engineer",
      "customer_id": 1,
      "supplier_id": null,
      "created_at": "2024-04-07T00:00:00.000000Z",
      "updated_at": "2024-04-07T00:00:00.000000Z"
    },
    // ... other matching contacts
  ]
}
 

Example response (400):


{
    "message": "Please provide a search term."
}
 

Example response (400):


{
    "message": "Search term must be at least 1 characters long."
}
 

Customer Notification Reach

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/customer-notifications-reach" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach"
);

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

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

Example response (200):


{"data": [{
"id": 25,
"title": "order shipped",
"channel": "email",
"event": "order",
"status": "pending",
"sent_at": null,
"delivered_at": null,
"failed_at": null,
"message": "{\"subject\": \"Order Update\", \"body\": \"Your order has been shipped.\"}",
"date": "2025-03-11 14:30:00",
"response": null,
"created_at": "2025-03-11T09:39:28.000000Z",
"updated_at": "2025-03-11T09:39:28.000000Z",
"image_url": "corporatedevelopment/customersReach/20250311093928_customer.jpg",
"Content": "{\"subject\": \"Order Update\", \"body\": \"Your order has been shipped.\"}",
"EventActivity": "order",
"Status": "pending",
"image_public_url": "https://feexid.development.medixmw.com/storage/corporatedevelopment/customersReach/20250311093928_customer.jpg",
"contacts": [
{
"id": 1,
"created_at": "2024-11-14T10:39:22.000000Z",
"updated_at": "2024-11-14T10:39:22.000000Z",
"deleted_at": null,
"first_name": "Patience",
"last_name": "Nyirenda",
"date_of_birth": "2000-02-27",
"phone": "0881744989",
"work_phone": "0881744989",
"email": "clemolpatie@gmail.com",
"job_title": "HR",
"customer_id": 1,
"supplier_id": null,
"pivot": {
"notification_id": 25,
"contact_id": 1
}
},
{
"id": 2,
"created_at": "2024-11-28T00:12:07.000000Z",
"updated_at": "2024-11-28T00:12:07.000000Z",
"deleted_at": null,
"first_name": "Isaiah",
"last_name": "Clement",
"date_of_birth": "1995-11-28",
"phone": "0881744989",
"work_phone": "0881744989",
"email": "omexiechama@gmail.com",
"job_title": "HR",
"customer_id": 1,
"supplier_id": null,
"pivot": {
"notification_id": 25,
"contact_id": 2
}
}
]
},
]}
 

Request      

GET api/customer-notifications-reach

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a specific notification.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/customer-notifications-reach/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/20"
);

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

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

Example response (200):


{
    "data": {
        "id": 21,
        "title": "Birthday Reminder: Patience",
        "channel": "email",
        "event": "birthday",
        "status": "pending",
        "sent_at": null,
        "delivered_at": null,
        "failed_at": null,
        "message": "{\"text\":\"Upcoming birthday reminder for Patience Nyirenda Hie Hie!\",\"image\":null}",
        "date": "2025-02-20 00:00:00",
        "response": null,
        "created_at": "2025-02-20T23:10:23.000000Z",
        "updated_at": "2025-03-11T10:19:45.000000Z",
        "image_url": null,
        "image_public_url": null,
        "contacts": [
            {
                "id": 1,
                "created_at": "2024-11-14T10:39:22.000000Z",
                "updated_at": "2024-11-14T10:39:22.000000Z",
                "deleted_at": null,
                "first_name": "Patience",
                "last_name": "Nyirenda",
                "date_of_birth": "2000-02-27",
                "phone": "0881744989",
                "work_phone": "0881744989",
                "email": "clemolpatie@gmail.com",
                "job_title": "HR",
                "customer_id": 1,
                "supplier_id": null,
                "pivot": {
                    "notification_id": 21,
                    "contact_id": 1
                }
            },
            {
                "id": 2,
                "created_at": "2024-11-28T00:12:07.000000Z",
                "updated_at": "2024-11-28T00:12:07.000000Z",
                "deleted_at": null,
                "first_name": "Isaiah",
                "last_name": "Clement",
                "date_of_birth": "1995-11-28",
                "phone": "0881744989",
                "work_phone": "0881744989",
                "email": "omexiechama@gmail.com",
                "job_title": "HR",
                "customer_id": 1,
                "supplier_id": null,
                "pivot": {
                    "notification_id": 21,
                    "contact_id": 2
                }
            }
        ]
    }
}
 

Request      

GET api/customer-notifications-reach/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the notification. Example: 20

Store a newly created Customer Notification Reach.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customer-notifications-reach" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "channel=quia"\
    --form "event=order"\
    --form "message={"subject": "Order Update", "body": "Your order has been shipped."}"\
    --form "date=2025-03-11 14:30:00"\
    --form "response=ipsam"\
    --form "title=Order Shipped"\
    --form "contacts[]=1"\
    --form "send_immediately=1"\
    --form "send_to_all_contacts="\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php5301.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach"
);

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

const body = new FormData();
body.append('channel', 'quia');
body.append('event', 'order');
body.append('message', '{"subject": "Order Update", "body": "Your order has been shipped."}');
body.append('date', '2025-03-11 14:30:00');
body.append('response', 'ipsam');
body.append('title', 'Order Shipped');
body.append('contacts[]', '1');
body.append('send_immediately', '1');
body.append('send_to_all_contacts', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Example response (200):


{
    "data": {
        "event": "order",
        "message": "{\"subject\": \"Order Update\", \"body\": \"Your order has been shipped.\"}",
        "date": "2025-03-11 14:30:00",
        "title": "order shipped",
        "image_url": "corporatedevelopment/customersReach/20250311094250_customer.jpg",
        "status": "pending",
        "updated_at": "2025-03-11T09:42:50.000000Z",
        "created_at": "2025-03-11T09:42:50.000000Z",
        "id": 26
    },
    "message": "Process Completed"
}
 

Example response (404):


{
    "message": "Company not found",
    "status": 404
}
 

Example response (500):


{
    "message": "Error creating customer notification: [Error message]",
    "status": 500
}
 

Request      

POST api/customer-notifications-reach

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

channel   string  optional  

Example: quia

event   string   

The event that triggered the notification (e.g., order, promotion). Example: order

message   string   

The message content in JSON format. Example: {"subject": "Order Update", "body": "Your order has been shipped."}

date   date   

The scheduled date and time for the notification. Example: 2025-03-11 14:30:00

response   string  optional  

Example: ipsam

title   string   

The title of the notification. Example: Order Shipped

contacts   string[]  optional  

optional An array of contact IDs to send the notification to.

send_immediately   boolean  optional  

optional Whether to send the notification immediately. Example: true

send_to_all_contacts   boolean  optional  

optional Whether to send the notification to all contacts. Example: false

image   file  optional  

optional Image associated with the notification. Example: C:\Users\Celestial\AppData\Local\Temp\php5301.tmp

Update a notification.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/voluptatibus" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "channel=consequatur"\
    --form "event=order"\
    --form "message={"subject": "Order Update", "body": "Your order has been shipped."}"\
    --form "date=2025-03-11 14:30:00"\
    --form "response=odio"\
    --form "title=Order Shipped"\
    --form "contacts[]=1"\
    --form "send_immediately=1"\
    --form "send_to_all_contacts="\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php5313.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/voluptatibus"
);

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

const body = new FormData();
body.append('channel', 'consequatur');
body.append('event', 'order');
body.append('message', '{"subject": "Order Update", "body": "Your order has been shipped."}');
body.append('date', '2025-03-11 14:30:00');
body.append('response', 'odio');
body.append('title', 'Order Shipped');
body.append('contacts[]', '1');
body.append('send_immediately', '1');
body.append('send_to_all_contacts', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Example response (200):


{
    "data": {
        "id": 21,
        "title": "Birthday Reminder: Patience",
        "channel": "email",
        "event": "birthday",
        "status": "pending",
        "sent_at": null,
        "delivered_at": null,
        "failed_at": null,
        "message": "{\"text\":\"Upcoming birthday reminder for Patience Nyirenda Hie Hie!\",\"image\":null}",
        "date": "2025-02-20 00:00:00",
        "response": null,
        "created_at": "2025-02-20T23:10:23.000000Z",
        "updated_at": "2025-03-11T10:19:45.000000Z",
        "image_url": null
    }
}
 

Request      

PUT api/customer-notifications-reach/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer notifications reach. Example: voluptatibus

Body Parameters

channel   string  optional  

Example: consequatur

event   string  optional  

optional The event that triggered the notification (e.g., order, promotion). Example: order

message   string  optional  

optional The message content in JSON format. Example: {"subject": "Order Update", "body": "Your order has been shipped."}

date   date  optional  

optional The scheduled date and time for the notification. Example: 2025-03-11 14:30:00

response   string  optional  

Example: odio

title   string  optional  

optional The title of the notification. Example: Order Shipped

contacts   string[]  optional  

optional An array of contact IDs to send the notification to.

send_immediately   boolean  optional  

optional Whether to send the notification immediately. Example: true

send_to_all_contacts   boolean  optional  

optional Whether to send the notification to all contacts. Example: false

image   file  optional  

optional Image associated with the notification. Example: C:\Users\Celestial\AppData\Local\Temp\php5313.tmp

Update a notification.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/recusandae" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "channel=nihil"\
    --form "event=order"\
    --form "message={"subject": "Order Update", "body": "Your order has been shipped."}"\
    --form "date=2025-03-11 14:30:00"\
    --form "response=sapiente"\
    --form "title=Order Shipped"\
    --form "contacts[]=1"\
    --form "send_immediately=1"\
    --form "send_to_all_contacts="\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php5325.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/recusandae"
);

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

const body = new FormData();
body.append('channel', 'nihil');
body.append('event', 'order');
body.append('message', '{"subject": "Order Update", "body": "Your order has been shipped."}');
body.append('date', '2025-03-11 14:30:00');
body.append('response', 'sapiente');
body.append('title', 'Order Shipped');
body.append('contacts[]', '1');
body.append('send_immediately', '1');
body.append('send_to_all_contacts', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Example response (200):


{
    "data": {
        "id": 21,
        "title": "Birthday Reminder: Patience",
        "channel": "email",
        "event": "birthday",
        "status": "pending",
        "sent_at": null,
        "delivered_at": null,
        "failed_at": null,
        "message": "{\"text\":\"Upcoming birthday reminder for Patience Nyirenda Hie Hie!\",\"image\":null}",
        "date": "2025-02-20 00:00:00",
        "response": null,
        "created_at": "2025-02-20T23:10:23.000000Z",
        "updated_at": "2025-03-11T10:19:45.000000Z",
        "image_url": null
    }
}
 

Request      

PATCH api/customer-notifications-reach/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer notifications reach. Example: recusandae

Body Parameters

channel   string  optional  

Example: nihil

event   string  optional  

optional The event that triggered the notification (e.g., order, promotion). Example: order

message   string  optional  

optional The message content in JSON format. Example: {"subject": "Order Update", "body": "Your order has been shipped."}

date   date  optional  

optional The scheduled date and time for the notification. Example: 2025-03-11 14:30:00

response   string  optional  

Example: sapiente

title   string  optional  

optional The title of the notification. Example: Order Shipped

contacts   string[]  optional  

optional An array of contact IDs to send the notification to.

send_immediately   boolean  optional  

optional Whether to send the notification immediately. Example: true

send_to_all_contacts   boolean  optional  

optional Whether to send the notification to all contacts. Example: false

image   file  optional  

optional Image associated with the notification. Example: C:\Users\Celestial\AppData\Local\Temp\php5325.tmp

Update a notification.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/voluptatem" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "channel=minus"\
    --form "event=order"\
    --form "message={"subject": "Order Update", "body": "Your order has been shipped."}"\
    --form "date=2025-03-11 14:30:00"\
    --form "response=ad"\
    --form "title=Order Shipped"\
    --form "contacts[]=1"\
    --form "send_immediately=1"\
    --form "send_to_all_contacts="\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php5346.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/voluptatem"
);

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

const body = new FormData();
body.append('channel', 'minus');
body.append('event', 'order');
body.append('message', '{"subject": "Order Update", "body": "Your order has been shipped."}');
body.append('date', '2025-03-11 14:30:00');
body.append('response', 'ad');
body.append('title', 'Order Shipped');
body.append('contacts[]', '1');
body.append('send_immediately', '1');
body.append('send_to_all_contacts', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Example response (200):


{
    "data": {
        "id": 21,
        "title": "Birthday Reminder: Patience",
        "channel": "email",
        "event": "birthday",
        "status": "pending",
        "sent_at": null,
        "delivered_at": null,
        "failed_at": null,
        "message": "{\"text\":\"Upcoming birthday reminder for Patience Nyirenda Hie Hie!\",\"image\":null}",
        "date": "2025-02-20 00:00:00",
        "response": null,
        "created_at": "2025-02-20T23:10:23.000000Z",
        "updated_at": "2025-03-11T10:19:45.000000Z",
        "image_url": null
    }
}
 

Request      

POST api/customer-notifications-reach/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer notifications reach. Example: voluptatem

Body Parameters

channel   string  optional  

Example: minus

event   string  optional  

optional The event that triggered the notification (e.g., order, promotion). Example: order

message   string  optional  

optional The message content in JSON format. Example: {"subject": "Order Update", "body": "Your order has been shipped."}

date   date  optional  

optional The scheduled date and time for the notification. Example: 2025-03-11 14:30:00

response   string  optional  

Example: ad

title   string  optional  

optional The title of the notification. Example: Order Shipped

contacts   string[]  optional  

optional An array of contact IDs to send the notification to.

send_immediately   boolean  optional  

optional Whether to send the notification immediately. Example: true

send_to_all_contacts   boolean  optional  

optional Whether to send the notification to all contacts. Example: false

image   file  optional  

optional Image associated with the notification. Example: C:\Users\Celestial\AppData\Local\Temp\php5346.tmp

Delete a notification.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customer-notifications-reach/8"
);

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

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

Example response (204):

Empty response
 

Example response (404):


{
    "message": "Error deleting: Item not found",
    "status": 404
}
 

Example response (500):


{
    "message": "Error deleting customer notification",
    "status": 500
}
 

Request      

DELETE api/customer-notifications-reach/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the notification. Example: 8

Customers

Retrieve all customers.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/customers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers"
);

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

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

Example response (200):


{
  "data": [
      {
          "id": 1,
          "name": "John Doe",
          "phone": "123-456-7890",
          "email": "john@example.com",
          "address": "123 Main St",
          "city": "Some City",
          "state": "Some State",
          "country": "Some Country",
          "created_at": "2024-04-02T12:00:00.000000Z",
          "updated_at": "2024-04-02T12:00:00.000000Z"
      },
      {
          "id": 2,
          "name": "Jane Smith",
          "phone": "987-654-3210",
          "email": "jane@example.com",
          "address": "456 Elm St",
          "city": "Another City",
          "state": "Another State",
          "country": "Another Country",
          "created_at": "2024-04-03T12:00:00.000000Z",
          "updated_at": "2024-04-03T12:00:00.000000Z"
      },
      // Additional customer objects...
  ]
}
 

Request      

GET api/customers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new customer.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"debitis\",
    \"phone\": \"labore\",
    \"gender\": \"ipsa\",
    \"email\": \"mclaughlin.randall@example.com\",
    \"address\": \"qui\",
    \"city\": \"distinctio\",
    \"state\": \"rerum\",
    \"country\": \"inventore\",
    \"currency\": \"eum\",
    \"create_sales_lead\": \"repellendus\",
    \"product_service_id\": \"aspernatur\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers"
);

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

let body = {
    "name": "debitis",
    "phone": "labore",
    "gender": "ipsa",
    "email": "mclaughlin.randall@example.com",
    "address": "qui",
    "city": "distinctio",
    "state": "rerum",
    "country": "inventore",
    "currency": "eum",
    "create_sales_lead": "repellendus",
    "product_service_id": "aspernatur"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "John Doe",
        "phone": "123-456-7890",
        "email": "john@example.com",
        "address": "123 Main St",
        "city": "Some City",
        "state": "Some State",
        "country": "Some Country",
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    }
}
 

Request      

POST api/customers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

The name of the customer. Example: debitis

phone   string   

The phone number of the customer. Example: labore

gender   string  optional  

Example: ipsa

email   string   

The email address of the customer. Example: mclaughlin.randall@example.com

address   string   

The address of the customer. Example: qui

city   string   

The city of the customer. Example: distinctio

state   string   

The state of the customer. Example: rerum

country   string   

The country of the customer. Example: inventore

currency   string   

Example: eum

create_sales_lead   required  optional  

Accepted values Yes or No Example: repellendus

product_service_id   required  optional  

for creating a sale_leads Example: aspernatur

Update an existing customer.

requires authentication

This endpoint updates an existing customer with the provided ID.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/customers/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ut\",
    \"phone\": \"et\",
    \"gender\": \"in\",
    \"email\": \"karlee.stamm@example.net\",
    \"address\": \"voluptas\",
    \"city\": \"funwaimbpbwbyolirggcw\",
    \"state\": \"zzgkpzapja\",
    \"country\": \"jvjopca\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/et"
);

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

let body = {
    "name": "ut",
    "phone": "et",
    "gender": "in",
    "email": "karlee.stamm@example.net",
    "address": "voluptas",
    "city": "funwaimbpbwbyolirggcw",
    "state": "zzgkpzapja",
    "country": "jvjopca"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Updated Name",
        "email": "updated@example.com",
        "phone": "123-456-7890",
        "address": "Updated Address",
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    }
}
 

Request      

PUT api/customers/{id}

PATCH api/customers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer to update. Example: et

Body Parameters

name   string  optional  

The name of the customer. Example: ut

phone   string  optional  

The phone number of the customer. Example: et

gender   string  optional  

Example: in

email   string  optional  

The email address of the customer. Example: karlee.stamm@example.net

address   string  optional  

The address of the customer. Example: voluptas

city   string  optional  

Must not be greater than 255 characters. Example: funwaimbpbwbyolirggcw

state   string  optional  

Must not be greater than 255 characters. Example: zzgkpzapja

country   string  optional  

Must not be greater than 255 characters. Example: jvjopca

Store a new contact for a customer or supplier.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customers/add_contact/6" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"itaque\",
    \"last_name\": \"sed\",
    \"date_of_birth\": \"aut\",
    \"phone\": \"nihil\",
    \"work_phone\": \"qui\",
    \"email\": \"lkuhlman@example.org\",
    \"job_title\": \"eaque\",
    \"customer_id\": 3,
    \"supplier_id\": 15
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/add_contact/6"
);

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

let body = {
    "first_name": "itaque",
    "last_name": "sed",
    "date_of_birth": "aut",
    "phone": "nihil",
    "work_phone": "qui",
    "email": "lkuhlman@example.org",
    "job_title": "eaque",
    "customer_id": 3,
    "supplier_id": 15
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "first_name": "John",
        "last_name": "Doe",
        "date_of_birth": "1990-01-01",
        "phone": "123-456-7890",
        "work_phone": "123-456-7890",
        "email": "john@example.com",
        "job_title": "Software Engineer",
        "customer_id": 1,
        "supplier_id": null,
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    }
}
 

Request      

POST api/customers/add_contact/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the customer. Example: 6

Body Parameters

first_name   string   

The first name of the contact. Example: itaque

last_name   string   

The last name of the contact. Example: sed

date_of_birth   date   

The date of birth of the contact (YYYY-MM-DD). Example: aut

phone   string   

The phone number of the contact. Example: nihil

work_phone   string  optional  

The work phone number of the contact. Example: qui

email   string  optional  

The email address of the contact. Example: lkuhlman@example.org

job_title   string  optional  

The job title of the contact. Example: eaque

customer_id   integer  optional  

required_if:supplier_id,null The ID of the associated customer if the contact is not associated with a supplier. Example: 3

supplier_id   integer  optional  

required_if:customer_id,null The ID of the associated supplier if the contact is not associated with a customer. Example: 15

Endpoints

POST api/auth/register

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quas\",
    \"business_name\": \"et\",
    \"business_address\": \"temporibus\",
    \"year_established\": 5,
    \"business_registration_number\": \"ipsum\",
    \"tax_identification_number\": \"sit\",
    \"industry\": \"alias\",
    \"email\": \"possimus\",
    \"phone_number\": \"consequatur\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/register"
);

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

let body = {
    "name": "quas",
    "business_name": "et",
    "business_address": "temporibus",
    "year_established": 5,
    "business_registration_number": "ipsum",
    "tax_identification_number": "sit",
    "industry": "alias",
    "email": "possimus",
    "phone_number": "consequatur"
};

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

Request      

POST api/auth/register

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: quas

business_name   string   

Example: et

business_address   string  optional  

Example: temporibus

year_established   integer  optional  

Example: 5

business_registration_number   string  optional  

Example: ipsum

tax_identification_number   string  optional  

Example: sit

industry   string  optional  

Example: alias

email   string   

Example: possimus

phone_number   string   

Example: consequatur

POST api/auth/reset-password

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/auth/reset-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"kory93@example.net\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/reset-password"
);

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

let body = {
    "email": "kory93@example.net"
};

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

Request      

POST api/auth/reset-password

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string   

Must be a valid email address. Example: kory93@example.net

GET api/auth/company/request/reject/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/auth/company/request/reject/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/auth/company/request/reject/ut"
);

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

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

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "No query results for model [App\\Models\\CompanyRequest] ut",
    "exception": "Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
    "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Exceptions\\Handler.php",
    "line": 627,
    "trace": [
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Exceptions\\Handler.php",
            "line": 575,
            "function": "prepareException",
            "class": "Illuminate\\Foundation\\Exceptions\\Handler",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\nunomaduro\\collision\\src\\Adapters\\Laravel\\ExceptionHandler.php",
            "line": 54,
            "function": "render",
            "class": "Illuminate\\Foundation\\Exceptions\\Handler",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Pipeline.php",
            "line": 51,
            "function": "render",
            "class": "NunoMaduro\\Collision\\Adapters\\Laravel\\ExceptionHandler",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 146,
            "function": "handleException",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 805,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 784,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 748,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 737,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 50,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 110,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 212,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 279,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 1049,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 318,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 169,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 196,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
            "line": 1183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/auth/company/request/reject/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reject. Example: ut

Show individual customer

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/customers/minima" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/minima"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/customers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer. Example: minima

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/customers/doloremque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/doloremque"
);

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

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

Request      

DELETE api/customers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the customer. Example: doloremque

GET api/all/customers

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/all/customers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/all/customers"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/all/customers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Search for customer

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customers/search/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/search/consequatur"
);

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

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

Request      

POST api/customers/search/{value}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

value   string   

Example: consequatur

Import Customers

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/customers/import/customers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/customers/import/customers"
);

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

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

Request      

POST api/customers/import/customers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/projects/nobis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/nobis"
);

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

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

Request      

DELETE api/projects/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the project. Example: nobis

display data the has to be shown on the board

Changing this will cause the front end to break

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/projects/project/board-data" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/project/board-data"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (Connection: tenant, SQL: select * from `projects` where `projects`.`deleted_at` is null)"
}
 

Request      

GET api/projects/project/board-data

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Exports all contacts as a CSV file.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/contacts/export" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/export"
);

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

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

Example response (200):


{
  "Content-Type": "text/csv; charset=utf-8",
  "Content-Disposition": "attachment; filename="contacts-2024-05-06.csv""
  // CSV file content with headers and contact data
}
 

Example response (404):


{
    "message": "No contacts found for export."
}
 

Request      

GET api/contacts/export

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/contacts/import

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/contacts/import" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contacts/import"
);

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

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

Request      

POST api/contacts/import

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/import/contacts

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/contacts" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/contacts"
);

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

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

Request      

POST api/import/contacts

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Import Customers

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/customers" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php45D1.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/customers"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/customers

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php45D1.tmp

Import Suppliers

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/suppliers" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php45F2.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/suppliers"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/suppliers

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php45F2.tmp

Import Product Services

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/product_services" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4603.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/product_services"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/product_services

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4603.tmp

Import Product Categories

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/product-categories" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4615.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/product-categories"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/product-categories

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4615.tmp

Import Quotations

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/quotations" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4617.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/quotations"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/quotations

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4617.tmp

Import Sale Orders

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/sale-orders" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4629.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/sale-orders"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/sale-orders

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4629.tmp

Import Sale Invoices

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/sale-invoice" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php463A.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/sale-invoice"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/sale-invoice

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php463A.tmp

Import Trail Balance

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/trail-balance" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php464C.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/trail-balance"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/trail-balance

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php464C.tmp

Import All Sheets in the Template

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/all" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php465E.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/all"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/all

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php465E.tmp

Import Stocks

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/stocks" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4660.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/stocks"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/stocks

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4660.tmp

Import Warehouse Stock

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/warehouse-stocks" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4671.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/warehouse-stocks"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/warehouse-stocks

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4671.tmp

POST api/import/income-and-expenses

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/income-and-expenses" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4683.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/income-and-expenses"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/income-and-expenses

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4683.tmp

POST api/import/calender

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/calender" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php4694.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/calender"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/calender

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php4694.tmp

POST api/import/shop-restock

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/import/shop-restock" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "Data_Template=@C:\Users\Celestial\AppData\Local\Temp\php46A6.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/import/shop-restock"
);

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

const body = new FormData();
body.append('Data_Template', document.querySelector('input[name="Data_Template"]').files[0]);

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

Request      

POST api/import/shop-restock

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

Data_Template   file   

Must be a file. Example: C:\Users\Celestial\AppData\Local\Temp\php46A6.tmp

GET api/product-categories

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/product-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-categories"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/product-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/product-categories

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/product-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"category\": \"iusto\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-categories"
);

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

let body = {
    "category": "iusto"
};

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

Request      

POST api/product-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

category   string   

Example: iusto

GET api/product-categories/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/product-categories/doloremque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-categories/doloremque"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/product-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product category. Example: doloremque

PUT api/product-categories/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/product-categories/autem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-categories/autem"
);

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

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

Request      

PUT api/product-categories/{id}

PATCH api/product-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product category. Example: autem

Body Parameters

0   string  optional  

DELETE api/product-categories/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/product-categories/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-categories/ut"
);

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

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

Request      

DELETE api/product-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product category. Example: ut

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sale_orders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sale_orders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sale_orders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"order_code\": \"placeat\",
    \"date\": \"voluptas\",
    \"due_date\": \"2033-08-23\",
    \"amount\": \"illum\",
    \"customer_id\": \"tempora\",
    \"product_service_id\": \"odio\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders"
);

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

let body = {
    "order_code": "placeat",
    "date": "voluptas",
    "due_date": "2033-08-23",
    "amount": "illum",
    "customer_id": "tempora",
    "product_service_id": "odio"
};

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

Request      

POST api/sale_orders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

order_code   string   

Example: placeat

date   string   

Example: voluptas

due_date   string   

Must be a date after or equal to date. Example: 2033-08-23

0   string  optional  
amount   string   

Example: illum

customer_id   string   

Example: tempora

product_service_id   string   

Example: odio

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sale_orders/placeat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders/placeat"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sale_orders/{sale_order}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sale_order   string   

Example: placeat

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/sale_orders/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders/ut"
);

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

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

Request      

DELETE api/sale_orders/{sale_order}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sale_order   string   

Example: ut

GET api/trail-balance

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/trail-balance" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/trail-balance"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/trail-balance

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/trail-balance

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/trail-balance" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"explicabo\",
    \"balance\": \"ab\",
    \"as_at\": \"aperiam\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/trail-balance"
);

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

let body = {
    "name": "explicabo",
    "balance": "ab",
    "as_at": "aperiam"
};

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

Request      

POST api/trail-balance

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: explicabo

0   string  optional  
balance   string   

Example: ab

as_at   string   

Example: aperiam

PUT api/trail-balance/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/trail-balance/aliquam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/trail-balance/aliquam"
);

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

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

Request      

PUT api/trail-balance/{id}

PATCH api/trail-balance/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the trail balance. Example: aliquam

DELETE api/trail-balance/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/trail-balance/id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/trail-balance/id"
);

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

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

Request      

DELETE api/trail-balance/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the trail balance. Example: id

GET api/bookings

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/bookings"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/inventory

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/inventory" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/inventory"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/inventory

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/inventory

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/inventory" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"stock_id\": \"magnam\",
    \"warehouse_id\": \"excepturi\",
    \"amount\": \"et\",
    \"quantity\": \"tempora\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/inventory"
);

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

let body = {
    "stock_id": "magnam",
    "warehouse_id": "excepturi",
    "amount": "et",
    "quantity": "tempora"
};

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

Request      

POST api/inventory

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

stock_id   string   

Example: magnam

warehouse_id   string   

Example: excepturi

amount   string   

Example: et

quantity   string   

Example: tempora

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouses/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/count"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouses/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/warehouses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"utrupkbywtsppk\",
    \"description\": \"Possimus perspiciatis labore sunt voluptatem expedita vero.\",
    \"email\": \"ohaley@example.com\",
    \"phone\": \"p\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses"
);

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

let body = {
    "name": "utrupkbywtsppk",
    "description": "Possimus perspiciatis labore sunt voluptatem expedita vero.",
    "email": "ohaley@example.com",
    "phone": "p"
};

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

Request      

POST api/warehouses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: utrupkbywtsppk

location_id   string  optional  
description   string  optional  

Example: Possimus perspiciatis labore sunt voluptatem expedita vero.

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: ohaley@example.com

phone   string  optional  

Must not be greater than 20 characters. Example: p

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouses/ipsa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/ipsa"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the warehouse. Example: ipsa

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/warehouses/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"cegmvmdsrecocgnvbqqs\",
    \"description\": \"Omnis perspiciatis commodi placeat minima ut eos optio et.\",
    \"email\": \"kmclaughlin@example.org\",
    \"phone\": \"daazm\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/10"
);

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

let body = {
    "name": "cegmvmdsrecocgnvbqqs",
    "description": "Omnis perspiciatis commodi placeat minima ut eos optio et.",
    "email": "kmclaughlin@example.org",
    "phone": "daazm"
};

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

Request      

PUT api/warehouses/{warehouse_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

warehouse_id   integer   

The ID of the warehouse. Example: 10

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: cegmvmdsrecocgnvbqqs

location_id   string  optional  
description   string  optional  

Example: Omnis perspiciatis commodi placeat minima ut eos optio et.

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: kmclaughlin@example.org

phone   string  optional  

Must not be greater than 20 characters. Example: daazm

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/warehouses/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nvpwsjgnh\",
    \"description\": \"Autem quisquam voluptatem voluptatem maiores.\",
    \"email\": \"meagan.hickle@example.org\",
    \"phone\": \"xqymoigspow\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/2"
);

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

let body = {
    "name": "nvpwsjgnh",
    "description": "Autem quisquam voluptatem voluptatem maiores.",
    "email": "meagan.hickle@example.org",
    "phone": "xqymoigspow"
};

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

Request      

PATCH api/warehouses/{warehouse_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

warehouse_id   integer   

The ID of the warehouse. Example: 2

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: nvpwsjgnh

location_id   string  optional  
description   string  optional  

Example: Autem quisquam voluptatem voluptatem maiores.

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: meagan.hickle@example.org

phone   string  optional  

Must not be greater than 20 characters. Example: xqymoigspow

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/warehouses/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/10"
);

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

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

Request      

DELETE api/warehouses/{warehouse_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

warehouse_id   integer   

The ID of the warehouse. Example: 10

Get all stocks that belong to a specific warehouse.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouses/stocks/porro" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/stocks/porro"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouses/stocks/{warehouseId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

warehouseId   string   

Example: porro

GET api/warehouses/{id}/export

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouses/8/export" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouses/8/export"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouses/{id}/export

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the warehouse. Example: 8

GET api/location

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/location" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/location"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/location

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/location

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/location" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"possimus\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/location"
);

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

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

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

Request      

POST api/location

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Example: possimus

PUT api/location/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/location/similique" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/location/similique"
);

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

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

Request      

PUT api/location/{id}

PATCH api/location/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the location. Example: similique

DELETE api/location/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/location/totam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/location/totam"
);

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

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

Request      

DELETE api/location/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the location. Example: totam

Display a listing of all the departments paginated.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/departments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments"
);

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

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

Example response (200):


{
  "data": [
    {
      "id": 1,
      "company_id": 1,
      "department_name": "Marketing",
      "created_at": "2024-05-06T09:14:00.000000Z",
      "updated_at": "2024-05-06T09:14:00.000000Z",
      "relations": {
        "company": {
          "id": 1,
          "name": "Company Name",
          "created_at": "2024-05-06T09:14:00.000000Z",
          "updated_at": "2024-05-06T09:14:00.000000Z"
        },
        "employees": []
      }
    },
    // ... other departments
  ],
  "links": {
    "first": "http:\/\/your_api_url\/departments?page=1",
    "last": "http:\/\/your_api_url\/departments?page=2",
    "prev": null,
    "next": "http:\/\/your_api_url\/departments?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 2,
    "per_page": 15,
    "total": 30
  }
}
 

Request      

GET api/departments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created department in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/departments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"department_name\": \"yuvsiwtexemoxczvamssxhvbc\",
    \"roles\": [
        5
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments"
);

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

let body = {
    "department_name": "yuvsiwtexemoxczvamssxhvbc",
    "roles": [
        5
    ]
};

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

Example response (201):


{
    "success": true,
    "message": "Department created successfully",
    "data": {
        "id": 1,
        "company_id": 1,
        "department_name": "Marketing",
        "created_at": "2024-05-06T09:14:00.000000Z",
        "updated_at": "2024-05-06T09:14:00.000000Z"
    }
}
 

Request      

POST api/departments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

department_name   string   

Must not be greater than 255 characters. Example: yuvsiwtexemoxczvamssxhvbc

roles   integer[]  optional  

Display the specified department resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/departments/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/18"
);

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

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

Example response (200):


{
    "data": {
        "id": 1,
        "company_id": 1,
        "department_name": "Marketing",
        "created_at": "2024-05-06T09:14:00.000000Z",
        "updated_at": "2024-05-06T09:14:00.000000Z",
        "relations": {
            "company": {
                "id": 1,
                "name": "Company Name",
                "created_at": "2024-05-06T09:14:00.000000Z",
                "updated_at": "2024-05-06T09:14:00.000000Z"
            },
            "employees": []
        }
    }
}
 

Example response (404):


{
    "message": "Not Found"
}
 

Request      

GET api/departments/{department_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department_id   integer   

The ID of the department. Example: 18

Update the specified department resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/departments/14" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"department_name\": \"or\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/14"
);

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

let body = {
    "department_name": "or"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "company_id": 1,
        "department_name": "Updated Department Name",
        "created_at": "2024-05-06T09:14:00.000000Z",
        "updated_at": "2024-05-06T09:14:00.000000Z",
        "relations": {
            "company": {
                "id": 1,
                "name": "Company Name",
                "created_at": "2024-05-06T09:14:00.000000Z",
                "updated_at": "2024-05-06T09:14:00.000000Z"
            },
            "employees": []
        }
    }
}
 

Example response (400):


{
    "message": "failed to update department"
}
 

Request      

PUT api/departments/{department}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department   integer   

The department. Example: 14

Body Parameters

department_name   string   

Must not be greater than 255 characters. Example: or

Update the specified department resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/departments/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"department_name\": \"iunojupexgbvaeq\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/18"
);

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

let body = {
    "department_name": "iunojupexgbvaeq"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "company_id": 1,
        "department_name": "Updated Department Name",
        "created_at": "2024-05-06T09:14:00.000000Z",
        "updated_at": "2024-05-06T09:14:00.000000Z",
        "relations": {
            "company": {
                "id": 1,
                "name": "Company Name",
                "created_at": "2024-05-06T09:14:00.000000Z",
                "updated_at": "2024-05-06T09:14:00.000000Z"
            },
            "employees": []
        }
    }
}
 

Example response (400):


{
    "message": "failed to update department"
}
 

Request      

PATCH api/departments/{department}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department   integer   

The department. Example: 18

Body Parameters

department_name   string   

Must not be greater than 255 characters. Example: iunojupexgbvaeq

Remove the specified department resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/departments/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/11"
);

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

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

Example response (200):


{
    "success": true,
    "message": "Department deleted successfully"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to delete department"
}
 

Request      

DELETE api/departments/{department_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department_id   integer   

The ID of the department. Example: 11

GET api/departments/{department}/employees

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/departments/6/employees" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/6/employees"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/departments/{department}/employees

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department   integer   

The department. Example: 6

GET api/departments/{department}/employees/{employee}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/departments/2/employees/totam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/2/employees/totam"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/departments/{department}/employees/{employee}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department   integer   

The department. Example: 2

employee   string   

The employee. Example: totam

GET api/departments/{departmentId}/positions

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/departments/16/positions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/departments/16/positions"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/departments/{departmentId}/positions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

departmentId   integer   

Example: 16

Store a newly created employee in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/employees" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"gzfejgwsgyz\",
    \"phone_number\": \"dpxfqrqymuitdn\",
    \"email\": \"fdurgan@example.com\",
    \"address\": \"zztazfukxrvblwmlgoednta\",
    \"avatar_url\": \"https:\\/\\/www.graham.com\\/soluta-labore-impedit-impedit-qui-similique\",
    \"date_of_birth\": \"2025-03-11T10:35:55\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees"
);

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

let body = {
    "name": "gzfejgwsgyz",
    "phone_number": "dpxfqrqymuitdn",
    "email": "fdurgan@example.com",
    "address": "zztazfukxrvblwmlgoednta",
    "avatar_url": "https:\/\/www.graham.com\/soluta-labore-impedit-impedit-qui-similique",
    "date_of_birth": "2025-03-11T10:35:55"
};

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

Example response (201):


{
    "success": true,
    "message": "Employee created successfully",
    "data": {
        "id": 1,
        "company_id": 1,
        "department_id": null,
        "employee_name": "John Doe",
        "email": "john.doe@example.com",
        "status": "active",
        "created_at": "2024-05-06T09:27:00.000000Z",
        "updated_at": "2024-05-06T09:27:00.000000Z",
        "deleted_at": null
    }
}
 

Request      

POST api/employees

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: gzfejgwsgyz

phone_number   string   

Must not be greater than 20 characters. Example: dpxfqrqymuitdn

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: fdurgan@example.com

address   string  optional  

Must not be greater than 255 characters. Example: zztazfukxrvblwmlgoednta

avatar_url   string  optional  

Must not be greater than 255 characters. Example: https://www.graham.com/soluta-labore-impedit-impedit-qui-similique

date_of_birth   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

position_id   string  optional  
department_id   string  optional  
role_id   string  optional  
warehouse_id   string  optional  

Display the specified employee resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/employees/15" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees/15"
);

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

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

Example response (200):


{
  "data": {
    "id": 1,
    "company_id": 1,
    "department_id": null,
    "employee_name": "John Doe",
    "email": "john.doe@example.com",
    "status": "active",
    "created_at": "2024-05-06T09:27:00.000000Z",
    "updated_at": "2024-05-06T09:27:00.000000Z",
    "deleted_at": null,
    "relations": {
      "company": {
        "id": 1,
        "name": "Company Name",
        "created_at": "2024-05-06T09:27:00.000000Z",
        "updated_at": "2024-05-06T09:27:00.000000Z",
        "deleted_at": null
      },
      "department": {
        "id": null, // Department might be null
        "department_name": "Department Name",
        "created_at": "2024-05-06T09:27:00.000000Z",
        "updated_at": "2024-05-06T09:27:00.000000Z",
        "deleted_at": null
      }
    }
  }
}
 

Example response (404):


{
    "message": "Not Found"
}
 

Request      

GET api/employees/{employee_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employee_id   integer   

The ID of the employee. Example: 15

Update the specified employee resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/employees/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lgkxxhujirjevbyktyedkpxrw\",
    \"status\": \"kacclaejpuzmkcoqibhv\",
    \"phone_number\": \"dcwipvwjdxtzrm\",
    \"email\": \"misael.doyle@example.net\",
    \"address\": \"vblrgbvufpazhsfmh\",
    \"about\": \"fikcbzzzhacsdrhqu\",
    \"avatar_url\": \"http:\\/\\/quigley.com\\/\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees/9"
);

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

let body = {
    "name": "lgkxxhujirjevbyktyedkpxrw",
    "status": "kacclaejpuzmkcoqibhv",
    "phone_number": "dcwipvwjdxtzrm",
    "email": "misael.doyle@example.net",
    "address": "vblrgbvufpazhsfmh",
    "about": "fikcbzzzhacsdrhqu",
    "avatar_url": "http:\/\/quigley.com\/"
};

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

Example response (200):


{
  "data": {
    "id": 1,
    "company_id": 1,
    "department_id": 2,
    "employee_name": "Jane Doe",
    "email": "john.doe@example.com", // Email remains unchanged
    "status": "inactive",
    "created_at": "2024-05-06T09:27:00.000000Z",
    "updated_at": "2024-05-06T09:40:00.000000Z", // Updated timestamp
    "deleted_at": null,
    "relations": {
      // Same structure as show response
    }
  }
}
 

Example response (400):


{
    "message": "failed to update employee"
}
 

Request      

PUT api/employees/{employee}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employee   integer   

The employee. Example: 9

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: lgkxxhujirjevbyktyedkpxrw

status   string  optional  

Must not be greater than 255 characters. Example: kacclaejpuzmkcoqibhv

phone_number   string  optional  

Must not be greater than 20 characters. Example: dcwipvwjdxtzrm

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: misael.doyle@example.net

address   string  optional  

Must not be greater than 255 characters. Example: vblrgbvufpazhsfmh

about   string  optional  

Must not be greater than 255 characters. Example: fikcbzzzhacsdrhqu

avatar_url   string  optional  

Must not be greater than 255 characters. Example: http://quigley.com/

position_id   string  optional  
department_id   string  optional  
role_id   string  optional  

Update the specified employee resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/employees/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vjvuzynfvfyrbiratzxekvuo\",
    \"status\": \"l\",
    \"phone_number\": \"zsxsqiznnuw\",
    \"email\": \"kframi@example.com\",
    \"address\": \"ufgaalsmprelbyzstqfgc\",
    \"about\": \"vwwsnhnfmqysp\",
    \"avatar_url\": \"https:\\/\\/kirlin.net\\/dolorum-voluptates-dolor-architecto-voluptatem.html\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees/19"
);

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

let body = {
    "name": "vjvuzynfvfyrbiratzxekvuo",
    "status": "l",
    "phone_number": "zsxsqiznnuw",
    "email": "kframi@example.com",
    "address": "ufgaalsmprelbyzstqfgc",
    "about": "vwwsnhnfmqysp",
    "avatar_url": "https:\/\/kirlin.net\/dolorum-voluptates-dolor-architecto-voluptatem.html"
};

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

Example response (200):


{
  "data": {
    "id": 1,
    "company_id": 1,
    "department_id": 2,
    "employee_name": "Jane Doe",
    "email": "john.doe@example.com", // Email remains unchanged
    "status": "inactive",
    "created_at": "2024-05-06T09:27:00.000000Z",
    "updated_at": "2024-05-06T09:40:00.000000Z", // Updated timestamp
    "deleted_at": null,
    "relations": {
      // Same structure as show response
    }
  }
}
 

Example response (400):


{
    "message": "failed to update employee"
}
 

Request      

PATCH api/employees/{employee}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employee   integer   

The employee. Example: 19

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: vjvuzynfvfyrbiratzxekvuo

status   string  optional  

Must not be greater than 255 characters. Example: l

phone_number   string  optional  

Must not be greater than 20 characters. Example: zsxsqiznnuw

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: kframi@example.com

address   string  optional  

Must not be greater than 255 characters. Example: ufgaalsmprelbyzstqfgc

about   string  optional  

Must not be greater than 255 characters. Example: vwwsnhnfmqysp

avatar_url   string  optional  

Must not be greater than 255 characters. Example: https://kirlin.net/dolorum-voluptates-dolor-architecto-voluptatem.html

position_id   string  optional  
department_id   string  optional  
role_id   string  optional  

Remove the specified employee resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/employees/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees/8"
);

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

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

Example response (200):


{
    "success": true,
    "message": "Employee deleted successfully"
}
 

Example response (500):


{
    "success": false,
    "message": "Failed to delete employee"
}
 

Request      

DELETE api/employees/{employee_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

employee_id   integer   

The ID of the employee. Example: 8

POST api/employees/{employee_id}/profile-image

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/employees/3/profile-image" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php48DB.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees/3/profile-image"
);

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

const body = new FormData();
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

POST api/employees/{employee_id}/profile-image

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

employee_id   integer   

The ID of the employee. Example: 3

Body Parameters

image   file   

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\Celestial\AppData\Local\Temp\php48DB.tmp

Display all the employees paginated.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/employees" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/employees"
);

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

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

Example response (200):


{
  "data": [
    {
      "id": 1,
      "company_id": 1,
      "department_id": null,
      "employee_name": "John Doe",
      "email": "john.doe@example.com",
      "status": "active",
      "created_at": "2024-05-06T09:27:00.000000Z",
      "updated_at": "2024-05-06T09:27:00.000000Z",
      "deleted_at": null
    },
    // ... other employees
  ],
  "links": {
    "first": "http:\/\/your_api_url\/employees?page=1",
    "last": "http:\/\/your_api_url\/employees?page=2",
    "prev": null,
    "next": "http:\/\/your_api_url\/employees?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 2,
    "per_page": 15,
    "total": 30
  }
}
 

Request      

GET api/employees

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/user/update-profile-details

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/user/update-profile-details" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=kqxuh"\
    --form "email=hand.lisa@example.com"\
    --form "phone_number=ewnunkwqyklivfq"\
    --form "address=fvdn"\
    --form "about=magnam"\
    --form "avatar_url=http://zieme.com/fuga-voluptas-et-dignissimos-quaerat-at.html"\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php48EC.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/user/update-profile-details"
);

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

const body = new FormData();
body.append('name', 'kqxuh');
body.append('email', 'hand.lisa@example.com');
body.append('phone_number', 'ewnunkwqyklivfq');
body.append('address', 'fvdn');
body.append('about', 'magnam');
body.append('avatar_url', 'http://zieme.com/fuga-voluptas-et-dignissimos-quaerat-at.html');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

PUT api/user/update-profile-details

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: kqxuh

email   string  optional  

Must be a valid email address. Example: hand.lisa@example.com

phone_number   string  optional  

Must not be greater than 255 characters. Example: ewnunkwqyklivfq

address   string  optional  

Must not be greater than 255 characters. Example: fvdn

about   string  optional  

Example: magnam

image   file  optional  

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\Celestial\AppData\Local\Temp\php48EC.tmp

avatar_url   string  optional  

Must not be greater than 255 characters. Example: http://zieme.com/fuga-voluptas-et-dignissimos-quaerat-at.html

PATCH api/user/update-profile-details

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/user/update-profile-details" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=awjkjwbpjgaovlszmy"\
    --form "email=alisa.dibbert@example.org"\
    --form "phone_number=h"\
    --form "address=rhzdihmvwmgnui"\
    --form "about=et"\
    --form "avatar_url=http://larkin.com/ipsum-quod-blanditiis-pariatur-corrupti-quia-atque-necessitatibus"\
    --form "image=@C:\Users\Celestial\AppData\Local\Temp\php48FD.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/user/update-profile-details"
);

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

const body = new FormData();
body.append('name', 'awjkjwbpjgaovlszmy');
body.append('email', 'alisa.dibbert@example.org');
body.append('phone_number', 'h');
body.append('address', 'rhzdihmvwmgnui');
body.append('about', 'et');
body.append('avatar_url', 'http://larkin.com/ipsum-quod-blanditiis-pariatur-corrupti-quia-atque-necessitatibus');
body.append('image', document.querySelector('input[name="image"]').files[0]);

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

Request      

PATCH api/user/update-profile-details

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: awjkjwbpjgaovlszmy

email   string  optional  

Must be a valid email address. Example: alisa.dibbert@example.org

phone_number   string  optional  

Must not be greater than 255 characters. Example: h

address   string  optional  

Must not be greater than 255 characters. Example: rhzdihmvwmgnui

about   string  optional  

Example: et

image   file  optional  

Must be an image. Must not be greater than 2048 kilobytes. Example: C:\Users\Celestial\AppData\Local\Temp\php48FD.tmp

avatar_url   string  optional  

Must not be greater than 255 characters. Example: http://larkin.com/ipsum-quod-blanditiis-pariatur-corrupti-quia-atque-necessitatibus

GET api/companies

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/companies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/companies"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/companies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified company.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/companies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"zncsxejrcfcriuj\",
    \"registration_number\": \"mtixhnmofifmw\",
    \"business_address\": \"cfhxxwhpmchoxygjcgmpwir\",
    \"email\": \"lesley.bogisich@example.org\",
    \"phone\": \"muaeekqz\",
    \"website\": \"ibzq\",
    \"tpin\": \"mk\",
    \"year_established\": \"3003\",
    \"business_registration_number\": \"kph\",
    \"tax_identification_number\": \"rgkonmujafgngho\",
    \"subscription_license\": \"dzqmckvkuber\",
    \"city\": \"qsacagwogbxcudnbrwcp\",
    \"logo\": \"tjojhhrod\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/companies"
);

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

let body = {
    "name": "zncsxejrcfcriuj",
    "registration_number": "mtixhnmofifmw",
    "business_address": "cfhxxwhpmchoxygjcgmpwir",
    "email": "lesley.bogisich@example.org",
    "phone": "muaeekqz",
    "website": "ibzq",
    "tpin": "mk",
    "year_established": "3003",
    "business_registration_number": "kph",
    "tax_identification_number": "rgkonmujafgngho",
    "subscription_license": "dzqmckvkuber",
    "city": "qsacagwogbxcudnbrwcp",
    "logo": "tjojhhrod"
};

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

Request      

POST api/companies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: zncsxejrcfcriuj

registration_number   string  optional  

Must not be greater than 255 characters. Example: mtixhnmofifmw

business_address   string  optional  

Must not be greater than 255 characters. Example: cfhxxwhpmchoxygjcgmpwir

email   string  optional  

Must not be greater than 255 characters. Example: lesley.bogisich@example.org

phone   string  optional  

Must not be greater than 255 characters. Example: muaeekqz

website   string  optional  

Must not be greater than 255 characters. Example: ibzq

tpin   string  optional  

Must not be greater than 255 characters. Example: mk

year_established   string  optional  

Must be 4 digits. Example: 3003

business_registration_number   string  optional  

Must not be greater than 255 characters. Example: kph

tax_identification_number   string  optional  

Must not be greater than 255 characters. Example: rgkonmujafgngho

subscription_license   string  optional  

Must not be greater than 255 characters. Example: dzqmckvkuber

city   string  optional  

Must not be greater than 255 characters. Example: qsacagwogbxcudnbrwcp

logo   string  optional  

Must not be greater than 2048 characters. Example: tjojhhrod

Display the specified company.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/companies/non" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/companies/non"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: non

Update the specified company.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/companies/soluta" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"pssv\",
    \"registration_number\": \"alyenyjdmrevcwmprbeogmhkx\",
    \"business_address\": \"nntgskfjftl\",
    \"email\": \"geovanny.braun@example.net\",
    \"phone\": \"dsqmneojabbhsmhhqzbirgs\",
    \"website\": \"nekatzvbaodbcwyspraoasxu\",
    \"tpin\": \"gpacsphkjssnctotbeownd\",
    \"year_established\": \"9258\",
    \"business_registration_number\": \"uyurgwqfpns\",
    \"tax_identification_number\": \"jetnzvrg\",
    \"subscription_license\": \"mynwovtfhphjlqocdlvw\",
    \"city\": \"vajwpiokbqyxxq\",
    \"logo\": \"nfxmldajujvakwu\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/companies/soluta"
);

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

let body = {
    "name": "pssv",
    "registration_number": "alyenyjdmrevcwmprbeogmhkx",
    "business_address": "nntgskfjftl",
    "email": "geovanny.braun@example.net",
    "phone": "dsqmneojabbhsmhhqzbirgs",
    "website": "nekatzvbaodbcwyspraoasxu",
    "tpin": "gpacsphkjssnctotbeownd",
    "year_established": "9258",
    "business_registration_number": "uyurgwqfpns",
    "tax_identification_number": "jetnzvrg",
    "subscription_license": "mynwovtfhphjlqocdlvw",
    "city": "vajwpiokbqyxxq",
    "logo": "nfxmldajujvakwu"
};

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

Request      

PUT api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: soluta

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: pssv

registration_number   string  optional  

Must not be greater than 255 characters. Example: alyenyjdmrevcwmprbeogmhkx

business_address   string  optional  

Must not be greater than 255 characters. Example: nntgskfjftl

email   string  optional  

Must not be greater than 255 characters. Example: geovanny.braun@example.net

phone   string  optional  

Must not be greater than 255 characters. Example: dsqmneojabbhsmhhqzbirgs

website   string  optional  

Must not be greater than 255 characters. Example: nekatzvbaodbcwyspraoasxu

tpin   string  optional  

Must not be greater than 255 characters. Example: gpacsphkjssnctotbeownd

year_established   string  optional  

Must be 4 digits. Example: 9258

business_registration_number   string  optional  

Must not be greater than 255 characters. Example: uyurgwqfpns

tax_identification_number   string  optional  

Must not be greater than 255 characters. Example: jetnzvrg

subscription_license   string  optional  

Must not be greater than 255 characters. Example: mynwovtfhphjlqocdlvw

city   string  optional  

Must not be greater than 255 characters. Example: vajwpiokbqyxxq

logo   string  optional  

Must not be greater than 2048 characters. Example: nfxmldajujvakwu

Update the specified company.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/companies/numquam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"gyjffpm\",
    \"registration_number\": \"uccld\",
    \"business_address\": \"yqhgohxmiqlirav\",
    \"email\": \"erica04@example.net\",
    \"phone\": \"kgtgzxmzyaazmxwgpxdht\",
    \"website\": \"tpilmdsdphy\",
    \"tpin\": \"cdkvzjatdvbq\",
    \"year_established\": \"7489\",
    \"business_registration_number\": \"vtdevvwgbatyangstoekeaneb\",
    \"tax_identification_number\": \"bgnkswtlkhuwr\",
    \"subscription_license\": \"hwxphsnlivmrombzscqb\",
    \"city\": \"ruoqqztwrplckjnixil\",
    \"logo\": \"vxzxewvflkxnyg\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/companies/numquam"
);

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

let body = {
    "name": "gyjffpm",
    "registration_number": "uccld",
    "business_address": "yqhgohxmiqlirav",
    "email": "erica04@example.net",
    "phone": "kgtgzxmzyaazmxwgpxdht",
    "website": "tpilmdsdphy",
    "tpin": "cdkvzjatdvbq",
    "year_established": "7489",
    "business_registration_number": "vtdevvwgbatyangstoekeaneb",
    "tax_identification_number": "bgnkswtlkhuwr",
    "subscription_license": "hwxphsnlivmrombzscqb",
    "city": "ruoqqztwrplckjnixil",
    "logo": "vxzxewvflkxnyg"
};

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

Request      

PATCH api/companies/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the company. Example: numquam

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: gyjffpm

registration_number   string  optional  

Must not be greater than 255 characters. Example: uccld

business_address   string  optional  

Must not be greater than 255 characters. Example: yqhgohxmiqlirav

email   string  optional  

Must not be greater than 255 characters. Example: erica04@example.net

phone   string  optional  

Must not be greater than 255 characters. Example: kgtgzxmzyaazmxwgpxdht

website   string  optional  

Must not be greater than 255 characters. Example: tpilmdsdphy

tpin   string  optional  

Must not be greater than 255 characters. Example: cdkvzjatdvbq

year_established   string  optional  

Must be 4 digits. Example: 7489

business_registration_number   string  optional  

Must not be greater than 255 characters. Example: vtdevvwgbatyangstoekeaneb

tax_identification_number   string  optional  

Must not be greater than 255 characters. Example: bgnkswtlkhuwr

subscription_license   string  optional  

Must not be greater than 255 characters. Example: hwxphsnlivmrombzscqb

city   string  optional  

Must not be greater than 255 characters. Example: ruoqqztwrplckjnixil

logo   string  optional  

Must not be greater than 2048 characters. Example: vxzxewvflkxnyg

Display a listing of equities.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/equities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/equities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created equity.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/equities" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"dario11@example.com\",
    \"phone\": \"eos\",
    \"country\": \"ea\",
    \"state\": \"dolorum\",
    \"address\": \"ex\",
    \"owner_name\": \"optio\",
    \"owner_type\": \"et\",
    \"ownership_percentage\": 242.214593,
    \"number_of_shares\": 13,
    \"share_class\": \"repellendus\",
    \"equity_value\": 46.9,
    \"initial_investment\": 31007.580054014,
    \"date_of_investment\": \"2025-03-11T10:35:55\",
    \"capital_contributions\": 1.7649791,
    \"withdrawals\": 32.69514,
    \"cumulative_dividends\": 27,
    \"dilution_percentage\": 24156809,
    \"valuation_date\": \"2025-03-11T10:35:55\",
    \"equity_type\": \"possimus\",
    \"status\": \"occaecati\",
    \"remarks\": \"quisquam\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities"
);

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

let body = {
    "email": "dario11@example.com",
    "phone": "eos",
    "country": "ea",
    "state": "dolorum",
    "address": "ex",
    "owner_name": "optio",
    "owner_type": "et",
    "ownership_percentage": 242.214593,
    "number_of_shares": 13,
    "share_class": "repellendus",
    "equity_value": 46.9,
    "initial_investment": 31007.580054014,
    "date_of_investment": "2025-03-11T10:35:55",
    "capital_contributions": 1.7649791,
    "withdrawals": 32.69514,
    "cumulative_dividends": 27,
    "dilution_percentage": 24156809,
    "valuation_date": "2025-03-11T10:35:55",
    "equity_type": "possimus",
    "status": "occaecati",
    "remarks": "quisquam"
};

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

Request      

POST api/equities

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string  optional  

Must be a valid email address. Example: dario11@example.com

phone   string  optional  

Example: eos

country   string  optional  

Example: ea

state   string  optional  

Example: dolorum

address   string  optional  

Example: ex

owner_name   string  optional  

Example: optio

owner_type   string  optional  

Example: et

ownership_percentage   number  optional  

Example: 242.214593

number_of_shares   integer  optional  

Example: 13

share_class   string  optional  

Example: repellendus

equity_value   number  optional  

Example: 46.9

initial_investment   number  optional  

Example: 31007.580054014

date_of_investment   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

capital_contributions   number  optional  

Example: 1.7649791

withdrawals   number  optional  

Example: 32.69514

cumulative_dividends   number  optional  

Example: 27

dilution_percentage   number  optional  

Example: 24156809

valuation_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

equity_type   string  optional  

Example: possimus

status   string  optional  

Example: occaecati

remarks   string  optional  

Example: quisquam

Display the specified equity.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/equities/quis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities/quis"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/equities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the equity. Example: quis

Update the specified equity.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/equities/incidunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"damore.ramon@example.net\",
    \"phone\": \"et\",
    \"country\": \"inventore\",
    \"state\": \"quos\",
    \"address\": \"doloribus\",
    \"owner_name\": \"non\",
    \"owner_type\": \"blanditiis\",
    \"ownership_percentage\": 3548219.8198,
    \"number_of_shares\": 11,
    \"share_class\": \"dicta\",
    \"equity_value\": 2139.4779,
    \"initial_investment\": 4.9017,
    \"date_of_investment\": \"2025-03-11T10:35:55\",
    \"capital_contributions\": 136110.57,
    \"withdrawals\": 2.018086,
    \"cumulative_dividends\": 838.2,
    \"dilution_percentage\": 23.88818,
    \"valuation_date\": \"2025-03-11T10:35:55\",
    \"equity_type\": \"ut\",
    \"status\": \"consectetur\",
    \"remarks\": \"tempore\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities/incidunt"
);

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

let body = {
    "email": "damore.ramon@example.net",
    "phone": "et",
    "country": "inventore",
    "state": "quos",
    "address": "doloribus",
    "owner_name": "non",
    "owner_type": "blanditiis",
    "ownership_percentage": 3548219.8198,
    "number_of_shares": 11,
    "share_class": "dicta",
    "equity_value": 2139.4779,
    "initial_investment": 4.9017,
    "date_of_investment": "2025-03-11T10:35:55",
    "capital_contributions": 136110.57,
    "withdrawals": 2.018086,
    "cumulative_dividends": 838.2,
    "dilution_percentage": 23.88818,
    "valuation_date": "2025-03-11T10:35:55",
    "equity_type": "ut",
    "status": "consectetur",
    "remarks": "tempore"
};

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

Request      

PUT api/equities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the equity. Example: incidunt

Body Parameters

email   string  optional  

Must be a valid email address. Example: damore.ramon@example.net

phone   string  optional  

Example: et

country   string  optional  

Example: inventore

state   string  optional  

Example: quos

address   string  optional  

Example: doloribus

owner_name   string  optional  

Example: non

owner_type   string  optional  

Example: blanditiis

ownership_percentage   number  optional  

Example: 3548219.8198

number_of_shares   integer  optional  

Example: 11

share_class   string  optional  

Example: dicta

equity_value   number  optional  

Example: 2139.4779

initial_investment   number  optional  

Example: 4.9017

date_of_investment   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

capital_contributions   number  optional  

Example: 136110.57

withdrawals   number  optional  

Example: 2.018086

cumulative_dividends   number  optional  

Example: 838.2

dilution_percentage   number  optional  

Example: 23.88818

valuation_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

equity_type   string  optional  

Example: ut

status   string  optional  

Example: consectetur

remarks   string  optional  

Example: tempore

Update the specified equity.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/equities/voluptates" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"watsica.clement@example.com\",
    \"phone\": \"occaecati\",
    \"country\": \"sit\",
    \"state\": \"reiciendis\",
    \"address\": \"est\",
    \"owner_name\": \"vitae\",
    \"owner_type\": \"minus\",
    \"ownership_percentage\": 608317.77108223,
    \"number_of_shares\": 20,
    \"share_class\": \"vel\",
    \"equity_value\": 0.21,
    \"initial_investment\": 14764.23724,
    \"date_of_investment\": \"2025-03-11T10:35:55\",
    \"capital_contributions\": 205.9,
    \"withdrawals\": 25.52,
    \"cumulative_dividends\": 202425.98,
    \"dilution_percentage\": 58006068.08835229,
    \"valuation_date\": \"2025-03-11T10:35:55\",
    \"equity_type\": \"et\",
    \"status\": \"a\",
    \"remarks\": \"et\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities/voluptates"
);

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

let body = {
    "email": "watsica.clement@example.com",
    "phone": "occaecati",
    "country": "sit",
    "state": "reiciendis",
    "address": "est",
    "owner_name": "vitae",
    "owner_type": "minus",
    "ownership_percentage": 608317.77108223,
    "number_of_shares": 20,
    "share_class": "vel",
    "equity_value": 0.21,
    "initial_investment": 14764.23724,
    "date_of_investment": "2025-03-11T10:35:55",
    "capital_contributions": 205.9,
    "withdrawals": 25.52,
    "cumulative_dividends": 202425.98,
    "dilution_percentage": 58006068.08835229,
    "valuation_date": "2025-03-11T10:35:55",
    "equity_type": "et",
    "status": "a",
    "remarks": "et"
};

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

Request      

PATCH api/equities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the equity. Example: voluptates

Body Parameters

email   string  optional  

Must be a valid email address. Example: watsica.clement@example.com

phone   string  optional  

Example: occaecati

country   string  optional  

Example: sit

state   string  optional  

Example: reiciendis

address   string  optional  

Example: est

owner_name   string  optional  

Example: vitae

owner_type   string  optional  

Example: minus

ownership_percentage   number  optional  

Example: 608317.77108223

number_of_shares   integer  optional  

Example: 20

share_class   string  optional  

Example: vel

equity_value   number  optional  

Example: 0.21

initial_investment   number  optional  

Example: 14764.23724

date_of_investment   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

capital_contributions   number  optional  

Example: 205.9

withdrawals   number  optional  

Example: 25.52

cumulative_dividends   number  optional  

Example: 202425.98

dilution_percentage   number  optional  

Example: 58006068.088352

valuation_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:55

equity_type   string  optional  

Example: et

status   string  optional  

Example: a

remarks   string  optional  

Example: et

Remove the specified equity.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/equities/porro" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/equities/porro"
);

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

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

Request      

DELETE api/equities/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the equity. Example: porro

POST api/supplier-invoices/add-payment

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoices/add-payment" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"reprehenderit\",
    \"supplier_invoice_id\": \"possimus\",
    \"payment_amount_total\": 55
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/add-payment"
);

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

let body = {
    "supplier_id": "reprehenderit",
    "supplier_invoice_id": "possimus",
    "payment_amount_total": 55
};

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

Request      

POST api/supplier-invoices/add-payment

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

supplier_id   string   

Example: reprehenderit

supplier_invoice_id   string   

Example: possimus

payment_amount_total   number   

Must be at least 0. Example: 55

POST api/supplier-invoices/import

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoices/import" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/import"
);

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

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

Request      

POST api/supplier-invoices/import

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/supplier-invoice-payments/import

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/import" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/import"
);

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

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

Request      

POST api/supplier-invoice-payments/import

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/requisitions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/requisitions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/requisitions/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/voluptas"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/requisitions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the requisition. Example: voluptas

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"requisition_type\": \"deleniti\",
    \"warehouse_id\": 15,
    \"from_warehouse_id\": 1,
    \"supplier_id\": 12,
    \"reference\": \"consequatur\",
    \"currency\": \"sunt\",
    \"tax_rate\": 547759.3365396,
    \"exchange_rate\": 1.28661916,
    \"reason_for_requisition\": \"pariatur\",
    \"lines\": [
        \"libero\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions"
);

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

let body = {
    "requisition_type": "deleniti",
    "warehouse_id": 15,
    "from_warehouse_id": 1,
    "supplier_id": 12,
    "reference": "consequatur",
    "currency": "sunt",
    "tax_rate": 547759.3365396,
    "exchange_rate": 1.28661916,
    "reason_for_requisition": "pariatur",
    "lines": [
        "libero"
    ]
};

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

Request      

POST api/requisitions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

requisition_type   string   

Example: deleniti

warehouse_id   integer  optional  

Example: 15

from_warehouse_id   integer  optional  

Example: 1

supplier_id   integer  optional  

Example: 12

reference   string  optional  

Example: consequatur

currency   string   

Example: sunt

tax_rate   number  optional  

Example: 547759.3365396

due_date   string  optional  
exchange_rate   number  optional  

Example: 1.28661916

reason_for_requisition   string   

Example: pariatur

lines   string[]   
item_name   string   

Example: ipsum

description   string   

Example: Ab qui libero odio non veritatis quis numquam.

uom   string  optional  

Example: fugit

qty   integer   

Must be at least 1. Example: 16

unit_price   number   

Must be at least 0. Example: 87

discount   number  optional  

Must be at least 0. Example: 18

tax_rate   number  optional  

Must be at least 0. Example: 23

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/requisitions/praesentium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/praesentium"
);

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

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

Request      

PUT api/requisitions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the requisition. Example: praesentium

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/requisitions/omnis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/omnis"
);

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

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

Request      

PATCH api/requisitions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the requisition. Example: omnis

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/requisitions/eius" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/eius"
);

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

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

Request      

DELETE api/requisitions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the requisition. Example: eius

POST api/requisitions/{requisition}/update-lines

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/necessitatibus/update-lines" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/necessitatibus/update-lines"
);

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

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

Request      

POST api/requisitions/{requisition}/update-lines

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

requisition   string   

The requisition. Example: necessitatibus

PATCH api/requisitions/{requisition}/update-lines

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/requisitions/autem/update-lines" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/autem/update-lines"
);

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

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

Request      

PATCH api/requisitions/{requisition}/update-lines

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

requisition   string   

The requisition. Example: autem

POST api/requisitions/approve

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/approve" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"requisition_id\": 20
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/approve"
);

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

let body = {
    "requisition_id": 20
};

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

Request      

POST api/requisitions/approve

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

requisition_id   integer   

Example: 20

POST api/requisitions/cancel

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason\": \"oskxza\",
    \"requisition_id\": 11
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/cancel"
);

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

let body = {
    "reason": "oskxza",
    "requisition_id": 11
};

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

Request      

POST api/requisitions/cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

reason   string   

Must not be greater than 255 characters. Example: oskxza

requisition_id   integer   

Example: 11

POST api/requisitions/reject

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/reject" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason\": \"ifux\",
    \"requisition_id\": 1
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/reject"
);

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

let body = {
    "reason": "ifux",
    "requisition_id": 1
};

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

Request      

POST api/requisitions/reject

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

reason   string   

Must not be greater than 255 characters. Example: ifux

requisition_id   integer   

Example: 1

POST api/requisitions/convert-to-purchase-order

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/convert-to-purchase-order" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"requisition_id\": 11
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/convert-to-purchase-order"
);

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

let body = {
    "requisition_id": 11
};

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

Request      

POST api/requisitions/convert-to-purchase-order

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

requisition_id   integer   

Example: 11

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/requisition-statuses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisition-statuses"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/requisition-statuses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/requisition-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisition-types"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/requisition-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Convert a requisition to an RFQ.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/convert-to-rfqs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"requisition_id\": \"ea\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/convert-to-rfqs"
);

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

let body = {
    "requisition_id": "ea"
};

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

Request      

POST api/requisitions/convert-to-rfqs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

requisition_id   string   

Example: ea

supplier_ids   string[]  optional  

POST api/requisitions/upload

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/requisitions/upload" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"Data_Template\": \"suscipit\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/requisitions/upload"
);

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

let body = {
    "Data_Template": "suscipit"
};

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

Request      

POST api/requisitions/upload

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

Data_Template   string   

Example: suscipit

Display a listing of RFQs.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rfqs" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rfqs"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rfqs

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified RFQ.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rfqs/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rfqs/voluptas"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rfqs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the rfq. Example: voluptas

Remove the specified RFQ from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/rfqs/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rfqs/ut"
);

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

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

Request      

DELETE api/rfqs/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the rfq. Example: ut

Display the specified RFQ.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rfqs/responses/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rfqs/responses/voluptas"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rfqs/responses/{responseId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

responseId   string   

Example: voluptas

POST api/rfqs/responses/accept

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/rfqs/responses/accept" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"due_date\": \"2025-03-11T10:35:56\",
    \"response_id\": \"consequatur\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rfqs/responses/accept"
);

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

let body = {
    "due_date": "2025-03-11T10:35:56",
    "response_id": "consequatur"
};

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

Request      

POST api/rfqs/responses/accept

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

due_date   string   

Must be a valid date. Example: 2025-03-11T10:35:56

response_id   string   

Example: consequatur

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/positions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/positions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/positions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"oybc\",
    \"description\": \"Omnis vitae aut debitis fuga dolorem saepe aut unde.\",
    \"is_shared\": false,
    \"department_id\": \"aut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions"
);

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

let body = {
    "title": "oybc",
    "description": "Omnis vitae aut debitis fuga dolorem saepe aut unde.",
    "is_shared": false,
    "department_id": "aut"
};

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

Request      

POST api/positions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: oybc

description   string  optional  

Example: Omnis vitae aut debitis fuga dolorem saepe aut unde.

is_shared   boolean  optional  

Example: false

department_id   string   

Example: aut

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/positions/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions/8"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/positions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the position. Example: 8

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/positions/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"qcibywguctcjxhbyqgckrtd\",
    \"description\": \"Maiores consequatur debitis dolore nam praesentium quis qui.\",
    \"is_shared\": true
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions/8"
);

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

let body = {
    "title": "qcibywguctcjxhbyqgckrtd",
    "description": "Maiores consequatur debitis dolore nam praesentium quis qui.",
    "is_shared": true
};

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

Request      

PUT api/positions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the position. Example: 8

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: qcibywguctcjxhbyqgckrtd

description   string  optional  

Example: Maiores consequatur debitis dolore nam praesentium quis qui.

is_shared   boolean  optional  

Example: true

department_id   string  optional  

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/positions/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"lwq\",
    \"description\": \"Aut distinctio quis iusto sed.\",
    \"is_shared\": false
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions/20"
);

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

let body = {
    "title": "lwq",
    "description": "Aut distinctio quis iusto sed.",
    "is_shared": false
};

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

Request      

PATCH api/positions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the position. Example: 20

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: lwq

description   string  optional  

Example: Aut distinctio quis iusto sed.

is_shared   boolean  optional  

Example: false

department_id   string  optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/positions/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/positions/18"
);

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

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

Request      

DELETE api/positions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the position. Example: 18

GET api/permissions

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/permissions/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/permissions/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions/10"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 10

POST api/permissions

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions"
);

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

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

Request      

POST api/permissions

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/permissions/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/permissions/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions/17"
);

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

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

Request      

PUT api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 17

PATCH api/permissions/{id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/permissions/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions/16"
);

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

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

Request      

PATCH api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 16

DELETE api/permissions/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/permissions/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/permissions/2"
);

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

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

Request      

DELETE api/permissions/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the permission. Example: 2

GET api/roles

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/roles" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/roles

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/roles/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/roles/13" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/13"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 13

POST api/roles

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/roles" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles"
);

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

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

Request      

POST api/roles

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/roles/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/roles/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/19"
);

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

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

Request      

PUT api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 19

PATCH api/roles/{id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/roles/9" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/9"
);

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

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

Request      

PATCH api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 9

DELETE api/roles/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/roles/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/3"
);

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

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

Request      

DELETE api/roles/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the role. Example: 3

PUT api/roles/{role}/give-permission

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/roles/12/give-permission" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/12/give-permission"
);

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

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

Request      

PUT api/roles/{role}/give-permission

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

role   integer   

The role. Example: 12

PATCH api/roles/{role}/give-permission

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/roles/10/give-permission" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/roles/10/give-permission"
);

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

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

Request      

PATCH api/roles/{role}/give-permission

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

role   integer   

The role. Example: 10

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/events/quia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events/quia"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/events/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the event. Example: quia

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/events" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"jcefkgnkyiaa\",
    \"color\": \"at\",
    \"textColor\": \"doloribus\",
    \"description\": \"Velit cupiditate pariatur a quae magnam nostrum.\",
    \"start\": 16.684487014,
    \"end\": 7435.2059727,
    \"allDay\": false,
    \"location\": \"yivrywxilsqp\",
    \"visibility\": \"universal\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events"
);

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

let body = {
    "title": "jcefkgnkyiaa",
    "color": "at",
    "textColor": "doloribus",
    "description": "Velit cupiditate pariatur a quae magnam nostrum.",
    "start": 16.684487014,
    "end": 7435.2059727,
    "allDay": false,
    "location": "yivrywxilsqp",
    "visibility": "universal"
};

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

Request      

POST api/events

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: jcefkgnkyiaa

color   string  optional  

Example: at

textColor   string  optional  

Example: doloribus

description   string  optional  

Example: Velit cupiditate pariatur a quae magnam nostrum.

start   number  optional  

Example: 16.684487014

end   number  optional  

Example: 7435.2059727

allDay   boolean  optional  

Example: false

location   string  optional  

Must not be greater than 255 characters. Example: yivrywxilsqp

department_id   string  optional  
visibility   string   

Example: universal

Must be one of:
  • universal
  • department
  • attendees

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/events/ullam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"zfcnnfl\",
    \"color\": \"quis\",
    \"allDay\": false,
    \"textColor\": \"molestiae\",
    \"description\": \"Aliquid doloribus quis tenetur error et dolorum et ab.\",
    \"start\": 70.667,
    \"end\": 6320.87386,
    \"location\": \"hywebifskkqebzjbp\",
    \"visibility\": \"universal\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events/ullam"
);

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

let body = {
    "title": "zfcnnfl",
    "color": "quis",
    "allDay": false,
    "textColor": "molestiae",
    "description": "Aliquid doloribus quis tenetur error et dolorum et ab.",
    "start": 70.667,
    "end": 6320.87386,
    "location": "hywebifskkqebzjbp",
    "visibility": "universal"
};

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

Request      

PUT api/events/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the event. Example: ullam

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: zfcnnfl

color   string  optional  

Example: quis

allDay   boolean  optional  

Example: false

textColor   string  optional  

Example: molestiae

description   string  optional  

Example: Aliquid doloribus quis tenetur error et dolorum et ab.

start   number  optional  

Example: 70.667

end   number  optional  

Example: 6320.87386

location   string  optional  

Must not be greater than 255 characters. Example: hywebifskkqebzjbp

department_id   string  optional  
visibility   string  optional  

Example: universal

Must be one of:
  • universal
  • department
  • attendees

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/events/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"osostmvqi\",
    \"color\": \"maxime\",
    \"allDay\": false,
    \"textColor\": \"rerum\",
    \"description\": \"Vero rerum et vero.\",
    \"start\": 29877187.6,
    \"end\": 10988155.8868,
    \"location\": \"jyjnpisusotiwyrtjyulrql\",
    \"visibility\": \"attendees\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events/voluptas"
);

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

let body = {
    "title": "osostmvqi",
    "color": "maxime",
    "allDay": false,
    "textColor": "rerum",
    "description": "Vero rerum et vero.",
    "start": 29877187.6,
    "end": 10988155.8868,
    "location": "jyjnpisusotiwyrtjyulrql",
    "visibility": "attendees"
};

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

Request      

PATCH api/events/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the event. Example: voluptas

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: osostmvqi

color   string  optional  

Example: maxime

allDay   boolean  optional  

Example: false

textColor   string  optional  

Example: rerum

description   string  optional  

Example: Vero rerum et vero.

start   number  optional  

Example: 29877187.6

end   number  optional  

Example: 10988155.8868

location   string  optional  

Must not be greater than 255 characters. Example: jyjnpisusotiwyrtjyulrql

department_id   string  optional  
visibility   string  optional  

Example: attendees

Must be one of:
  • universal
  • department
  • attendees

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/events/aliquam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events/aliquam"
);

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

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

Request      

DELETE api/events/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the event. Example: aliquam

GET api/events/department/{department_id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/events/department/6" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/events/department/6"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/events/department/{department_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

department_id   integer   

The ID of the department. Example: 6

Display a listing of the memos.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/memos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/memos

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created memo in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/memos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"mrfulujldkdb\",
    \"content\": \"natus\",
    \"visibility\": \"in\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos"
);

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

let body = {
    "title": "mrfulujldkdb",
    "content": "natus",
    "visibility": "in"
};

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

Request      

POST api/memos

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: mrfulujldkdb

content   string   

Example: natus

visibility   string   

Example: in

tags   object  optional  
department_id   string  optional  

Display the specified memo.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/memos/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/et"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/memos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the memo. Example: et

Update the specified memo in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/memos/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"gnqipe\",
    \"content\": \"similique\",
    \"status\": \"ipsa\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/3"
);

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

let body = {
    "title": "gnqipe",
    "content": "similique",
    "status": "ipsa"
};

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

Request      

PUT api/memos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the memo. Example: 3

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: gnqipe

content   string  optional  

Example: similique

visibility   string  optional  
tags   object  optional  
status   string  optional  

Example: ipsa

department_id   string  optional  

Update the specified memo in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/memos/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"tjaqtbninzkzgmqsrjvkjlhi\",
    \"content\": \"voluptas\",
    \"status\": \"consectetur\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/12"
);

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

let body = {
    "title": "tjaqtbninzkzgmqsrjvkjlhi",
    "content": "voluptas",
    "status": "consectetur"
};

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

Request      

PATCH api/memos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the memo. Example: 12

Body Parameters

title   string  optional  

Must not be greater than 255 characters. Example: tjaqtbninzkzgmqsrjvkjlhi

content   string  optional  

Example: voluptas

visibility   string  optional  
tags   object  optional  
status   string  optional  

Example: consectetur

department_id   string  optional  

Remove the specified memo from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/memos/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/12"
);

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

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

Request      

DELETE api/memos/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the memo. Example: 12

Approve the specified memo.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/memos/14/approve" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/14/approve"
);

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

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

Request      

PUT api/memos/{memo}/approve

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

memo   integer   

The memo. Example: 14

Approve the specified memo.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/memos/9/approve" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/9/approve"
);

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

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

Request      

PATCH api/memos/{memo}/approve

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

memo   integer   

The memo. Example: 9

PUT api/memos/{memo}/cancel

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/memos/13/cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/13/cancel"
);

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

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

Request      

PUT api/memos/{memo}/cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

memo   integer   

The memo. Example: 13

PATCH api/memos/{memo}/cancel

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/memos/8/cancel" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/8/cancel"
);

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

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

Request      

PATCH api/memos/{memo}/cancel

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

memo   integer   

The memo. Example: 8

Retrieve memos for a specific department.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/memos/department/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/department/12"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/memos/department/{departmentId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

departmentId   integer   

Example: 12

Retrieve memos created by the authenticated user.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/memos/user/created" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/memos/user/created"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/memos/user/created

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stocks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stocks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/stocks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"xlusisslcaf\",
    \"description\": \"Modi facere quia non harum eveniet corrupti.\",
    \"barcode\": \"animi\",
    \"category_id\": \"totam\",
    \"unit_of_measure\": \"jvjhxhgh\",
    \"volume\": \"aliquam\",
    \"mass\": \"hic\",
    \"on_hold\": \"ipsam\",
    \"unit_price\": 72,
    \"purchase_price\": 18,
    \"quantity\": 59,
    \"minimum_stock_level\": 74,
    \"maximum_stock_level\": 63,
    \"reorder_level\": 5
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks"
);

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

let body = {
    "name": "xlusisslcaf",
    "description": "Modi facere quia non harum eveniet corrupti.",
    "barcode": "animi",
    "category_id": "totam",
    "unit_of_measure": "jvjhxhgh",
    "volume": "aliquam",
    "mass": "hic",
    "on_hold": "ipsam",
    "unit_price": 72,
    "purchase_price": 18,
    "quantity": 59,
    "minimum_stock_level": 74,
    "maximum_stock_level": 63,
    "reorder_level": 5
};

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

Request      

POST api/stocks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: xlusisslcaf

description   string  optional  

Example: Modi facere quia non harum eveniet corrupti.

barcode   string  optional  

Example: animi

category_id   string   

Example: totam

sub_category_id   string  optional  
unit_of_measure   string  optional  

Must not be greater than 255 characters. Example: jvjhxhgh

volume   string  optional  

Example: aliquam

mass   string  optional  

Example: hic

on_hold   string  optional  

Example: ipsam

unit_price   number  optional  

Must be at least 0. Example: 72

purchase_price   number  optional  

Must be at least 0. Example: 18

quantity   number   

Must be at least 0. Example: 59

warehouse_id   string  optional  
minimum_stock_level   integer  optional  

Must be at least 0. Example: 74

maximum_stock_level   integer  optional  

Must be at least 0. Example: 63

reorder_level   integer  optional  

Must be at least 0. Example: 5

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stocks/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks/et"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stocks/{stockId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

stockId   string   

Example: et

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/stocks/similique" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"nkrvyjzzxktaugyczb\",
    \"description\": \"Ut qui quas consectetur iste quia.\",
    \"barcode\": \"omnis\",
    \"unit_of_measure\": \"cvrauggjzlrlkqojvbv\",
    \"volume\": \"nobis\",
    \"mass\": \"reiciendis\",
    \"on_hold\": \"tempore\",
    \"unit_price\": 87,
    \"purchase_price\": 25,
    \"quantity\": 31
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks/similique"
);

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

let body = {
    "name": "nkrvyjzzxktaugyczb",
    "description": "Ut qui quas consectetur iste quia.",
    "barcode": "omnis",
    "unit_of_measure": "cvrauggjzlrlkqojvbv",
    "volume": "nobis",
    "mass": "reiciendis",
    "on_hold": "tempore",
    "unit_price": 87,
    "purchase_price": 25,
    "quantity": 31
};

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

Request      

PUT api/stocks/{stockId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

stockId   string   

Example: similique

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: nkrvyjzzxktaugyczb

description   string  optional  

Example: Ut qui quas consectetur iste quia.

barcode   string  optional  

Example: omnis

category_id   string  optional  
sub_category_id   string  optional  
unit_of_measure   string  optional  

Must not be greater than 255 characters. Example: cvrauggjzlrlkqojvbv

volume   string  optional  

Example: nobis

mass   string  optional  

Example: reiciendis

on_hold   string  optional  

Example: tempore

unit_price   number  optional  

Must be at least 0. Example: 87

purchase_price   number  optional  

Must be at least 0. Example: 25

quantity   number  optional  

Must be at least 0. Example: 31

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/stocks/repellat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"krdbhfdleslfgzdicmqzur\",
    \"description\": \"Est ut nesciunt repudiandae ut adipisci quis consequatur.\",
    \"barcode\": \"est\",
    \"unit_of_measure\": \"vjeynpaf\",
    \"volume\": \"dolor\",
    \"mass\": \"est\",
    \"on_hold\": \"dolorum\",
    \"unit_price\": 59,
    \"purchase_price\": 82,
    \"quantity\": 11
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks/repellat"
);

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

let body = {
    "name": "krdbhfdleslfgzdicmqzur",
    "description": "Est ut nesciunt repudiandae ut adipisci quis consequatur.",
    "barcode": "est",
    "unit_of_measure": "vjeynpaf",
    "volume": "dolor",
    "mass": "est",
    "on_hold": "dolorum",
    "unit_price": 59,
    "purchase_price": 82,
    "quantity": 11
};

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

Request      

PATCH api/stocks/{stockId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

stockId   string   

Example: repellat

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: krdbhfdleslfgzdicmqzur

description   string  optional  

Example: Est ut nesciunt repudiandae ut adipisci quis consequatur.

barcode   string  optional  

Example: est

category_id   string  optional  
sub_category_id   string  optional  
unit_of_measure   string  optional  

Must not be greater than 255 characters. Example: vjeynpaf

volume   string  optional  

Example: dolor

mass   string  optional  

Example: est

on_hold   string  optional  

Example: dolorum

unit_price   number  optional  

Must be at least 0. Example: 59

purchase_price   number  optional  

Must be at least 0. Example: 82

quantity   number  optional  

Must be at least 0. Example: 11

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/stocks/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stocks/et"
);

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

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

Request      

DELETE api/stocks/{stockId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

stockId   string   

Example: et

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/currencies" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/currencies"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/currencies

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/flight-enquiries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/flight-enquiries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/flight-enquiries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from_location\": \"zvvdhhulkxgn\",
    \"to_location\": \"gmgxbcoxamaugbhasbf\",
    \"departure_date\": \"2112-09-23\",
    \"return_date\": \"2118-09-13\",
    \"class_preference\": \"Business\",
    \"number_of_adults\": 68,
    \"number_of_children\": 20,
    \"number_of_infants\": 72,
    \"one_way\": false
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries"
);

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

let body = {
    "from_location": "zvvdhhulkxgn",
    "to_location": "gmgxbcoxamaugbhasbf",
    "departure_date": "2112-09-23",
    "return_date": "2118-09-13",
    "class_preference": "Business",
    "number_of_adults": 68,
    "number_of_children": 20,
    "number_of_infants": 72,
    "one_way": false
};

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

Request      

POST api/flight-enquiries

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

from_location   string   

Must not be greater than 255 characters. Example: zvvdhhulkxgn

to_location   string   

Must not be greater than 255 characters. Example: gmgxbcoxamaugbhasbf

departure_date   string   

Must be a valid date. Must be a date after or equal to today. Example: 2112-09-23

return_date   string  optional  

Must be a valid date. Must be a date after or equal to departure_date. Example: 2118-09-13

class_preference   string   

Example: Business

Must be one of:
  • Economy
  • Business
number_of_adults   integer   

Must be at least 1. Example: 68

number_of_children   integer  optional  

Must be at least 0. Example: 20

number_of_infants   integer  optional  

Must be at least 0. Example: 72

one_way   boolean   

Example: false

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/flight-enquiries/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries/17"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/flight-enquiries/{flightEnquiry_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

flightEnquiry_id   integer   

The ID of the flightEnquiry. Example: 17

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/flight-enquiries/15" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from_location\": \"zddyouuiaohalaquqdhlr\",
    \"to_location\": \"fkxazxufredmedsct\",
    \"departure_date\": \"2109-04-04\",
    \"return_date\": \"2111-01-12\",
    \"class_preference\": \"Business\",
    \"number_of_adults\": 75,
    \"number_of_children\": 41,
    \"number_of_infants\": 75,
    \"one_way\": false
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries/15"
);

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

let body = {
    "from_location": "zddyouuiaohalaquqdhlr",
    "to_location": "fkxazxufredmedsct",
    "departure_date": "2109-04-04",
    "return_date": "2111-01-12",
    "class_preference": "Business",
    "number_of_adults": 75,
    "number_of_children": 41,
    "number_of_infants": 75,
    "one_way": false
};

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

Request      

PUT api/flight-enquiries/{flightEnquiry_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

flightEnquiry_id   integer   

The ID of the flightEnquiry. Example: 15

Body Parameters

from_location   string   

Must not be greater than 255 characters. Example: zddyouuiaohalaquqdhlr

to_location   string   

Must not be greater than 255 characters. Example: fkxazxufredmedsct

departure_date   string   

Must be a valid date. Must be a date after or equal to today. Example: 2109-04-04

return_date   string  optional  

Must be a valid date. Must be a date after or equal to departure_date. Example: 2111-01-12

class_preference   string   

Example: Business

Must be one of:
  • Economy
  • Business
number_of_adults   integer   

Must be at least 1. Example: 75

number_of_children   integer  optional  

Must be at least 0. Example: 41

number_of_infants   integer  optional  

Must be at least 0. Example: 75

one_way   boolean   

Example: false

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/flight-enquiries/5" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"from_location\": \"hofgtbfneijaq\",
    \"to_location\": \"gtdkuytdxvxavjkyeg\",
    \"departure_date\": \"2111-06-04\",
    \"return_date\": \"2110-10-17\",
    \"class_preference\": \"Economy\",
    \"number_of_adults\": 67,
    \"number_of_children\": 10,
    \"number_of_infants\": 27,
    \"one_way\": true
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries/5"
);

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

let body = {
    "from_location": "hofgtbfneijaq",
    "to_location": "gtdkuytdxvxavjkyeg",
    "departure_date": "2111-06-04",
    "return_date": "2110-10-17",
    "class_preference": "Economy",
    "number_of_adults": 67,
    "number_of_children": 10,
    "number_of_infants": 27,
    "one_way": true
};

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

Request      

PATCH api/flight-enquiries/{flightEnquiry_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

flightEnquiry_id   integer   

The ID of the flightEnquiry. Example: 5

Body Parameters

from_location   string   

Must not be greater than 255 characters. Example: hofgtbfneijaq

to_location   string   

Must not be greater than 255 characters. Example: gtdkuytdxvxavjkyeg

departure_date   string   

Must be a valid date. Must be a date after or equal to today. Example: 2111-06-04

return_date   string  optional  

Must be a valid date. Must be a date after or equal to departure_date. Example: 2110-10-17

class_preference   string   

Example: Economy

Must be one of:
  • Economy
  • Business
number_of_adults   integer   

Must be at least 1. Example: 67

number_of_children   integer  optional  

Must be at least 0. Example: 10

number_of_infants   integer  optional  

Must be at least 0. Example: 27

one_way   boolean   

Example: true

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/flight-enquiries/3" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/flight-enquiries/3"
);

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

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

Request      

DELETE api/flight-enquiries/{flightEnquiry_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

flightEnquiry_id   integer   

The ID of the flightEnquiry. Example: 3

Get all unread notifications for the authenticated user, including those where user_id is null.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/notifications/unread" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications/unread"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/notifications/unread

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/notifications/count

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/notifications/count" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications/count"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/notifications/count

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/notifications" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/notifications

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/notifications/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications/et"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/notifications/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: et

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/notifications" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications"
);

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

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

Request      

POST api/notifications

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Remove the specified notification from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/notifications/pariatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications/pariatur"
);

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

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

Request      

DELETE api/notifications/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the notification. Example: pariatur

POST api/notifications/send-whatsapp

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/notifications/send-whatsapp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"phone\": \"commodi\",
    \"message\": \"aut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/notifications/send-whatsapp"
);

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

let body = {
    "phone": "commodi",
    "message": "aut"
};

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

Request      

POST api/notifications/send-whatsapp

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

phone   string   

Example: commodi

message   string   

Example: aut

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouse-stocks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouse-stocks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/warehouse-stocks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"warehouse_id\": \"inventore\",
    \"stock_id\": \"pariatur\",
    \"quantity\": 15,
    \"minimum_stock_level\": 22,
    \"maximum_stock_level\": 80,
    \"reorder_level\": 81
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks"
);

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

let body = {
    "warehouse_id": "inventore",
    "stock_id": "pariatur",
    "quantity": 15,
    "minimum_stock_level": 22,
    "maximum_stock_level": 80,
    "reorder_level": 81
};

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

Request      

POST api/warehouse-stocks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

warehouse_id   string   

Example: inventore

stock_id   string   

Example: pariatur

quantity   integer   

Must be at least 0. Example: 15

minimum_stock_level   integer  optional  

Must be at least 0. Example: 22

maximum_stock_level   integer  optional  

Must be at least 0. Example: 80

reorder_level   integer  optional  

Must be at least 0. Example: 81

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/warehouse-stocks/dolorem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks/dolorem"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/warehouse-stocks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the warehouse stock. Example: dolorem

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/warehouse-stocks/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"new_quantity\": 81,
    \"minimum_stock_level\": 56,
    \"maximum_stock_level\": 63,
    \"reorder_level\": 43
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks/et"
);

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

let body = {
    "new_quantity": 81,
    "minimum_stock_level": 56,
    "maximum_stock_level": 63,
    "reorder_level": 43
};

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

Request      

PUT api/warehouse-stocks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the warehouse stock. Example: et

Body Parameters

warehouse_id   string  optional  
stock_id   string  optional  
new_quantity   integer  optional  

Must be at least 0. Example: 81

minimum_stock_level   integer  optional  

Must be at least 0. Example: 56

maximum_stock_level   integer  optional  

Must be at least 0. Example: 63

reorder_level   integer  optional  

Must be at least 0. Example: 43

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/warehouse-stocks/quasi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"new_quantity\": 85,
    \"minimum_stock_level\": 65,
    \"maximum_stock_level\": 76,
    \"reorder_level\": 79
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks/quasi"
);

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

let body = {
    "new_quantity": 85,
    "minimum_stock_level": 65,
    "maximum_stock_level": 76,
    "reorder_level": 79
};

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

Request      

PATCH api/warehouse-stocks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the warehouse stock. Example: quasi

Body Parameters

warehouse_id   string  optional  
stock_id   string  optional  
new_quantity   integer  optional  

Must be at least 0. Example: 85

minimum_stock_level   integer  optional  

Must be at least 0. Example: 65

maximum_stock_level   integer  optional  

Must be at least 0. Example: 76

reorder_level   integer  optional  

Must be at least 0. Example: 79

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/warehouse-stocks/cumque" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks/cumque"
);

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

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

Request      

DELETE api/warehouse-stocks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the warehouse stock. Example: cumque

POST api/warehouse-stocks/increase-unit-cost

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/warehouse-stocks/increase-unit-cost" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"percentage\": 42
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/warehouse-stocks/increase-unit-cost"
);

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

let body = {
    "percentage": 42
};

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

Request      

POST api/warehouse-stocks/increase-unit-cost

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

percentage   number   

Must be at least 0. Example: 42

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/purchase-orders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/purchase-orders"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/purchase-orders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/purchase-orders/voluptatibus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/purchase-orders/voluptatibus"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/purchase-orders/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the purchase order. Example: voluptatibus

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/goods-received-notes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/goods-received-notes"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/goods-received-notes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/goods-received-notes/eligendi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/goods-received-notes/eligendi"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/goods-received-notes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the goods received note. Example: eligendi

POST api/goods-received-notes

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/goods-received-notes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"purchase_order_detail_id\": \"adipisci\",
    \"date_received\": \"2025-03-11T10:35:57\",
    \"unit_of_measure\": \"voluptatibus\",
    \"qty_received\": 60,
    \"price\": 64,
    \"serial_or_batch_number\": \"jcbhuzzaizx\",
    \"expiry_date\": \"2025-03-11T10:35:57\",
    \"inspected\": true,
    \"inspection_result\": \"jtews\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/goods-received-notes"
);

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

let body = {
    "purchase_order_detail_id": "adipisci",
    "date_received": "2025-03-11T10:35:57",
    "unit_of_measure": "voluptatibus",
    "qty_received": 60,
    "price": 64,
    "serial_or_batch_number": "jcbhuzzaizx",
    "expiry_date": "2025-03-11T10:35:57",
    "inspected": true,
    "inspection_result": "jtews"
};

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

Request      

POST api/goods-received-notes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

purchase_order_detail_id   string   

Example: adipisci

category_id   string  optional  
sub_category_id   string  optional  
date_received   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

unit_of_measure   string  optional  

Example: voluptatibus

qty_received   number   

Must be at least 1. Example: 60

price   number  optional  

Must be at least 0. Example: 64

serial_or_batch_number   string  optional  

Must not be greater than 255 characters. Example: jcbhuzzaizx

expiry_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

inspected   boolean   

Example: true

inspection_result   string  optional  

Must not be greater than 255 characters. Example: jtews

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/stock-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"zxlvxjdakoh\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories"
);

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

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

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

Request      

POST api/stock-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: zxlvxjdakoh

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-categories/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories/maiores"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock category. Example: maiores

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/stock-categories/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qww\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories/et"
);

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

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

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

Request      

PUT api/stock-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock category. Example: et

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: qww

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/stock-categories/asperiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"wabcqsfgarlmooowlzo\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories/asperiores"
);

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

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

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

Request      

PATCH api/stock-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock category. Example: asperiores

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: wabcqsfgarlmooowlzo

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/stock-categories/asperiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-categories/asperiores"
);

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

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

Request      

DELETE api/stock-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock category. Example: asperiores

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-sub-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-sub-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/stock-sub-categories" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"zbklbctknlrixrmtzid\",
    \"category_id\": \"neque\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories"
);

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

let body = {
    "name": "zbklbctknlrixrmtzid",
    "category_id": "neque"
};

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

Request      

POST api/stock-sub-categories

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: zbklbctknlrixrmtzid

category_id   string   

Example: neque

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-sub-categories/odit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories/odit"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock sub category. Example: odit

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/stock-sub-categories/porro" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"fqzumpcbb\",
    \"description\": \"Sint asperiores minima animi.\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories/porro"
);

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

let body = {
    "name": "fqzumpcbb",
    "description": "Sint asperiores minima animi."
};

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

Request      

PUT api/stock-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock sub category. Example: porro

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: fqzumpcbb

category_id   string  optional  
description   string  optional  

Example: Sint asperiores minima animi.

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/stock-sub-categories/quisquam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"xnimsvxiixxcunkwguzxdwcjq\",
    \"description\": \"Vel recusandae nam aut sunt.\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories/quisquam"
);

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

let body = {
    "name": "xnimsvxiixxcunkwguzxdwcjq",
    "description": "Vel recusandae nam aut sunt."
};

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

Request      

PATCH api/stock-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock sub category. Example: quisquam

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: xnimsvxiixxcunkwguzxdwcjq

category_id   string  optional  
description   string  optional  

Example: Vel recusandae nam aut sunt.

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/stock-sub-categories/laudantium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-sub-categories/laudantium"
);

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

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

Request      

DELETE api/stock-sub-categories/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock sub category. Example: laudantium

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-variants" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-variants"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-variants

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/stock-variants" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-variants"
);

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

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

Request      

POST api/stock-variants

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/stock-variants/corporis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-variants/corporis"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/stock-variants/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock variant. Example: corporis

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/stock-variants/nesciunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-variants/nesciunt"
);

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

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

Request      

PUT api/stock-variants/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock variant. Example: nesciunt

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/stock-variants/iusto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/stock-variants/iusto"
);

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

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

Request      

DELETE api/stock-variants/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the stock variant. Example: iusto

Display a listing of the surveys.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/surveys" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/surveys

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified survey.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/surveys/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/ut"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: ut

Update the specified survey.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/surveys/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"yobltmngz\",
    \"description\": \"Dolores voluptates sed quas quas culpa perferendis quia.\",
    \"organisation\": \"laboriosam\",
    \"country\": \"labore\",
    \"region\": \"autem\",
    \"district\": \"ea\",
    \"sector\": \"dolores\",
    \"questions\": [
        \"magnam\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/et"
);

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

let body = {
    "title": "yobltmngz",
    "description": "Dolores voluptates sed quas quas culpa perferendis quia.",
    "organisation": "laboriosam",
    "country": "labore",
    "region": "autem",
    "district": "ea",
    "sector": "dolores",
    "questions": [
        "magnam"
    ]
};

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

Request      

PUT api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: et

Body Parameters

title   string   

Must not be greater than 255 characters. Example: yobltmngz

description   string  optional  

Example: Dolores voluptates sed quas quas culpa perferendis quia.

organisation   string   

Example: laboriosam

country   string   

Example: labore

region   string   

Example: autem

district   string   

Example: ea

sector   string   

Example: dolores

questions   string[]  optional  
id   string  optional  
question_text   string   

Must not be greater than 500 characters. Example: ihhu

question_type   string   

Example: radio

Must be one of:
  • text
  • radio
  • checkbox
  • open-ended
  • dropdown
options_text   string  optional  

Example: sunt

Update the specified survey.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/surveys/enim" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"sfcogcsprcqypvpxcikivhf\",
    \"description\": \"Non dolorem voluptatem nihil error pariatur eos.\",
    \"organisation\": \"possimus\",
    \"country\": \"explicabo\",
    \"region\": \"mollitia\",
    \"district\": \"delectus\",
    \"sector\": \"minus\",
    \"questions\": [
        \"temporibus\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/enim"
);

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

let body = {
    "title": "sfcogcsprcqypvpxcikivhf",
    "description": "Non dolorem voluptatem nihil error pariatur eos.",
    "organisation": "possimus",
    "country": "explicabo",
    "region": "mollitia",
    "district": "delectus",
    "sector": "minus",
    "questions": [
        "temporibus"
    ]
};

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

Request      

PATCH api/surveys/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the survey. Example: enim

Body Parameters

title   string   

Must not be greater than 255 characters. Example: sfcogcsprcqypvpxcikivhf

description   string  optional  

Example: Non dolorem voluptatem nihil error pariatur eos.

organisation   string   

Example: possimus

country   string   

Example: explicabo

region   string   

Example: mollitia

district   string   

Example: delectus

sector   string   

Example: minus

questions   string[]  optional  
id   string  optional  
question_text   string   

Must not be greater than 500 characters. Example: rlrcivijqdoywwoqxgnttnxh

question_type   string   

Example: dropdown

Must be one of:
  • text
  • radio
  • checkbox
  • open-ended
  • dropdown
options_text   string  optional  

Example: quo

GET api/surveys/edit/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/surveys/edit/non" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/edit/non"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/surveys/edit/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the edit. Example: non

Store a newly created survey.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/surveys" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"lvhdkgcekokr\",
    \"description\": \"Neque iure repudiandae quasi voluptatum non reiciendis.\",
    \"organisation\": \"iusto\",
    \"country\": \"veniam\",
    \"region\": \"cupiditate\",
    \"district\": \"recusandae\",
    \"sector\": \"eos\",
    \"questions\": [
        \"quia\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys"
);

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

let body = {
    "title": "lvhdkgcekokr",
    "description": "Neque iure repudiandae quasi voluptatum non reiciendis.",
    "organisation": "iusto",
    "country": "veniam",
    "region": "cupiditate",
    "district": "recusandae",
    "sector": "eos",
    "questions": [
        "quia"
    ]
};

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

Request      

POST api/surveys

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

title   string   

Must not be greater than 255 characters. Example: lvhdkgcekokr

description   string  optional  

Example: Neque iure repudiandae quasi voluptatum non reiciendis.

organisation   string   

Example: iusto

country   string   

Example: veniam

region   string   

Example: cupiditate

district   string   

Example: recusandae

sector   string   

Example: eos

questions   string[]  optional  
question_text   string   

Must not be greater than 500 characters. Example: wtyyoecimrienykabphph

question_type   string   

Example: text

Must be one of:
  • text
  • radio
  • checkbox
  • open-ended
  • dropdown
options_text   string  optional  

Example: non

POST api/surveys/participants

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/surveys/participants" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"norene.parisian@example.net\",
    \"name\": \"rerum\",
    \"gender\": \"rerum\",
    \"department\": \"dolor\",
    \"position\": \"sunt\",
    \"age\": 4,
    \"phone\": \"suscipit\",
    \"survey_id\": \"modi\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/participants"
);

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

let body = {
    "email": "norene.parisian@example.net",
    "name": "rerum",
    "gender": "rerum",
    "department": "dolor",
    "position": "sunt",
    "age": 4,
    "phone": "suscipit",
    "survey_id": "modi"
};

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

Request      

POST api/surveys/participants

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

email   string  optional  

Must be a valid email address. Example: norene.parisian@example.net

name   string   

Example: rerum

gender   string   

Example: rerum

department   string   

Example: dolor

position   string   

Example: sunt

age   integer   

Example: 4

phone   string   

Example: suscipit

survey_id   string   

Example: modi

Display a listing of the responses.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/surveys/responses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/responses"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/surveys/responses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created response in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/surveys/responses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"survey_id\": \"nam\",
    \"phone\": \"ipsum\",
    \"responses\": [
        \"velit\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/responses"
);

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

let body = {
    "survey_id": "nam",
    "phone": "ipsum",
    "responses": [
        "velit"
    ]
};

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

Request      

POST api/surveys/responses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

survey_id   string   

Example: nam

phone   string   

Ensure the survey exists. Example: ipsum

responses   string[]   
question_id   string   

Example: voluptatibus

response_text   string  optional  

Ensure the question exists. Example: nesciunt

option_id   string  optional  

Open-ended response. Example: id

GET api/surveys/{company}/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/surveys/tempora/dolor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/surveys/tempora/dolor"
);

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

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

Example response (403):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Not Authorized."
}
 

Request      

GET api/surveys/{company}/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

company   string   

Example: tempora

id   string   

The ID of the {company}. Example: dolor

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/incomes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/incomes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/incomes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer\": \"nwtdchaotkiqwyxaktjzom\",
    \"service\": \"fbfinhoawfechjtkkkkyasfsw\",
    \"account_number\": \"zzdmubdxnibajeonsgcab\",
    \"bank\": \"aqjhnnbzuvlhgyjqnaejhuf\",
    \"quantity\": 52,
    \"date\": \"2025-03-11T10:35:57\",
    \"description\": \"Officiis voluptas sapiente laboriosam doloremque ut quia.\",
    \"amount\": 25,
    \"currency\": \"mnz\",
    \"payment_method\": \"hnq\",
    \"reference_number\": \"hcsctdjmctzvdpwifpc\",
    \"number\": \"kwkxatb\",
    \"type\": \"aypgygdexcilmdmybddpxldey\",
    \"split\": \"dignissimos\",
    \"status\": \"esse\",
    \"category\": \"zenrnkitcsydcgehs\",
    \"due_date\": \"2025-03-11T10:35:57\",
    \"received_by\": \"maiores\",
    \"tax\": 79,
    \"net_amount\": 11
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes"
);

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

let body = {
    "customer": "nwtdchaotkiqwyxaktjzom",
    "service": "fbfinhoawfechjtkkkkyasfsw",
    "account_number": "zzdmubdxnibajeonsgcab",
    "bank": "aqjhnnbzuvlhgyjqnaejhuf",
    "quantity": 52,
    "date": "2025-03-11T10:35:57",
    "description": "Officiis voluptas sapiente laboriosam doloremque ut quia.",
    "amount": 25,
    "currency": "mnz",
    "payment_method": "hnq",
    "reference_number": "hcsctdjmctzvdpwifpc",
    "number": "kwkxatb",
    "type": "aypgygdexcilmdmybddpxldey",
    "split": "dignissimos",
    "status": "esse",
    "category": "zenrnkitcsydcgehs",
    "due_date": "2025-03-11T10:35:57",
    "received_by": "maiores",
    "tax": 79,
    "net_amount": 11
};

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

Request      

POST api/incomes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer   string  optional  

Must not be greater than 255 characters. Example: nwtdchaotkiqwyxaktjzom

service   string  optional  

Must not be greater than 255 characters. Example: fbfinhoawfechjtkkkkyasfsw

account_number   string  optional  

Must not be greater than 50 characters. Example: zzdmubdxnibajeonsgcab

bank   string  optional  

Must not be greater than 255 characters. Example: aqjhnnbzuvlhgyjqnaejhuf

quantity   number  optional  

Must be at least 0. Example: 52

date   string   

Must be a valid date. Example: 2025-03-11T10:35:57

description   string   

Must not be greater than 500 characters. Example: Officiis voluptas sapiente laboriosam doloremque ut quia.

amount   number   

Must be at least 0. Example: 25

currency   string   

Must be 3 characters. Example: mnz

payment_method   string  optional  

Must not be greater than 50 characters. Example: hnq

reference_number   string  optional  

Must not be greater than 100 characters. Example: hcsctdjmctzvdpwifpc

number   string  optional  

Must not be greater than 50 characters. Example: kwkxatb

type   string  optional  

Must not be greater than 50 characters. Example: aypgygdexcilmdmybddpxldey

split   string  optional  

Example: dignissimos

status   string  optional  

Example: esse

sales_invoice_detail_id   string  optional  
category   string   

Must not be greater than 255 characters. Example: zenrnkitcsydcgehs

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

received_by   string  optional  

Example: maiores

tax   number  optional  

Must be at least 0. Example: 79

net_amount   number  optional  

Must be at least 0. Example: 11

attachment   string  optional  

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/incomes/quia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes/quia"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/incomes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the income. Example: quia

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/incomes/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer\": \"dyohrxddhxgmftqztxvofel\",
    \"service\": \"vacmrnismwqbifvf\",
    \"account_number\": \"q\",
    \"bank\": \"bqyfugxrurplqyroytkqu\",
    \"quantity\": 55,
    \"date\": \"2025-03-11T10:35:57\",
    \"description\": \"Voluptas sed quia labore.\",
    \"amount\": 25,
    \"currency\": \"fni\",
    \"payment_method\": \"z\",
    \"reference_number\": \"hsstaczubecelixdqgexau\",
    \"number\": \"myjzbtihiw\",
    \"type\": \"mmtum\",
    \"split\": \"quo\",
    \"status\": \"non\",
    \"category\": \"lidemnmlnss\",
    \"due_date\": \"2025-03-11T10:35:57\",
    \"received_by\": \"rerum\",
    \"tax\": 41,
    \"net_amount\": 73
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes/ut"
);

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

let body = {
    "customer": "dyohrxddhxgmftqztxvofel",
    "service": "vacmrnismwqbifvf",
    "account_number": "q",
    "bank": "bqyfugxrurplqyroytkqu",
    "quantity": 55,
    "date": "2025-03-11T10:35:57",
    "description": "Voluptas sed quia labore.",
    "amount": 25,
    "currency": "fni",
    "payment_method": "z",
    "reference_number": "hsstaczubecelixdqgexau",
    "number": "myjzbtihiw",
    "type": "mmtum",
    "split": "quo",
    "status": "non",
    "category": "lidemnmlnss",
    "due_date": "2025-03-11T10:35:57",
    "received_by": "rerum",
    "tax": 41,
    "net_amount": 73
};

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

Request      

PATCH api/incomes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the income. Example: ut

Body Parameters

customer   string  optional  

Must not be greater than 255 characters. Example: dyohrxddhxgmftqztxvofel

service   string  optional  

Must not be greater than 255 characters. Example: vacmrnismwqbifvf

account_number   string  optional  

Must not be greater than 50 characters. Example: q

bank   string  optional  

Must not be greater than 255 characters. Example: bqyfugxrurplqyroytkqu

quantity   number  optional  

Must be at least 0. Example: 55

date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

description   string  optional  

Must not be greater than 500 characters. Example: Voluptas sed quia labore.

amount   number  optional  

Must be at least 0. Example: 25

currency   string  optional  

Must be 3 characters. Example: fni

payment_method   string  optional  

Must not be greater than 50 characters. Example: z

reference_number   string  optional  

Must not be greater than 100 characters. Example: hsstaczubecelixdqgexau

number   string  optional  

Must not be greater than 50 characters. Example: myjzbtihiw

type   string  optional  

Must not be greater than 50 characters. Example: mmtum

split   string  optional  

Example: quo

status   string  optional  

Example: non

sales_invoice_detail_id   string  optional  
category   string  optional  

Must not be greater than 255 characters. Example: lidemnmlnss

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

received_by   string  optional  

Example: rerum

tax   number  optional  

Must be at least 0. Example: 41

net_amount   number  optional  

Must be at least 0. Example: 73

attachment   string  optional  

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/incomes/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer\": \"fdsqjkysf\",
    \"service\": \"rlfvwhgaguyqftueoadqjrj\",
    \"account_number\": \"rirxbu\",
    \"bank\": \"c\",
    \"quantity\": 72,
    \"date\": \"2025-03-11T10:35:57\",
    \"description\": \"Aperiam qui ut id dolorem.\",
    \"amount\": 32,
    \"currency\": \"pkr\",
    \"payment_method\": \"zynuwlzbeqtocjp\",
    \"reference_number\": \"wse\",
    \"number\": \"rysmpihycrgdqgizkzeskpidt\",
    \"type\": \"msimazjxzhyibl\",
    \"split\": \"placeat\",
    \"status\": \"qui\",
    \"category\": \"kcz\",
    \"due_date\": \"2025-03-11T10:35:57\",
    \"received_by\": \"enim\",
    \"tax\": 76,
    \"net_amount\": 6
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes/maiores"
);

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

let body = {
    "customer": "fdsqjkysf",
    "service": "rlfvwhgaguyqftueoadqjrj",
    "account_number": "rirxbu",
    "bank": "c",
    "quantity": 72,
    "date": "2025-03-11T10:35:57",
    "description": "Aperiam qui ut id dolorem.",
    "amount": 32,
    "currency": "pkr",
    "payment_method": "zynuwlzbeqtocjp",
    "reference_number": "wse",
    "number": "rysmpihycrgdqgizkzeskpidt",
    "type": "msimazjxzhyibl",
    "split": "placeat",
    "status": "qui",
    "category": "kcz",
    "due_date": "2025-03-11T10:35:57",
    "received_by": "enim",
    "tax": 76,
    "net_amount": 6
};

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

Request      

PUT api/incomes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the income. Example: maiores

Body Parameters

customer   string  optional  

Must not be greater than 255 characters. Example: fdsqjkysf

service   string  optional  

Must not be greater than 255 characters. Example: rlfvwhgaguyqftueoadqjrj

account_number   string  optional  

Must not be greater than 50 characters. Example: rirxbu

bank   string  optional  

Must not be greater than 255 characters. Example: c

quantity   number  optional  

Must be at least 0. Example: 72

date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

description   string  optional  

Must not be greater than 500 characters. Example: Aperiam qui ut id dolorem.

amount   number  optional  

Must be at least 0. Example: 32

currency   string  optional  

Must be 3 characters. Example: pkr

payment_method   string  optional  

Must not be greater than 50 characters. Example: zynuwlzbeqtocjp

reference_number   string  optional  

Must not be greater than 100 characters. Example: wse

number   string  optional  

Must not be greater than 50 characters. Example: rysmpihycrgdqgizkzeskpidt

type   string  optional  

Must not be greater than 50 characters. Example: msimazjxzhyibl

split   string  optional  

Example: placeat

status   string  optional  

Example: qui

sales_invoice_detail_id   string  optional  
category   string  optional  

Must not be greater than 255 characters. Example: kcz

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:57

received_by   string  optional  

Example: enim

tax   number  optional  

Must be at least 0. Example: 76

net_amount   number  optional  

Must be at least 0. Example: 6

attachment   string  optional  

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/incomes/14" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/incomes/14"
);

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

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

Request      

DELETE api/incomes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the income. Example: 14

Display a listing of the columns.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/columns" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/columns"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/columns

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created column in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/columns" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/columns"
);

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

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

Request      

POST api/columns

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Update the specified column in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/columns/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/columns/update"
);

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

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

Request      

POST api/columns/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Remove the specified column from storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/columns/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/columns/delete"
);

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

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

Request      

POST api/columns/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Clear all tasks from the specified column.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/columns/clear-column" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/columns/clear-column"
);

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

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

Request      

POST api/columns/clear-column

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created column order in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/column-orders" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/column-orders"
);

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

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

Request      

POST api/column-orders

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/column-orders/move-column

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/column-orders/move-column" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/column-orders/move-column"
);

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

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

Request      

POST api/column-orders/move-column

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/report/daily

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/report/daily" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/report/daily"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/report/daily

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/ai

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/ai" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/ai"
);

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

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

Request      

POST api/ai

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/ai/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/ai/officia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/ai/officia"
);

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

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

Request      

PUT api/ai/{id}

PATCH api/ai/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the ai. Example: officia

POST api/whatsapp/webhook

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/whatsapp/webhook" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/whatsapp/webhook"
);

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

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

Request      

POST api/whatsapp/webhook

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/whatsapp/send

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/whatsapp/send" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/whatsapp/send"
);

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

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

Request      

POST api/whatsapp/send

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/expenses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/expenses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/expenses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"date\": \"2025-03-11T10:35:58\",
    \"description\": \"Cupiditate libero rerum ullam eum rerum.\",
    \"status\": \"vthcckhovicroixrgpyc\",
    \"service\": \"brqtvnanyqsepaxi\",
    \"amount\": 60,
    \"currency\": \"sj\",
    \"payment_method\": \"reowbnioomeibxdlg\",
    \"receipt_number\": \"xfsyyqavwsmbjvbnnnzscmpxn\",
    \"supplier\": \"oxhtayswkhlvfhxeoomb\",
    \"cycle\": \"zhmfdxcixmuxskt\",
    \"name_of_expense\": \"fqle\",
    \"bank\": \"enezxjqajjcuzpcvdloqaypj\",
    \"account_number\": \"nnzfstqtcbgit\",
    \"number\": \"mndwbccwcwpacamjngyljk\",
    \"type\": \"tidxoppahkbfcfmydjkckfk\",
    \"split\": true,
    \"category\": \"twzojzcsstpess\",
    \"approved_by\": \"natus\",
    \"tax\": 80,
    \"net_amount\": 77,
    \"due_date\": \"2074-12-06\",
    \"recurring\": true
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses"
);

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

let body = {
    "date": "2025-03-11T10:35:58",
    "description": "Cupiditate libero rerum ullam eum rerum.",
    "status": "vthcckhovicroixrgpyc",
    "service": "brqtvnanyqsepaxi",
    "amount": 60,
    "currency": "sj",
    "payment_method": "reowbnioomeibxdlg",
    "receipt_number": "xfsyyqavwsmbjvbnnnzscmpxn",
    "supplier": "oxhtayswkhlvfhxeoomb",
    "cycle": "zhmfdxcixmuxskt",
    "name_of_expense": "fqle",
    "bank": "enezxjqajjcuzpcvdloqaypj",
    "account_number": "nnzfstqtcbgit",
    "number": "mndwbccwcwpacamjngyljk",
    "type": "tidxoppahkbfcfmydjkckfk",
    "split": true,
    "category": "twzojzcsstpess",
    "approved_by": "natus",
    "tax": 80,
    "net_amount": 77,
    "due_date": "2074-12-06",
    "recurring": true
};

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

Request      

POST api/expenses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

date   string   

Must be a valid date. Example: 2025-03-11T10:35:58

description   string  optional  

Must not be greater than 500 characters. Example: Cupiditate libero rerum ullam eum rerum.

status   string  optional  

Must not be greater than 50 characters. Example: vthcckhovicroixrgpyc

service   string  optional  

Must not be greater than 100 characters. Example: brqtvnanyqsepaxi

amount   number   

Must be at least 0. Example: 60

currency   string   

Must not be greater than 3 characters. Example: sj

payment_method   string   

Must not be greater than 50 characters. Example: reowbnioomeibxdlg

receipt_number   string  optional  

Must not be greater than 100 characters. Example: xfsyyqavwsmbjvbnnnzscmpxn

supplier   string  optional  

Must not be greater than 255 characters. Example: oxhtayswkhlvfhxeoomb

cycle   string  optional  

Must not be greater than 50 characters. Example: zhmfdxcixmuxskt

name_of_expense   string   

Must not be greater than 255 characters. Example: fqle

bank   string  optional  

Must not be greater than 100 characters. Example: enezxjqajjcuzpcvdloqaypj

account_number   string  optional  

Must not be greater than 100 characters. Example: nnzfstqtcbgit

number   string  optional  

Must not be greater than 50 characters. Example: mndwbccwcwpacamjngyljk

type   string  optional  

Must not be greater than 50 characters. Example: tidxoppahkbfcfmydjkckfk

split   boolean  optional  

Example: true

category   string   

Must not be greater than 100 characters. Example: twzojzcsstpess

approved_by   string  optional  

Example: natus

tax   number  optional  

Must be at least 0. Example: 80

net_amount   number  optional  

Must be at least 0. Example: 77

due_date   string  optional  

Must be a valid date. Must be a date after or equal to date. Example: 2074-12-06

attachment   string  optional  
recurring   boolean  optional  

Example: true

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/expenses/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses/voluptas"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense. Example: voluptas

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/expenses/libero" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"date\": \"2025-03-11T10:35:58\",
    \"description\": \"Natus doloribus qui explicabo laudantium veniam ratione ipsa.\",
    \"service\": \"ezq\",
    \"status\": \"sqwqwzohhvqlvrktjepwefo\",
    \"amount\": 32,
    \"currency\": \"tic\",
    \"payment_method\": \"rdnwgwbzazn\",
    \"supplier\": \"nhyprwczqezccffblhcenohw\",
    \"cycle\": \"ckpcuvicpetaaixfka\",
    \"name_of_expense\": \"ielxldif\",
    \"bank\": \"ktmylfnjihtubxbvxpoxxkun\",
    \"account_number\": \"zukrdslprywpbwmro\",
    \"number\": \"wjmlmm\",
    \"type\": \"htyplmoiznwlrjsripd\",
    \"split\": \"dignissimos\",
    \"category\": \"hxcqomhvatvst\",
    \"approved_by\": \"dolores\",
    \"tax\": 48,
    \"net_amount\": 67,
    \"due_date\": \"2046-09-27\",
    \"recurring\": true
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses/libero"
);

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

let body = {
    "date": "2025-03-11T10:35:58",
    "description": "Natus doloribus qui explicabo laudantium veniam ratione ipsa.",
    "service": "ezq",
    "status": "sqwqwzohhvqlvrktjepwefo",
    "amount": 32,
    "currency": "tic",
    "payment_method": "rdnwgwbzazn",
    "supplier": "nhyprwczqezccffblhcenohw",
    "cycle": "ckpcuvicpetaaixfka",
    "name_of_expense": "ielxldif",
    "bank": "ktmylfnjihtubxbvxpoxxkun",
    "account_number": "zukrdslprywpbwmro",
    "number": "wjmlmm",
    "type": "htyplmoiznwlrjsripd",
    "split": "dignissimos",
    "category": "hxcqomhvatvst",
    "approved_by": "dolores",
    "tax": 48,
    "net_amount": 67,
    "due_date": "2046-09-27",
    "recurring": true
};

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

Request      

PATCH api/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the expense. Example: libero

Body Parameters

date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:58

description   string  optional  

Must not be greater than 500 characters. Example: Natus doloribus qui explicabo laudantium veniam ratione ipsa.

service   string  optional  

Must not be greater than 100 characters. Example: ezq

status   string  optional  

Must not be greater than 50 characters. Example: sqwqwzohhvqlvrktjepwefo

amount   number  optional  

Must be at least 0. Example: 32

currency   string  optional  

Must not be greater than 3 characters. Example: tic

payment_method   string  optional  

Must not be greater than 50 characters. Example: rdnwgwbzazn

supplier   string  optional  

Must not be greater than 255 characters. Example: nhyprwczqezccffblhcenohw

cycle   string  optional  

Must not be greater than 50 characters. Example: ckpcuvicpetaaixfka

name_of_expense   string  optional  

Must not be greater than 255 characters. Example: ielxldif

bank   string  optional  

Must not be greater than 100 characters. Example: ktmylfnjihtubxbvxpoxxkun

account_number   string  optional  

Must not be greater than 100 characters. Example: zukrdslprywpbwmro

number   string  optional  

Must not be greater than 50 characters. Example: wjmlmm

type   string  optional  

Must not be greater than 50 characters. Example: htyplmoiznwlrjsripd

split   string  optional  

Example: dignissimos

category   string  optional  

Must not be greater than 100 characters. Example: hxcqomhvatvst

approved_by   string  optional  

Example: dolores

tax   number  optional  

Must be at least 0. Example: 48

net_amount   number  optional  

Must be at least 0. Example: 67

due_date   string  optional  

Must be a valid date. Must be a date after or equal to date. Example: 2046-09-27

attachment   string  optional  
recurring   boolean  optional  

Example: true

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/expenses/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"date\": \"2025-03-11T10:35:58\",
    \"description\": \"Voluptatem ducimus in sequi voluptatem rerum deleniti.\",
    \"service\": \"hnhdudyuzvfyhhmendnfxihtm\",
    \"status\": \"uk\",
    \"amount\": 19,
    \"currency\": \"yp\",
    \"payment_method\": \"qr\",
    \"supplier\": \"xxhxbrobaqnwrfpofp\",
    \"cycle\": \"zxmgbmrefasqyil\",
    \"name_of_expense\": \"uzald\",
    \"bank\": \"imbvomsbpouvgv\",
    \"account_number\": \"ngvgcscfziebwrrfkvdjeef\",
    \"number\": \"el\",
    \"type\": \"jumrfyxa\",
    \"split\": \"enim\",
    \"category\": \"hkupxvbpdngzwyxahrmkv\",
    \"approved_by\": \"nihil\",
    \"tax\": 7,
    \"net_amount\": 28,
    \"due_date\": \"2093-07-09\",
    \"recurring\": true
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses/consequatur"
);

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

let body = {
    "date": "2025-03-11T10:35:58",
    "description": "Voluptatem ducimus in sequi voluptatem rerum deleniti.",
    "service": "hnhdudyuzvfyhhmendnfxihtm",
    "status": "uk",
    "amount": 19,
    "currency": "yp",
    "payment_method": "qr",
    "supplier": "xxhxbrobaqnwrfpofp",
    "cycle": "zxmgbmrefasqyil",
    "name_of_expense": "uzald",
    "bank": "imbvomsbpouvgv",
    "account_number": "ngvgcscfziebwrrfkvdjeef",
    "number": "el",
    "type": "jumrfyxa",
    "split": "enim",
    "category": "hkupxvbpdngzwyxahrmkv",
    "approved_by": "nihil",
    "tax": 7,
    "net_amount": 28,
    "due_date": "2093-07-09",
    "recurring": true
};

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

Request      

PUT api/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

date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:58

description   string  optional  

Must not be greater than 500 characters. Example: Voluptatem ducimus in sequi voluptatem rerum deleniti.

service   string  optional  

Must not be greater than 100 characters. Example: hnhdudyuzvfyhhmendnfxihtm

status   string  optional  

Must not be greater than 50 characters. Example: uk

amount   number  optional  

Must be at least 0. Example: 19

currency   string  optional  

Must not be greater than 3 characters. Example: yp

payment_method   string  optional  

Must not be greater than 50 characters. Example: qr

supplier   string  optional  

Must not be greater than 255 characters. Example: xxhxbrobaqnwrfpofp

cycle   string  optional  

Must not be greater than 50 characters. Example: zxmgbmrefasqyil

name_of_expense   string  optional  

Must not be greater than 255 characters. Example: uzald

bank   string  optional  

Must not be greater than 100 characters. Example: imbvomsbpouvgv

account_number   string  optional  

Must not be greater than 100 characters. Example: ngvgcscfziebwrrfkvdjeef

number   string  optional  

Must not be greater than 50 characters. Example: el

type   string  optional  

Must not be greater than 50 characters. Example: jumrfyxa

split   string  optional  

Example: enim

category   string  optional  

Must not be greater than 100 characters. Example: hkupxvbpdngzwyxahrmkv

approved_by   string  optional  

Example: nihil

tax   number  optional  

Must be at least 0. Example: 7

net_amount   number  optional  

Must be at least 0. Example: 28

due_date   string  optional  

Must be a valid date. Must be a date after or equal to date. Example: 2093-07-09

attachment   string  optional  
recurring   boolean  optional  

Example: true

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/expenses/20" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/expenses/20"
);

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

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

Request      

DELETE api/expenses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the expense. Example: 20

GET api/quotations/{id}/downloadPdf

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/quotations/adipisci/downloadPdf" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/adipisci/downloadPdf"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (Connection: tenant, SQL: select * from `quotations` where `quotations`.`id` = adipisci and `quotations`.`deleted_at` is null limit 1)",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
    "line": 813,
    "trace": [
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 767,
            "function": "runQueryCallback",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 398,
            "function": "run",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2898,
            "function": "select",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2883,
            "function": "runSelect",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3467,
            "function": "Illuminate\\Database\\Query\\{closure}",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2882,
            "function": "onceWithColumns",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 738,
            "function": "get",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 722,
            "function": "getModels",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php",
            "line": 333,
            "function": "get",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 448,
            "function": "first",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 480,
            "function": "find",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Traits\\ForwardsCalls.php",
            "line": 23,
            "function": "findOrFail",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php",
            "line": 2339,
            "function": "forwardCallTo",
            "class": "Illuminate\\Database\\Eloquent\\Model",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php",
            "line": 2351,
            "function": "__call",
            "class": "Illuminate\\Database\\Eloquent\\Model",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Http\\Controllers\\PDFController.php",
            "line": 13,
            "function": "__callStatic",
            "class": "Illuminate\\Database\\Eloquent\\Model",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 46,
            "function": "downloadQuotationPdf",
            "class": "App\\Http\\Controllers\\PDFController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 260,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 206,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 806,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 805,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 784,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 748,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 737,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 50,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 110,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 212,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 279,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 1049,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 318,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 169,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 196,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
            "line": 1183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/quotations/{id}/downloadPdf

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quotation. Example: adipisci

GET api/dashboards/app

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/app" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/app"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/app

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboards/corporate-app

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/corporate-app" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/corporate-app"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/corporate-app

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboards/banking

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/banking" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/banking"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/banking

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboards/corporate-banking

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/corporate-banking" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/corporate-banking"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/corporate-banking

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboards/project-insights

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/project-insights" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/project-insights"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/project-insights

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/dashboards/management-reporting

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/dashboards/management-reporting" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/dashboards/management-reporting"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/dashboards/management-reporting

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/shop-targets" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/shop-targets

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/shop-targets" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"warehouse_id\": \"commodi\",
    \"sales_target\": 77
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets"
);

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

let body = {
    "warehouse_id": "commodi",
    "sales_target": 77
};

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

Request      

POST api/shop-targets

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

warehouse_id   string   

Example: commodi

target_date   string  optional  
sales_target   number   

Must be at least 0. Example: 77

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/shop-targets/id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets/id"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/shop-targets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the shop target. Example: id

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/shop-targets/accusantium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sales_target\": 61
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets/accusantium"
);

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

let body = {
    "sales_target": 61
};

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

Request      

PUT api/shop-targets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the shop target. Example: accusantium

Body Parameters

target_date   string  optional  
sales_target   number  optional  

Must be at least 0. Example: 61

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/shop-targets/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"sales_target\": 12
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets/consequatur"
);

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

let body = {
    "sales_target": 12
};

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

Request      

PATCH api/shop-targets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the shop target. Example: consequatur

Body Parameters

target_date   string  optional  
sales_target   number  optional  

Must be at least 0. Example: 12

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/shop-targets/animi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/shop-targets/animi"
);

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

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

Request      

DELETE api/shop-targets/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the shop target. Example: animi

GET api/google/upload

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/google/upload" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/google/upload"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Undefined array key \"access_token\"",
    "exception": "ErrorException",
    "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
    "line": 116,
    "trace": [
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
            "line": 256,
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
            "line": 116,
            "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
            "line": 46,
            "function": "token",
            "class": "App\\Services\\Storage\\StorageService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Http\\Controllers\\Api\\GoogleDriveController.php",
            "line": 24,
            "function": "index",
            "class": "App\\Services\\Storage\\StorageService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 46,
            "function": "index",
            "class": "App\\Http\\Controllers\\Api\\GoogleDriveController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 260,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 206,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 806,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 805,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 784,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 748,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 737,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 50,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 110,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 212,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 279,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 1049,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 318,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 169,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 196,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
            "line": 1183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/google/upload

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/google/upload

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/google/upload" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/google/upload"
);

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

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

Request      

POST api/google/upload

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/google/storage

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/google/storage" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/google/storage"
);

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

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

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Undefined array key \"access_token\"",
    "exception": "ErrorException",
    "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
    "line": 116,
    "trace": [
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
            "line": 256,
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
            "line": 116,
            "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Services\\Storage\\StorageService.php",
            "line": 302,
            "function": "token",
            "class": "App\\Services\\Storage\\StorageService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Http\\Controllers\\Api\\GoogleDriveController.php",
            "line": 41,
            "function": "getStorageInfo",
            "class": "App\\Services\\Storage\\StorageService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 46,
            "function": "getStorage",
            "class": "App\\Http\\Controllers\\Api\\GoogleDriveController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 260,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 206,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 806,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 805,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 784,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 748,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 737,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 50,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 110,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 212,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 279,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 1049,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 318,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 169,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 196,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
            "line": 1183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/google/storage

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/chatgpt-reports

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/chatgpt-reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/chatgpt-reports"
);

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

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

Request      

POST api/chatgpt-reports

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

PUT api/chatgpt-reports/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/chatgpt-reports/in" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/chatgpt-reports/in"
);

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

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

Request      

PUT api/chatgpt-reports/{id}

PATCH api/chatgpt-reports/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the chatgpt report. Example: in

GET api/export/customers

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/export/customers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/export/customers"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/export/customers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/tenants

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/tenants/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants/67" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/67"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   integer   

The ID of the tenant. Example: 67

PUT api/tenants/update-status/{id}

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/tenants/update-status/praesentium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/update-status/praesentium"
);

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

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

Request      

PUT api/tenants/update-status/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update status. Example: praesentium

PATCH api/tenants/update-status/{id}

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/tenants/update-status/deserunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/update-status/deserunt"
);

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

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

Request      

PATCH api/tenants/update-status/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update status. Example: deserunt

GET api/tenants/register-requests

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants/register-requests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/register-requests"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants/register-requests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/tenants/requests-received

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants/requests-received" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/requests-received"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants/requests-received

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/tenants/accept-terms/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants/accept-terms/facere" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/accept-terms/facere"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants/accept-terms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the accept term. Example: facere

POST api/tenants/notify-all

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tenants/notify-all" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"jlvqjmgpghxrquroixozhpefw\",
    \"message\": \"gylwn\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/notify-all"
);

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

let body = {
    "subject": "jlvqjmgpghxrquroixozhpefw",
    "message": "gylwn"
};

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

Request      

POST api/tenants/notify-all

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

subject   string   

Must not be greater than 255 characters. Example: jlvqjmgpghxrquroixozhpefw

message   string   

Must be at least 5 characters. Example: gylwn

GET api/tenants/reject-terms/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tenants/reject-terms/error" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tenants/reject-terms/error"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tenants/reject-terms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the reject term. Example: error

Get all rooms.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rooms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rooms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new room.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/rooms" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_number\": \"ullam\",
    \"hotel_floor_id\": \"a569ea5f-f892-3342-9aca-d1ae14b89723\",
    \"room_class_id\": \"96c65fbb-fdac-3b09-93d8-3a94dfc8dff9\",
    \"room_status_id\": \"eb936344-d336-3d07-8e91-0ab767d5959f\",
    \"max_capacity\": 7,
    \"description\": \"Libero cum perspiciatis aut sunt.\",
    \"amenities\": \"vqcwzsbgsxjldodb\",
    \"housekeeping_status\": \"nostrum\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms"
);

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

let body = {
    "room_number": "ullam",
    "hotel_floor_id": "a569ea5f-f892-3342-9aca-d1ae14b89723",
    "room_class_id": "96c65fbb-fdac-3b09-93d8-3a94dfc8dff9",
    "room_status_id": "eb936344-d336-3d07-8e91-0ab767d5959f",
    "max_capacity": 7,
    "description": "Libero cum perspiciatis aut sunt.",
    "amenities": "vqcwzsbgsxjldodb",
    "housekeeping_status": "nostrum"
};

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

Request      

POST api/rooms

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

room_number   string   

Example: ullam

hotel_floor_id   string   

Must be a valid UUID. Example: a569ea5f-f892-3342-9aca-d1ae14b89723

room_class_id   string   

Must be a valid UUID. Example: 96c65fbb-fdac-3b09-93d8-3a94dfc8dff9

room_status_id   string   

Must be a valid UUID. Example: eb936344-d336-3d07-8e91-0ab767d5959f

max_capacity   integer   

Must be at least 1. Example: 7

description   string  optional  

Must not be greater than 1000 characters. Example: Libero cum perspiciatis aut sunt.

amenities   string  optional  

Must not be greater than 2000 characters. Example: vqcwzsbgsxjldodb

housekeeping_status   string   

Example: nostrum

Get a single room.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rooms/id" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/id"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rooms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room. Example: id

Update a room.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/rooms/deserunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_number\": \"ypbtjgchzfaeldsqnfor\",
    \"hotel_floor_id\": \"d1f4db67-7589-38ee-b703-b615eedf41b2\",
    \"room_class_id\": \"fee21f36-5545-3146-9bb4-9d69e406ea5a\",
    \"room_status_id\": \"b88cbb17-07f7-36aa-a833-50e028781d0a\",
    \"max_capacity\": 15,
    \"description\": \"Atque itaque velit voluptatem praesentium impedit nemo.\",
    \"amenities\": \"emktzrtqclyphpch\",
    \"housekeeping_status\": \"ut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/deserunt"
);

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

let body = {
    "room_number": "ypbtjgchzfaeldsqnfor",
    "hotel_floor_id": "d1f4db67-7589-38ee-b703-b615eedf41b2",
    "room_class_id": "fee21f36-5545-3146-9bb4-9d69e406ea5a",
    "room_status_id": "b88cbb17-07f7-36aa-a833-50e028781d0a",
    "max_capacity": 15,
    "description": "Atque itaque velit voluptatem praesentium impedit nemo.",
    "amenities": "emktzrtqclyphpch",
    "housekeeping_status": "ut"
};

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

Request      

PUT api/rooms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room. Example: deserunt

Body Parameters

room_number   string   

Must not be greater than 255 characters. Example: ypbtjgchzfaeldsqnfor

hotel_floor_id   string   

Must be a valid UUID. Example: d1f4db67-7589-38ee-b703-b615eedf41b2

room_class_id   string   

Must be a valid UUID. Example: fee21f36-5545-3146-9bb4-9d69e406ea5a

room_status_id   string   

Must be a valid UUID. Example: b88cbb17-07f7-36aa-a833-50e028781d0a

max_capacity   integer   

Must be at least 1. Example: 15

description   string   

Must not be greater than 1000 characters. Example: Atque itaque velit voluptatem praesentium impedit nemo.

amenities   string   

Must not be greater than 2000 characters. Example: emktzrtqclyphpch

housekeeping_status   string   

Example: ut

Update a room.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/rooms/voluptas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_number\": \"swaxrjeznar\",
    \"hotel_floor_id\": \"260ac7f3-c47a-3907-b905-38e63964a463\",
    \"room_class_id\": \"02520b43-4974-3637-9c74-bb6e9db35f5e\",
    \"room_status_id\": \"7391f0f9-3707-3d0a-8613-60c58bc20aaa\",
    \"max_capacity\": 79,
    \"description\": \"Maxime laborum non blanditiis optio eum a sed.\",
    \"amenities\": \"eoal\",
    \"housekeeping_status\": \"saepe\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/voluptas"
);

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

let body = {
    "room_number": "swaxrjeznar",
    "hotel_floor_id": "260ac7f3-c47a-3907-b905-38e63964a463",
    "room_class_id": "02520b43-4974-3637-9c74-bb6e9db35f5e",
    "room_status_id": "7391f0f9-3707-3d0a-8613-60c58bc20aaa",
    "max_capacity": 79,
    "description": "Maxime laborum non blanditiis optio eum a sed.",
    "amenities": "eoal",
    "housekeeping_status": "saepe"
};

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

Request      

PATCH api/rooms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room. Example: voluptas

Body Parameters

room_number   string   

Must not be greater than 255 characters. Example: swaxrjeznar

hotel_floor_id   string   

Must be a valid UUID. Example: 260ac7f3-c47a-3907-b905-38e63964a463

room_class_id   string   

Must be a valid UUID. Example: 02520b43-4974-3637-9c74-bb6e9db35f5e

room_status_id   string   

Must be a valid UUID. Example: 7391f0f9-3707-3d0a-8613-60c58bc20aaa

max_capacity   integer   

Must be at least 1. Example: 79

description   string   

Must not be greater than 1000 characters. Example: Maxime laborum non blanditiis optio eum a sed.

amenities   string   

Must not be greater than 2000 characters. Example: eoal

housekeeping_status   string   

Example: saepe

Delete a room.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/rooms/fuga" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/fuga"
);

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

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

Request      

DELETE api/rooms/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room. Example: fuga

Get rooms by floor.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rooms/floor/repellat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/floor/repellat"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rooms/floor/{floor_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

floor_id   string   

The ID of the floor. Example: repellat

Get rooms by status.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rooms/status/quaerat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/status/quaerat"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rooms/status/{status}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

status   string   

The status. Example: quaerat

Get available rooms (not occupied).

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/rooms/available" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/rooms/available"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/rooms/available

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Get all features.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-features" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-features

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new feature.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-features" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"wmp\",
    \"description\": \"Ab reprehenderit sapiente velit.\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features"
);

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

let body = {
    "name": "wmp",
    "description": "Ab reprehenderit sapiente velit."
};

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

Request      

POST api/room-features

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: wmp

description   string  optional  

Must not be greater than 500 characters. Example: Ab reprehenderit sapiente velit.

Get a single feature.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-features/perferendis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features/perferendis"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-features/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room feature. Example: perferendis

Update a feature.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-features/dignissimos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"thfqrldniwdtyknulfmef\",
    \"description\": \"Minima et quo quia tempore neque totam aliquid.\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features/dignissimos"
);

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

let body = {
    "name": "thfqrldniwdtyknulfmef",
    "description": "Minima et quo quia tempore neque totam aliquid."
};

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

Request      

PUT api/room-features/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room feature. Example: dignissimos

Body Parameters

name   string   

Must not be greater than 255 characters. Example: thfqrldniwdtyknulfmef

description   string  optional  

Must not be greater than 500 characters. Example: Minima et quo quia tempore neque totam aliquid.

Update a feature.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-features/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"slalhcfqtmjejjtinxdcen\",
    \"description\": \"Magnam fuga doloribus qui est eum.\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features/consequatur"
);

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

let body = {
    "name": "slalhcfqtmjejjtinxdcen",
    "description": "Magnam fuga doloribus qui est eum."
};

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

Request      

PATCH api/room-features/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room feature. Example: consequatur

Body Parameters

name   string   

Must not be greater than 255 characters. Example: slalhcfqtmjejjtinxdcen

description   string  optional  

Must not be greater than 500 characters. Example: Magnam fuga doloribus qui est eum.

Delete a feature.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-features/molestiae" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-features/molestiae"
);

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

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

Request      

DELETE api/room-features/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room feature. Example: molestiae

Get all bed types.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-bed-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-bed-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new bed type.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-bed-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"cqfsgylrnehvuvxjs\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types"
);

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

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

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

Request      

POST api/room-bed-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: cqfsgylrnehvuvxjs

Get a single bed type.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-bed-types/qui" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types/qui"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

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

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room bed type. Example: qui

Update a bed type.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-bed-types/dolorem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"zzdfwloxusboqxkbg\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types/dolorem"
);

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

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

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

Request      

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

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room bed type. Example: dolorem

Body Parameters

name   string   

Must not be greater than 255 characters. Example: zzdfwloxusboqxkbg

Update a bed type.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-bed-types/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"s\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types/et"
);

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

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

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

Request      

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

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room bed type. Example: et

Body Parameters

name   string   

Must not be greater than 255 characters. Example: s

Delete a bed type.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-bed-types/dicta" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-bed-types/dicta"
);

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

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

Request      

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

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room bed type. Example: dicta

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-classes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-classes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-classes" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=iwahtbggnlucwzdkgp"\
    --form "description=Veritatis nisi qui vel dolor hic voluptates laudantium."\
    --form "price=29"\
    --form "max_guests=58"\
    --form "features[]=12cb0570-4082-3f4e-95e0-18ed96c93860"\
    --form "bed_types[]=ut"\
    --form "alt_texts[]=xjeognke"\
    --form "images[]=@C:\Users\Celestial\AppData\Local\Temp\php6037.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes"
);

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

const body = new FormData();
body.append('name', 'iwahtbggnlucwzdkgp');
body.append('description', 'Veritatis nisi qui vel dolor hic voluptates laudantium.');
body.append('price', '29');
body.append('max_guests', '58');
body.append('features[]', '12cb0570-4082-3f4e-95e0-18ed96c93860');
body.append('bed_types[]', 'ut');
body.append('alt_texts[]', 'xjeognke');
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);

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

Request      

POST api/room-classes

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: iwahtbggnlucwzdkgp

description   string  optional  

Example: Veritatis nisi qui vel dolor hic voluptates laudantium.

price   number   

Must be at least 0. Example: 29

max_guests   integer   

Must be at least 1. Example: 58

features   string[]  optional  

Must be a valid UUID.

bed_types   string[]   
bed_type_id   string   

Must be a valid UUID. Example: 53f5334c-d364-32b2-920d-f92bf05a2b47

num_beds   integer   

Must be at least 1. Example: 71

images   file[]  optional  

Must be an image. Must not be greater than 2048 kilobytes.

alt_texts   string[]  optional  

Must not be greater than 255 characters.

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-classes/odio" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes/odio"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-classes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class. Example: odio

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-classes/aut" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=tyfvb"\
    --form "description=Quod magnam eius qui molestiae autem."\
    --form "price=72"\
    --form "max_guests=80"\
    --form "features[]=5848c9c4-901a-32a6-876f-afc37a7e0c43"\
    --form "bed_types[]=culpa"\
    --form "alt_texts[]=lbznmetiqiiw"\
    --form "images[]=@C:\Users\Celestial\AppData\Local\Temp\php6058.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes/aut"
);

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

const body = new FormData();
body.append('name', 'tyfvb');
body.append('description', 'Quod magnam eius qui molestiae autem.');
body.append('price', '72');
body.append('max_guests', '80');
body.append('features[]', '5848c9c4-901a-32a6-876f-afc37a7e0c43');
body.append('bed_types[]', 'culpa');
body.append('alt_texts[]', 'lbznmetiqiiw');
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);

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

Request      

PUT api/room-classes/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class. Example: aut

Body Parameters

name   string   

Must not be greater than 255 characters. Example: tyfvb

description   string  optional  

Example: Quod magnam eius qui molestiae autem.

price   number   

Must be at least 0. Example: 72

max_guests   integer   

Must be at least 1. Example: 80

features   string[]  optional  

Must be a valid UUID.

bed_types   string[]   
bed_type_id   string   

Must be a valid UUID. Example: ffede1d7-e489-3a0a-938c-b4b73c6bc6f5

num_beds   integer   

Must be at least 1. Example: 28

images   file[]  optional  

Must be an image. Must not be greater than 2048 kilobytes.

alt_texts   string[]  optional  

Must not be greater than 255 characters.

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-classes/accusantium" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ouwwgcwpudjkj"\
    --form "description=Iure saepe alias rem ex aliquam aut."\
    --form "price=16"\
    --form "max_guests=19"\
    --form "features[]=a505a5a9-ae53-3cec-90bd-9929270de474"\
    --form "bed_types[]=qui"\
    --form "alt_texts[]=yx"\
    --form "images[]=@C:\Users\Celestial\AppData\Local\Temp\php6068.tmp" 
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes/accusantium"
);

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

const body = new FormData();
body.append('name', 'ouwwgcwpudjkj');
body.append('description', 'Iure saepe alias rem ex aliquam aut.');
body.append('price', '16');
body.append('max_guests', '19');
body.append('features[]', 'a505a5a9-ae53-3cec-90bd-9929270de474');
body.append('bed_types[]', 'qui');
body.append('alt_texts[]', 'yx');
body.append('images[]', document.querySelector('input[name="images[]"]').files[0]);

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

Request      

PATCH api/room-classes/{id}

Headers

Content-Type      

Example: multipart/form-data

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class. Example: accusantium

Body Parameters

name   string   

Must not be greater than 255 characters. Example: ouwwgcwpudjkj

description   string  optional  

Example: Iure saepe alias rem ex aliquam aut.

price   number   

Must be at least 0. Example: 16

max_guests   integer   

Must be at least 1. Example: 19

features   string[]  optional  

Must be a valid UUID.

bed_types   string[]   
bed_type_id   string   

Must be a valid UUID. Example: bdf7ee35-98d4-32a3-90a6-c57e4b1eaeb0

num_beds   integer   

Must be at least 1. Example: 64

images   file[]  optional  

Must be an image. Must not be greater than 2048 kilobytes.

alt_texts   string[]  optional  

Must not be greater than 255 characters.

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-classes/cupiditate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-classes/cupiditate"
);

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

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

Request      

DELETE api/room-classes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class. Example: cupiditate

Get all room statuses.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-statuses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-statuses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new room status.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-statuses" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"bk\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses"
);

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

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

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

Request      

POST api/room-statuses

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: bk

Get a single room status.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-statuses/libero" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses/libero"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-statuses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room status. Example: libero

Update a room status.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-statuses/aperiam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"h\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses/aperiam"
);

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

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

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

Request      

PUT api/room-statuses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room status. Example: aperiam

Body Parameters

name   string   

Must not be greater than 255 characters. Example: h

Update a room status.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-statuses/pariatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lcrfiyhxssmrcigiczfct\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses/pariatur"
);

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

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

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

Request      

PATCH api/room-statuses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room status. Example: pariatur

Body Parameters

name   string   

Must not be greater than 255 characters. Example: lcrfiyhxssmrcigiczfct

Delete a room status.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-statuses/reprehenderit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-statuses/reprehenderit"
);

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

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

Request      

DELETE api/room-statuses/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room status. Example: reprehenderit

GET api/room-class-bed-types

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-class-bed-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-class-bed-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/room-class-bed-types

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-class-bed-types" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_class_id\": \"73142cdf-f7bd-35e1-a3f9-ca632bdc1895\",
    \"bed_type_id\": \"e849118b-a47b-37e7-8446-3ff54a16bdcb\",
    \"num_beds\": 15
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types"
);

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

let body = {
    "room_class_id": "73142cdf-f7bd-35e1-a3f9-ca632bdc1895",
    "bed_type_id": "e849118b-a47b-37e7-8446-3ff54a16bdcb",
    "num_beds": 15
};

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

Request      

POST api/room-class-bed-types

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

room_class_id   string   

Must be a valid UUID. Example: 73142cdf-f7bd-35e1-a3f9-ca632bdc1895

bed_type_id   string   

Must be a valid UUID. Example: e849118b-a47b-37e7-8446-3ff54a16bdcb

num_beds   integer   

Must be at least 1. Example: 15

GET api/room-class-bed-types/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-class-bed-types/praesentium" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types/praesentium"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-class-bed-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class bed type. Example: praesentium

PUT api/room-class-bed-types/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-class-bed-types/minima" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_class_id\": \"51f6e023-ee85-396c-b0af-114c5a088ebd\",
    \"bed_type_id\": \"34dd619e-5c68-30d4-9d47-12113e9d9e21\",
    \"num_beds\": 16
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types/minima"
);

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

let body = {
    "room_class_id": "51f6e023-ee85-396c-b0af-114c5a088ebd",
    "bed_type_id": "34dd619e-5c68-30d4-9d47-12113e9d9e21",
    "num_beds": 16
};

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

Request      

PUT api/room-class-bed-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class bed type. Example: minima

Body Parameters

room_class_id   string   

Must be a valid UUID. Example: 51f6e023-ee85-396c-b0af-114c5a088ebd

bed_type_id   string   

Must be a valid UUID. Example: 34dd619e-5c68-30d4-9d47-12113e9d9e21

num_beds   integer   

Must be at least 1. Example: 16

PATCH api/room-class-bed-types/{id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-class-bed-types/dolor" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_class_id\": \"083cafa5-800f-395a-b797-da119e222f2a\",
    \"bed_type_id\": \"57b6b0cc-3662-3eff-84ed-79b0b8134f00\",
    \"num_beds\": 65
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types/dolor"
);

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

let body = {
    "room_class_id": "083cafa5-800f-395a-b797-da119e222f2a",
    "bed_type_id": "57b6b0cc-3662-3eff-84ed-79b0b8134f00",
    "num_beds": 65
};

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

Request      

PATCH api/room-class-bed-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class bed type. Example: dolor

Body Parameters

room_class_id   string   

Must be a valid UUID. Example: 083cafa5-800f-395a-b797-da119e222f2a

bed_type_id   string   

Must be a valid UUID. Example: 57b6b0cc-3662-3eff-84ed-79b0b8134f00

num_beds   integer   

Must be at least 1. Example: 65

DELETE api/room-class-bed-types/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-class-bed-types/omnis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-class-bed-types/omnis"
);

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

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

Request      

DELETE api/room-class-bed-types/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room class bed type. Example: omnis

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-floors" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-floors

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/hotel-floors" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"floor_number\": 65,
    \"name\": \"xgndtnkgp\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors"
);

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

let body = {
    "floor_number": 65,
    "name": "xgndtnkgp"
};

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

Request      

POST api/hotel-floors

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

floor_number   integer   

Must be at least 1. Example: 65

name   string   

Must not be greater than 255 characters. Example: xgndtnkgp

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-floors/deleniti" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors/deleniti"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-floors/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel floor. Example: deleniti

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/hotel-floors/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"floor_number\": 12,
    \"name\": \"hljtikihmgtwftj\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors/maiores"
);

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

let body = {
    "floor_number": 12,
    "name": "hljtikihmgtwftj"
};

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

Request      

PUT api/hotel-floors/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel floor. Example: maiores

Body Parameters

floor_number   integer   

Must be at least 1. Example: 12

name   string   

Must not be greater than 255 characters. Example: hljtikihmgtwftj

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/hotel-floors/repudiandae" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"floor_number\": 9,
    \"name\": \"xcyooaulijswnpiavlsyzl\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors/repudiandae"
);

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

let body = {
    "floor_number": 9,
    "name": "xcyooaulijswnpiavlsyzl"
};

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

Request      

PATCH api/hotel-floors/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel floor. Example: repudiandae

Body Parameters

floor_number   integer   

Must be at least 1. Example: 9

name   string   

Must not be greater than 255 characters. Example: xcyooaulijswnpiavlsyzl

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/hotel-floors/corporis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-floors/corporis"
);

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

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

Request      

DELETE api/hotel-floors/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel floor. Example: corporis

Get all housekeeping requests.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-house-keeping-requests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-house-keeping-requests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new housekeeping request.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"room_id\": \"413c768d-0e12-32b1-8e90-ef7f100578ea\",
    \"request_type\": \"ao\",
    \"status\": \"pending\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests"
);

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

let body = {
    "room_id": "413c768d-0e12-32b1-8e90-ef7f100578ea",
    "request_type": "ao",
    "status": "pending"
};

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

Request      

POST api/room-house-keeping-requests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

room_id   string   

Must be a valid UUID. Example: 413c768d-0e12-32b1-8e90-ef7f100578ea

request_type   string   

Must not be greater than 255 characters. Example: ao

status   string  optional  

Example: pending

Must be one of:
  • pending
  • in_progress
  • completed
  • cancelled

Get a single housekeeping request.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/room-house-keeping-requests/enim" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/enim"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/room-house-keeping-requests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room house keeping request. Example: enim

Update a housekeeping request.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/sint" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"request_type\": \"pmxtawsmlvfamvbayl\",
    \"status\": \"in_progress\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/sint"
);

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

let body = {
    "request_type": "pmxtawsmlvfamvbayl",
    "status": "in_progress"
};

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

Request      

PUT api/room-house-keeping-requests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room house keeping request. Example: sint

Body Parameters

request_type   string  optional  

Must not be greater than 255 characters. Example: pmxtawsmlvfamvbayl

status   string  optional  

Example: in_progress

Must be one of:
  • pending
  • in_progress
  • completed
  • cancelled

Update a housekeeping request.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/facilis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"request_type\": \"usvwddufpwrfuvsdgfdmf\",
    \"status\": \"completed\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/facilis"
);

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

let body = {
    "request_type": "usvwddufpwrfuvsdgfdmf",
    "status": "completed"
};

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

Request      

PATCH api/room-house-keeping-requests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room house keeping request. Example: facilis

Body Parameters

request_type   string  optional  

Must not be greater than 255 characters. Example: usvwddufpwrfuvsdgfdmf

status   string  optional  

Example: completed

Must be one of:
  • pending
  • in_progress
  • completed
  • cancelled

Delete a housekeeping request.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/blanditiis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/room-house-keeping-requests/blanditiis"
);

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

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

Request      

DELETE api/room-house-keeping-requests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the room house keeping request. Example: blanditiis

Get all promo codes.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/promo-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/promo-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new promo code.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/promo-codes" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"qhpg\",
    \"discount_amount\": 85,
    \"discount_percentage\": 25,
    \"valid_from\": \"2025-03-11T10:36:01\",
    \"valid_until\": \"2054-06-30\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes"
);

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

let body = {
    "code": "qhpg",
    "discount_amount": 85,
    "discount_percentage": 25,
    "valid_from": "2025-03-11T10:36:01",
    "valid_until": "2054-06-30"
};

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

Request      

POST api/promo-codes

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

code   string   

Must not be greater than 255 characters. Example: qhpg

discount_amount   number  optional  

Must be at least 0. Example: 85

discount_percentage   number  optional  

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

valid_from   string   

Must be a valid date. Example: 2025-03-11T10:36:01

valid_until   string   

Must be a valid date. Must be a date after or equal to valid_from. Example: 2054-06-30

Get a single promo code.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/promo-codes/quas" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes/quas"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/promo-codes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the promo code. Example: quas

Update a promo code.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/promo-codes/corporis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"wgnqoystznq\",
    \"discount_amount\": 73,
    \"discount_percentage\": 6,
    \"valid_from\": \"2025-03-11T10:36:01\",
    \"valid_until\": \"2109-12-15\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes/corporis"
);

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

let body = {
    "code": "wgnqoystznq",
    "discount_amount": 73,
    "discount_percentage": 6,
    "valid_from": "2025-03-11T10:36:01",
    "valid_until": "2109-12-15"
};

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

Request      

PUT api/promo-codes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the promo code. Example: corporis

Body Parameters

code   string  optional  

Must not be greater than 255 characters. Example: wgnqoystznq

discount_amount   number  optional  

Must be at least 0. Example: 73

discount_percentage   number  optional  

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

valid_from   string  optional  

Must be a valid date. Example: 2025-03-11T10:36:01

valid_until   string  optional  

Must be a valid date. Must be a date after or equal to valid_from. Example: 2109-12-15

Update a promo code.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/promo-codes/ipsa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"lxycxuueadcmejwmpmmk\",
    \"discount_amount\": 40,
    \"discount_percentage\": 24,
    \"valid_from\": \"2025-03-11T10:36:01\",
    \"valid_until\": \"2041-06-13\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes/ipsa"
);

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

let body = {
    "code": "lxycxuueadcmejwmpmmk",
    "discount_amount": 40,
    "discount_percentage": 24,
    "valid_from": "2025-03-11T10:36:01",
    "valid_until": "2041-06-13"
};

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

Request      

PATCH api/promo-codes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the promo code. Example: ipsa

Body Parameters

code   string  optional  

Must not be greater than 255 characters. Example: lxycxuueadcmejwmpmmk

discount_amount   number  optional  

Must be at least 0. Example: 40

discount_percentage   number  optional  

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

valid_from   string  optional  

Must be a valid date. Example: 2025-03-11T10:36:01

valid_until   string  optional  

Must be a valid date. Must be a date after or equal to valid_from. Example: 2041-06-13

Delete a promo code.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/promo-codes/maxime" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/promo-codes/maxime"
);

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

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

Request      

DELETE api/promo-codes/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the promo code. Example: maxime

Get all guests.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-guests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-guests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a new guest.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/hotel-guests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"dtcshpflfhkyehqydirwds\",
    \"email\": \"terrence94@example.org\",
    \"phone\": \"hazypgntjxqfwhemkbi\",
    \"company\": \"qaownrhmla\",
    \"address\": \"iopowckjpehxnkbr\",
    \"nationality\": \"gconcrghompvewwhhppvn\",
    \"id_document_type\": \"National ID\",
    \"id_document_number\": \"bkemizpsgqucjtsu\",
    \"preferred_language\": \"pwncyyebvlcrrqjdjks\",
    \"special_requests\": \"inventore\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests"
);

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

let body = {
    "name": "dtcshpflfhkyehqydirwds",
    "email": "terrence94@example.org",
    "phone": "hazypgntjxqfwhemkbi",
    "company": "qaownrhmla",
    "address": "iopowckjpehxnkbr",
    "nationality": "gconcrghompvewwhhppvn",
    "id_document_type": "National ID",
    "id_document_number": "bkemizpsgqucjtsu",
    "preferred_language": "pwncyyebvlcrrqjdjks",
    "special_requests": "inventore"
};

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

Request      

POST api/hotel-guests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: dtcshpflfhkyehqydirwds

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: terrence94@example.org

phone   string  optional  

Must not be greater than 20 characters. Example: hazypgntjxqfwhemkbi

company   string  optional  

Must not be greater than 100 characters. Example: qaownrhmla

address   string  optional  

Must not be greater than 255 characters. Example: iopowckjpehxnkbr

nationality   string  optional  

Must not be greater than 100 characters. Example: gconcrghompvewwhhppvn

id_document_type   string  optional  

Example: National ID

Must be one of:
  • Passport
  • National ID
  • Driver's License
id_document_number   string  optional  

Must not be greater than 100 characters. Example: bkemizpsgqucjtsu

preferred_language   string  optional  

Must not be greater than 50 characters. Example: pwncyyebvlcrrqjdjks

special_requests   string  optional  

Example: inventore

Get a single guest.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-guests/ex" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests/ex"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-guests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel guest. Example: ex

Update a guest.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/hotel-guests/nobis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"tebrmiazmccviajgzeje\",
    \"email\": \"melba19@example.org\",
    \"phone\": \"hannd\",
    \"company\": \"khoofezljjlvjybezsucyqzga\",
    \"address\": \"ev\",
    \"nationality\": \"yfpbwbg\",
    \"id_document_type\": \"Driver\'s License\",
    \"id_document_number\": \"skdwhkkn\",
    \"preferred_language\": \"yoqxalilvvkttsltdiypd\",
    \"special_requests\": \"assumenda\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests/nobis"
);

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

let body = {
    "name": "tebrmiazmccviajgzeje",
    "email": "melba19@example.org",
    "phone": "hannd",
    "company": "khoofezljjlvjybezsucyqzga",
    "address": "ev",
    "nationality": "yfpbwbg",
    "id_document_type": "Driver's License",
    "id_document_number": "skdwhkkn",
    "preferred_language": "yoqxalilvvkttsltdiypd",
    "special_requests": "assumenda"
};

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

Request      

PUT api/hotel-guests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel guest. Example: nobis

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: tebrmiazmccviajgzeje

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: melba19@example.org

phone   string  optional  

Must not be greater than 20 characters. Example: hannd

company   string  optional  

Must not be greater than 100 characters. Example: khoofezljjlvjybezsucyqzga

address   string  optional  

Must not be greater than 255 characters. Example: ev

nationality   string  optional  

Must not be greater than 100 characters. Example: yfpbwbg

id_document_type   string  optional  

Example: Driver's License

Must be one of:
  • Passport
  • National ID
  • Driver's License
id_document_number   string  optional  

Must not be greater than 100 characters. Example: skdwhkkn

preferred_language   string  optional  

Must not be greater than 50 characters. Example: yoqxalilvvkttsltdiypd

special_requests   string  optional  

Example: assumenda

Update a guest.

requires authentication

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/hotel-guests/impedit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"fmulxgtd\",
    \"email\": \"jhyatt@example.net\",
    \"phone\": \"chvuysltqqqnw\",
    \"company\": \"kxgujll\",
    \"address\": \"ow\",
    \"nationality\": \"ynbtqeevzorbssryldmxye\",
    \"id_document_type\": \"Passport\",
    \"id_document_number\": \"uuncuimpdvglbiqidv\",
    \"preferred_language\": \"qouvrmuuhsuhsbswfdun\",
    \"special_requests\": \"eveniet\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests/impedit"
);

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

let body = {
    "name": "fmulxgtd",
    "email": "jhyatt@example.net",
    "phone": "chvuysltqqqnw",
    "company": "kxgujll",
    "address": "ow",
    "nationality": "ynbtqeevzorbssryldmxye",
    "id_document_type": "Passport",
    "id_document_number": "uuncuimpdvglbiqidv",
    "preferred_language": "qouvrmuuhsuhsbswfdun",
    "special_requests": "eveniet"
};

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

Request      

PATCH api/hotel-guests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel guest. Example: impedit

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: fmulxgtd

email   string  optional  

Must be a valid email address. Must not be greater than 255 characters. Example: jhyatt@example.net

phone   string  optional  

Must not be greater than 20 characters. Example: chvuysltqqqnw

company   string  optional  

Must not be greater than 100 characters. Example: kxgujll

address   string  optional  

Must not be greater than 255 characters. Example: ow

nationality   string  optional  

Must not be greater than 100 characters. Example: ynbtqeevzorbssryldmxye

id_document_type   string  optional  

Example: Passport

Must be one of:
  • Passport
  • National ID
  • Driver's License
id_document_number   string  optional  

Must not be greater than 100 characters. Example: uuncuimpdvglbiqidv

preferred_language   string  optional  

Must not be greater than 50 characters. Example: qouvrmuuhsuhsbswfdun

special_requests   string  optional  

Example: eveniet

Delete a guest.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/hotel-guests/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-guests/et"
);

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

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

Request      

DELETE api/hotel-guests/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel guest. Example: et

GET api/hotel-bookings

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/hotel-bookings

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/hotel-bookings" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"guest_id\": \"2d11745a-5894-360f-8693-24bef689b2f1\",
    \"check_in_date\": \"2025-03-11 10:36\",
    \"check_out_date\": \"2092-11-09\",
    \"actual_check_out_date\": \"2111-12-11\",
    \"num_of_adults\": 20,
    \"num_of_children\": 8,
    \"total_amount\": 68,
    \"payment_status\": \"ut\",
    \"status\": \"ut\",
    \"promo_code_id\": \"bc662e56-fc92-3ba4-a4ea-cfde49a869fc\",
    \"early_check_in_requested\": true,
    \"late_check_out_requested\": false,
    \"early_check_out\": false,
    \"early_check_out_reason\": \"aliquam\",
    \"booking_rooms\": [
        \"vel\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings"
);

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

let body = {
    "guest_id": "2d11745a-5894-360f-8693-24bef689b2f1",
    "check_in_date": "2025-03-11 10:36",
    "check_out_date": "2092-11-09",
    "actual_check_out_date": "2111-12-11",
    "num_of_adults": 20,
    "num_of_children": 8,
    "total_amount": 68,
    "payment_status": "ut",
    "status": "ut",
    "promo_code_id": "bc662e56-fc92-3ba4-a4ea-cfde49a869fc",
    "early_check_in_requested": true,
    "late_check_out_requested": false,
    "early_check_out": false,
    "early_check_out_reason": "aliquam",
    "booking_rooms": [
        "vel"
    ]
};

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

Request      

POST api/hotel-bookings

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

guest_id   string   

Must be a valid UUID. Example: 2d11745a-5894-360f-8693-24bef689b2f1

check_in_date   string   

Must be a valid date in the format Y-m-d H:i. Example: 2025-03-11 10:36

check_out_date   string   

Must be a valid date in the format Y-m-d H:i. Must be a date after check_in_date. Example: 2092-11-09

actual_check_out_date   string  optional  

Must be a valid date in the format Y-m-d H:i. Must be a date after or equal to check_in_date. Example: 2111-12-11

num_of_adults   integer   

Must be at least 1. Example: 20

num_of_children   integer   

Must be at least 0. Example: 8

total_amount   number   

Must be at least 0. Example: 68

payment_status   string   

Example: ut

status   string   

Example: ut

promo_code_id   string  optional  

Must be a valid UUID. Example: bc662e56-fc92-3ba4-a4ea-cfde49a869fc

early_check_in_requested   boolean  optional  

Example: true

late_check_out_requested   boolean  optional  

Example: false

early_check_out   boolean  optional  

Example: false

early_check_out_reason   string  optional  

Example: aliquam

booking_rooms   string[]   
room_id   string   

Must be a valid UUID. Example: 53962ebf-8a6e-30c5-a4bd-d81075d36708

room_rate   number  optional  

Must be at least 0. Example: 16

num_of_beds   integer  optional  

Must be at least 0. Example: 86

GET api/hotel-bookings/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/hotel-bookings/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings/et"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/hotel-bookings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel booking. Example: et

PUT api/hotel-bookings/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/hotel-bookings/perferendis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"guest_id\": \"629f5b0e-4d2f-3d17-aa44-f9b5f64e6515\",
    \"check_in_date\": \"2025-03-11 10:36\",
    \"check_out_date\": \"2036-04-19\",
    \"actual_check_out_date\": \"2088-08-10\",
    \"num_of_adults\": 29,
    \"num_of_children\": 6,
    \"total_amount\": 51,
    \"payment_status\": \"debitis\",
    \"status\": \"soluta\",
    \"promo_code_id\": \"08ddc921-e815-398c-9ef0-5930fe7b2a2a\",
    \"early_check_in_requested\": true,
    \"late_check_out_requested\": false,
    \"early_check_out\": true,
    \"early_check_out_reason\": \"voluptatem\",
    \"booking_rooms\": [
        \"dolores\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings/perferendis"
);

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

let body = {
    "guest_id": "629f5b0e-4d2f-3d17-aa44-f9b5f64e6515",
    "check_in_date": "2025-03-11 10:36",
    "check_out_date": "2036-04-19",
    "actual_check_out_date": "2088-08-10",
    "num_of_adults": 29,
    "num_of_children": 6,
    "total_amount": 51,
    "payment_status": "debitis",
    "status": "soluta",
    "promo_code_id": "08ddc921-e815-398c-9ef0-5930fe7b2a2a",
    "early_check_in_requested": true,
    "late_check_out_requested": false,
    "early_check_out": true,
    "early_check_out_reason": "voluptatem",
    "booking_rooms": [
        "dolores"
    ]
};

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

Request      

PUT api/hotel-bookings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel booking. Example: perferendis

Body Parameters

guest_id   string   

Must be a valid UUID. Example: 629f5b0e-4d2f-3d17-aa44-f9b5f64e6515

check_in_date   string   

Must be a valid date in the format Y-m-d H:i. Example: 2025-03-11 10:36

check_out_date   string   

Must be a valid date in the format Y-m-d H:i. Must be a date after check_in_date. Example: 2036-04-19

actual_check_out_date   string  optional  

Must be a valid date in the format Y-m-d H:i. Must be a date after or equal to check_in_date. Example: 2088-08-10

num_of_adults   integer   

Must be at least 1. Example: 29

num_of_children   integer   

Must be at least 0. Example: 6

total_amount   number   

Must be at least 0. Example: 51

payment_status   string   

Example: debitis

status   string   

Example: soluta

promo_code_id   string  optional  

Must be a valid UUID. Example: 08ddc921-e815-398c-9ef0-5930fe7b2a2a

early_check_in_requested   boolean  optional  

Example: true

late_check_out_requested   boolean  optional  

Example: false

early_check_out   boolean  optional  

Example: true

early_check_out_reason   string  optional  

Example: voluptatem

booking_rooms   string[]   
room_id   string   

Must be a valid UUID. Example: f349f1a1-e1bd-3556-aa01-ebd9869e88a9

room_rate   number  optional  

Must be at least 0. Example: 54

num_of_beds   integer  optional  

Must be at least 0. Example: 11

PATCH api/hotel-bookings/{id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/hotel-bookings/rem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"guest_id\": \"e5473457-8f0a-3f30-a742-cbb4d4e9339d\",
    \"check_in_date\": \"2025-03-11 10:36\",
    \"check_out_date\": \"2056-01-28\",
    \"actual_check_out_date\": \"2096-05-28\",
    \"num_of_adults\": 56,
    \"num_of_children\": 58,
    \"total_amount\": 67,
    \"payment_status\": \"placeat\",
    \"status\": \"pariatur\",
    \"promo_code_id\": \"773b36c7-0468-3c21-9cbb-a886c318ecfa\",
    \"early_check_in_requested\": true,
    \"late_check_out_requested\": true,
    \"early_check_out\": false,
    \"early_check_out_reason\": \"harum\",
    \"booking_rooms\": [
        \"qui\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings/rem"
);

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

let body = {
    "guest_id": "e5473457-8f0a-3f30-a742-cbb4d4e9339d",
    "check_in_date": "2025-03-11 10:36",
    "check_out_date": "2056-01-28",
    "actual_check_out_date": "2096-05-28",
    "num_of_adults": 56,
    "num_of_children": 58,
    "total_amount": 67,
    "payment_status": "placeat",
    "status": "pariatur",
    "promo_code_id": "773b36c7-0468-3c21-9cbb-a886c318ecfa",
    "early_check_in_requested": true,
    "late_check_out_requested": true,
    "early_check_out": false,
    "early_check_out_reason": "harum",
    "booking_rooms": [
        "qui"
    ]
};

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

Request      

PATCH api/hotel-bookings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel booking. Example: rem

Body Parameters

guest_id   string   

Must be a valid UUID. Example: e5473457-8f0a-3f30-a742-cbb4d4e9339d

check_in_date   string   

Must be a valid date in the format Y-m-d H:i. Example: 2025-03-11 10:36

check_out_date   string   

Must be a valid date in the format Y-m-d H:i. Must be a date after check_in_date. Example: 2056-01-28

actual_check_out_date   string  optional  

Must be a valid date in the format Y-m-d H:i. Must be a date after or equal to check_in_date. Example: 2096-05-28

num_of_adults   integer   

Must be at least 1. Example: 56

num_of_children   integer   

Must be at least 0. Example: 58

total_amount   number   

Must be at least 0. Example: 67

payment_status   string   

Example: placeat

status   string   

Example: pariatur

promo_code_id   string  optional  

Must be a valid UUID. Example: 773b36c7-0468-3c21-9cbb-a886c318ecfa

early_check_in_requested   boolean  optional  

Example: true

late_check_out_requested   boolean  optional  

Example: true

early_check_out   boolean  optional  

Example: false

early_check_out_reason   string  optional  

Example: harum

booking_rooms   string[]   
room_id   string   

Must be a valid UUID. Example: 1c1ec1d6-5554-3850-8c46-8c3cd5cdfc18

room_rate   number  optional  

Must be at least 0. Example: 30

num_of_beds   integer  optional  

Must be at least 0. Example: 40

DELETE api/hotel-bookings/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/hotel-bookings/quidem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/hotel-bookings/quidem"
);

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

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

Request      

DELETE api/hotel-bookings/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the hotel booking. Example: quidem

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/company-requests" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/company-requests"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/company-requests

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/global-messages

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/global-messages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/global-messages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/global-messages

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/global-messages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"natus\",
    \"message\": \"reprehenderit\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages"
);

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

let body = {
    "subject": "natus",
    "message": "reprehenderit"
};

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

Request      

POST api/global-messages

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

subject   string   

Example: natus

message   string   

Example: reprehenderit

GET api/global-messages/{globalMessage_id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/global-messages/18" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/18"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/global-messages/{globalMessage_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

globalMessage_id   integer   

The ID of the globalMessage. Example: 18

PUT api/global-messages/{globalMessage_id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/global-messages/14" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"subject\": \"veniam\",
    \"message\": \"natus\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/14"
);

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

let body = {
    "subject": "veniam",
    "message": "natus"
};

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

Request      

PUT api/global-messages/{globalMessage_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

globalMessage_id   integer   

The ID of the globalMessage. Example: 14

Body Parameters

subject   string   

Example: veniam

message   string   

Example: natus

DELETE api/global-messages/{globalMessage_id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/global-messages/19" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/19"
);

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

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

Request      

DELETE api/global-messages/{globalMessage_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

globalMessage_id   integer   

The ID of the globalMessage. Example: 19

PUT api/global-messages/restore/{id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/global-messages/restore/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/restore/maiores"
);

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

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

Request      

PUT api/global-messages/restore/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the restore. Example: maiores

DELETE api/global-messages/force-delete/{id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/global-messages/force-delete/ex" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/force-delete/ex"
);

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

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

Request      

DELETE api/global-messages/force-delete/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the force delete. Example: ex

GET api/global-messages/trashed

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/global-messages/trashed" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/global-messages/trashed"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/global-messages/trashed

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/contact-us

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/contact-us" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"byqetfiieyimbbnqcxdevlm\",
    \"email\": \"ygoodwin@example.com\",
    \"subject\": \"tpakngqksizsnognewqzfauxe\",
    \"message\": \"edzhwyklhzvtzmzngdubnoejvrotksldpmppriazgoioqirpdhxcdoqgpnxziagjobhjkqaotteyil\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/contact-us"
);

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

let body = {
    "name": "byqetfiieyimbbnqcxdevlm",
    "email": "ygoodwin@example.com",
    "subject": "tpakngqksizsnognewqzfauxe",
    "message": "edzhwyklhzvtzmzngdubnoejvrotksldpmppriazgoioqirpdhxcdoqgpnxziagjobhjkqaotteyil"
};

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

Request      

POST api/contact-us

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: byqetfiieyimbbnqcxdevlm

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: ygoodwin@example.com

subject   string   

Must not be greater than 255 characters. Example: tpakngqksizsnognewqzfauxe

message   string   

Must be at least 5 characters. Example: edzhwyklhzvtzmzngdubnoejvrotksldpmppriazgoioqirpdhxcdoqgpnxziagjobhjkqaotteyil

GET api/{any}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/&0Mz(&i" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/&0Mz(&i"
);

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

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

Example response (404):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Resource not found"
}
 

Request      

GET api/{any}

POST api/{any}

PUT api/{any}

PATCH api/{any}

DELETE api/{any}

OPTIONS api/{any}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

any   string   

Example: &0Mz(&i

Invoice Headers

invoice headers

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sale-invoices" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sale-invoices

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sale-invoices" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer_id\": \"dignissimos\",
    \"brought_by\": \"optio\",
    \"description\": \"Nobis voluptatibus fugit impedit deleniti harum.\",
    \"total\": 485.78,
    \"discount\": 7757.4321,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 1,
    \"items\": [
        \"sed\"
    ],
    \"guest_id\": \"a79faf6f-ad30-38af-b894-5b1ef4e2204b\",
    \"hotel_booking_id\": \"dfa2c215-2e0c-3e69-bb27-e0c2cdf68317\",
    \"booking_room_id\": \"4d29299c-fcbe-3b7d-9333-14ee3a838b6c\",
    \"invoice_type\": \"voluptas\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices"
);

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

let body = {
    "customer_id": "dignissimos",
    "brought_by": "optio",
    "description": "Nobis voluptatibus fugit impedit deleniti harum.",
    "total": 485.78,
    "discount": 7757.4321,
    "due_date": "2025-03-11T10:35:54",
    "tax": 1,
    "items": [
        "sed"
    ],
    "guest_id": "a79faf6f-ad30-38af-b894-5b1ef4e2204b",
    "hotel_booking_id": "dfa2c215-2e0c-3e69-bb27-e0c2cdf68317",
    "booking_room_id": "4d29299c-fcbe-3b7d-9333-14ee3a838b6c",
    "invoice_type": "voluptas"
};

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

Request      

POST api/sale-invoices

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer_id   string   

Example: dignissimos

brought_by   string   

Example: optio

description   string  optional  

Example: Nobis voluptatibus fugit impedit deleniti harum.

total   number  optional  

Example: 485.78

discount   number  optional  

Example: 7757.4321

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 1

items   string[]   
description   string  optional  

Example: Quia id dolores qui velit.

quantity   integer   

Must be at least 1. Example: 8

price   number   

Must be at least 0. Example: 55

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: a79faf6f-ad30-38af-b894-5b1ef4e2204b

hotel_booking_id   string  optional  

Must be a valid UUID. Example: dfa2c215-2e0c-3e69-bb27-e0c2cdf68317

booking_room_id   string  optional  

Must be a valid UUID. Example: 4d29299c-fcbe-3b7d-9333-14ee3a838b6c

invoice_type   string  optional  

Example: voluptas

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sale-invoices/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/consequatur"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sale-invoices/{invoice_header}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

invoice_header   string   

Example: consequatur

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/sale-invoices/esse" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"In voluptatem tempore exercitationem rerum iure rerum ad.\",
    \"total\": 23525060.2936,
    \"discount\": 666432324.46835,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 24,
    \"items\": [
        \"et\"
    ],
    \"guest_id\": \"e29e7df1-11ec-39fc-9a4c-1d5e39b0daff\",
    \"hotel_booking_id\": \"926d1e14-5e98-375e-85f1-05d5246812a3\",
    \"booking_room_id\": \"556fb3e7-1e81-3996-b35a-4a66d0f13df2\",
    \"invoice_type\": \"aut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/esse"
);

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

let body = {
    "description": "In voluptatem tempore exercitationem rerum iure rerum ad.",
    "total": 23525060.2936,
    "discount": 666432324.46835,
    "due_date": "2025-03-11T10:35:54",
    "tax": 24,
    "items": [
        "et"
    ],
    "guest_id": "e29e7df1-11ec-39fc-9a4c-1d5e39b0daff",
    "hotel_booking_id": "926d1e14-5e98-375e-85f1-05d5246812a3",
    "booking_room_id": "556fb3e7-1e81-3996-b35a-4a66d0f13df2",
    "invoice_type": "aut"
};

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

Request      

PUT api/sale-invoices/{invoice_header}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

invoice_header   string   

Example: esse

Body Parameters

customer_id   string  optional  
brought_by   string  optional  
description   string  optional  

Example: In voluptatem tempore exercitationem rerum iure rerum ad.

total   number  optional  

Example: 23525060.2936

discount   number  optional  

Example: 666432324.46835

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 24

items   string[]   
description   string  optional  

Example: Sit dolor saepe unde saepe corporis dolorem.

quantity   integer   

Must be at least 1. Example: 16

price   number   

Must be at least 0. Example: 10

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: e29e7df1-11ec-39fc-9a4c-1d5e39b0daff

hotel_booking_id   string  optional  

Must be a valid UUID. Example: 926d1e14-5e98-375e-85f1-05d5246812a3

booking_room_id   string  optional  

Must be a valid UUID. Example: 556fb3e7-1e81-3996-b35a-4a66d0f13df2

invoice_type   string  optional  

Example: aut

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/sale-invoices/sit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Vel doloribus omnis est sit corrupti libero vitae.\",
    \"total\": 660940412.1123257,
    \"discount\": 12,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 5,
    \"items\": [
        \"iure\"
    ],
    \"guest_id\": \"1f18204e-ca48-3fc9-8424-64e7c0bc552e\",
    \"hotel_booking_id\": \"c0953744-302f-3dfe-8ee2-66830ab81b39\",
    \"booking_room_id\": \"460bc380-d3d7-32f3-90cb-bf772a305ada\",
    \"invoice_type\": \"hic\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/sit"
);

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

let body = {
    "description": "Vel doloribus omnis est sit corrupti libero vitae.",
    "total": 660940412.1123257,
    "discount": 12,
    "due_date": "2025-03-11T10:35:54",
    "tax": 5,
    "items": [
        "iure"
    ],
    "guest_id": "1f18204e-ca48-3fc9-8424-64e7c0bc552e",
    "hotel_booking_id": "c0953744-302f-3dfe-8ee2-66830ab81b39",
    "booking_room_id": "460bc380-d3d7-32f3-90cb-bf772a305ada",
    "invoice_type": "hic"
};

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

Request      

PATCH api/sale-invoices/{invoice_header}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

invoice_header   string   

Example: sit

Body Parameters

customer_id   string  optional  
brought_by   string  optional  
description   string  optional  

Example: Vel doloribus omnis est sit corrupti libero vitae.

total   number  optional  

Example: 660940412.11233

discount   number  optional  

Example: 12

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 5

items   string[]   
description   string  optional  

Example: Non nisi commodi vero et in quo ad.

quantity   integer   

Must be at least 1. Example: 80

price   number   

Must be at least 0. Example: 41

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: 1f18204e-ca48-3fc9-8424-64e7c0bc552e

hotel_booking_id   string  optional  

Must be a valid UUID. Example: c0953744-302f-3dfe-8ee2-66830ab81b39

booking_room_id   string  optional  

Must be a valid UUID. Example: 460bc380-d3d7-32f3-90cb-bf772a305ada

invoice_type   string  optional  

Example: hic

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/sale-invoices/est" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/est"
);

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

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

Request      

DELETE api/sale-invoices/{invoice_header}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

invoice_header   string   

Example: est

POST api/sale-invoices/attach-payments

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sale-invoices/attach-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/attach-payments"
);

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

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

Request      

POST api/sale-invoices/attach-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/sale-invoices/convert-order-to-invoice

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sale-invoices/convert-order-to-invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale-invoices/convert-order-to-invoice"
);

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

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

Request      

POST api/sale-invoices/convert-order-to-invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/invoice-headers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/invoice-headers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/invoice-headers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer_id\": \"et\",
    \"brought_by\": \"provident\",
    \"description\": \"Et non esse ut quaerat magnam fuga enim.\",
    \"total\": 555.53,
    \"discount\": 1.9658,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 22,
    \"items\": [
        \"qui\"
    ],
    \"guest_id\": \"47cd4d82-9d5b-3883-980a-aa60e2016a35\",
    \"hotel_booking_id\": \"edac15e5-2081-36bf-833f-34e82f302433\",
    \"booking_room_id\": \"3b5208a1-1be2-342c-b219-16c855ecd733\",
    \"invoice_type\": \"unde\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers"
);

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

let body = {
    "customer_id": "et",
    "brought_by": "provident",
    "description": "Et non esse ut quaerat magnam fuga enim.",
    "total": 555.53,
    "discount": 1.9658,
    "due_date": "2025-03-11T10:35:54",
    "tax": 22,
    "items": [
        "qui"
    ],
    "guest_id": "47cd4d82-9d5b-3883-980a-aa60e2016a35",
    "hotel_booking_id": "edac15e5-2081-36bf-833f-34e82f302433",
    "booking_room_id": "3b5208a1-1be2-342c-b219-16c855ecd733",
    "invoice_type": "unde"
};

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

Request      

POST api/invoice-headers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer_id   string   

Example: et

brought_by   string   

Example: provident

description   string  optional  

Example: Et non esse ut quaerat magnam fuga enim.

total   number  optional  

Example: 555.53

discount   number  optional  

Example: 1.9658

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 22

items   string[]   
description   string  optional  

Example: Est qui totam maxime qui.

quantity   integer   

Must be at least 1. Example: 52

price   number   

Must be at least 0. Example: 64

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: 47cd4d82-9d5b-3883-980a-aa60e2016a35

hotel_booking_id   string  optional  

Must be a valid UUID. Example: edac15e5-2081-36bf-833f-34e82f302433

booking_room_id   string  optional  

Must be a valid UUID. Example: 3b5208a1-1be2-342c-b219-16c855ecd733

invoice_type   string  optional  

Example: unde

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/invoice-headers/occaecati" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/occaecati"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/invoice-headers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the invoice header. Example: occaecati

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/invoice-headers/sunt" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Qui aut ipsa quod repellendus est ut.\",
    \"total\": 17.716524415,
    \"discount\": 0.44541417,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 16,
    \"items\": [
        \"voluptas\"
    ],
    \"guest_id\": \"7482ea67-dc9b-3746-a25d-0e1f1cbfd2a0\",
    \"hotel_booking_id\": \"aa959569-1260-33b1-a22b-8187d4132a50\",
    \"booking_room_id\": \"611ba3e5-6273-3f14-a560-b7fbe26169bd\",
    \"invoice_type\": \"dolore\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/sunt"
);

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

let body = {
    "description": "Qui aut ipsa quod repellendus est ut.",
    "total": 17.716524415,
    "discount": 0.44541417,
    "due_date": "2025-03-11T10:35:54",
    "tax": 16,
    "items": [
        "voluptas"
    ],
    "guest_id": "7482ea67-dc9b-3746-a25d-0e1f1cbfd2a0",
    "hotel_booking_id": "aa959569-1260-33b1-a22b-8187d4132a50",
    "booking_room_id": "611ba3e5-6273-3f14-a560-b7fbe26169bd",
    "invoice_type": "dolore"
};

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

Request      

PUT api/invoice-headers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the invoice header. Example: sunt

Body Parameters

customer_id   string  optional  
brought_by   string  optional  
description   string  optional  

Example: Qui aut ipsa quod repellendus est ut.

total   number  optional  

Example: 17.716524415

discount   number  optional  

Example: 0.44541417

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 16

items   string[]   
description   string  optional  

Example: Ut consequatur perspiciatis consequatur magni sint et mollitia incidunt.

quantity   integer   

Must be at least 1. Example: 82

price   number   

Must be at least 0. Example: 9

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: 7482ea67-dc9b-3746-a25d-0e1f1cbfd2a0

hotel_booking_id   string  optional  

Must be a valid UUID. Example: aa959569-1260-33b1-a22b-8187d4132a50

booking_room_id   string  optional  

Must be a valid UUID. Example: 611ba3e5-6273-3f14-a560-b7fbe26169bd

invoice_type   string  optional  

Example: dolore

Update the specified resource in storage.

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/invoice-headers/repudiandae" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"description\": \"Est est quis qui ut sit perferendis illo.\",
    \"total\": 16583.022449,
    \"discount\": 17,
    \"due_date\": \"2025-03-11T10:35:54\",
    \"tax\": 14,
    \"items\": [
        \"sint\"
    ],
    \"guest_id\": \"0063b699-9b9e-35ca-bba2-c1aff8527e4f\",
    \"hotel_booking_id\": \"db54e2b2-f4d7-36ff-aac8-38f0b68a098f\",
    \"booking_room_id\": \"49630ec3-1fcb-32ca-a056-c50234256bfb\",
    \"invoice_type\": \"autem\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/repudiandae"
);

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

let body = {
    "description": "Est est quis qui ut sit perferendis illo.",
    "total": 16583.022449,
    "discount": 17,
    "due_date": "2025-03-11T10:35:54",
    "tax": 14,
    "items": [
        "sint"
    ],
    "guest_id": "0063b699-9b9e-35ca-bba2-c1aff8527e4f",
    "hotel_booking_id": "db54e2b2-f4d7-36ff-aac8-38f0b68a098f",
    "booking_room_id": "49630ec3-1fcb-32ca-a056-c50234256bfb",
    "invoice_type": "autem"
};

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

Request      

PATCH api/invoice-headers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the invoice header. Example: repudiandae

Body Parameters

customer_id   string  optional  
brought_by   string  optional  
description   string  optional  

Example: Est est quis qui ut sit perferendis illo.

total   number  optional  

Example: 16583.022449

discount   number  optional  

Example: 17

due_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:54

tax   number  optional  

Must not be greater than 100. Example: 14

items   string[]   
description   string  optional  

Example: Eius qui sint consequatur voluptas nesciunt nisi optio.

quantity   integer   

Must be at least 1. Example: 50

price   number   

Must be at least 0. Example: 16

product_service_id   string  optional  
stock_code   string  optional  
stock_id   string  optional  
guest_id   string  optional  

Must be a valid UUID. Example: 0063b699-9b9e-35ca-bba2-c1aff8527e4f

hotel_booking_id   string  optional  

Must be a valid UUID. Example: db54e2b2-f4d7-36ff-aac8-38f0b68a098f

booking_room_id   string  optional  

Must be a valid UUID. Example: 49630ec3-1fcb-32ca-a056-c50234256bfb

invoice_type   string  optional  

Example: autem

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/invoice-headers/culpa" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/culpa"
);

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

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

Request      

DELETE api/invoice-headers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the invoice header. Example: culpa

POST api/invoice-headers/attach-payments

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/invoice-headers/attach-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/attach-payments"
);

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

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

Request      

POST api/invoice-headers/attach-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/invoice-headers/convert-order-to-invoice

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/invoice-headers/convert-order-to-invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/invoice-headers/convert-order-to-invoice"
);

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

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

Request      

POST api/invoice-headers/convert-order-to-invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/pos/summary

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/pos/summary" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/pos/summary"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/pos/summary

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/pos

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/pos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"items\": [
        \"animi\"
    ],
    \"tax\": 1236753.55,
    \"collected_status\": \"placeat\",
    \"discount_amount\": 3919970,
    \"payments\": [
        \"quaerat\"
    ],
    \"guest_id\": \"ac3f7115-51ba-3ac7-b63c-4069bf9a0e31\",
    \"hotel_booking_id\": \"37b22377-3906-3ef7-a88a-5f8d1fafb8e2\",
    \"booking_room_id\": \"8a52d3ae-7801-3fd4-837f-6ac15f20d960\",
    \"invoice_type\": \"quod\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/pos"
);

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

let body = {
    "items": [
        "animi"
    ],
    "tax": 1236753.55,
    "collected_status": "placeat",
    "discount_amount": 3919970,
    "payments": [
        "quaerat"
    ],
    "guest_id": "ac3f7115-51ba-3ac7-b63c-4069bf9a0e31",
    "hotel_booking_id": "37b22377-3906-3ef7-a88a-5f8d1fafb8e2",
    "booking_room_id": "8a52d3ae-7801-3fd4-837f-6ac15f20d960",
    "invoice_type": "quod"
};

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

Request      

POST api/pos

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer_id   string  optional  
items   integer[]   
quantity   integer   

Must be at least 1. Example: 84

stock_id   string  optional  
tax   number  optional  

Example: 1236753.55

collected_status   string  optional  

Example: placeat

discount_amount   number  optional  

Example: 3919970

payments   number[]  optional  
amount   number   

Must be at least 0. Example: 83

reference   string  optional  

Example: voluptatem

type   string  optional  

Example: maiores

guest_id   string  optional  

Must be a valid UUID. Example: ac3f7115-51ba-3ac7-b63c-4069bf9a0e31

hotel_booking_id   string  optional  

Must be a valid UUID. Example: 37b22377-3906-3ef7-a88a-5f8d1fafb8e2

booking_room_id   string  optional  

Must be a valid UUID. Example: 8a52d3ae-7801-3fd4-837f-6ac15f20d960

invoice_type   string  optional  

Example: quod

GET api/pos/summary/{id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/pos/summary/animi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/pos/summary/animi"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/pos/summary/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the summary. Example: animi

PUT api/sale_orders/{sale_order}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/sale_orders/sit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders/sit"
);

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

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

Request      

PUT api/sale_orders/{sale_order}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sale_order   string   

Example: sit

PATCH api/sale_orders/{sale_order}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/sale_orders/sit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sale_orders/sit"
);

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

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

Request      

PATCH api/sale_orders/{sale_order}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

sale_order   string   

Example: sit

Invoice Management

DELETE api/supplier-invoices/{supplierInvoice_id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/supplier-invoices/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/16"
);

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

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

Example response (200):


{
    "success": true,
    "message": "supplier invoice deleted successfully"
}
 

Example response (500):


{
    "error": "Failed to delete supplier invoice"
}
 

Request      

DELETE api/supplier-invoices/{supplierInvoice_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 16

GET api/supplier-invoices/{InvoiceId}/payments

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoices/20/payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/20/payments"
);

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

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

Example response (200):


{
 "data": [
     {
         "id": 1,
         "supplier_id": 2,
         "document_type": "invoice", // Example document type
         "payment_type": "bank_transfer", // Example payment type
         "payment_reference": "ABC123", // Example payment reference
         "payment_amount_total": 100.00,
         "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
         "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
     }
 ]
}
 

Example response (404):


{
    "error": "Supplier invoice not found"
}
 

Request      

GET api/supplier-invoices/{InvoiceId}/payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

InvoiceId   integer   

Example: 20

Product Services

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/product-services" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services"
);

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

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

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/product-services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/product-services" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"price\": \"omnis\",
    \"description\": \"aut\",
    \"name\": \"modi\",
    \"charge_type\": \"non\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services"
);

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

let body = {
    "price": "omnis",
    "description": "aut",
    "name": "modi",
    "charge_type": "non"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/product-services

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

price   string   

Example: omnis

description   string   

Example: aut

name   string   

Example: modi

charge_type   string   

Example: non

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/product-services/eos" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services/eos"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/product-services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product service. Example: eos

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/product-services/et" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services/et"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/product-services/{id}

PATCH api/product-services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product service. Example: et

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/product-services/iusto" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services/iusto"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/product-services/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the product service. Example: iusto

Search for resource

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/product-services/search/corporis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/product-services/search/corporis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/product-services/search/{value}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

value   string   

Example: corporis

Projects

Show all projects

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/projects" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/projects" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quisquam\",
    \"product_service_id\": 15,
    \"customer_id\": 14,
    \"project_type\": \"officia\",
    \"start_date\": \"cupiditate\",
    \"expected_end_date\": \"est\",
    \"priority\": \"medium\",
    \"description\": \"Corrupti molestiae nihil nesciunt harum cumque ullam.\",
    \"manager_id\": 17,
    \"status\": \"facilis\",
    \"completed_date\": \"aut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quisquam",
    "product_service_id": 15,
    "customer_id": 14,
    "project_type": "officia",
    "start_date": "cupiditate",
    "expected_end_date": "est",
    "priority": "medium",
    "description": "Corrupti molestiae nihil nesciunt harum cumque ullam.",
    "manager_id": 17,
    "status": "facilis",
    "completed_date": "aut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Project Name",
        "product_service_id": 1,
        "customer_id": 1,
        "manager_id": 1,
        "status": "ongoing",
        "start_date": "2024-04-02",
        "expected_end_date": "2024-05-01",
        "completed_date": null,
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    }
}
 

Request      

POST api/projects

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

The name of the project. Example: quisquam

product_service_id   integer   

The ID of the associated product/service. Example: 15

customer_id   integer   

The ID of the associated customer. Example: 14

project_type   string  optional  

Example: officia

start_date   date   

The start date of the project (YYYY-MM-DD). Example: cupiditate

expected_end_date   date   

The expected end date of the project (YYYY-MM-DD). Example: est

priority   string   

Example: medium

Must be one of:
  • low
  • medium
  • high
description   string  optional  

Example: Corrupti molestiae nihil nesciunt harum cumque ullam.

manager_id   integer   

The ID of the project manager. Example: 17

status   string  optional  

The status of the project. Example: facilis

completed_date   date  optional  

The completion date of the project (YYYY-MM-DD). Example: aut

Display Specified Project

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/projects/delectus" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/delectus"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Project Name",
        "product_service_id": 1,
        "customer_id": 1,
        "manager_id": 1,
        "status": "ongoing",
        "start_date": "2024-04-02",
        "expected_end_date": "2024-05-01",
        "completed_date": null,
        "created_at": "2024-04-02T12:00:00.000000Z",
        "updated_at": "2024-04-02T12:00:00.000000Z"
    }
}
 

Request      

GET api/projects/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the project. Example: delectus

Update the specified Project in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/projects/aut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"wzzhabqfaahvuikak\",
    \"product_service_id\": 9,
    \"customer_id\": 1,
    \"manager_id\": 15,
    \"start_date\": \"2025-03-11T10:35:53\",
    \"expected_end_date\": \"2083-11-13\",
    \"priority\": \"high\",
    \"description\": \"Voluptas nihil velit quibusdam eius aliquid provident libero.\",
    \"budget\": 0,
    \"actual_cost\": 82
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/aut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "wzzhabqfaahvuikak",
    "product_service_id": 9,
    "customer_id": 1,
    "manager_id": 15,
    "start_date": "2025-03-11T10:35:53",
    "expected_end_date": "2083-11-13",
    "priority": "high",
    "description": "Voluptas nihil velit quibusdam eius aliquid provident libero.",
    "budget": 0,
    "actual_cost": 82
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/projects/{id}

PATCH api/projects/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the project. Example: aut

Body Parameters

name   string  optional  

Must not be greater than 255 characters. Example: wzzhabqfaahvuikak

product_service_id   integer  optional  

Example: 9

customer_id   integer  optional  

Example: 1

manager_id   integer  optional  

Example: 15

status   string  optional  
start_date   string  optional  

Must be a valid date. Example: 2025-03-11T10:35:53

expected_end_date   string  optional  

Must be a valid date. Must be a date after or equal to start_date. Example: 2083-11-13

priority   string  optional  

Example: high

Must be one of:
  • low
  • medium
  • high
description   string  optional  

Example: Voluptas nihil velit quibusdam eius aliquid provident libero.

budget   number  optional  

Must be at least 0. Example: 0

actual_cost   number  optional  

Must be at least 0. Example: 82

assignee   string  optional  

Store add a task to project

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/projects/add_task_to_project/qui" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"column_id\": \"quis\",
    \"name\": \"wldmroyhimpvrzr\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/add_task_to_project/qui"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "column_id": "quis",
    "name": "wldmroyhimpvrzr"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/projects/add_task_to_project/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the add task to project. Example: qui

Body Parameters

column_id   string   

Example: quis

name   string   

Must not be greater than 255 characters. Example: wldmroyhimpvrzr

List all tasks for the project

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/projects/list_all_tasks/reprehenderit" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/projects/list_all_tasks/reprehenderit"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (Connection: tenant, SQL: select * from `projects` where `id` = reprehenderit and `projects`.`deleted_at` is null limit 1)",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
    "line": 813,
    "trace": [
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 767,
            "function": "runQueryCallback",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php",
            "line": 398,
            "function": "run",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2898,
            "function": "select",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2883,
            "function": "runSelect",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 3467,
            "function": "Illuminate\\Database\\Query\\{closure}",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php",
            "line": 2882,
            "function": "onceWithColumns",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 738,
            "function": "get",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php",
            "line": 722,
            "function": "getModels",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Concerns\\BuildsQueries.php",
            "line": 333,
            "function": "get",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\app\\Http\\Controllers\\Api\\ProjectController.php",
            "line": 347,
            "function": "first",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 46,
            "function": "list_all_tasks",
            "class": "App\\Http\\Controllers\\Api\\ProjectController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 260,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 206,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 806,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 805,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 784,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 748,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 737,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 144,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 50,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 110,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 183,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 119,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 300,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 288,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 91,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 44,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 163,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 125,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 72,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
            "line": 50,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 53,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 212,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 279,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 1049,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 318,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\symfony\\console\\Application.php",
            "line": 169,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 196,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
            "line": 1183,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\Celestial\\Downloads\\Digimax\\Feexid\\Feexid Backend\\sycammore\\artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/projects/list_all_tasks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the list all task. Example: reprehenderit

Quotations

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/quotations" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/quotations

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/quotations" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer_id\": \"dolores\",
    \"brought_by\": \"molestias\",
    \"description\": \"Et natus et qui est.\",
    \"tax_percentage\": 33,
    \"due_date\": \"2016-02-19\",
    \"comment\": \"sint\",
    \"items\": [
        \"nisi\"
    ]
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "customer_id": "dolores",
    "brought_by": "molestias",
    "description": "Et natus et qui est.",
    "tax_percentage": 33,
    "due_date": "2016-02-19",
    "comment": "sint",
    "items": [
        "nisi"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/quotations

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer_id   string   

Example: dolores

brought_by   string   

Example: molestias

discount   string  optional  
description   string  optional  

Example: Et natus et qui est.

tax_percentage   number  optional  

Must be at least 0. Example: 33

due_date   string   

Must be a valid date. Must be a date after or equal to date. Example: 2016-02-19

comment   string  optional  

Example: sint

items   string[]   
product_service_id   string  optional  
quantity   integer   

Must be at least 1. Example: 43

stock_id   string  optional  
price   number   

Example: 3929237.3637443

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/quotations/sint" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/sint"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/quotations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quotation. Example: sint

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/quotations/quidem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"date\": \"2025-03-11\",
    \"due_date\": \"2025-03-11\",
    \"status\": \"omnis\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/quidem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "date": "2025-03-11",
    "due_date": "2025-03-11",
    "status": "omnis"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/quotations/{id}

PATCH api/quotations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quotation. Example: quidem

Body Parameters

customer_id   string  optional  
product_service_id   string  optional  
date   string  optional  

Must be a valid date. Must be a valid date in the format Y-m-d. Example: 2025-03-11

due_date   string  optional  

Must be a valid date. Must be a valid date in the format Y-m-d. Example: 2025-03-11

status   string   

Example: omnis

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/quotations/rerum" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/rerum"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/quotations/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the quotation. Example: rerum

GET api/quotations/dashboard

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/quotations/dashboard" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/dashboard"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/quotations/dashboard

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/quotations/update-status

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/quotations/update-status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/update-status"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/quotations/update-status

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/quotations/process

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/quotations/process" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/quotations/process"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/quotations/process

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Sales Invoice Detail

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-invoice-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-invoice-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sales-invoice-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"document_type\": \"dolorem\",
    \"code\": \"tempora\",
    \"description\": \"eos\",
    \"quantity\": \"dolore\",
    \"unit_price\": \"eligendi\",
    \"net_amount\": \"facilis\",
    \"invoice_header_id\": \"recusandae\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "document_type": "dolorem",
    "code": "tempora",
    "description": "eos",
    "quantity": "dolore",
    "unit_price": "eligendi",
    "net_amount": "facilis",
    "invoice_header_id": "recusandae"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/sales-invoice-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

document_type   string   

Example: dolorem

code   string   

Example: tempora

description   string   

Example: eos

quantity   string   

Example: dolore

unit_price   string   

Example: eligendi

net_amount   string   

Example: facilis

invoice_header_id   string   

Example: recusandae

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-invoice-details/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-details/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-invoice-details/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice detail. Example: consequatur

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/sales-invoice-details/libero" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-details/libero"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/sales-invoice-details/{id}

PATCH api/sales-invoice-details/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice detail. Example: libero

Body Parameters

invoice_header_id   string  optional  

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/sales-invoice-details/distinctio" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-details/distinctio"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/sales-invoice-details/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice detail. Example: distinctio

Sales Invoice Payments

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-invoice-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-invoice-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sales-invoice-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"customer_id\": \"exercitationem\",
    \"invoice_header_id\": \"omnis\",
    \"payment_amount_total\": \"iste\",
    \"payment_reference\": \"molestiae\",
    \"payment_type\": \"quasi\",
    \"document_type\": \"aut\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "customer_id": "exercitationem",
    "invoice_header_id": "omnis",
    "payment_amount_total": "iste",
    "payment_reference": "molestiae",
    "payment_type": "quasi",
    "document_type": "aut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/sales-invoice-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

customer_id   string   

Example: exercitationem

invoice_header_id   string   

Example: omnis

payment_amount_total   string   

Example: iste

payment_reference   string   

Example: molestiae

payment_type   string   

Example: quasi

document_type   string   

Example: aut

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-invoice-payments/maiores" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-payments/maiores"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-invoice-payments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice payment. Example: maiores

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/sales-invoice-payments/mollitia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-payments/mollitia"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/sales-invoice-payments/{id}

PATCH api/sales-invoice-payments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice payment. Example: mollitia

Body Parameters

customer_id   string  optional  
invoice_header_id   string  optional  

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/sales-invoice-payments/eligendi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-invoice-payments/eligendi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/sales-invoice-payments/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales invoice payment. Example: eligendi

Sales Lead

GET api/sales-leads

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-leads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-leads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a SalesLead

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/sales-leads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lead_id\": \"itaque\",
    \"customer_id\": \"aut\",
    \"email\": \"angelo28@example.com\",
    \"phone\": \"labore\",
    \"project_id\": \"quo\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "lead_id": "itaque",
    "customer_id": "aut",
    "email": "angelo28@example.com",
    "phone": "labore",
    "project_id": "quo"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/sales-leads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

lead_id   string   

Example: itaque

customer_id   string   

Example: aut

original_assigned_employee   string  optional  
email   string  optional  

Must be a valid email address. Example: angelo28@example.com

phone   string  optional  

Example: labore

project_id   string   

Example: quo

product_service_id   string  optional  

Display the specified Sale Resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-leads/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads/ut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales lead. Example: ut

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/sales-leads/ea" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"status\": \"lost\",
    \"name\": \"non\",
    \"start_date\": \"2025-03-11\",
    \"expected_end_date\": \"2038-07-26\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads/ea"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "status": "lost",
    "name": "non",
    "start_date": "2025-03-11",
    "expected_end_date": "2038-07-26"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/sales-leads/{id}

PATCH api/sales-leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales lead. Example: ea

Body Parameters

status   string  optional  

Example: lost

Must be one of:
  • active
  • lost
  • won
name   string  optional  

This field is required when status is successful. Example: non

manager_id   string  optional  

This field is required when status is successful.

start_date   string  optional  

This field is required when status is successful. Must be a valid date in the format Y-m-d. Example: 2025-03-11

expected_end_date   string  optional  

This field is required when status is successful. Must be a valid date in the format Y-m-d. Must be a date after or equal to start_date. Example: 2038-07-26

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/sales-leads/animi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads/animi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/sales-leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the sales lead. Example: animi

GET api/sales-leads/updates/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/sales-leads/updates/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/sales-leads/updates/ut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/sales-leads/updates/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the update. Example: ut

Supplier Invoice Management

GET api/supplier-invoices

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoices?page=ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices"
);

const params = {
    "page": "ut",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": [
     {
         "id": 1,
         "supplier_id": 2,
         "invoice_number": "INV-2023-001",
         // ... other invoice details
     },
     // ... Up to 14 more invoice details (depending on total invoices)
 ],
 "links": {
     "first": "http://your-api-domain/api/supplier-invoices?page=1",
     "last": "http://your-api-domain/api/supplier-invoices?page=n" (where n is the last page number),
     "prev": "http://your-api-domain/api/supplier-invoices?page=x" (previous page link if available),
     "next": "http://your-api-domain/api/supplier-invoices?page=y" (next page link if available)
 },
 "meta": {
     "current_page": 1,
     "from": 1,
     "last_page": n (total number of pages),
     "per_page": 15,
     "total": x (total number of invoices)
 }
}
 

Example response (400):


{
 "error": "Invalid page number" (if provided page number is less than 1)
}
 

Request      

GET api/supplier-invoices

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   string   

integer The page number to retrieve (defaults to 1). Example: ut

POST api/supplier-invoices

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoices" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"et\",
    \"invoice_number\": \"deleniti\",
    \"due_date\": \"dolores\",
    \"reference\": \"eius\",
    \"invoice_value\": \"amet\",
    \"discount\": 67,
    \"invoice_status\": \"beatae\",
    \"currency\": \"quis\",
    \"exchange_rate\": \"aut\",
    \"first_tax_code\": \"molestiae\",
    \"with_tax_value\": \"aspernatur\",
    \"with_tax_rate\": \"quam\",
    \"currency_value\": 83,
    \"local_value\": 14,
    \"amount_paid\": 71,
    \"items\": \"pzqekj\",
    \"supplier_invoice_payment_ids\": \"id\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "supplier_id": "et",
    "invoice_number": "deleniti",
    "due_date": "dolores",
    "reference": "eius",
    "invoice_value": "amet",
    "discount": 67,
    "invoice_status": "beatae",
    "currency": "quis",
    "exchange_rate": "aut",
    "first_tax_code": "molestiae",
    "with_tax_value": "aspernatur",
    "with_tax_rate": "quam",
    "currency_value": 83,
    "local_value": 14,
    "amount_paid": 71,
    "items": "pzqekj",
    "supplier_invoice_payment_ids": "id"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details
 }
}
 

Example response (400):


{
    "error": "Validation error messages..."
}
 

Request      

POST api/supplier-invoices

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

supplier_id   required  optional  

integer The ID of the associated supplier. Example: et

invoice_number   required  optional  

string Unique invoice number. Example: deleniti

due_date   optional  optional  

date The due date of the invoice (must be after invoice_date). Example: dolores

reference   optional  optional  

string Invoice reference code. Example: eius

invoice_value   required  optional  

numeric The invoice value in the original currency. Example: amet

discount   number  optional  

Must be at least 0. Example: 67

invoice_status   required  optional  

string The invoice status (pending, paid, overdue). Example: beatae

currency   required  optional  

string The currency code (e.g., USD, EUR). Example: quis

exchange_rate   optional  optional  

numeric The exchange rate (if applicable). Example: aut

first_tax_code   optional  optional  

string The first tax code (if applicable). Example: molestiae

with_tax_value   optional  optional  

numeric The with-tax value (if applicable). Example: aspernatur

with_tax_rate   optional  optional  

numeric The tax rate (between 0 and 1, if applicable). Example: quam

currency_value   number  optional  

Must be at least 0. Example: 83

local_value   number  optional  

Must be at least 0. Example: 14

purchase_order_header_id   string  optional  
amount_paid   number  optional  

Must be at least 0. Example: 71

items   string[]   

Must have at least 1 items. Example: pzqekj

item_name   string   

Must not be greater than 255 characters. Example: vqavvln

quantity   integer   

Must be at least 1. Example: 11

unit_price   number   

Must be at least 0. Example: 48

total_price   number   

Must be at least 0. Example: 27

description   string  optional  

Example: Dolores velit vitae quo sequi facere.

notes   string  optional  

Example: dignissimos

supplier_invoice_payment_ids   optional  optional  

array An array of invoice payment IDs to attach (optional). Example: id

GET api/supplier-invoices/{supplierInvoice_id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoices/16" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/16"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details
 }
}
 

Example response (404):


{
    "error": "Supplier invoice not found"
}
 

Request      

GET api/supplier-invoices/{supplierInvoice_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 16

PUT api/supplier-invoices/{supplierInvoice_id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/supplier-invoices/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"cum\",
    \"invoice_number\": \"cupiditate\",
    \"due_date\": \"minus\",
    \"reference\": \"enim\",
    \"invoice_value\": \"in\",
    \"discount\": 36,
    \"invoice_status\": \"ullam\",
    \"currency\": \"illum\",
    \"exchange_rate\": \"qui\",
    \"first_tax_code\": \"consequatur\",
    \"with_tax_value\": \"aut\",
    \"with_tax_rate\": \"magnam\",
    \"currency_value\": 46,
    \"local_value\": 42,
    \"amount_paid\": 20,
    \"items\": \"jijycflslnouenmdzpylzfmbkabzfftmwdxaigfpzmpvswzuhzjyoepjqpmyqfbnduszgwldaoeayo\",
    \"supplier_invoice_payment_ids\": \"distinctio\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/12"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "supplier_id": "cum",
    "invoice_number": "cupiditate",
    "due_date": "minus",
    "reference": "enim",
    "invoice_value": "in",
    "discount": 36,
    "invoice_status": "ullam",
    "currency": "illum",
    "exchange_rate": "qui",
    "first_tax_code": "consequatur",
    "with_tax_value": "aut",
    "with_tax_rate": "magnam",
    "currency_value": 46,
    "local_value": 42,
    "amount_paid": 20,
    "items": "jijycflslnouenmdzpylzfmbkabzfftmwdxaigfpzmpvswzuhzjyoepjqpmyqfbnduszgwldaoeayo",
    "supplier_invoice_payment_ids": "distinctio"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details (updated)
 }
}
 

Example response (400):


{
    "error": "Validation error messages..."
}
 

Example response (404):


{
    "error": "Supplier invoice not found"
}
 

Request      

PUT api/supplier-invoices/{supplierInvoice_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 12

Body Parameters

supplier_id   optional  optional  

integer The ID of the associated supplier (can be updated). Example: cum

invoice_number   string   

Example: cupiditate

due_date   optional  optional  

date The due date of the invoice (must be after invoice_date). Example: minus

reference   optional  optional  

string Invoice reference code (can be updated). Example: enim

invoice_value   optional  optional  

numeric The invoice value in the original currency (can be updated). Example: in

discount   number  optional  

Must be at least 0. Example: 36

invoice_status   optional  optional  

string The invoice status (pending, paid, overdue) - can be updated. Example: ullam

currency   optional  optional  

string The currency code (e.g., USD, EUR) - can be updated. Example: illum

exchange_rate   optional  optional  

numeric The exchange rate (if applicable) - can be updated. Example: qui

first_tax_code   optional  optional  

string The first tax code (if applicable) - can be updated. Example: consequatur

with_tax_value   optional  optional  

numeric The with-tax value (if applicable) - can be updated. Example: aut

with_tax_rate   optional  optional  

numeric The tax rate (between 0 and 1, if applicable) - can be updated. Example: magnam

currency_value   number  optional  

Must be at least 0. Example: 46

local_value   number  optional  

Must be at least 0. Example: 42

purchase_order_header_id   string  optional  
amount_paid   number  optional  

Must be at least 0. Example: 20

items   string[]   

Must have at least 1 items. Example: jijycflslnouenmdzpylzfmbkabzfftmwdxaigfpzmpvswzuhzjyoepjqpmyqfbnduszgwldaoeayo

item_name   string   

Must not be greater than 255 characters. Example: ynwoifjwvzudyzxh

quantity   integer   

Must be at least 1. Example: 33

unit_price   number   

Must be at least 0. Example: 23

total_price   number   

Must be at least 0. Example: 2

description   string  optional  

Example: Eos illo officia corrupti voluptas blanditiis eligendi sequi.

notes   string  optional  

Example: odit

supplier_invoice_payment_ids   optional  optional  

array An array of invoice payment IDs to attach (optional). Example: distinctio

PATCH api/supplier-invoices/{supplierInvoice_id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/supplier-invoices/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"consequatur\",
    \"invoice_number\": \"iste\",
    \"due_date\": \"dolorum\",
    \"reference\": \"saepe\",
    \"invoice_value\": \"qui\",
    \"discount\": 77,
    \"invoice_status\": \"enim\",
    \"currency\": \"et\",
    \"exchange_rate\": \"aliquid\",
    \"first_tax_code\": \"itaque\",
    \"with_tax_value\": \"rerum\",
    \"with_tax_rate\": \"sapiente\",
    \"currency_value\": 1,
    \"local_value\": 13,
    \"amount_paid\": 78,
    \"items\": \"avirlpvnotkbkxmrapjirusqelzzubbbhmjsdighbxb\",
    \"supplier_invoice_payment_ids\": \"eveniet\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "supplier_id": "consequatur",
    "invoice_number": "iste",
    "due_date": "dolorum",
    "reference": "saepe",
    "invoice_value": "qui",
    "discount": 77,
    "invoice_status": "enim",
    "currency": "et",
    "exchange_rate": "aliquid",
    "first_tax_code": "itaque",
    "with_tax_value": "rerum",
    "with_tax_rate": "sapiente",
    "currency_value": 1,
    "local_value": 13,
    "amount_paid": 78,
    "items": "avirlpvnotkbkxmrapjirusqelzzubbbhmjsdighbxb",
    "supplier_invoice_payment_ids": "eveniet"
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details (updated)
 }
}
 

Example response (400):


{
    "error": "Validation error messages..."
}
 

Example response (404):


{
    "error": "Supplier invoice not found"
}
 

Request      

PATCH api/supplier-invoices/{supplierInvoice_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 1

Body Parameters

supplier_id   optional  optional  

integer The ID of the associated supplier (can be updated). Example: consequatur

invoice_number   string   

Example: iste

due_date   optional  optional  

date The due date of the invoice (must be after invoice_date). Example: dolorum

reference   optional  optional  

string Invoice reference code (can be updated). Example: saepe

invoice_value   optional  optional  

numeric The invoice value in the original currency (can be updated). Example: qui

discount   number  optional  

Must be at least 0. Example: 77

invoice_status   optional  optional  

string The invoice status (pending, paid, overdue) - can be updated. Example: enim

currency   optional  optional  

string The currency code (e.g., USD, EUR) - can be updated. Example: et

exchange_rate   optional  optional  

numeric The exchange rate (if applicable) - can be updated. Example: aliquid

first_tax_code   optional  optional  

string The first tax code (if applicable) - can be updated. Example: itaque

with_tax_value   optional  optional  

numeric The with-tax value (if applicable) - can be updated. Example: rerum

with_tax_rate   optional  optional  

numeric The tax rate (between 0 and 1, if applicable) - can be updated. Example: sapiente

currency_value   number  optional  

Must be at least 0. Example: 1

local_value   number  optional  

Must be at least 0. Example: 13

purchase_order_header_id   string  optional  
amount_paid   number  optional  

Must be at least 0. Example: 78

items   string[]   

Must have at least 1 items. Example: avirlpvnotkbkxmrapjirusqelzzubbbhmjsdighbxb

item_name   string   

Must not be greater than 255 characters. Example: osxjshfgcf

quantity   integer   

Must be at least 1. Example: 69

unit_price   number   

Must be at least 0. Example: 72

total_price   number   

Must be at least 0. Example: 11

description   string  optional  

Example: Animi excepturi ab non laudantium omnis qui sit.

notes   string  optional  

Example: ad

supplier_invoice_payment_ids   optional  optional  

array An array of invoice payment IDs to attach (optional). Example: eveniet

POST api/supplier-invoices/{supplierInvoice_id}/attach-payments

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoices/12/attach-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"explicabo\",
    \"invoice_number\": \"quis\",
    \"due_date\": \"2038-06-16\",
    \"reference\": \"qui\",
    \"invoice_value\": 42,
    \"discount\": 77,
    \"invoice_status\": \"pending\",
    \"currency\": \"xq\",
    \"exchange_rate\": 24,
    \"first_tax_code\": \"adipisci\",
    \"with_tax_value\": 12,
    \"with_tax_rate\": 23,
    \"currency_value\": 46,
    \"local_value\": 30,
    \"amount_paid\": 55,
    \"items\": \"hdbvqtuginqjpqcfwxstacfqnxryrnqtdszr\",
    \"supplier_invoice_payment_ids\": \"vel\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/12/attach-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "supplier_id": "explicabo",
    "invoice_number": "quis",
    "due_date": "2038-06-16",
    "reference": "qui",
    "invoice_value": 42,
    "discount": 77,
    "invoice_status": "pending",
    "currency": "xq",
    "exchange_rate": 24,
    "first_tax_code": "adipisci",
    "with_tax_value": 12,
    "with_tax_rate": 23,
    "currency_value": 46,
    "local_value": 30,
    "amount_paid": 55,
    "items": "hdbvqtuginqjpqcfwxstacfqnxryrnqtdszr",
    "supplier_invoice_payment_ids": "vel"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details (including attached payments)
 }
}
 

Example response (400):


{
    "error": "No invoice payment IDs provided"
}
 

Example response (404):


{
    "error": "Supplier invoice not found"
}
 

Request      

POST api/supplier-invoices/{supplierInvoice_id}/attach-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 12

Body Parameters

supplier_id   string   

Example: explicabo

invoice_number   string   

Example: quis

due_date   string   

Must be a valid date. Must be a date after or equal to today. Example: 2038-06-16

reference   string  optional  

Example: qui

invoice_value   number   

Must be at least 0. Example: 42

discount   number  optional  

Must be at least 0. Example: 77

invoice_status   string   

Example: pending

Must be one of:
  • pending
  • paid
  • cancelled
currency   string   

Must not be greater than 3 characters. Example: xq

exchange_rate   number  optional  

Must be at least 0. Example: 24

first_tax_code   string  optional  

Example: adipisci

with_tax_value   number  optional  

Must be at least 0. Example: 12

with_tax_rate   number  optional  

Must be at least 0. Must not be greater than 100. Example: 23

currency_value   number  optional  

Must be at least 0. Example: 46

local_value   number  optional  

Must be at least 0. Example: 30

purchase_order_header_id   string  optional  
amount_paid   number  optional  

Must be at least 0. Example: 55

items   string[]   

Must have at least 1 items. Example: hdbvqtuginqjpqcfwxstacfqnxryrnqtdszr

item_name   string   

Must not be greater than 255 characters. Example: zajjlcqthqlfybbjwyxz

quantity   integer   

Must be at least 1. Example: 32

unit_price   number   

Must be at least 0. Example: 84

total_price   number   

Must be at least 0. Example: 38

description   string  optional  

Example: Rerum non id quia.

notes   string  optional  

Example: voluptatem

supplier_invoice_payment_ids   required  optional  

array An array containing IDs of the invoice payments to attach. Example: vel

DELETE api/supplier-invoices/{supplierInvoice_id}/payments/{paymentId}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/supplier-invoices/19/payments/officia" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoices/19/payments/officia"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "invoice_number": "INV-2023-001",
     // ... other invoice details (excluding detached payment)
 }
}
 

Example response (404):


{
    "error": "Payment Not Found"
}
 

Request      

DELETE api/supplier-invoices/{supplierInvoice_id}/payments/{paymentId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoice_id   integer   

The ID of the supplierInvoice. Example: 19

paymentId   string   

Example: officia

Supplier Invoice Payment Management

GET api/supplier-invoice-payments

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoice-payments?page=ipsam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments"
);

const params = {
    "page": "ipsam",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": [
     {
         "id": 1,
         "supplier_id": 2,
         "document_type": "invoice", // Example document type
         "payment_type": "bank_transfer", // Example payment type
         "payment_reference": "ABC123", // Example payment reference
         "payment_amount_total": 100.00,
         "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
         "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
         // ... other payment details
     },
     // ... Up to 14 more payment details (depending on total payments)
 ],
 "links": {
     "first": "http://your-api-domain/api/supplier-invoice-payments?page=1",
     "last": "http://your-api-domain/api/supplier-invoice-payments?page=n" (where n is the last page number),
     "prev": "http://your-api-domain/api/supplier-invoice-payments?page=x" (previous page link if available),
     "next": "http://your-api-domain/api/supplier-invoice-payments?page=y" (next page link if available)
 },
 "meta": {
     "current_page": 1,
     "from": 1,
     "last_page": n (total number of pages),
     "per_page": 15,
     "total": x (total number of payments)
 }
}
 

Example response (400):


{
 "error": "Invalid page number" (if provided page number is less than 1)
}
 

Request      

GET api/supplier-invoice-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Query Parameters

page   string   

integer The page number to retrieve (defaults to 1). Example: ipsam

POST api/supplier-invoice-payments

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_id\": \"ex\",
    \"document_type\": \"et\",
    \"payment_type\": \"non\",
    \"payment_reference\": \"sunt\",
    \"payment_amount_total\": 4507931.20136,
    \"withholding_tax_rate\": 8399.7,
    \"withholding_tax_amount\": 6.4011
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "supplier_id": "ex",
    "document_type": "et",
    "payment_type": "non",
    "payment_reference": "sunt",
    "payment_amount_total": 4507931.20136,
    "withholding_tax_rate": 8399.7,
    "withholding_tax_amount": 6.4011
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "document_type": "invoice",
     "payment_type": "bank_transfer",
     "payment_reference": "ABC123",
     "payment_amount_total": 100.00,
     "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
     "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
     // ... other payment details
 }
}
 

Example response (400):


{
 "error": "Missing supplier_invoice_ids in request" (if 'supplier_invoice_ids' is missing)
}
 

Request      

POST api/supplier-invoice-payments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

supplier_id   string   

Example: ex

document_type   string   

Example: et

payment_type   string   

Example: non

payment_reference   string  optional  

Example: sunt

payment_amount_total   number   

Example: 4507931.20136

withholding_tax_rate   number  optional  

Example: 8399.7

withholding_tax_amount   number  optional  

Example: 6.4011

supplier_invoice_ids   string[]  optional  

GET api/supplier-invoice-payments/{supplierInvoicePayment_id}

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoice-payments/10" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/10"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "document_type": "invoice",
     "payment_type": "bank_transfer",
     "payment_reference": "ABC123",
     "payment_amount_total": 100.00,
     "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
     "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
     // ... other payment details
 }
}
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

GET api/supplier-invoice-payments/{supplierInvoicePayment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoicePayment_id   integer   

The ID of the supplierInvoicePayment. Example: 10

id   string   

integer The ID of the supplier invoice payment to retrieve. Example: consequuntur

PUT api/supplier-invoice-payments/{supplierInvoicePayment_id}

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/11" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"document_type\": \"blanditiis\",
    \"payment_type\": \"est\",
    \"payment_reference\": \"nostrum\",
    \"payment_amount_total\": 154958.346,
    \"withholding_tax_rate\": 421,
    \"withholding_tax_amount\": 311.020086
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/11"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "document_type": "blanditiis",
    "payment_type": "est",
    "payment_reference": "nostrum",
    "payment_amount_total": 154958.346,
    "withholding_tax_rate": 421,
    "withholding_tax_amount": 311.020086
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "document_type": "invoice",
     "payment_type": "bank_transfer",
     "payment_reference": "ABC123",
     "payment_amount_total": 100.00,
     "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
     "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
     // ... other payment details
 }
}
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

PUT api/supplier-invoice-payments/{supplierInvoicePayment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoicePayment_id   integer   

The ID of the supplierInvoicePayment. Example: 11

id   string   

integer The ID of the supplier invoice payment to update. Example: temporibus

Body Parameters

supplier_id   string  optional  
document_type   string  optional  

Example: blanditiis

payment_type   string  optional  

Example: est

payment_reference   string  optional  

Example: nostrum

payment_amount_total   number  optional  

Example: 154958.346

withholding_tax_rate   number  optional  

Example: 421

withholding_tax_amount   number  optional  

Example: 311.020086

supplier_invoice_ids   string[]  optional  

PATCH api/supplier-invoice-payments/{supplierInvoicePayment_id}

Example request:
curl --request PATCH \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"document_type\": \"sit\",
    \"payment_type\": \"quo\",
    \"payment_reference\": \"vitae\",
    \"payment_amount_total\": 628.476,
    \"withholding_tax_rate\": 8082459.331,
    \"withholding_tax_amount\": 14350.7188045
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/12"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "document_type": "sit",
    "payment_type": "quo",
    "payment_reference": "vitae",
    "payment_amount_total": 628.476,
    "withholding_tax_rate": 8082459.331,
    "withholding_tax_amount": 14350.7188045
};

fetch(url, {
    method: "PATCH",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1,
     "supplier_id": 2,
     "document_type": "invoice",
     "payment_type": "bank_transfer",
     "payment_reference": "ABC123",
     "payment_amount_total": 100.00,
     "withholding_tax_rate": 0.1, // Example withholding tax rate (optional)
     "withholding_tax_amount": 10.00, // Example withholding tax amount (optional)
     // ... other payment details
 }
}
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

PATCH api/supplier-invoice-payments/{supplierInvoicePayment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoicePayment_id   integer   

The ID of the supplierInvoicePayment. Example: 12

id   string   

integer The ID of the supplier invoice payment to update. Example: doloremque

Body Parameters

supplier_id   string  optional  
document_type   string  optional  

Example: sit

payment_type   string  optional  

Example: quo

payment_reference   string  optional  

Example: vitae

payment_amount_total   number  optional  

Example: 628.476

withholding_tax_rate   number  optional  

Example: 8082459.331

withholding_tax_amount   number  optional  

Example: 14350.7188045

supplier_invoice_ids   string[]  optional  

DELETE api/supplier-invoice-payments/{supplierInvoicePayment_id}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/8" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/8"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (204):

Empty response
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

DELETE api/supplier-invoice-payments/{supplierInvoicePayment_id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

supplierInvoicePayment_id   integer   

The ID of the supplierInvoicePayment. Example: 8

id   string   

integer The ID of the supplier invoice payment to delete. Example: et

POST api/supplier-invoice-payments/invoices/{paymentId}/attach-invoice

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/invoices/doloremque/attach-invoice" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"document_type\": \"ut\",
    \"payment_type\": \"voluptatibus\",
    \"payment_reference\": \"reprehenderit\",
    \"payment_amount_total\": 2164612.28,
    \"withholding_tax_rate\": 1457850,
    \"withholding_tax_amount\": 207.9291
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/invoices/doloremque/attach-invoice"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "document_type": "ut",
    "payment_type": "voluptatibus",
    "payment_reference": "reprehenderit",
    "payment_amount_total": 2164612.28,
    "withholding_tax_rate": 1457850,
    "withholding_tax_amount": 207.9291
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1, // ID of the updated supplier invoice payment
     "invoices": [ // Array of attached supplier invoice details
         // ... details of each attached invoice
     ]
 }
}
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

POST api/supplier-invoice-payments/invoices/{paymentId}/attach-invoice

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

paymentId   string   

Example: doloremque

id   string   

integer The ID of the supplier invoice payment to attach invoices to. Example: nam

Body Parameters

supplier_id   string  optional  
document_type   string  optional  

Example: ut

payment_type   string  optional  

Example: voluptatibus

payment_reference   string  optional  

Example: reprehenderit

payment_amount_total   number  optional  

Example: 2164612.28

withholding_tax_rate   number  optional  

Example: 1457850

withholding_tax_amount   number  optional  

Example: 207.9291

supplier_invoice_ids   string[]  optional  

DELETE api/supplier-invoice-payments/{paymentId}/invoices/{invoiceId}

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/16/invoices/est" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/16/invoices/est"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": {
     "id": 1, // ID of the updated supplier invoice payment
     "invoices": [ // Array of remaining attached supplier invoice details (if any)
         // ... details of each remaining attached invoice
     ]
 }
}
 

Example response (404):


{
 "error": "Supplier invoice payment not found" (if payment not found)
 "error": "Supplier invoice not found" (if invoice not found for detachment)
}
 

Request      

DELETE api/supplier-invoice-payments/{paymentId}/invoices/{invoiceId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

paymentId   integer   

Example: 16

invoiceId   string   

integer The ID of the supplier invoice to detach. Example: est

id   string   

integer The ID of the supplier invoice payment. Example: quidem

GET api/supplier-invoice-payments/{paymentId}/invoices

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/supplier-invoice-payments/5/invoices" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/supplier-invoice-payments/5/invoices"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
 "data": [
     { // Details of the first attached invoice
         // ... invoice details
     },
     { // Details of the second attached invoice (if any)
         // ... invoice details
     },
     // ... and so on for other attached invoices
 ]
}
 

Example response (404):


{
    "error": "Supplier invoice payment not found"
}
 

Request      

GET api/supplier-invoice-payments/{paymentId}/invoices

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

paymentId   integer   

Example: 5

id   string   

integer The ID of the supplier invoice payment to retrieve invoices for. Example: et

Suppliers

Api's management for Suppliers

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/suppliers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/suppliers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/suppliers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/suppliers" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"avdfvy\",
    \"phone\": \"rzhiwswfekfxeftd\",
    \"email\": \"jeramy95@example.org\",
    \"address\": \"heg\",
    \"city\": \"dzprlqxoc\",
    \"state\": \"nmp\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/suppliers"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "avdfvy",
    "phone": "rzhiwswfekfxeftd",
    "email": "jeramy95@example.org",
    "address": "heg",
    "city": "dzprlqxoc",
    "state": "nmp"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/suppliers

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

name   string   

Must not be greater than 255 characters. Example: avdfvy

phone   string   

Must not be greater than 20 characters. Example: rzhiwswfekfxeftd

email   string   

Must be a valid email address. Must not be greater than 255 characters. Example: jeramy95@example.org

address   string   

Must not be greater than 255 characters. Example: heg

city   string   

Must not be greater than 255 characters. Example: dzprlqxoc

state   string   

Must not be greater than 255 characters. Example: nmp

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/suppliers/placeat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/suppliers/placeat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/suppliers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the supplier. Example: placeat

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/suppliers/ipsam" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/suppliers/ipsam"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/suppliers/{id}

PATCH api/suppliers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the supplier. Example: ipsam

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/suppliers/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/suppliers/ut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/suppliers/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the supplier. Example: ut

Task Lead Activities

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/task_leads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/task_leads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/task_leads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Store a newly created resource in storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/task_leads" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"praesentium\",
    \"communication_type\": \"ipsam\",
    \"start_date\": \"2025-03-11\",
    \"due_date\": \"2025-03-11\",
    \"completed_date\": \"2025-03-11\",
    \"status\": \"labore\",
    \"notes\": \"sed\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/task_leads"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "praesentium",
    "communication_type": "ipsam",
    "start_date": "2025-03-11",
    "due_date": "2025-03-11",
    "completed_date": "2025-03-11",
    "status": "labore",
    "notes": "sed"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/task_leads

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

task_id   string  optional  
sale_lead_id   string  optional  
supervisor_id   string  optional  
assignee   string  optional  
quotation_id   string  optional  
name   string   

Example: praesentium

communication_type   string   

Example: ipsam

start_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-03-11

due_date   string   

Must be a valid date in the format Y-m-d. Example: 2025-03-11

completed_date   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-03-11

status   string  optional  

Example: labore

notes   string  optional  

Example: sed

sales_invoice_id   string  optional  
requisition_id   string  optional  

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/task_leads/voluptatem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/task_leads/voluptatem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/task_leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task lead. Example: voluptatem

Update the specified resource in storage.

requires authentication

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/task_leads/repellat" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"quam\",
    \"communication_type\": \"sapiente\",
    \"start_date\": \"2025-03-11\",
    \"due_date\": \"2025-03-11\",
    \"completed_date\": \"2025-03-11\",
    \"status\": \"dolores\",
    \"notes\": \"qui\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/task_leads/repellat"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "quam",
    "communication_type": "sapiente",
    "start_date": "2025-03-11",
    "due_date": "2025-03-11",
    "completed_date": "2025-03-11",
    "status": "dolores",
    "notes": "qui"
};

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

PUT api/task_leads/{id}

PATCH api/task_leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task lead. Example: repellat

Body Parameters

task_id   string  optional  
sale_lead_id   string  optional  
supervisor_id   string  optional  
assignee   string  optional  
quotation_id   string  optional  
name   string  optional  

Example: quam

communication_type   string  optional  

Example: sapiente

start_date   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-03-11

due_date   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-03-11

completed_date   string  optional  

Must be a valid date in the format Y-m-d. Example: 2025-03-11

status   string  optional  

Example: dolores

notes   string  optional  

Example: qui

sales_invoice_id   string  optional  
requisition_id   string  optional  

Remove the specified resource from storage.

requires authentication

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/task_leads/ea" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/task_leads/ea"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/task_leads/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task lead. Example: ea

Tasks

GET api/tasks

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tasks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tasks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/tasks/projects/{projectId}

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tasks/projects/12" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/projects/12"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tasks/projects/{projectId}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

projectId   integer   

Example: 12

POST api/tasks

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tasks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/tasks

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tasks/ut" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/ut"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tasks/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the task. Example: ut

POST api/tasks/update

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tasks/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/tasks/update

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Remove the specified resource from storage.

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tasks/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/tasks/delete

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/tasks/move

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tasks/move" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/move"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/tasks/move

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

display data the has to be shown on the board

requires authentication

Changing this will cause the front end to break

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/tasks/board-data" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/board-data"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/tasks/board-data

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/tasks/comments

requires authentication

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/tasks/comments" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"comment\": \"veniam\",
    \"commented_by\": \"porro\",
    \"task_id\": \"excepturi\"
}"
const url = new URL(
    "https://feexid.development.medixmw.com/api/tasks/comments"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "comment": "veniam",
    "commented_by": "porro",
    "task_id": "excepturi"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/tasks/comments

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Body Parameters

comment   string   

Example: veniam

commented_by   string   

Example: porro

task_id   string   

Example: excepturi

Users

Display a listing of the resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/users" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/users"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/users

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

Display the specified resource.

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/users/blanditiis" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/users/blanditiis"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: blanditiis

Update the specified resource in storage.

Example request:
curl --request PUT \
    "https://feexid.development.medixmw.com/api/users/pariatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/users/pariatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

Request      

PUT api/users/{id}

PATCH api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: pariatur

Remove the specified resource from storage.

Example request:
curl --request DELETE \
    "https://feexid.development.medixmw.com/api/users/excepturi" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/users/excepturi"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/users/{id}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the user. Example: excepturi

Restore a specific user

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/patience/restore" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/patience/restore"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/patience/restore

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

GET api/patience/get-user-profile-details

Example request:
curl --request GET \
    --get "https://feexid.development.medixmw.com/api/patience/get-user-profile-details" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/patience/get-user-profile-details"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/patience/get-user-profile-details

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

POST api/patience/assign-user-to-role/{id}/{roleID}

Example request:
curl --request POST \
    "https://feexid.development.medixmw.com/api/patience/assign-user-to-role/recusandae/dolorem" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://feexid.development.medixmw.com/api/patience/assign-user-to-role/recusandae/dolorem"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/patience/assign-user-to-role/{id}/{roleID}

Headers

Content-Type      

Example: application/json

Accept      

Example: application/json

URL Parameters

id   string   

The ID of the assign user to role. Example: recusandae

roleID   string   

Example: dolorem