MENU navbar-image

Introduction

    A collection of API endpoints you will need to interact with the system.

    About PUT / PATCH requests: PUT means you send the entire resource to be updated, while PATCH means you send only the fields that need to be updated. Also regarding RFC 5789, the body of a PATCH is not filled for some Content-Types, what will work is sending via application/json.

    About Permissions: These can depend on user or organisation user roles and will be given by the system or admin actions internally.

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

Authenticating requests

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

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

Retrieve a token by calling the /auth/login endpoint.

Admin

Clearstream

Index

requires authentication

List all clearstream requests

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream?per_page=16&sort=id&filter%5Bid%5D=cum&filter%5Bcreated_at%5D=alias&search=ut&column=organisations.name&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream"
);

const params = {
    "per_page": "16",
    "sort": "id",
    "filter[id]": "cum",
    "filter[created_at]": "alias",
    "search": "ut",
    "column": "organisations.name",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 87
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Admin\\AdminClearstreamController@index",
    "_queries": []
}
 

Request      

GET api/admin/{organisation_id}/clearstream

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 16

sort   string  optional    

sort by any accepted column: id, status, lab_status, created_at, organisation_name. prefix a "-" before the column name to sort in descending order Example: id

filter[id]   string  optional    

Filter column id by any accepted value. Matches part of the value. Example: cum

filter[organisations.name]   string  optional    

Filter column organisations.name by any accepted value. Matches part of the value. Example: facilis

filter[wastewater_reports.status]   string  optional    

Filter column wastewater_reports.status by any accepted value. The status of the report Example: accusamus

filter[wastewater_lab_requests.status]   string  optional    

Filter column wastewater_lab_requests.status by any accepted value. The status of the associated lab request Example: non

filter[created_at]   string  optional    

Filter column created_at by any accepted value. The date the report was created Example: alias

search   string  optional    

Search in all of these columns: organisations.name, wastewater_reports.reference_id, wastewater_lab_requests.status, wastewater_reports.status. Filter type: like. Example: ut

column   string  optional    

get a distinct list of filterable values for any of the columns: organisations.name, wastewater_reports.status, wastewater_lab_requests.status, wastewater_reports.created_at. Example: organisations.name

page   integer  optional    

the page number to show. Example: 1

Show

requires authentication

Get a single clearstream report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "TR543HN21",
        "legacy_clearstream_report_id": 18790,
        "uuid": "a23a79ea-5540-4b96-a409-0c760bc39558",
        "organisation_id": 12822,
        "status": "PASSED",
        "created_at": "2022-10-13T11:42:54.000000Z",
        "updated_at": "2026-07-10T21:52:52.000000Z",
        "archived_at": null,
        "last_viewed_at": "2026-07-10 21:52:52",
        "payment_completed_at": null,
        "organisation": {
            "id": 12822,
            "maxio_customer_id": 314568,
            "reference_id": "01-MGX9HCEAP4V-R",
            "pdc_id": null,
            "gateway_aid": "A325IM69",
            "uuid": "e8414d9d-d8f7-46bf-95de-cb43adddee0f",
            "type_id": 2,
            "status": "approved",
            "name": "Zaber & Zubair Fabrics Limited.",
            "legal_name": "Zaber & Zubair Fabrics Limited.",
            "address_1": "Pagar, Tongi, Gazipur.",
            "address_2": null,
            "city": "Gazipur",
            "state": "Dhaka",
            "location": "BD",
            "zip": "1710",
            "phone": "+8802 9801012,",
            "email": "sustainability@znzfab.com",
            "contact_first_name": "Md Zakir",
            "contact_last_name": "Hossen",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": "https://www.znzfab.com",
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2018-02-08T02:19:43.000000Z",
            "updated_at": "2026-07-22T08:56:16.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "Bangladesh"
        },
        "profile": {
            "id": 1,
            "report_id": 1,
            "version_id": 1,
            "requires_testing": 1,
            "completed_at": "2022-09-29 00:00:00",
            "created_at": "2026-07-10T21:52:52.000000Z",
            "updated_at": "2026-07-17T10:48:09.000000Z",
            "attributes": [
                {
                    "id": 499,
                    "external_id": 1,
                    "group_id": 20,
                    "parent_id": null,
                    "short": null,
                    "name": "Direct",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 499
                    }
                },
                {
                    "id": 508,
                    "external_id": 1,
                    "group_id": 23,
                    "parent_id": null,
                    "short": null,
                    "name": "On-site or off-site incineration at >1000°C",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 508
                    }
                },
                {
                    "id": 462,
                    "external_id": 2,
                    "group_id": 18,
                    "parent_id": null,
                    "short": null,
                    "name": "Leather",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 462
                    }
                },
                {
                    "id": 516,
                    "external_id": 1,
                    "group_id": 24,
                    "parent_id": null,
                    "short": null,
                    "name": "Viscose Staple Fibre (VSF)/ VSF & Modal",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 516
                    }
                },
                {
                    "id": 507,
                    "external_id": 1,
                    "group_id": 22,
                    "parent_id": null,
                    "short": null,
                    "name": "Yes",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 507
                    }
                },
                {
                    "id": 504,
                    "external_id": 0,
                    "group_id": 21,
                    "parent_id": null,
                    "short": null,
                    "name": "less than 15m³ per day",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 504
                    }
                },
                {
                    "id": 465,
                    "external_id": 1,
                    "group_id": 19,
                    "parent_id": null,
                    "short": null,
                    "name": "Textile Accessories and Trims Assembler",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 465
                    }
                },
                {
                    "id": 477,
                    "external_id": 13,
                    "group_id": 19,
                    "parent_id": null,
                    "short": null,
                    "name": "Vertically integrated Mill",
                    "selectable": 1,
                    "order": null,
                    "pivot": {
                        "profile_id": 1,
                        "attribute_id": 477
                    }
                }
            ]
        }
    }
}
 

Request      

GET api/admin/{organisation_id}/clearstream/{report_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Terminate

requires authentication

Terminate any ongoing clearstream cycle

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/1/terminate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/1/terminate"
);

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


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

Request      

POST api/admin/{organisation_id}/clearstream/{report_id}/terminate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

InCheck Visibility

Index

requires authentication

List InCheck visibility settings for an organisation of type Performance InCheck Provider

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility?per_page=18&filter%5Borganisation_name%5D=pariatur&filter%5Blevel_name%5D=earum&filter%5Bvisibility_visible%5D=&filter%5Bvisibility_active%5D=1&filter%5Bvisibility_marketing_text%5D=unde&sort=organisation_name&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility"
);

const params = {
    "per_page": "18",
    "filter[organisation_name]": "pariatur",
    "filter[level_name]": "earum",
    "filter[visibility_visible]": "0",
    "filter[visibility_active]": "1",
    "filter[visibility_marketing_text]": "unde",
    "sort": "organisation_name",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 86
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Admin\\AdminInCheckVisibilityController@index",
    "_queries": []
}
 

Request      

GET api/admin/{organisation_id}/incheck/visibility

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 18

filter[organisation_name]   string  optional    

Filter column organisation_name by any accepted value. name of the organisation Example: pariatur

filter[level_name]   string  optional    

Filter column level_name by any accepted value. name of the InCheck level Example: earum

filter[visibility_visible]   boolean  optional    

Filter column visibility_visible by any accepted value. visibility status Example: false

filter[visibility_active]   boolean  optional    

Filter column visibility_active by any accepted value. active status Example: true

filter[visibility_marketing_text]   string  optional    

Filter column visibility_marketing_text by any accepted value. marketing text Example: unde

sort   string  optional    

sort by any accepted column: organisation_name, level_name, visibility_visible, visibility_active, visibility_marketing_text. prefix a "-" before the column name to sort in descending order Example: organisation_name

page   integer  optional    

the page number to show. Example: 1

Update

requires authentication

Update an InCheck visibility setting

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"njklahsacpc\",
    \"visible\": false,
    \"active\": false,
    \"marketing_text\": \"xgijwi\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility/1"
);

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

let body = {
    "name": "njklahsacpc",
    "visible": false,
    "active": false,
    "marketing_text": "xgijwi"
};

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

Example response (200):


{
    "message": "InCheck visibility updated successfully."
}
 

Request      

PUT api/admin/{organisation_id}/incheck/visibility/{id}

PATCH api/admin/{organisation_id}/incheck/visibility/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the visibility. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: njklahsacpc

visible   boolean     

Example: false

active   boolean     

Example: false

marketing_text   string     

Must not be greater than 1024 characters. Example: xgijwi

Index

requires authentication

List InCheck visibility settings for an organisation of type Performance InCheck Provider

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/visibility?per_page=19&filter%5Borganisation_name%5D=natus&filter%5Blevel_name%5D=et&filter%5Bvisibility_visible%5D=&filter%5Bvisibility_active%5D=1&filter%5Bvisibility_marketing_text%5D=animi&sort=organisation_name&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/visibility"
);

const params = {
    "per_page": "19",
    "filter[organisation_name]": "natus",
    "filter[level_name]": "et",
    "filter[visibility_visible]": "0",
    "filter[visibility_active]": "1",
    "filter[visibility_marketing_text]": "animi",
    "sort": "organisation_name",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 78
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\InCheck\\InCheckVisibilityController@index",
    "_queries": []
}
 

Request      

GET api/incheck/{organisation_id}/visibility

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 19

filter[organisation_name]   string  optional    

Filter column organisation_name by any accepted value. name of the organisation Example: natus

filter[level_name]   string  optional    

Filter column level_name by any accepted value. name of the InCheck level Example: et

filter[visibility_visible]   boolean  optional    

Filter column visibility_visible by any accepted value. visibility status Example: false

filter[visibility_active]   boolean  optional    

Filter column visibility_active by any accepted value. active status Example: true

filter[visibility_marketing_text]   string  optional    

Filter column visibility_marketing_text by any accepted value. marketing text Example: animi

sort   string  optional    

sort by any accepted column: organisation_name, level_name, visibility_visible, visibility_active, visibility_marketing_text. prefix a "-" before the column name to sort in descending order Example: organisation_name

page   integer  optional    

the page number to show. Example: 1

Organisation API Keys

Index

requires authentication

List Organisation API Keys (with trashed!)

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys?per_page=7&filter%5Bid%5D=et&filter%5Borganisation_id%5D=necessitatibus&filter%5Blast_used_at%5D=velit&filter%5Bcreated_at%5D=et&sort=id&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys"
);

const params = {
    "per_page": "7",
    "filter[id]": "et",
    "filter[organisation_id]": "necessitatibus",
    "filter[last_used_at]": "velit",
    "filter[created_at]": "et",
    "sort": "id",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 85
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "App\\Http\\Controllers\\Admin\\AdminOrganisationApiKeyController@index",
    "_queries": []
}
 

Request      

GET api/admin/organisation-api-keys

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 7

filter[id]   string  optional    

Filter column id by any accepted value. Matches exact value. Example: et

filter[organisation_id]   string  optional    

Filter column organisation_id by any accepted value. Matches exact value. Example: necessitatibus

filter[last_used_at]   string  optional    

Filter column last_used_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >= Example: velit

filter[created_at]   string  optional    

Filter column created_at by any accepted value. Has dynamic date filtering, e.g. <= < = > >= Example: et

sort   string  optional    

sort by any accepted column: id, organisation_id, last_used_at, created_at. prefix a "-" before the column name to sort in descending order Example: id

page   integer  optional    

the page number to show. Example: 1

Destroy

requires authentication

Delete an Organisation API Key

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys/1"
);

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


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

Example response (200):


{
    "message": "Organisation API key revoked successfully."
}
 

Request      

DELETE api/admin/organisation-api-keys/{token_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

token_id   integer     

The ID of the token. Example: 1

Organisation Invitations

Index

requires authentication

Shows all organisation invitations.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/invitations?filter%5Bstatus%5D=commodi&sort=receiving_user_mail&page=1&per_page=13&search=nihil" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/invitations"
);

const params = {
    "filter[status]": "commodi",
    "sort": "receiving_user_mail",
    "page": "1",
    "per_page": "13",
    "search": "nihil",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "06-TNF3AN3BDRYG-W",
            "uuid": "a24f97b7-9937-421a-b03e-fa2020b7811a",
            "inviting_organisation_id": 20359,
            "inviting_user_id": 32760,
            "receiving_organisation_id": 20359,
            "receiving_user_id": 32760,
            "status": "INVITED",
            "valid_until": "2026-07-28T09:48:35.000000Z",
            "redeemed_at": null,
            "auto_connect": false,
            "created_at": "2026-07-21T09:48:35.000000Z",
            "updated_at": "2026-07-21T09:48:35.000000Z"
        },
        {
            "id": 1,
            "reference_id": "06-TNF3AN3BDRYG-W",
            "uuid": "a24f97b7-9937-421a-b03e-fa2020b7811a",
            "inviting_organisation_id": 20359,
            "inviting_user_id": 32760,
            "receiving_organisation_id": 20359,
            "receiving_user_id": 32760,
            "status": "INVITED",
            "valid_until": "2026-07-28T09:48:35.000000Z",
            "redeemed_at": null,
            "auto_connect": false,
            "created_at": "2026-07-21T09:48:35.000000Z",
            "updated_at": "2026-07-21T09:48:35.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    },
    "receiving_user_mail": "user@example.com",
    "receiving_organisation_type": "1"
}
 

Request      

GET api/admin/{organisation_id}/organisations/invitations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

filter[organisations.type_id]   integer  optional    

Filter column organisations.type_id by any accepted value. Receiving organisation type id. Example: 20

filter[status]   string  optional    

Filter column status by any accepted value. Status of the invitation. (REGISTERED, INVITED, EXPIRED) Example: commodi

sort   string  optional    

sort by any accepted column: receiving_user_mail, receiving_organisation_type, status, created_at. prefix a "-" before the column name to sort in descending order Example: receiving_user_mail

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 13

search   string  optional    

Search in all of these columns: receiving_user_mail, receiving_organisation_name. Filter type: like. Example: nihil

Organisation Users

Index

requires authentication

List users of a Solution Provider organisation (Performance InCheck Provider). Intended for ZDHC Internal administrators managing Solution Provider API access.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/1/users?per_page=15&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/1/users"
);

const params = {
    "per_page": "15",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "organisation_id": 11393,
            "user_id": 49,
            "invited_by": null,
            "role_id": 4,
            "last_authorization": null,
            "invitation_sent_at": null,
            "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null,
            "user": {
                "id": 49,
                "first_name": "Truong",
                "last_name": "Cao",
                "email": "truong@truongphatchemicals.com.vn",
                "email_verified_at": "2017-01-18T06:36:40.000000Z",
                "phone": null,
                "location": "VN",
                "created_at": "2017-01-18T06:36:40.000000Z",
                "updated_at": "2017-01-18T06:36:40.000000Z",
                "deleted_at": null,
                "profile_picture_url": null
            },
            "role": {
                "id": 4,
                "parent_id": 3,
                "name": "ORGANISATION_ADMIN"
            }
        },
        {
            "id": 1,
            "organisation_id": 11393,
            "user_id": 49,
            "invited_by": null,
            "role_id": 4,
            "last_authorization": null,
            "invitation_sent_at": null,
            "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null,
            "user": {
                "id": 49,
                "first_name": "Truong",
                "last_name": "Cao",
                "email": "truong@truongphatchemicals.com.vn",
                "email_verified_at": "2017-01-18T06:36:40.000000Z",
                "phone": null,
                "location": "VN",
                "created_at": "2017-01-18T06:36:40.000000Z",
                "updated_at": "2017-01-18T06:36:40.000000Z",
                "deleted_at": null,
                "profile_picture_url": null
            },
            "role": {
                "id": 4,
                "parent_id": 3,
                "name": "ORGANISATION_ADMIN"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/admin/{organisation_id}/organisations/{subject_id}/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

subject_id   integer     

The ID of the subject. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 15

page   integer  optional    

the page number to show. Example: 1

User

Index

requires authentication

Get all users.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/users?per_page=12&sort=first_name&filter%5Binvitation_status%5D=itaque&filter%5Bprofile_reviewed_at%5D=labore&page=1&search=rerum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/users"
);

const params = {
    "per_page": "12",
    "sort": "first_name",
    "filter[invitation_status]": "itaque",
    "filter[profile_reviewed_at]": "labore",
    "page": "1",
    "search": "rerum",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 8,
            "reference_id": "02-H7RBX8FE3BV-H",
            "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
            "pdc_id": null,
            "role_id": 2,
            "first_name": "Amy",
            "last_name": "Huang",
            "email": "amyhuang@ecic.com.tw",
            "email_verified_at": "2017-06-17T04:45:09.000000Z",
            "phone": "+886910807779",
            "location": "TW",
            "locale": "en-US",
            "created_at": "2017-06-17T04:45:09.000000Z",
            "updated_at": "2017-06-17T04:45:09.000000Z",
            "deleted_at": null,
            "last_active_at": null,
            "profile_reviewed_at": null,
            "status": "active",
            "profile_picture_url": null,
            "location_name": "Taiwan"
        },
        {
            "id": 8,
            "reference_id": "02-H7RBX8FE3BV-H",
            "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
            "pdc_id": null,
            "role_id": 2,
            "first_name": "Amy",
            "last_name": "Huang",
            "email": "amyhuang@ecic.com.tw",
            "email_verified_at": "2017-06-17T04:45:09.000000Z",
            "phone": "+886910807779",
            "location": "TW",
            "locale": "en-US",
            "created_at": "2017-06-17T04:45:09.000000Z",
            "updated_at": "2017-06-17T04:45:09.000000Z",
            "deleted_at": null,
            "last_active_at": null,
            "profile_reviewed_at": null,
            "status": "active",
            "profile_picture_url": null,
            "location_name": "Taiwan"
        }
    ]
}
 

Request      

GET api/admin/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 12

sort   string  optional    

sort by any accepted column: first_name, last_name, email, registration_date, last_active_at, invitation_status, profile_reviewed_at. prefix a "-" before the column name to sort in descending order Example: first_name

filter[invitation_status]   string  optional    

Filter column invitation_status by any accepted value. Matches part of the value. Example: itaque

filter[profile_reviewed_at]   custom  optional    

Filter column profile_reviewed_at by any accepted value. users.profile_reviewed_at Example: labore

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: first_name, last_name, email. Filter type: like. Example: rerum

Update

requires authentication

Update a user.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/admin/users/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"cfok\",
    \"last_name\": \"wrseashcbpbirasqbbselt\",
    \"email\": \"jett40@example.net\",
    \"phone\": \"+1234567890\",
    \"location\": \"US\",
    \"locale\": \"zh_HK\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/users/8"
);

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

let body = {
    "first_name": "cfok",
    "last_name": "wrseashcbpbirasqbbselt",
    "email": "jett40@example.net",
    "phone": "+1234567890",
    "location": "US",
    "locale": "zh_HK"
};

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

Example response (200, successful):


{
    "message": "User updated successfully"
}
 

Request      

PUT api/admin/users/{id}

PATCH api/admin/users/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the user. Example: 8

Body Parameters

first_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: cfok

last_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: wrseashcbpbirasqbbselt

email   string     

Must be a valid email address. Must not be greater than 254 characters. Example: jett40@example.net

phone   string  optional    

The user's phone number. Must be at least 8 characters. Must not be greater than 20 characters. Example: +1234567890

location   string  optional    

The user's location. Must not be greater than 255 characters. Example: US

locale   string  optional    

Must not be greater than 12 characters. Example: zh_HK

Show

requires authentication

Display the specified resource.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/users/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/users/8"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 84
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "App\\Http\\Controllers\\Admin\\AdminUserController@show",
    "_queries": []
}
 

Request      

GET api/admin/users/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the user. Example: 8

Reset Password

requires authentication

Shares functionality from auth.forgot-password route but not throttled for admins

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/admin/users/8/reset-password" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/users/8/reset-password"
);

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


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

Request      

POST api/admin/users/{user_id}/reset-password

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Auth

Login

Handle an incoming authentication request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/auth/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"admin@localhost\",
    \"password\": \"password\",
    \"remember\": false
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/login"
);

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

let body = {
    "email": "admin@localhost",
    "password": "password",
    "remember": false
};

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

Example response (200, successful):


{
    "message": "You have been successfully logged in.",
    "token": "_token_"
}
 

Example response (401, wrong credentials):


{
    "message": "These credentials do not match our records"
}
 

Example response (401, plattform is not registered):


{
    "message": "Plattform for Host $host doesn't exist"
}
 

Example response (412, validation error):


{
    "message": "must be valid email"
}
 

Request      

POST api/auth/login

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

The email of the user. Must be a valid email address. Must not be greater than 254 characters. Example: admin@localhost

password   string     

The password of the user. Must not be greater than 255 characters. Example: password

remember   boolean  optional    

Example: false

Logout

requires authentication

Log the user out of the application.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/auth/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/logout"
);

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


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

Example response (200, successful):


{
    "message": "You have been successfully logged out."
}
 

Request      

POST api/auth/logout

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Get User By Token

requires authentication

Get the user Bearer Token

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/auth/getUserByToken" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/getUserByToken"
);

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


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

Example response (200):


{
    "data": {
        "id": 8,
        "reference_id": "02-H7RBX8FE3BV-H",
        "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
        "pdc_id": null,
        "role_id": 2,
        "first_name": "Amy",
        "last_name": "Huang",
        "email": "amyhuang@ecic.com.tw",
        "email_verified_at": "2017-06-17T04:45:09.000000Z",
        "phone": "+886910807779",
        "location": "TW",
        "locale": "en-US",
        "created_at": "2017-06-17T04:45:09.000000Z",
        "updated_at": "2017-06-17T04:45:09.000000Z",
        "deleted_at": null,
        "last_active_at": null,
        "profile_reviewed_at": null,
        "status": "active",
        "profile_picture_url": null,
        "location_name": "Taiwan",
        "role": {
            "id": 2,
            "parent_id": null,
            "name": "USER"
        }
    }
}
 

Request      

GET api/auth/getUserByToken

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Forgot Password

Handle an incoming password reset link request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/auth/forgot-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"tsmith@example.net\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/forgot-password"
);

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

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

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

Example response (200, successful):


{
    "message": "You will receive instructions to reset email if you have an account with us."
}
 

Example response (200, wrong email):


{
    "message": "You will receive instructions to reset email if you have an account with us."
}
 

Example response (412, validation error):


{
    "message": "must be valid email"
}
 

Request      

POST api/auth/forgot-password

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. The email of an existing record in the users table. Example: tsmith@example.net

Reset Password

Reset a password requested in a forgot password request

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/auth/reset-password?token=ratione" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"madelynn89@example.com\",
    \"token\": \"sapiente\",
    \"password\": \"password\",
    \"password_confirmation\": \"password\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/reset-password"
);

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

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

let body = {
    "email": "madelynn89@example.com",
    "token": "sapiente",
    "password": "password",
    "password_confirmation": "password"
};

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

Example response (200, successful):


{
    "message": "Your password has been reset."
}
 

Example response (412, validation error):


{
    "message": "must be valid email"
}
 

Request      

POST api/auth/reset-password

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

token   string     

The password reset token, gathered from the reset link in the email. Example: ratione

Body Parameters

email   string     

The email. Example: madelynn89@example.com

token   string  optional    

this is not actually necessary in body, but documentation generates this falsely. Example: sapiente

password   string     

The new password. Example: password

password_confirmation   string     

The password confirmation. Example: password

Verify Email

requires authentication

Verify an email change request.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/auth/users/8/verify-email?signature=non&expires=4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/users/8/verify-email"
);

const params = {
    "signature": "non",
    "expires": "4",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200, successful):


{
    "message": "Email verified successfully"
}
 

Request      

GET api/auth/users/{user_id}/verify-email

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Query Parameters

signature   string     

signature hash. generated by the action signing this link. Example: non

expires   integer     

expiring timestamp. generated by the action signing this link. Example: 4

Confirm password

requires authentication

Confirm the password change

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/auth/users/8/confirm-password-change?signature=dolores&expires=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/users/8/confirm-password-change"
);

const params = {
    "signature": "dolores",
    "expires": "15",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200, successful):


{
    "message": "Password change succeeded"
}
 

Request      

GET api/auth/users/{user_id}/confirm-password-change

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Query Parameters

signature   string     

signature hash. generated by the action signing this link. Example: dolores

expires   integer     

expiring timestamp. generated by the action signing this link. Example: 15

Complete Registration

requires authentication

Complete the registration of a user, which was created by invitation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/auth/complete-registration/8?signature=facilis&expires=16" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"yscvamwzvhykxhhdgyg\",
    \"last_name\": \"h\",
    \"password\": \"_1*}vkcUjI\",
    \"password_confirmation\": \"unde\",
    \"phone\": \"+49123456789\",
    \"locale\": \"sh_CS\",
    \"location\": \"lxir\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/complete-registration/8"
);

const params = {
    "signature": "facilis",
    "expires": "16",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "first_name": "yscvamwzvhykxhhdgyg",
    "last_name": "h",
    "password": "_1*}vkcUjI",
    "password_confirmation": "unde",
    "phone": "+49123456789",
    "locale": "sh_CS",
    "location": "lxir"
};

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

Example response (200, successful):


{
    "message": "Registration completed successfully"
}
 

Request      

POST api/auth/complete-registration/{user_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Query Parameters

signature   string     

signature hash. generated by the action signing this link. Example: facilis

expires   integer     

expiring timestamp. generated by the action signing this link. Example: 16

Body Parameters

first_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: yscvamwzvhykxhhdgyg

last_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: h

password   string     

Must not be greater than 255 characters. Example: _1*}vkcUjI

password_confirmation   string     

The value and password must match. Example: unde

phone   string  optional    

The phone number of the user. Must be at least 8 characters. Must not be greater than 20 characters. Example: +49123456789

locale   string  optional    

Must not be greater than 12 characters. Example: sh_CS

location   string  optional    

Must not be greater than 255 characters. Example: lxir

Set Organisation User

requires authentication

Set the organisation user for the current personal access token.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/auth/setOrganisationUser/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/auth/setOrganisationUser/1"
);

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


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

Example response (200, successful):


{
    "message": "Organisation user set successfully"
}
 

Example response (403, organisation user does not belong to user):


{
    "message": "The organisation user must belong to the same user as the personal access token."
}
 

Request      

GET api/auth/setOrganisationUser/{organisationUser_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisationUser_id   integer     

The ID of the organisationUser. Example: 1

Azure/V1

Certification-Results

Certification Results Reference Values

requires authentication

Static list from ProductCertificationStatusEnum (paginated). Ids are stable via azureApiId().

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/certification-results?page=1&per_page=3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/certification-results"
);

const params = {
    "page": "1",
    "per_page": "3",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "ResultName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "ResultName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/certification-results

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 3

Certification-Standards

MRSL Certification Standards Index

requires authentication

List all MRSL standards (mrsl_standards).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/certification-standards?page=1&per_page=11&filter%5Bupdated_at%5D=%3E%3D+2026-08-07+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/certification-standards"
);

const params = {
    "page": "1",
    "per_page": "11",
    "filter[updated_at]": ">= 2026-08-07 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "CertificationName": "Brachi Testing Services",
            "CertificationEntity": null,
            "CreateDate": "2026-07-10 21:21:16",
            "LastUpdateDate": "2026-07-10 21:21:16"
        },
        {
            "Id": 1,
            "CertificationName": "Brachi Testing Services",
            "CertificationEntity": null,
            "CreateDate": "2026-07-10 21:21:16",
            "LastUpdateDate": "2026-07-10 21:21:16"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/certification-standards

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 11

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-07 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Chemical-Count-Bracket

Chemical Count Brackets Index

requires authentication

No model/data source in current system. Returns empty collection so route is callable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-count-bracket?page=1&per_page=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-count-bracket"
);

const params = {
    "page": "1",
    "per_page": "15",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "CountBracketName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "CountBracketName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/chemical-count-bracket

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 15

Chemical-Weight-Bracket

Chemical Weight Brackets Index

requires authentication

No model/data source in current system. Returns empty collection so route is callable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-weight-bracket?page=1&per_page=20" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-weight-bracket"
);

const params = {
    "page": "1",
    "per_page": "20",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "ChemicalWeightBracketName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "ChemicalWeightBracketName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/chemical-weight-bracket

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 20

Connection-History

Connection History Index

requires authentication

List all organisation connection history.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/connection-history?page=1&per_page=1&filter%5Bupdated_at%5D=%3C+2026-08-11+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/connection-history"
);

const params = {
    "page": "1",
    "per_page": "1",
    "filter[updated_at]": "< 2026-08-11 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "ConnectedFromId": 16683,
            "ConnectedToId": 15134,
            "Status": "active",
            "Published": null,
            "StartDate": "2021-01-15 00:00:00",
            "EndDate": null,
            "LastUpdateDate": "2021-01-15 00:00:00"
        },
        {
            "id": 1,
            "ConnectedFromId": 16683,
            "ConnectedToId": 15134,
            "Status": "active",
            "Published": null,
            "StartDate": "2021-01-15 00:00:00",
            "EndDate": null,
            "LastUpdateDate": "2021-01-15 00:00:00"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/connection-history

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 1

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-11 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Connections

Connections Index

requires authentication

List all organisation connections (sending ↔ receiving organisations).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/connections?page=1&per_page=1&filter%5Bupdated_at%5D=%3D+2026-07-28+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/connections"
);

const params = {
    "page": "1",
    "per_page": "1",
    "filter[updated_at]": "= 2026-07-28 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ConnectedFromId": 16683,
            "ConnectedToId": 15134
        },
        {
            "Id": 1,
            "ConnectedFromId": 16683,
            "ConnectedToId": 15134
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/connections

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 1

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-07-28 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

CTZ-Levels

CTZ Levels Index

requires authentication

List all CTZ levels.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ctz-levels?page=1&per_page=15&filter%5Bupdated_at%5D=%3C%3D+2026-07-24+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ctz-levels"
);

const params = {
    "page": "1",
    "per_page": "15",
    "filter[updated_at]": "<= 2026-07-24 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "LevelName": "Foundational",
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        },
        {
            "Id": 1,
            "LevelName": "Foundational",
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/ctz-levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 15

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-07-24 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Discharge-Type

Discharge Types Index

requires authentication

Azure legacy route — Guideline API discharge types synced to {@see SupplierAttribute} group {@code discharge_type} via {@code app:guideline-api-sync}. {@code Id} = Guideline {@code external_id} (same id space as {@code DischargeTypeId} on waste-water-reports).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/discharge-type?page=1&per_page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/discharge-type"
);

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

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "DischargeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "DischargeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/discharge-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 1

Disposal-Pathways

Disposal Pathways Index

requires authentication

Azure legacy route — Guideline API disposal pathways synced to {@see SupplierAttribute} group {@code disposal_pathway} via {@code app:guideline-api-sync}.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/disposal-pathways?page=1&per_page=3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/disposal-pathways"
);

const params = {
    "page": "1",
    "per_page": "3",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "PathwayName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "PathwayName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/disposal-pathways

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 3

Evaluation-Level

Evaluation Levels Index

requires authentication

Azure legacy route — exports Guideline API {@code performancelevels} cached in {@see WastewaterLevel} (Foundational, Progressive, Aspirational).

Not MRSL {@see \App\Models\Chemical\ConformanceLevel} (Level 1/2/3) — see {@see AzureMsrlLevelsController}. Rows are created when wastewater test results are imported from the Guideline API ({@see \App\Models\Wastewater\WastewaterTestResult::fromSubstanceByFacilityResponse}); there is no standalone performance-level sync in {@code app:guideline-api-sync}.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/evaluation-level?page=1&per_page=4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/evaluation-level"
);

const params = {
    "page": "1",
    "per_page": "4",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 3,
            "EvaluationName": "Aspirational",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 3,
            "EvaluationName": "Aspirational",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/evaluation-level

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 4

Facility-Type

Facility Type Index

requires authentication

Guideline facility type reference catalogue — Guideline API {@code facility_type} synced to {@see SupplierAttribute} group {@code facility_type} via {@code app:guideline-api-sync}. Same id space as {@code FacilityTypeIds} on {@see \App\Http\Resources\External\Azure\V1\AzureWasteWaterReportsListResource}. Not {@see AzureSupplierTypeController} ({@code supplier_facility_types} org profile).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/facility-type?page=1&per_page=8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/facility-type"
);

const params = {
    "page": "1",
    "per_page": "8",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "FacilityTypeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "FacilityTypeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/facility-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 8

Guidelines

Guidelines Index

requires authentication

Azure legacy route — Guideline API versions synced to {@see SupplierAttribute} group {@code guideline_version} via {@code app:guideline-api-sync}.

{@see \App\Models\Wastewater\WastewaterReportProfile::$version_id} stores the Guideline version id ({@code external_id} on these rows).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/guidelines?page=1&per_page=11" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/guidelines"
);

const params = {
    "page": "1",
    "per_page": "11",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "GuidelineName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "GuidelineName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/guidelines

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 11

InCheck-Inventory-CTZ-Certificates

InCheck Inventory CTZ Certificates Index

requires authentication

List inventory-item to CTZ certification links from publish MRSL snapshots ({@see \App\Models\Chemical\InventoryMrslState} → MRSL cert → CTZ cert).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-ctz-certificates?page=1&per_page=9&filter%5Bupdated_at%5D=%3C%3D+2026-07-28+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-ctz-certificates"
);

const params = {
    "page": "1",
    "per_page": "9",
    "filter[updated_at]": "<= 2026-07-28 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 873348,
            "ProductCTZCertificateId": 114350,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        },
        {
            "Id": 873348,
            "ProductCTZCertificateId": 114350,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/in-check-inventory-ctz-certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 9

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-07-28 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

InCheck-Inventory-MRSL-Certificates

InCheck Inventory MRSL Certificates Index

requires authentication

List inventory-line to MRSL certification links from publish snapshots ({@see \App\Models\Chemical\InventoryMrslState}).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-mrsl-certificates?page=1&per_page=4&filter%5Bupdated_at%5D=%3C%3D+2026-07-24+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-mrsl-certificates"
);

const params = {
    "page": "1",
    "per_page": "4",
    "filter[updated_at]": "<= 2026-07-24 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 873348,
            "ProductMRSLCertificateId": 114350,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        },
        {
            "Id": 873348,
            "ProductMRSLCertificateId": 114350,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/in-check-inventory-mrsl-certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 4

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-07-24 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

InCheck-Inventory-Product

InCheck Inventory Product Index

requires authentication

One row per {@see SupplierChemicalInventoryProduct} (inventory item / line). MRSL and CTZ max fields use the publish-time {@see \App\Models\Chemical\InventoryMrslState} snapshot when present.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-product?page=1&per_page=8&filter%5Bupdated_at%5D=%3E%3D+2026-08-14+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-inventory-product"
);

const params = {
    "page": "1",
    "per_page": "8",
    "filter[updated_at]": ">= 2026-08-14 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "InCheckReportId": 1,
            "ProductId": null,
            "InventoryProductId": 1,
            "ProductName": "[No product name] #584543",
            "FormulatorId": null,
            "FormulatorName": null,
            "Weight": 0,
            "MRSLMaxLevelId": null,
            "CTZMaxLevelId": null,
            "MRSLMaxVersionId": null,
            "CTZMaxVersionId": null,
            "AllCertificates": null,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        },
        {
            "Id": 1,
            "InCheckReportId": 1,
            "ProductId": null,
            "InventoryProductId": 1,
            "ProductName": "[No product name] #584543",
            "FormulatorId": null,
            "FormulatorName": null,
            "Weight": 0,
            "MRSLMaxLevelId": null,
            "CTZMaxLevelId": null,
            "MRSLMaxVersionId": null,
            "CTZMaxVersionId": null,
            "AllCertificates": null,
            "CreateDate": "2026-07-14 14:43:02",
            "LastUpdateDate": "2026-07-14 14:43:02"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/in-check-inventory-product

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 8

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-14 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

InCheck-Report-Levels

InCheck Report Levels Index

requires authentication

List all InCheck report level reference values.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-report-levels?page=1&per_page=11&filter%5Bupdated_at%5D=%3C+2026-08-01+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-report-levels"
);

const params = {
    "page": "1",
    "per_page": "11",
    "filter[updated_at]": "< 2026-08-01 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "LevelName": "Level 0",
            "CreateDate": "2026-07-10 21:21:13",
            "LastUpdateDate": "2026-07-10 21:21:13"
        },
        {
            "Id": 1,
            "LevelName": "Level 0",
            "CreateDate": "2026-07-10 21:21:13",
            "LastUpdateDate": "2026-07-10 21:21:13"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/in-check-report-levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 11

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-01 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

InCheck-Report-Statuses

InCheck Inventory Status Reference Values

requires authentication

Static list of chemical inventory header statuses from SupplierChemicalInventoryStatusEnum (paginated).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-report-statuses?page=1&per_page=4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-report-statuses"
);

const params = {
    "page": "1",
    "per_page": "4",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "StatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "StatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/in-check-report-statuses

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 4

InCheck-Reports

InCheck Reports Index

requires authentication

Azure legacy route name — exports one row per {@see SupplierChemicalInventory} (monthly inventory header).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-reports?page=1&per_page=13&filter%5Bupdated_at%5D=%3C+2026-07-27+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/in-check-reports"
);

const params = {
    "page": "1",
    "per_page": "13",
    "filter[updated_at]": "< 2026-07-27 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ReferenceId": "40-TXC26XKCC3V-Z",
            "SupplierId": 14419,
            "SolutionProviderId": null,
            "InCheckExternalId": null,
            "ReportingMonth": "2019-05-01 00:00:00",
            "InventoryType": "unspecified",
            "InCheckReportLevelId": 1,
            "CreateDate": "2026-07-14 14:43:02",
            "PublicationDate": "2020-08-07 00:00:00",
            "StatusId": 3,
            "ArchiveDate": null,
            "ArchiveReason": null,
            "LastUpdateDate": "2026-07-15 13:43:32"
        },
        {
            "Id": 1,
            "ReferenceId": "40-TXC26XKCC3V-Z",
            "SupplierId": 14419,
            "SolutionProviderId": null,
            "InCheckExternalId": null,
            "ReportingMonth": "2019-05-01 00:00:00",
            "InventoryType": "unspecified",
            "InCheckReportLevelId": 1,
            "CreateDate": "2026-07-14 14:43:02",
            "PublicationDate": "2020-08-07 00:00:00",
            "StatusId": 3,
            "ArchiveDate": null,
            "ArchiveReason": null,
            "LastUpdateDate": "2026-07-15 13:43:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/in-check-reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 13

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-07-27 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Material-Category

Material Categories Index

requires authentication

List all material categories (supplier_attributes from group "Materials").

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/material-category?page=1&per_page=5" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/material-category"
);

const params = {
    "page": "1",
    "per_page": "5",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "MaterialCategoryName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "MaterialCategoryName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/material-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 5

MSRL-Levels

MRSL Conformance Levels Index

requires authentication

List all MRSL conformance levels.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/msrl-levels?page=1&per_page=17&filter%5Bupdated_at%5D=%3D+2026-08-17+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/msrl-levels"
);

const params = {
    "page": "1",
    "per_page": "17",
    "filter[updated_at]": "= 2026-08-17 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "LevelName": "Level 1",
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        },
        {
            "Id": 1,
            "LevelName": "Level 1",
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/msrl-levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 17

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-08-17 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

MSRL-Versions

MRSL Version Strings (distinct)

requires authentication

Unique version values from mrsl_standards, including soft-deleted rows. Id is MIN(id) per version group.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/msrl-versions?page=1&per_page=8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/msrl-versions"
);

const params = {
    "page": "1",
    "per_page": "8",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "VersionName": "ZDHC MRSL v2.0",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "VersionName": "ZDHC MRSL v2.0",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/msrl-versions

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 8

Organisations

Organisations Index

requires authentication

List all organisations.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisations?page=1&per_page=16&filter%5Bupdated_at%5D=%3C%3D+2026-07-30+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisations"
);

const params = {
    "page": "1",
    "per_page": "16",
    "filter[updated_at]": "<= 2026-07-30 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ZDHCAid": "A356IB10",
            "SalesforceId": null,
            "SandboxID": "01-6FUUY46UMH-P",
            "PdcId": null,
            "Name": "Ping Yang Pengye Shoes Com Ltd",
            "LegalName": "Ping Yang Pengye Shoes Com Ltd",
            "Address1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "Address2": null,
            "CityName": "Wenzhou",
            "StateName": "Zhejiang",
            "LocationId": "CN",
            "ZipCode": "",
            "Latitude": null,
            "Longitude": null,
            "Phone": "",
            "Email": "pengye@126.com",
            "Website": null,
            "TaxId": null,
            "IPE": null,
            "RegistrationNumber": null,
            "OrganisationDescription": null,
            "ContactFirstName": "JIAN",
            "ContactLastName": "Le",
            "OrganisationTypeId": 2,
            "OsHubId": null,
            "HiggId": null,
            "CurrentAccountStatusId": null,
            "CreateDate": "2021-11-04 12:19:55",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-22 08:08:27"
        },
        {
            "Id": 1,
            "ZDHCAid": "A356IB10",
            "SalesforceId": null,
            "SandboxID": "01-6FUUY46UMH-P",
            "PdcId": null,
            "Name": "Ping Yang Pengye Shoes Com Ltd",
            "LegalName": "Ping Yang Pengye Shoes Com Ltd",
            "Address1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "Address2": null,
            "CityName": "Wenzhou",
            "StateName": "Zhejiang",
            "LocationId": "CN",
            "ZipCode": "",
            "Latitude": null,
            "Longitude": null,
            "Phone": "",
            "Email": "pengye@126.com",
            "Website": null,
            "TaxId": null,
            "IPE": null,
            "RegistrationNumber": null,
            "OrganisationDescription": null,
            "ContactFirstName": "JIAN",
            "ContactLastName": "Le",
            "OrganisationTypeId": 2,
            "OsHubId": null,
            "HiggId": null,
            "CurrentAccountStatusId": null,
            "CreateDate": "2021-11-04 12:19:55",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-22 08:08:27"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 16

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-07-30 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Organisation-Registration-Statuses

Organisation registration status history (ModelHistory rows with status in `changed_fields`).

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-registration-statuses?page=1&per_page=13&filter%5Bupdated_at%5D=%3E%3D+2026-08-06+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-registration-statuses"
);

const params = {
    "page": "1",
    "per_page": "13",
    "filter[updated_at]": ">= 2026-08-06 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "OrganisationId": 1,
            "RegistrationStatusId": null,
            "StartDate": "2026-07-10 21:21:08",
            "EndDate": null,
            "LastUpdateDate": "2026-07-10 21:21:08"
        },
        {
            "Id": 1,
            "OrganisationId": 1,
            "RegistrationStatusId": null,
            "StartDate": "2026-07-10 21:21:08",
            "EndDate": null,
            "LastUpdateDate": "2026-07-10 21:21:08"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/organisation-registration-statuses

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 13

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-06 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Organisation-Type

Organisation Types Index

requires authentication

List all organisation types.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-type?page=1&per_page=20&filter%5Bupdated_at%5D=%3C+2026-07-31+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-type"
);

const params = {
    "page": "1",
    "per_page": "20",
    "filter[updated_at]": "< 2026-07-31 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "TypeName": "ZDHC Internal",
            "CreateDate": "2026-07-10 21:21:07",
            "LastUpdateDate": "2026-07-22 13:39:54"
        },
        {
            "Id": 1,
            "TypeName": "ZDHC Internal",
            "CreateDate": "2026-07-10 21:21:07",
            "LastUpdateDate": "2026-07-22 13:39:54"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/organisation-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 20

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-07-31 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Organisation-Users

OrganisationUsers Index

requires authentication

List all organisation-users.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-users?page=1&per_page=8&filter%5Bupdated_at%5D=%3C+2026-08-08+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-users"
);

const params = {
    "page": "1",
    "per_page": "8",
    "filter[updated_at]": "< 2026-08-08 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "UserId": "02-7T6NFJ6JAWU-V",
            "OrganisationId": "01-4S3HL2JXHM4-G",
            "RoleId": 4,
            "StartDate": "2026-07-10 21:20:29",
            "EndDate": null,
            "LastUpdateDate": "2026-07-10 21:20:29"
        },
        {
            "Id": 1,
            "UserId": "02-7T6NFJ6JAWU-V",
            "OrganisationId": "01-4S3HL2JXHM4-G",
            "RoleId": 4,
            "StartDate": "2026-07-10 21:20:29",
            "EndDate": null,
            "LastUpdateDate": "2026-07-10 21:20:29"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/organisation-users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 8

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-08 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Parameters

Parameters Index

requires authentication

Azure legacy route — proxies Guideline API {@code GET /substances/all/v1} (flat substance catalogue). {@see GuidelineApi::retrieveParametersCatalog()}.

{@code ParameterCategoryId} = Guideline {@code parent_id} when set.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/parameters?page=1&per_page=20&filter%5Bupdated_at%5D=%3D+2026-07-26+13%3A40%3A01" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/parameters"
);

const params = {
    "page": "1",
    "per_page": "20",
    "filter[updated_at]": "= 2026-07-26 13:40:01",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "ParameterName": null,
            "ParameterCategoryId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "ParameterName": null,
            "ParameterCategoryId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/parameters

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 20

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-07-26 13:40:01

Processes

Processes Index

requires authentication

List all processes (supplier_attributes from group "Chemical Process").

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/processes?page=1&per_page=8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/processes"
);

const params = {
    "page": "1",
    "per_page": "8",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProcessName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "ProcessName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/processes

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 8

Product-Category

Product Categories Index

requires authentication

List all product categories.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-category?page=1&per_page=19&filter%5Bupdated_at%5D=%3E%3D+2026-08-17+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-category"
);

const params = {
    "page": "1",
    "per_page": "19",
    "filter[updated_at]": ">= 2026-08-17 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductCategoryName": "Acids",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "ProductCategoryName": "Acids",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 19

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-17 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-CTZ-Certificates

Product CTZ Certifications Index

requires authentication

List all product CTZ certifications.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-ctz-certificates?page=1&per_page=11&filter%5Bupdated_at%5D=%3D+2026-07-30+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-ctz-certificates"
);

const params = {
    "page": "1",
    "per_page": "11",
    "filter[updated_at]": "= 2026-07-30 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductId": 224419,
            "CTZCertificationBodyId": 7982,
            "CTZCertificationResultId": 1,
            "VerificationStatusId": 2,
            "CTZLevelId": 1,
            "MSRLVersionId": null,
            "IssueDate": "2026-03-02 00:00:00",
            "ExpirationDate": "2027-01-31 00:00:00",
            "QualityCancelation": false,
            "QualityCancelationReason": null,
            "CreateDate": "2026-03-06 00:00:00",
            "LastUpdateDate": "2026-03-06 00:00:00"
        },
        {
            "Id": 1,
            "ProductId": 224419,
            "CTZCertificationBodyId": 7982,
            "CTZCertificationResultId": 1,
            "VerificationStatusId": 2,
            "CTZLevelId": 1,
            "MSRLVersionId": null,
            "IssueDate": "2026-03-02 00:00:00",
            "ExpirationDate": "2027-01-31 00:00:00",
            "QualityCancelation": false,
            "QualityCancelationReason": null,
            "CreateDate": "2026-03-06 00:00:00",
            "LastUpdateDate": "2026-03-06 00:00:00"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-ctz-certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 11

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-07-30 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-MRSL-Certificates

Product MRSL Certifications Index

requires authentication

List all product MRSL certifications.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-msrl-certificates?page=1&per_page=1&filter%5Bupdated_at%5D=%3C+2026-08-04+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-msrl-certificates"
);

const params = {
    "page": "1",
    "per_page": "1",
    "filter[updated_at]": "< 2026-08-04 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductId": 224419,
            "CertificationBodyId": 7982,
            "CertificationStandardId": 266,
            "CertificationResultId": 1,
            "VerificationStatusId": 2,
            "MSRLVersionId": "ZDHC MRSL v3.1",
            "MSRLLevelId": 3,
            "SDSid": 89559,
            "IssueDate": "2026-03-02 00:00:00",
            "ExpirationDate": "2027-01-31 00:00:00",
            "QualityCancelation": false,
            "QualityCancelationReason": null,
            "CreateDate": "2026-03-06 00:00:00",
            "LastUpdateDate": "2026-03-06 00:00:00"
        },
        {
            "Id": 1,
            "ProductId": 224419,
            "CertificationBodyId": 7982,
            "CertificationStandardId": 266,
            "CertificationResultId": 1,
            "VerificationStatusId": 2,
            "MSRLVersionId": "ZDHC MRSL v3.1",
            "MSRLLevelId": 3,
            "SDSid": 89559,
            "IssueDate": "2026-03-02 00:00:00",
            "ExpirationDate": "2027-01-31 00:00:00",
            "QualityCancelation": false,
            "QualityCancelationReason": null,
            "CreateDate": "2026-03-06 00:00:00",
            "LastUpdateDate": "2026-03-06 00:00:00"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-msrl-certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 1

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-04 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-Publication-Status

Product Publication Status Reference Index

requires authentication

No model/data source in current system. Returns empty collection so route is callable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-publication-status?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-publication-status"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "PublicationStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "PublicationStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-publication-status

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

Product-Publication-Status-Log

Product Publication Status Log Index

requires authentication

ModelHistory rows for {@see ChemicalProduct} where publication_status changed.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-publication-status-log?page=1&per_page=14&filter%5Bupdated_at%5D=%3C%3D+2026-08-17+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-publication-status-log"
);

const params = {
    "page": "1",
    "per_page": "14",
    "filter[updated_at]": "<= 2026-08-17 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 1,
            "PublicationStatusID": null,
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        },
        {
            "Id": 1,
            "ProductID": 1,
            "PublicationStatusID": null,
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-publication-status-log

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-17 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-SDS

Product Safety Data Sheets Index

requires authentication

List all safety data sheets.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-sds?page=1&per_page=10&filter%5Bupdated_at%5D=%3E%3D+2026-08-01+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-sds"
);

const params = {
    "page": "1",
    "per_page": "10",
    "filter[updated_at]": ">= 2026-08-01 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 173356,
            "SDSid": null,
            "IdentifiedUses": null,
            "FormulatorCountry": "",
            "SDSLanguage": "en",
            "Link": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/173356/safety-data-sheet/1",
            "DocStatus": null,
            "UploadDate": "2019-03-02 00:00:00",
            "LastUpdateDate": "2019-03-02 00:00:00"
        },
        {
            "Id": 1,
            "ProductID": 173356,
            "SDSid": null,
            "IdentifiedUses": null,
            "FormulatorCountry": "",
            "SDSLanguage": "en",
            "Link": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/173356/safety-data-sheet/1",
            "DocStatus": null,
            "UploadDate": "2019-03-02 00:00:00",
            "LastUpdateDate": "2019-03-02 00:00:00"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-sds

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 10

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-01 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-Status

Product Status Reference Values

requires authentication

Static list of product statuses from ProductStatusEnum (paginated).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-status?page=1&per_page=20" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-status"
);

const params = {
    "page": "1",
    "per_page": "20",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "ProductStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "ProductStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/product-status

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 20

Product-Status-Log

Product Status Log Index

requires authentication

ModelHistory rows for {@see ChemicalProduct} where status changed.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-status-log?page=1&per_page=6&filter%5Bupdated_at%5D=%3C%3D+2026-08-05+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-status-log"
);

const params = {
    "page": "1",
    "per_page": "6",
    "filter[updated_at]": "<= 2026-08-05 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 1,
            "StatusID": null,
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        },
        {
            "Id": 1,
            "ProductID": 1,
            "StatusID": null,
            "CreateDate": "2026-07-10 21:21:08",
            "LastUpdateDate": "2026-07-10 21:21:08"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-status-log

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 6

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-05 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-Substrate

Product Substrates Index

requires authentication

List all product substrates.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-substrate?page=1&per_page=18&filter%5Bupdated_at%5D=%3C%3D+2026-08-06+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-substrate"
);

const params = {
    "page": "1",
    "per_page": "18",
    "filter[updated_at]": "<= 2026-08-06 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "SubstrateName": "Adhesives",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "SubstrateName": "Adhesives",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-substrate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 18

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-06 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Product-Type

Product Types Index

requires authentication

List all product use types.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-type?page=1&per_page=1&filter%5Bupdated_at%5D=%3C%3D+2026-08-20+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-type"
);

const params = {
    "page": "1",
    "per_page": "1",
    "filter[updated_at]": "<= 2026-08-20 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductTypeName": "Accelerator For Solvent Coating",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "ProductTypeName": "Accelerator For Solvent Coating",
            "CreateDate": "2026-07-10 21:52:32",
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/product-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 1

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-20 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Products-Category

Products–Categories Index

requires authentication

Lists product classifications from chemical_product_classifications. One row per classification entry.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-category?page=1&per_page=16&filter%5Bupdated_at%5D=%3C+2026-08-04+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-category"
);

const params = {
    "page": "1",
    "per_page": "16",
    "filter[updated_at]": "< 2026-08-04 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 9504,
            "ProductCategoryId": 67,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "ProductID": 9504,
            "ProductCategoryId": 67,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/products-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 16

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-04 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Products

Chemical Products Index

requires authentication

List all chemical products.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products?page=1&per_page=2&filter%5Bupdated_at%5D=%3C+2026-08-15+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products"
);

const params = {
    "page": "1",
    "per_page": "2",
    "filter[updated_at]": "< 2026-08-15 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "ZDHCId": "P848YD34",
            "FormulatorProductCode": "20-MJQ7RDF6BBYE-J",
            "ProductName": "AKRIL 2000 [P848YD34]",
            "ProductNameOthers": "P848YD34",
            "ProductDescription": "",
            "ProductChemcheckDescription": null,
            "FormulatorId": 16676,
            "CreateDate": "2025-01-22 00:00:00",
            "UploadDate": null,
            "LastUpdateDate": "2026-07-10 21:23:36"
        },
        {
            "id": 1,
            "ZDHCId": "P848YD34",
            "FormulatorProductCode": "20-MJQ7RDF6BBYE-J",
            "ProductName": "AKRIL 2000 [P848YD34]",
            "ProductNameOthers": "P848YD34",
            "ProductDescription": "",
            "ProductChemcheckDescription": null,
            "FormulatorId": 16676,
            "CreateDate": "2025-01-22 00:00:00",
            "UploadDate": null,
            "LastUpdateDate": "2026-07-10 21:23:36"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 2

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-15 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Products-Substrate

Products–Substrates Index

requires authentication

Lists product classifications from chemical_product_classifications. One row per classification entry.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-substrate?page=1&per_page=7&filter%5Bupdated_at%5D=%3E%3D+2026-08-05+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-substrate"
);

const params = {
    "page": "1",
    "per_page": "7",
    "filter[updated_at]": ">= 2026-08-05 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 9504,
            "SubstrateId": 6,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "ProductID": 9504,
            "SubstrateId": 6,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/products-substrate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 7

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-05 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Products-Type

Products–Use Types Index

requires authentication

Lists product classifications from chemical_product_classifications. One row per classification entry.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-type?page=1&per_page=18&filter%5Bupdated_at%5D=%3C+2026-07-27+13%3A40%3A01&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/products-type"
);

const params = {
    "page": "1",
    "per_page": "18",
    "filter[updated_at]": "< 2026-07-27 13:40:01",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "ProductID": 9504,
            "ProductTypeId": 247,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        },
        {
            "Id": 1,
            "ProductID": 9504,
            "ProductTypeId": 247,
            "CreateDate": "2026-07-10 21:52:32",
            "DeleteDate": null,
            "LastUpdateDate": "2026-07-10 21:52:32"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/products-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 18

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-07-27 13:40:01

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Profile-Supplier-Chemicals

Profile Supplier Chemicals Index

requires authentication

List all profile–chemical-type links (pivot supplier_profile_attributes, Chemical Type group). ChemicalCountBracketId / ChemicalWeightBracketId have no source in current system.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-chemicals?page=1&per_page=19" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-chemicals"
);

const params = {
    "page": "1",
    "per_page": "19",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "OrganisationId": 32568,
            "ChemicalTypeId": null,
            "ChemicalCountBracketId": null,
            "ChemicalWeightBracketId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "OrganisationId": 32568,
            "ChemicalTypeId": null,
            "ChemicalCountBracketId": null,
            "ChemicalWeightBracketId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/profile-supplier-chemicals

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 19

Profile-Supplier-Material

Profile Supplier Materials Index

requires authentication

List all profile–material links (pivot supplier_profile_attributes, Materials group).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-material?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-material"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "OrganisationId": 32569,
            "MaterialId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "OrganisationId": 32569,
            "MaterialId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/profile-supplier-material

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

Profile-Supplier-Processes

Profile Supplier Processes Index

requires authentication

List all profile–process links (pivot supplier_profile_attributes, Chemical Process group).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-processes?page=1&per_page=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-processes"
);

const params = {
    "page": "1",
    "per_page": "15",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "OrganisationId": 32570,
            "ProcessId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "OrganisationId": 32570,
            "ProcessId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/profile-supplier-processes

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 15

Profile-Supplier-Product-Category

Profile Supplier Product Categories Index

requires authentication

No model/data source in current system. Returns empty collection so route is callable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-product-category?page=1&per_page=3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-product-category"
);

const params = {
    "page": "1",
    "per_page": "3",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "OrganisationId": null,
            "ProductCategoryId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "OrganisationId": null,
            "ProductCategoryId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/profile-supplier-product-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 3

Profile-Supplier-Type

Profile Supplier Types Index

requires authentication

List all supplier profiles (organisation_id, facility_type_id = SupplierTypeId).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-type?page=1&per_page=16&filter%5Bupdated_at%5D=%3C%3D+2026-08-11+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-type"
);

const params = {
    "page": "1",
    "per_page": "16",
    "filter[updated_at]": "<= 2026-08-11 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "OrganisationId": null,
            "SupplierTypeId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "OrganisationId": null,
            "SupplierTypeId": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/profile-supplier-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 16

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-11 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

SDS-Section

SDS Sections Index

requires authentication

No model/data source in current system. Returns empty collection so route is callable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/sds-section?page=1&per_page=4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/sds-section"
);

const params = {
    "page": "1",
    "per_page": "4",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "SDSID": null,
            "IngredientName": null,
            "CAS": null,
            "Min": null,
            "Max": null,
            "Concentration": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "SDSID": null,
            "IngredientName": null,
            "CAS": null,
            "Min": null,
            "Max": null,
            "Concentration": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/sds-section

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 4

Supplier-Type

Supplier Types Index

requires authentication

List all supplier (facility) types.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/supplier-type?page=1&per_page=20" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/supplier-type"
);

const params = {
    "page": "1",
    "per_page": "20",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "SupplierTypeName": "Accessories and Trims",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "SupplierTypeName": "Accessories and Trims",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/supplier-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 20

Units

Units Index

requires authentication

List all wastewater units.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/units?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/units"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 135,
            "UnitName": "",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 135,
            "UnitName": "",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/units

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

Users

Users Index

requires authentication

List all users.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/users?page=1&per_page=2&filter%5Bupdated_at%5D=%3C%3D+2026-08-18+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/users"
);

const params = {
    "page": "1",
    "per_page": "2",
    "filter[updated_at]": "<= 2026-08-18 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 8,
            "UserId": "02-H7RBX8FE3BV-H",
            "FirstName": "Amy",
            "LastName": "Huang",
            "FullName": "Amy Huang",
            "IsActive": true,
            "Email": "amyhuang@ecic.com.tw",
            "Phone": "+886910807779",
            "Address1": null,
            "Address2": null,
            "StateName": null,
            "CityName": null,
            "ZipCode": null,
            "LocationId": "TW",
            "CreateDate": "2017-06-17 04:45:09",
            "DeleteDate": null,
            "LastUpdateDate": "2017-06-17 04:45:09"
        },
        {
            "Id": 8,
            "UserId": "02-H7RBX8FE3BV-H",
            "FirstName": "Amy",
            "LastName": "Huang",
            "FullName": "Amy Huang",
            "IsActive": true,
            "Email": "amyhuang@ecic.com.tw",
            "Phone": "+886910807779",
            "Address1": null,
            "Address2": null,
            "StateName": null,
            "CityName": null,
            "ZipCode": null,
            "LocationId": "TW",
            "CreateDate": "2017-06-17 04:45:09",
            "DeleteDate": null,
            "LastUpdateDate": "2017-06-17 04:45:09"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 2

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-18 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Verification-Status

Verification status reference values

requires authentication

Static list from ProductCertificationBodyAssignmentStatusEnum (paginated). Ids are stable via azureApiId().

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/verification-status?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/verification-status"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "StatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "StatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/verification-status

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

Waste-Water-Reports

Waste Water Reports Index

requires authentication

List all wastewater (ClearStream) reports including Step 2 profile fields ({@code wastewater_report_profiles} + Guideline attribute {@code external_id}s). Several legacy ticket fields remain {@code null} until mapping is agreed.

Includes archived reports (archived_at set) — no soft-delete column on this model.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/waste-water-reports?page=1&per_page=9&filter%5Bupdated_at%5D=%3C+2026-08-13+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/waste-water-reports"
);

const params = {
    "page": "1",
    "per_page": "9",
    "filter[updated_at]": "< 2026-08-13 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "TRID": "TR543HN21",
            "OrganisationId": 12822,
            "SolutionProviderId": 1046,
            "ReportingCycle": "2022-10-01 00:00:00",
            "WWReportStatusId": 3,
            "GuidelineId": 1,
            "CompletedDate": "2022-09-29 00:00:00",
            "DisposalPathwayId": null,
            "DisposalPathwayPercentage": null,
            "DischargeTypeId": null,
            "WWType": "Industrial Wastewater",
            "NumberOfDischargePoints": 3,
            "IndustryTypeId": null,
            "HasSludgeId": null,
            "Above15mId": null,
            "FibreId": null,
            "FacilityTypeIds": [],
            "WWDischargePerDay": null,
            "OnSiteAppNumber": "LEGACY-18790",
            "SamplingDate": null,
            "CreateDate": "2022-10-13 11:42:54",
            "UploadDate": "2022-10-13 11:45:27",
            "LastUpdateDate": "2026-07-10 21:52:52"
        },
        {
            "Id": 1,
            "TRID": "TR543HN21",
            "OrganisationId": 12822,
            "SolutionProviderId": 1046,
            "ReportingCycle": "2022-10-01 00:00:00",
            "WWReportStatusId": 3,
            "GuidelineId": 1,
            "CompletedDate": "2022-09-29 00:00:00",
            "DisposalPathwayId": null,
            "DisposalPathwayPercentage": null,
            "DischargeTypeId": null,
            "WWType": "Industrial Wastewater",
            "NumberOfDischargePoints": 3,
            "IndustryTypeId": null,
            "HasSludgeId": null,
            "Above15mId": null,
            "FibreId": null,
            "FacilityTypeIds": [],
            "WWDischargePerDay": null,
            "OnSiteAppNumber": "LEGACY-18790",
            "SamplingDate": null,
            "CreateDate": "2022-10-13 11:42:54",
            "UploadDate": "2022-10-13 11:45:27",
            "LastUpdateDate": "2026-07-10 21:52:52"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/waste-water-reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 9

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-13 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Waste-Water-Results

Waste Water Results Index

requires authentication

One row per filled ClearStream test parameter ({@code wastewater_test_result_parameters}) on {@code editable()} leaf rows (excludes category/group parents and leachate-only rows).

Leachate follow-up values are nested on the sludge/source row via {@code Leachate*} fields.

Includes parameters on archived reports — no soft-delete column on this model.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/waste-water-results?page=1&per_page=16&filter%5Bupdated_at%5D=%3E%3D+2026-07-27+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/waste-water-results"
);

const params = {
    "page": "1",
    "per_page": "16",
    "filter[updated_at]": ">= 2026-07-27 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 3766098,
            "ReportId": 14496,
            "ParameterId": 129,
            "ParameterName": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "SamplingLocation": "Untreated",
            "DetectionAsText": "0",
            "DetectionNormalizedAsNumber": 0,
            "UnitId": 109,
            "EvaluationLevelId": null,
            "EvaluationPassing": 1,
            "EvaluationIsSampleAndReportOnly": 0,
            "ReferenceLimitValueMax": null,
            "ReferenceLimitValueMin": null,
            "LeachateDetection": null,
            "LeachateUnitId": null,
            "LeachateEvaluationLevelId": null,
            "LeachateEvaluationPassing": null,
            "CreateDate": "2026-07-17 11:10:53",
            "LastUpdateDate": "2026-07-17 11:16:37"
        },
        {
            "Id": 3766098,
            "ReportId": 14496,
            "ParameterId": 129,
            "ParameterName": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "SamplingLocation": "Untreated",
            "DetectionAsText": "0",
            "DetectionNormalizedAsNumber": 0,
            "UnitId": 109,
            "EvaluationLevelId": null,
            "EvaluationPassing": 1,
            "EvaluationIsSampleAndReportOnly": 0,
            "ReferenceLimitValueMax": null,
            "ReferenceLimitValueMin": null,
            "LeachateDetection": null,
            "LeachateUnitId": null,
            "LeachateEvaluationLevelId": null,
            "LeachateEvaluationPassing": null,
            "CreateDate": "2026-07-17 11:10:53",
            "LastUpdateDate": "2026-07-17 11:16:37"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/waste-water-results

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 16

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-07-27 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

WW-Profile-Industry-Type

WW Profile Industry Type Index

requires authentication

Industry type reference catalogue — Guideline API {@code industry_type} synced to {@see SupplierAttribute} group {@code industry_type} via {@code app:guideline-api-sync}. Same id space as {@code IndustryTypeId} on {@see \App\Http\Resources\External\Azure\V1\AzureWasteWaterReportsListResource}. Not {@see AzureSupplierTypeController} ({@code supplier_facility_types} org profile).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-profile-industry-type?page=1&per_page=6" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-profile-industry-type"
);

const params = {
    "page": "1",
    "per_page": "6",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "IndustryTypeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "IndustryTypeName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/ww-profile-industry-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 6

WW-Report-Fibre

WW Report Fibre Index

requires authentication

Fibre type reference catalogue — Guideline API {@code fiber_type} synced to {@see SupplierAttribute} group {@code fiber_type} via {@code app:guideline-api-sync}. Same id space as {@code FibreId} on {@see \App\Http\Resources\External\Azure\V1\AzureWasteWaterReportsListResource}.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-fibre?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-fibre"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "FibreName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "FibreName": "Cotton",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/ww-report-fibre

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 14

Pretreatments

WW Report Pretreatment Index

requires authentication

ClearStream sampling pre-treatment catalogue ({@see SampleInformationPointPreTreatmentEnum}) — same labels stored on {@code wastewater_sampling_points.pre_treatments}.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/pretreatments?page=1&per_page=15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/pretreatments"
);

const params = {
    "page": "1",
    "per_page": "15",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 1,
            "PretreatmentName": "None",
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": 1,
            "PretreatmentName": "None",
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/pretreatments

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 15

WW-Report-Status

Wastewater Report Status Reference Values

requires authentication

Static list of wastewater report statuses from WastewaterReportStatusEnum (paginated).

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-status?page=1&per_page=2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-status"
);

const params = {
    "page": "1",
    "per_page": "2",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": null,
            "WWStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        },
        {
            "Id": null,
            "WWStatusName": null,
            "CreateDate": null,
            "LastUpdateDate": null
        }
    ]
}
 

Request      

GET api/azure/v1/ww-report-status

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 2

WW-Report-vs-CAP

WW Report vs CAP (RCA/CAP) Index

requires authentication

One row per parameter root-cause analysis ({@code wastewater_root_cause_analyses}).

Includes rows on archived reports — no soft-delete column on this model.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-vs-cap?page=1&per_page=17&filter%5Bupdated_at%5D=%3E%3D+2026-08-19+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/azure/v1/ww-report-vs-cap"
);

const params = {
    "page": "1",
    "per_page": "17",
    "filter[updated_at]": ">= 2026-08-19 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "Id": 11,
            "WWReportId": 14496,
            "FileName": null,
            "ParameterId": 129,
            "ReasonsForFailure": "Overloaded treatment plant",
            "CorrectiveAction": "Enforce SOP compliance",
            "PlannedResolutionDate": null,
            "IsResolved": 0,
            "CreateDate": "2026-07-22 13:40:02",
            "LastUpdateDate": "2026-07-22 13:40:02"
        },
        {
            "Id": 11,
            "WWReportId": 14496,
            "FileName": null,
            "ParameterId": 129,
            "ReasonsForFailure": "Overloaded treatment plant",
            "CorrectiveAction": "Enforce SOP compliance",
            "PlannedResolutionDate": null,
            "IsResolved": 0,
            "CreateDate": "2026-07-22 13:40:02",
            "LastUpdateDate": "2026-07-22 13:40:02"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/azure/v1/ww-report-vs-cap

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 17

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-19 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

CTZ Levels

Index

requires authentication

Get CTZ Levels

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level?per_page=1&page=1&filter%5Bname%5D=occaecati&filter%5Bcreated_at%5D=eveniet&filter%5Bupdated_at%5D=voluptatem&search=laborum&sort=name&column=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level"
);

const params = {
    "per_page": "1",
    "page": "1",
    "filter[name]": "occaecati",
    "filter[created_at]": "eveniet",
    "filter[updated_at]": "voluptatem",
    "search": "laborum",
    "sort": "name",
    "column": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        [],
        []
    ]
}
 

Request      

GET api/organisation/{organisation_id}/chemical/certification/ctz-level

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 1

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: occaecati

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created at Example: eveniet

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated at Example: voluptatem

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: laborum

sort   string  optional    

sort by any accepted column: name, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

column   string  optional    

get a distinct list of filterable values for any of the columns: name. Example: name

Show

requires authentication

Show a CTZ Level

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level/1"
);

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


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

Example response (200):


{
    "data": []
}
 

Request      

GET api/organisation/{organisation_id}/chemical/certification/ctz-level/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the ctz level. Example: 1

Assign Organisations

requires authentication

Assign organisations to a CTZ Level

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level/accusamus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-level/accusamus"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Foundational",
        "created_at": "2026-07-10T21:21:08.000000Z",
        "updated_at": "2026-07-10T21:21:08.000000Z"
    }
}
 

Request      

PUT api/organisation/{organisation_id}/chemical/certification/ctz-level/{ctz_level_id}

PATCH api/organisation/{organisation_id}/chemical/certification/ctz-level/{ctz_level_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

ctz_level_id   string     

The ID of the ctz level. Example: accusamus

Body Parameters

organisations   string[]  optional    

The id of an existing record in the organisations table.

Index

requires authentication

Get all CTZ levels

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/ctz-levels" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/ctz-levels"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Foundational",
        "created_at": "2026-07-10T21:21:08.000000Z",
        "updated_at": "2026-07-10T21:21:08.000000Z"
    }
}
 

Request      

GET api/ctz-levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Certification Bodies/V1

Assigned Products

List assigned products

requires authentication

Returns a paginated list of assigned products for this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/assigned-products?per_page=5&page=1&filter%5Bproduct_reference_id%5D=distinctio&filter%5Bproduct_name%5D=eius&filter%5Bformulator_reference_id%5D=error&filter%5Bformulator_name%5D=et&filter%5Bassigned_by%5D=quia&filter%5Bassignment_status%5D=UNDER_REVIEW&filter%5Bassigned_at%5D=%3C%3D+2026-08-03+13%3A40%3A02&search=asperiores&sort=product_reference_id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"per_page\": 16,
    \"search\": \"tgyfcwlokphjdudnikjjomvfurubh\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/assigned-products"
);

const params = {
    "per_page": "5",
    "page": "1",
    "filter[product_reference_id]": "distinctio",
    "filter[product_name]": "eius",
    "filter[formulator_reference_id]": "error",
    "filter[formulator_name]": "et",
    "filter[assigned_by]": "quia",
    "filter[assignment_status]": "UNDER_REVIEW",
    "filter[assigned_at]": "<= 2026-08-03 13:40:02",
    "search": "asperiores",
    "sort": "product_reference_id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "per_page": 16,
    "search": "tgyfcwlokphjdudnikjjomvfurubh"
};

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

Example response (200):


{
    "data": [
        {
            "product_reference_id": null,
            "product_name": null,
            "formulator_reference_id": null,
            "formulator_name": null,
            "assigned_by": null,
            "assigned_at": "2026-07-22",
            "assignment_status": null
        },
        {
            "product_reference_id": null,
            "product_name": null,
            "formulator_reference_id": null,
            "formulator_name": null,
            "assigned_by": null,
            "assigned_at": "2026-07-22",
            "assignment_status": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/certification-bodies/v1/assigned-products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 5

page   integer  optional    

the page number to show. Example: 1

filter[product_reference_id]   string  optional    

Filter column product_reference_id by any accepted value. Filter by product reference ID Example: distinctio

filter[product_name]   string  optional    

Filter column product_name by any accepted value. Filter by product name Example: eius

filter[formulator_reference_id]   string  optional    

Filter column formulator_reference_id by any accepted value. Filter by formulator reference ID Example: error

filter[formulator_name]   string  optional    

Filter column formulator_name by any accepted value. Filter by formulator name Example: et

filter[assigned_by]   string  optional    

Filter column assigned_by by any accepted value. Filter by assigning organisation name Example: quia

filter[assignment_status]   string  optional    

Filter column assignment_status by any accepted value. Matches exact value. Example: UNDER_REVIEW

Must be one of:
  • UNDER_REVIEW
  • ACCEPTED
  • EXPIRED
  • DECLINED
filter[assigned_at]   datetime  optional    

Filter column assigned_at by any accepted value. Filter by assignment created date Example: <= 2026-08-03 13:40:02

search   string  optional    

Search in all of these columns: product_reference_id, product_name, formulator_reference_id, formulator_name. Filter type: like. Minimum length: 3. Example: asperiores

sort   string  optional    

sort by any accepted column: product_reference_id, product_name, formulator_reference_id, formulator_name, assigned_by, assigned_at, assignment_status. prefix a "-" before the column name to sort in descending order Example: product_reference_id

Body Parameters

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 16

search   string  optional    

Must be at least 3 characters. Example: tgyfcwlokphjdudnikjjomvfurubh

filter   string  optional    
product_reference_id   string  optional    

Example: pariatur

product_name   string  optional    

Example: aut

formulator_reference_id   string  optional    

Example: harum

formulator_name   string  optional    

Example: dignissimos

assigned_by   string  optional    

Example: animi

assignment_status   string  optional    
assigned_at   string  optional    

Example: ut

sort   string  optional    

Decline an assigned product

requires authentication

Marks the assignment identified in the URL as declined.

Example request:
curl --request PATCH \
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/assigned-products/1234567890/decline" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"note\": \"Unable to process at this time.\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/assigned-products/1234567890/decline"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "note": "Unable to process at this time."
};

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

Example response (200):


{
    "data": {
        "product_reference_id": null,
        "product_name": null,
        "formulator_reference_id": null,
        "formulator_name": null,
        "assigned_by": null,
        "assigned_at": "2026-07-22",
        "assignment_status": null
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (404):


Resource not found.
 

Example response (422):


Validation error
 

Request      

PATCH api/certification-bodies/v1/assigned-products/{product_reference_id}/decline

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_reference_id   string     

The reference ID of the assigned product. Example: 1234567890

Body Parameters

note   string     

Decline note. Must not be greater than 255 characters. Example: Unable to process at this time.

Certificates

List certificates

requires authentication

Returns a paginated list of certificates for this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates?per_page=19&page=1&filter%5Bproduct_reference_id%5D=et&filter%5Bstandard_reference_id%5D=velit&filter%5Bstatus%5D=ACTIVE&sort=certificate_id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"per_page\": 12,
    \"filter\": {
        \"product_reference_id\": \"dolorem\",
        \"standard_reference_id\": \"modi\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates"
);

const params = {
    "per_page": "19",
    "page": "1",
    "filter[product_reference_id]": "et",
    "filter[standard_reference_id]": "velit",
    "filter[status]": "ACTIVE",
    "sort": "certificate_id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "per_page": 12,
    "filter": {
        "product_reference_id": "dolorem",
        "standard_reference_id": "modi"
    }
};

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

Example response (200):


{
    "data": [
        {
            "certificate_id": 4825,
            "product_reference_id": "20-TNR2Y6TQ7WCL-V",
            "product_name": "Alpha External Certificate Product",
            "standard_reference_id": "30-8VYBHK83M6SV-H",
            "standard_name": "ExternalCertStandardAlpha",
            "certificate_number": "CERT-ALPHA-001",
            "certificate_issue_date": "2024-01-10",
            "certificate_end_date": "2027-01-10",
            "certificate_result": "PASSED",
            "ctz_level": "foundational",
            "gateway_active_until": "2027-06-10",
            "sds_source": "formulator",
            "status": "ACTIVE",
            "removal_status": "pending",
            "created_at": "2024-01-10T00:00:00.000000Z"
        },
        {
            "certificate_id": 4825,
            "product_reference_id": "20-TNR2Y6TF2HES-P",
            "product_name": "Alpha External Certificate Product",
            "standard_reference_id": "30-8VYBHK83EQWQ-V",
            "standard_name": "ExternalCertStandardAlpha",
            "certificate_number": "CERT-ALPHA-001",
            "certificate_issue_date": "2024-01-10",
            "certificate_end_date": "2027-01-10",
            "certificate_result": "PASSED",
            "ctz_level": "foundational",
            "gateway_active_until": "2027-06-10",
            "sds_source": "formulator",
            "status": "ACTIVE",
            "removal_status": "pending",
            "created_at": "2024-01-10T00:00:00.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/certification-bodies/v1/certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 19

page   integer  optional    

the page number to show. Example: 1

filter[product_reference_id]   string  optional    

Filter column product_reference_id by any accepted value. Filter by product reference ID Example: et

filter[standard_reference_id]   string  optional    

Filter column standard_reference_id by any accepted value. Filter by MRSL standard reference ID Example: velit

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: ACTIVE

Must be one of:
  • ACTIVE
  • INACTIVE
sort   string  optional    

sort by any accepted column: certificate_id, product_reference_id, product_name, standard_reference_id, standard_name, certificate_number, certificate_issue_date, certificate_end_date, ctz_level, gateway_active_until, status, created_at. prefix a "-" before the column name to sort in descending order Example: certificate_id

Body Parameters

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 12

filter   object  optional    
product_reference_id   string  optional    

Example: dolorem

standard_reference_id   string  optional    

Example: modi

status   string  optional    
sort   string  optional    

Show a certificate

requires authentication

Returns one certificate for this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};


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

Example response (200):


{
    "data": {
        "certificate_id": 4825,
        "product_reference_id": "20-P4WMD9P2UCQ3-D",
        "product_name": "Alpha External Certificate Product",
        "standard_reference_id": "30-3CZET437SEYV-B",
        "standard_name": "ExternalCertStandardAlpha",
        "certificate_number": "CERT-ALPHA-001",
        "certificate_issue_date": "2024-01-10",
        "certificate_end_date": "2027-01-10",
        "certificate_result": "PASSED",
        "ctz_level": "foundational",
        "gateway_active_until": "2027-06-10",
        "sds_source": "formulator",
        "status": "ACTIVE",
        "removal_status": "pending",
        "created_at": "2024-01-10T00:00:00.000000Z"
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (404):


Resource not found.
 

Request      

GET api/certification-bodies/v1/certificates/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

Certificate ID. Example: 1

Store a certificate

requires authentication

Stores a new certificate for this certification body.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"product_reference_id\": \"20-Z3X9V2N-1\",
    \"standard_reference_id\": \"10-A1B2C3D-4\",
    \"certificate_number\": \"1234567890\",
    \"certificate_issue_date\": \"2026-01-01\",
    \"certificate_end_date\": \"2026-01-01\",
    \"certificate_result\": \"Pass\",
    \"ctz_level\": \"foundational\",
    \"sds_source\": \"formulator\",
    \"sds_id\": 1
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "product_reference_id": "20-Z3X9V2N-1",
    "standard_reference_id": "10-A1B2C3D-4",
    "certificate_number": "1234567890",
    "certificate_issue_date": "2026-01-01",
    "certificate_end_date": "2026-01-01",
    "certificate_result": "Pass",
    "ctz_level": "foundational",
    "sds_source": "formulator",
    "sds_id": 1
};

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

Example response (200):


{
    "data": {
        "certificate_id": 4825,
        "product_reference_id": "20-SHJ9M3SBVNYE-K",
        "product_name": "Alpha External Certificate Product",
        "standard_reference_id": "30-RFA4EHRLEL2Z-G",
        "standard_name": "ExternalCertStandardAlpha",
        "certificate_number": "CERT-ALPHA-001",
        "certificate_issue_date": "2024-01-10",
        "certificate_end_date": "2027-01-10",
        "certificate_result": "PASSED",
        "ctz_level": "foundational",
        "gateway_active_until": "2027-06-10",
        "sds_source": "formulator",
        "status": "ACTIVE",
        "removal_status": "pending",
        "created_at": "2024-01-10T00:00:00.000000Z"
    }
}
 

Example response (201):


Certificate created successfully.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


Product is not assigned to this organisation.
 

Example response (403):


User does not have required permission.
 

Example response (403):


You are not accredited for this standard.
 

Example response (403):


Your accreditation does not permit the requested CtZ level.
 

Example response (404):


Product not found.
 

Example response (404):


Safety data sheet not found.
 

Example response (404):


Selected safety data sheet not found.
 

Example response (404):


Standard not found.
 

Example response (422):


Validation error
 

Request      

POST api/certification-bodies/v1/certificates

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

product_reference_id   string     

Reference ID of the chemical product to certify. The product must be assigned to the authenticated certification body and must not be declined. Must match the regex /^20-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 20-Z3X9V2N-1

standard_reference_id   string     

Reference ID of the MRSL standard to certify against. The standard must exist and be accredited for the authenticated certification body. Must match the regex /^30-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 10-A1B2C3D-4

certificate_number   string  optional    

Optional certificate number (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: 1234567890

certificate_issue_date   string     

Certificate issue date (date). Must be a valid date in the format Y-m-d. Example: 2026-01-01

certificate_end_date   string  optional    

Optional certificate end date (date). Omit or leave empty to store null; gateway_active_until defaults to three years from now. Must be a valid date in the format Y-m-d. Example: 2026-01-01

certificate_result   string  optional    

Optional certificate result (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: Pass

ctz_level   string     

CTZ level for the certificate. Accepted values: foundational, progressive, aspirational.

The value must be allowed for the selected MRSL standard's conformance level:

  • MRSL conformance level 1: foundational only
  • MRSL conformance level 2: foundational or progressive
  • MRSL conformance level 3: foundational, progressive, or aspirational. Example: foundational
Must be one of:
  • foundational
  • progressive
  • aspirational
sds_source   string     

Which safety data sheet (SDS) to base the certification on. Use formulator for the SDS uploaded by the chemical formulator, or certifier for an SDS uploaded by the authenticated certification body. Example: formulator

Must be one of:
  • formulator
  • certifier
sds_id   integer  optional    

Safety data sheet ID of an previously uploaded safety data sheet. Example: 1

Bulk store certificates

requires authentication

Creates multiple certificates in one request. Each row is validated and processed independently; row-level failures do not prevent other rows from being created.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates/bulk" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"rows\": [
        {
            \"product_reference_id\": \"20-Z3X9V2N-1\",
            \"standard_reference_id\": \"10-A1B2C3D-4\",
            \"certificate_number\": \"1234567890\",
            \"certificate_result\": \"Pass\",
            \"certificate_issue_date\": \"2026-01-01\",
            \"certificate_end_date\": \"2026-01-01\",
            \"ctz_level\": \"foundational\",
            \"sds_source\": \"formulator\",
            \"sds_id\": 1
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/certificates/bulk"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "rows": [
        {
            "product_reference_id": "20-Z3X9V2N-1",
            "standard_reference_id": "10-A1B2C3D-4",
            "certificate_number": "1234567890",
            "certificate_result": "Pass",
            "certificate_issue_date": "2026-01-01",
            "certificate_end_date": "2026-01-01",
            "ctz_level": "foundational",
            "sds_source": "formulator",
            "sds_id": 1
        }
    ]
};

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

Example response (207, Batch processed. Each row reports success or error independently.):


{
    "message": "Batch processed. Check each result individually.",
    "data": {
        "results": [
            {
                "row": 1,
                "status": "success",
                "certificate_id": 4825,
                "product_reference_id": "40-AAAAAAAAAAA1-X",
                "gateway_active_until": "2028-01-15",
                "ctz_level": "foundational"
            },
            {
                "row": 2,
                "status": "error",
                "errors": [
                    "Product not found."
                ]
            }
        ],
        "summary": {
            "total": 2,
            "succeeded": 1,
            "failed": 1
        }
    }
}
 

Example response (207):


Batch processed. Check each result individually.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

POST api/certification-bodies/v1/certificates/bulk

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

rows   object[]     

Array of certificate rows to create. Each row uses the same fields as the single certificate store endpoint. Must have at least 1 items.

product_reference_id   string     

Reference ID of the chemical product to certify. The product must be assigned to the authenticated certification body and must not be declined. Must match the regex /^20-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 20-Z3X9V2N-1

standard_reference_id   string     

Reference ID of the MRSL standard to certify against. The standard must exist and be accredited for the authenticated certification body. Must match the regex /^30-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 10-A1B2C3D-4

certificate_number   string  optional    

Optional certificate number (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: 1234567890

certificate_result   string  optional    

Optional certificate result (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: Pass

certificate_issue_date   string     

Certificate issue date (date). Must be a valid date in the format Y-m-d. Example: 2026-01-01

certificate_end_date   string  optional    

Optional certificate end date (date). Omit or leave empty to store null; gateway_active_until defaults to three years from now. Must be a valid date in the format Y-m-d. Example: 2026-01-01

ctz_level   string     

CTZ level for the certificate. Accepted values: foundational, progressive, aspirational.

The value must be allowed for the selected MRSL standard's conformance level:

  • MRSL conformance level 1: foundational only
  • MRSL conformance level 2: foundational or progressive
  • MRSL conformance level 3: foundational, progressive, or aspirational. Example: foundational
Must be one of:
  • foundational
  • progressive
  • aspirational
sds_source   string     

Which safety data sheet (SDS) to base the certification on. Use formulator for the SDS uploaded by the chemical formulator, or certifier for an SDS uploaded by the authenticated certification body. Example: formulator

Must be one of:
  • formulator
  • certifier
sds_id   integer  optional    

Safety data sheet ID of an previously uploaded safety data sheet. Example: 1

Products

List chemical products

requires authentication

Returns a paginated list of published chemical products assigned to this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/products?per_page=9&page=1&filter%5Bproduct_reference_id%5D=sunt&filter%5Bname%5D=consectetur&filter%5Bzdhc_pid%5D=6&filter%5Bstatus%5D=PUBLISHED&filter%5Bformulator_reference_id%5D=illo&filter%5Bformulator_name%5D=rerum&filter%5Bconformance_level_id%5D=19&filter%5Bctz_level_id%5D=17&filter%5Bproduct_use_type_id%5D=6&filter%5Bproduct_category_id%5D=15&filter%5Bcreated_at%5D=%3C+2026-08-04+13%3A40%3A02&filter%5Bupdated_at%5D=%3C+2026-07-22+13%3A40%3A02&search=iure&sort=id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"per_page\": 22,
    \"search\": \"xapxobykycbcgmjerzknhzgsrvnaomesawtbxhubeauqishbmqangcuyczugfygnzyvxbwazsydpcvdxmmohqc\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/products"
);

const params = {
    "per_page": "9",
    "page": "1",
    "filter[product_reference_id]": "sunt",
    "filter[name]": "consectetur",
    "filter[zdhc_pid]": "6",
    "filter[status]": "PUBLISHED",
    "filter[formulator_reference_id]": "illo",
    "filter[formulator_name]": "rerum",
    "filter[conformance_level_id]": "19",
    "filter[ctz_level_id]": "17",
    "filter[product_use_type_id]": "6",
    "filter[product_category_id]": "15",
    "filter[created_at]": "< 2026-08-04 13:40:02",
    "filter[updated_at]": "< 2026-07-22 13:40:02",
    "search": "iure",
    "sort": "id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "per_page": 22,
    "search": "xapxobykycbcgmjerzknhzgsrvnaomesawtbxhubeauqishbmqangcuyczugfygnzyvxbwazsydpcvdxmmohqc"
};

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

Example response (200):


{
    "data": [
        {
            "product_reference_id": "20-P4WMD2LYJHPZ-V",
            "name": "Alpha External Product",
            "formulator_reference_id": "01-NKFR3JEW3K6R-B",
            "formulator_name": "Chemical Formulator Alpha",
            "classifications": [
                {
                    "use_type_name": "Softening agents",
                    "category_name": "Textile Finishing Assistants",
                    "substrate_name": "Textile"
                }
            ],
            "sds_url": "https://example.com/sds.pdf"
        },
        {
            "product_reference_id": "20-TNR2Y9XMZ2UY-G",
            "name": "Alpha External Product",
            "formulator_reference_id": "01-V73YGMQDTBZW-G",
            "formulator_name": "Chemical Formulator Alpha",
            "classifications": [
                {
                    "use_type_name": "Softening agents",
                    "category_name": "Textile Finishing Assistants",
                    "substrate_name": "Textile"
                }
            ],
            "sds_url": "https://example.com/sds.pdf"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/certification-bodies/v1/products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 9

page   integer  optional    

the page number to show. Example: 1

filter[product_reference_id]   string  optional    

Filter column product_reference_id by any accepted value. Filter by product reference ID Example: sunt

filter[name]   string  optional    

Filter column name by any accepted value. Filter by product name Example: consectetur

filter[zdhc_pid]   integer  optional    

Filter column zdhc_pid by any accepted value. Filter by ZDHC PID Example: 6

filter[status]   string  optional    

Filter column status by any accepted value. Filter by publication status (maps to publication_status) Example: PUBLISHED

Must be one of:
  • PUBLISHED
  • UNPUBLISHED
filter[formulator_reference_id]   string  optional    

Filter column formulator_reference_id by any accepted value. Filter by formulator reference ID Example: illo

filter[formulator_name]   string  optional    

Filter column formulator_name by any accepted value. Filter by formulator name Example: rerum

filter[conformance_level_id]   integer  optional    

Filter column conformance_level_id by any accepted value. Filter by conformance level IDs Example: 19

filter[ctz_level_id]   integer  optional    

Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs Example: 17

filter[product_use_type_id]   integer  optional    

Filter column product_use_type_id by any accepted value. Filter by use type ID (multiple selection allowed) Example: 6

filter[product_category_id]   integer  optional    

Filter column product_category_id by any accepted value. Filter by product category ID (multiple selection allowed) Example: 15

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: < 2026-08-04 13:40:02

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: < 2026-07-22 13:40:02

search   string  optional    

Search in all of these columns: product_reference_id, name, alternate_names, zdhc_pid, formulator_reference_id, formulator_name. Filter type: like. Minimum length: 3. Example: iure

sort   string  optional    

sort by any accepted column: id, product_reference_id, name, version, status, zdhc_pid, conformance_level_name, ctz_level_name, formulator_reference_id, formulator_name, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: id

Body Parameters

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 22

search   string  optional    

Must be at least 3 characters. Example: xapxobykycbcgmjerzknhzgsrvnaomesawtbxhubeauqishbmqangcuyczugfygnzyvxbwazsydpcvdxmmohqc

filter   string  optional    
product_reference_id   string  optional    

Example: deserunt

name   string  optional    

Example: facere

zdhc_pid   integer  optional    

Example: 19

status   string  optional    
formulator_reference_id   string  optional    

Example: eius

formulator_name   string  optional    

Example: et

conformance_level_id   string  optional    

Example: sunt

ctz_level_id   string  optional    

Example: occaecati

product_use_type_id   string  optional    

Example: dolor

product_category_id   string  optional    

Example: adipisci

created_at   string  optional    

Example: fugiat

updated_at   string  optional    

Example: quia

sort   string  optional    

Show a chemical product

requires authentication

Returns one published chemical product assigned to this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/products/20-Z3X9V2N-1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/products/20-Z3X9V2N-1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};


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

Example response (200):


{
    "data": {
        "product_reference_id": "20-BYXCJ8NGFQXW-D",
        "name": "Alpha External Product",
        "formulator_reference_id": "01-FPMAZKUXS2FM-D",
        "formulator_name": "Chemical Formulator Alpha",
        "classifications": [
            {
                "use_type_name": "Softening agents",
                "category_name": "Textile Finishing Assistants",
                "substrate_name": "Textile"
            }
        ],
        "sds_url": "https://example.com/sds.pdf"
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (404):


Resource not found.
 

Request      

GET api/certification-bodies/v1/products/{product_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_reference_id   string     

Reference ID of the chemical product. Example: 20-Z3X9V2N-1

Accreditations

List of accreditations

requires authentication

Returns a paginated list of accreditations for this certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/accreditations?per_page=11&page=1&filter%5Bstandard_name%5D=suscipit&filter%5Bversion%5D=4&filter%5Blevel%5D=18&filter%5Bconformance_level_name%5D=recusandae&filter%5Bstatus%5D=FAILED&filter%5Baccredited_from%5D=%3C%3D+2026-08-09+13%3A40%3A02&filter%5Baccredited_until%5D=%3C+2026-08-11+13%3A40%3A02&filter%5Bcreated_at%5D=%3C%3D+2026-07-24+13%3A40%3A02&filter%5Bupdated_at%5D=%3C%3D+2026-08-09+13%3A40%3A02&search=laborum&sort=standard_name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"per_page\": 12,
    \"search\": \"nihil\",
    \"filter\": {
        \"standard_name\": \"explicabo\",
        \"version\": 5,
        \"level\": 4,
        \"conformance_level_name\": \"et\",
        \"accredited_from\": \"ab\",
        \"accredited_until\": \"harum\",
        \"created_at\": \"recusandae\",
        \"updated_at\": \"cupiditate\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/accreditations"
);

const params = {
    "per_page": "11",
    "page": "1",
    "filter[standard_name]": "suscipit",
    "filter[version]": "4",
    "filter[level]": "18",
    "filter[conformance_level_name]": "recusandae",
    "filter[status]": "FAILED",
    "filter[accredited_from]": "<= 2026-08-09 13:40:02",
    "filter[accredited_until]": "< 2026-08-11 13:40:02",
    "filter[created_at]": "<= 2026-07-24 13:40:02",
    "filter[updated_at]": "<= 2026-08-09 13:40:02",
    "search": "laborum",
    "sort": "standard_name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "per_page": 12,
    "search": "nihil",
    "filter": {
        "standard_name": "explicabo",
        "version": 5,
        "level": 4,
        "conformance_level_name": "et",
        "accredited_from": "ab",
        "accredited_until": "harum",
        "created_at": "recusandae",
        "updated_at": "cupiditate"
    }
};

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

Example response (200):


{
    "data": [
        {
            "standard_reference_id": "30-MKCPM88F2K8-E",
            "standard_name": "Brachi Testing Services",
            "version": "ZDHC MRSL v2.0",
            "level": 1,
            "accredited_from": null,
            "accredited_until": null,
            "ctz_foundational_approved": true,
            "ctz_progressive_approved": false,
            "ctz_aspirational_approved": false
        },
        {
            "standard_reference_id": "30-MKCPM88F2K8-E",
            "standard_name": "Brachi Testing Services",
            "version": "ZDHC MRSL v2.0",
            "level": 1,
            "accredited_from": null,
            "accredited_until": null,
            "ctz_foundational_approved": true,
            "ctz_progressive_approved": false,
            "ctz_aspirational_approved": false
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/certification-bodies/v1/accreditations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 11

page   integer  optional    

the page number to show. Example: 1

filter[standard_name]   string  optional    

Filter column standard_name by any accepted value. Filter by MRSL standard name Example: suscipit

filter[version]   integer  optional    

Filter column version by any accepted value. Filter by MRSL standard version Example: 4

filter[level]   integer  optional    

Filter column level by any accepted value. Filter by conformance level ID Example: 18

filter[conformance_level_name]   string  optional    

Filter column conformance_level_name by any accepted value. Filter by conformance level name Example: recusandae

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: FAILED

Must be one of:
  • FAILED
  • PASSED
filter[accredited_from]   datetime  optional    

Filter column accredited_from by any accepted value. Filter by accreditation start date Example: <= 2026-08-09 13:40:02

filter[accredited_until]   datetime  optional    

Filter column accredited_until by any accepted value. Filter by accreditation end date Example: < 2026-08-11 13:40:02

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by MRSL standard created date Example: <= 2026-07-24 13:40:02

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by MRSL standard updated date Example: <= 2026-08-09 13:40:02

search   string  optional    

Search in all of these columns: standard_name, version, conformance_level_name. Filter type: like. Example: laborum

sort   string  optional    

sort by any accepted column: standard_name, version, status, level, conformance_level_name, accredited_from, accredited_until, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: standard_name

Body Parameters

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 12

search   string  optional    

Example: nihil

filter   object  optional    
standard_name   string  optional    

Example: explicabo

version   integer  optional    

Example: 5

level   integer  optional    

Example: 4

conformance_level_name   string  optional    

Example: et

status   string  optional    
accredited_from   string  optional    

Example: ab

accredited_until   string  optional    

Example: harum

created_at   string  optional    

Example: recusandae

updated_at   string  optional    

Example: cupiditate

sort   string  optional    

Safety Data Sheets

Upload a safety data sheet

requires authentication

Uploads a safety data sheet PDF for an assigned product on behalf of the authenticated certification body.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/sds" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "product_reference_id=20-4A8W6RTZVM6L-X"\
    --form "file=@/tmp/phppjMeiI" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/sds"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('product_reference_id', '20-4A8W6RTZVM6L-X');
body.append('file', document.querySelector('input[name="file"]').files[0]);

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

Example response (200):


{
    "data": {
        "sds_id": 1042,
        "product_reference_id": "20-TNR2Y9QQ9GUD-O",
        "sds_url": "https://cdn.example.com/sds/cb-1042.pdf",
        "uploaded_at": "2026-06-10T09:00:00.000000Z"
    }
}
 

Example response (201):


Safety data sheet uploaded successfully.
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


Product is not assigned to this organisation.
 

Example response (403):


User does not have required permission.
 

Example response (404):


Product not found.
 

Example response (422):


Validation error
 

Request      

POST api/certification-bodies/v1/sds

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

product_reference_id   string     

Reference ID of the assigned chemical product. Must match the regex /^20-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 20-4A8W6RTZVM6L-X

file   file     

Safety data sheet PDF file. Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phppjMeiI

Download a safety data sheet

requires authentication

Downloads a safety data sheet for a product assigned to the authenticated certification body.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/sds/1042" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/certification-bodies/v1/sds/1042"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};


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

Example response (200):


file
 

Example response (401):


Token not found
 

Example response (403):


The organisation is not of the given types: ZDHC MRSL Certification Bodies
 

Example response (403):


User does not have required permission.
 

Example response (404):


Resource not found.
 

Request      

GET api/certification-bodies/v1/sds/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

Safety data sheet ID. Example: 1042

Chemical

Chemcheck Report

Show

requires authentication

Show the chemcheck report as a pdf

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/chemcheck-report" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/chemcheck-report"
);

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


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

Example response (200):


content of the pdf
 

Request      

GET api/organisation/{organisation_id}/chemical/product/{product_id}/chemcheck-report

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

product_id   integer     

The ID of the product. Example: 1

Chemcheck Summary Report

Show

requires authentication

Show the ChemCheck Summary report as a PDF.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/chemcheck-summary-report/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/chemcheck-summary-report/1"
);

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


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

Example response (200):


content of the pdf
 

Request      

GET api/organisation/{organisation_id}/chemical/chemcheck-summary-report/{subject_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

subject_id   integer     

The ID of the subject. Example: 1

Activity logs

Index

requires authentication

List available activity logs for chemical actions

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/activity-logs?sort=context-%3Eproduct_id&filter%5Bproduct_id%5D=9&filter%5Bproduct_reference_id%5D=quia&filter%5Bmrsl_standard_name%5D=sequi&filter%5Bmrsl_standard_reference_id%5D=amet&filter%5Bctz_level_name%5D=aliquam&filter%5Baction_type%5D=possimus&filter%5Buser_name%5D=ea&filter%5Bcreated_at%5D=nobis&column=context-%3Eproduct_id&search=sit&page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/activity-logs"
);

const params = {
    "sort": "context->product_id",
    "filter[product_id]": "9",
    "filter[product_reference_id]": "quia",
    "filter[mrsl_standard_name]": "sequi",
    "filter[mrsl_standard_reference_id]": "amet",
    "filter[ctz_level_name]": "aliquam",
    "filter[action_type]": "possimus",
    "filter[user_name]": "ea",
    "filter[created_at]": "nobis",
    "column": "context->product_id",
    "search": "sit",
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 82
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Chemical\\ChemicalActivityLogController@index",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/chemical/product/activity-logs

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

sort   string  optional    

sort by any accepted column: context->product_id, context->product_name, context->mrsl_standard_name, context->ctz_level_name, context->action_type, context->user_name, context->organisation_id, message, created_at. prefix a "-" before the column name to sort in descending order Example: context->product_id

filter[product_id]   integer  optional    

Filter column product_id by any accepted value. Filter by product ID Example: 9

filter[product_reference_id]   string  optional    

Filter column product_reference_id by any accepted value. Filter by product reference ID Example: quia

filter[mrsl_standard_name]   string  optional    

Filter column mrsl_standard_name by any accepted value. Filter by MRSL standard name Example: sequi

filter[mrsl_standard_reference_id]   string  optional    

Filter column mrsl_standard_reference_id by any accepted value. Filter by MRSL standard reference ID Example: amet

filter[ctz_level_name]   string  optional    

Filter column ctz_level_name by any accepted value. Filter by CTZ level name Example: aliquam

filter[action_type]   string  optional    

Filter column action_type by any accepted value. Filter by action type Example: possimus

filter[user_name]   string  optional    

Filter column user_name by any accepted value. Filter by user name Example: ea

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: nobis

column   string  optional    

get a distinct list of filterable values for any of the columns: context->product_id, context->product_reference_id, context->product_name, context->mrsl_standard_name, context->mrsl_standard_reference_id, context->ctz_level_name, context->action_type, context->user_name, context->organisation_id, message, created_at. Example: context->product_id

search   string  optional    

Search in all of these columns: message. Filter type: like. Example: sit

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 14

Inventory

Bulk Store

requires authentication

Create or update one or more chemical inventories and their products in a single request.

Inventories can only be submitted or modified within 45 days after the end of the reporting month. The submission window closes at the end of that period (the last eligible day is 45 days after the month ends).

For example, for April 2026 (reporting month ending 30 April 2026), the window closes on 14 June 2026. Requests for a reporting period after this date are rejected.

When the window has closed, the API responds with 422 Unprocessable Entity and a message such as: The deadline for submitting or modifying inventory for April 2026 has passed. Solution providers should surface this error to suppliers so they understand that resubmission is no longer possible for that period.

Inventories for a future reporting month are also rejected with 422 (The inventory date cannot be in the future.).

If a supplier takes no action on a submitted inventory within 45 days, the Performance InCheck is automatically published without requiring explicit supplier approval. This affects how solution providers should design polling and notification logic around submitted inventories awaiting supplier review.

Solution providers do not need to implement custom timeouts or trigger publish themselves — the platform runs a daily job that auto-publishes eligible inventories. Monitor inventory status via the API instead of enforcing your own deadline.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/bulk/store" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"inventories\": [
        {
            \"year\": 21,
            \"month\": 11,
            \"submit\": true,
            \"type\": \"delivery\",
            \"products\": [
                {
                    \"chemical_product_id\": 15,
                    \"formulator_name\": \"thle\",
                    \"name\": \"eum\",
                    \"weight\": 47
                }
            ]
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/bulk/store"
);

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

let body = {
    "inventories": [
        {
            "year": 21,
            "month": 11,
            "submit": true,
            "type": "delivery",
            "products": [
                {
                    "chemical_product_id": 15,
                    "formulator_name": "thle",
                    "name": "eum",
                    "weight": 47
                }
            ]
        }
    ]
};

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

Request      

POST api/organisation/{organisation_reference_id}/chemical/inventory/bulk/store

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Body Parameters

inventories   object[]     
year   integer     

Must be at least 2000. Must not be greater than 2100. Example: 21

month   integer     

Must be at least 1. Must not be greater than 12. Example: 11

submit   boolean  optional    

Example: true

type   string  optional    

Example: delivery

Must be one of:
  • usage
  • delivery
  • unspecified
products   object[]  optional    
chemical_product_id   integer  optional    

This field is required when inventories..products..name or inventories..products..formulator_name is not present. The id of an existing record in the chemical_products table. Example: 15

formulator_name   string  optional    

This field is required when inventories..products..chemical_product_id is not present. Must not be greater than 255 characters. Example: thle

name   string  optional    

This field is required when inventories..products..chemical_product_id is not present. Example: eum

weight   number     

Must be at least 0. Example: 47

Index

requires authentication

Show chemical inventories

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory?per_page=1&filter%5Bsupplier_id%5D=18&filter%5Byear%5D=19&filter%5Bmonth%5D=13&filter%5Bstatus%5D=saepe&filter%5Breference_id%5D=et&filter%5Btype%5D=dolore&sort=year&column=supplier_chemical_inventories.period&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory"
);

const params = {
    "per_page": "1",
    "filter[supplier_id]": "18",
    "filter[year]": "19",
    "filter[month]": "13",
    "filter[status]": "saepe",
    "filter[reference_id]": "et",
    "filter[type]": "dolore",
    "sort": "year",
    "column": "supplier_chemical_inventories.period",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "40-TXC26XKCC3V-Z",
            "submitting_user_id": null,
            "submitting_organisation_id": null,
            "supplier_id": 14419,
            "period": "2019-05-01T00:00:00.000000Z",
            "type": "unspecified",
            "status": "published",
            "auto_published": 0,
            "published_at": "2020-08-07T00:00:00.000000Z",
            "submitted_at": "2020-08-07T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-15T13:43:32.000000Z",
            "expected_expiration": "2020-09-20T23:59:59.999999Z",
            "publishable": false,
            "published_inventory": {
                "id": 1,
                "level": {
                    "id": 1,
                    "name": "Level 0",
                    "created_at": "2026-07-10T21:21:13.000000Z",
                    "updated_at": "2026-07-10T21:21:13.000000Z"
                }
            },
            "organisation": {
                "id": 14419,
                "maxio_customer_id": 316099,
                "reference_id": "01-6MTWAU3VVXC-T",
                "pdc_id": null,
                "gateway_aid": "A419RY42",
                "uuid": "53bdcb26-f7cd-4a20-baea-33076fb0a3a3",
                "type_id": 2,
                "status": "approved",
                "name": "Combined Fabrics Ltd",
                "legal_name": "Combined Fabrics Ltd",
                "address_1": "Atta Buksh Road (off Bank Stop) 17 KM Ferozpur Road Lahore",
                "address_2": null,
                "city": "Lahore",
                "state": "Punjab",
                "location": "PK",
                "zip": "54760",
                "phone": "009242111266246",
                "email": "raja.naukhaiz@combinedfabrics.com",
                "contact_first_name": "Waleed Yousaf",
                "contact_last_name": "Butt",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.combinedfabrics.com",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2018-05-08T06:00:48.000000Z",
                "updated_at": "2026-07-22T09:02:19.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "Pakistan"
            }
        },
        {
            "id": 1,
            "reference_id": "40-TXC26XKCC3V-Z",
            "submitting_user_id": null,
            "submitting_organisation_id": null,
            "supplier_id": 14419,
            "period": "2019-05-01T00:00:00.000000Z",
            "type": "unspecified",
            "status": "published",
            "auto_published": 0,
            "published_at": "2020-08-07T00:00:00.000000Z",
            "submitted_at": "2020-08-07T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-15T13:43:32.000000Z",
            "expected_expiration": "2020-09-20T23:59:59.999999Z",
            "publishable": false,
            "published_inventory": {
                "id": 1,
                "level": {
                    "id": 1,
                    "name": "Level 0",
                    "created_at": "2026-07-10T21:21:13.000000Z",
                    "updated_at": "2026-07-10T21:21:13.000000Z"
                }
            },
            "organisation": {
                "id": 14419,
                "maxio_customer_id": 316099,
                "reference_id": "01-6MTWAU3VVXC-T",
                "pdc_id": null,
                "gateway_aid": "A419RY42",
                "uuid": "53bdcb26-f7cd-4a20-baea-33076fb0a3a3",
                "type_id": 2,
                "status": "approved",
                "name": "Combined Fabrics Ltd",
                "legal_name": "Combined Fabrics Ltd",
                "address_1": "Atta Buksh Road (off Bank Stop) 17 KM Ferozpur Road Lahore",
                "address_2": null,
                "city": "Lahore",
                "state": "Punjab",
                "location": "PK",
                "zip": "54760",
                "phone": "009242111266246",
                "email": "raja.naukhaiz@combinedfabrics.com",
                "contact_first_name": "Waleed Yousaf",
                "contact_last_name": "Butt",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.combinedfabrics.com",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2018-05-08T06:00:48.000000Z",
                "updated_at": "2026-07-22T09:02:19.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "Pakistan"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/inventory

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 1

filter[supplier_id]   integer  optional    

Filter column supplier_id by any accepted value. Matches part of the value. Example: 18

filter[year]   integer  optional    

Filter column year by any accepted value. Matches part of the value. Example: 19

filter[month]   integer  optional    

Filter column month by any accepted value. Matches part of the value. Example: 13

filter[status]   string  optional    

Filter column status by any accepted value. Matches part of the value. Example: saepe

filter[reference_id]   string  optional    

Filter column reference_id by any accepted value. Matches part of the value. Example: et

filter[submitting_organisation.name]   string  optional    

Filter column submitting_organisation.name by any accepted value. Matches part of the value. Example: ut

filter[submitting_organisation.id]   string  optional    

Filter column submitting_organisation.id by any accepted value. Matches part of the value. Example: ducimus

filter[organisations.name]   string  optional    

Filter column organisations.name by any accepted value. Matches part of the value. Example: est

filter[organisations.reference_id]   string  optional    

Filter column organisations.reference_id by any accepted value. Matches part of the value. Example: mollitia

filter[incheck_levels.name]   string  optional    

Filter column incheck_levels.name by any accepted value. Matches part of the value. Example: rerum

filter[type]   string  optional    

Filter column type by any accepted value. Matches part of the value. Example: dolore

sort   string  optional    

sort by any accepted column: year, month, status, type, reference_id, submitting_organisation_name, incheck_level_name, products_count, organisations.name, organisations.reference_id. prefix a "-" before the column name to sort in descending order Example: year

column   string  optional    

get a distinct list of filterable values for any of the columns: supplier_chemical_inventories.period, supplier_chemical_inventories.reference_id, supplier_chemical_inventories.status, supplier_chemical_inventories.type, submitting_organisation.name, organisations.name, organisations.reference_id, incheck_levels.name. Example: supplier_chemical_inventories.period

page   integer  optional    

the page number to show. Example: 1

Destroy

requires authentication

Delete a chemical inventory

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/tempore" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/tempore"
);

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


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

Request      

DELETE api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: tempore

Decline

requires authentication

Decline a chemical inventory

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/consequatur/decline" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason\": \"Data inaccuracy detected\",
    \"additional_info\": \"et\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/consequatur/decline"
);

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

let body = {
    "reason": "Data inaccuracy detected",
    "additional_info": "et"
};

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

Request      

POST api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/decline

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: consequatur

Body Parameters

reason   string     

Example: Data inaccuracy detected

Must be one of:
  • Data inaccuracy detected
  • Incomplete product information
  • Non-compliance with MRSL requirements
  • Missing supporting documentation
  • Duplicate submission
  • Out of reporting period scope
  • Other (please specify below)
additional_info   string  optional    

Example: et

Publish

requires authentication

Publish a chemical inventory. Only one report can be published per month. Higher-level reports can upgrade (replace) lower-level published reports.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/eos/publish" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/eos/publish"
);

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


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

Request      

POST api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/publish

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: eos

Inventory Product

Index

requires authentication

List all products of a given inventory

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/cupiditate/product?per_page=1&search=aperiam&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/cupiditate/product"
);

const params = {
    "per_page": "1",
    "search": "aperiam",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "supplier_chemical_inventory_id": 1,
            "chemical_product_id": null,
            "formulator_name": "",
            "weight": 0,
            "name": "[No product name] #584543",
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-14T14:43:02.000000Z",
            "original_product": null
        },
        {
            "id": 1,
            "supplier_chemical_inventory_id": 1,
            "chemical_product_id": null,
            "formulator_name": "",
            "weight": 0,
            "name": "[No product name] #584543",
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-14T14:43:02.000000Z",
            "original_product": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/product

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: cupiditate

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 1

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: aperiam

page   integer  optional    

the page number to show. Example: 1

Store

requires authentication

Store a custom product

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/praesentium/product" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"chemical_product_id\": 10,
    \"formulator_name\": \"hbqns\",
    \"name\": \"velit\",
    \"weight\": 84
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/praesentium/product"
);

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

let body = {
    "chemical_product_id": 10,
    "formulator_name": "hbqns",
    "name": "velit",
    "weight": 84
};

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

Request      

POST api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/product

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: praesentium

Body Parameters

chemical_product_id   integer  optional    

This field is required when name or formulator_name is not present. The id of an existing record in the chemical_products table. Example: 10

formulator_name   string  optional    

This field is required when chemical_product_id is not present. Must not be greater than 255 characters. Example: hbqns

name   string  optional    

This field is required when chemical_product_id is not present. Example: velit

weight   number     

Numeric weight. Must be zero or greater, with at most 2 decimal places (e.g. 1.5, 10, 0.25). Must be at least 0. Example: 84

Update

requires authentication

Update a custom product

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/qui/product/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"chemical_product_id\": 14,
    \"formulator_name\": \"swbzbcneoisyhrpjxwvinic\",
    \"name\": \"nemo\",
    \"weight\": 17
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/qui/product/1"
);

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

let body = {
    "chemical_product_id": 14,
    "formulator_name": "swbzbcneoisyhrpjxwvinic",
    "name": "nemo",
    "weight": 17
};

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

Request      

PUT api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/product/{id}

PATCH api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/product/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: qui

id   integer     

The ID of the product. Example: 1

Body Parameters

chemical_product_id   integer  optional    

This field is required when name or formulator_name is not present. The id of an existing record in the chemical_products table. Example: 14

formulator_name   string  optional    

This field is required when chemical_product_id is not present. Must not be greater than 255 characters. Example: swbzbcneoisyhrpjxwvinic

name   string  optional    

This field is required when chemical_product_id is not present. Example: nemo

weight   number     

Numeric weight. Must be zero or greater, with at most 2 decimal places (e.g. 1.5, 10, 0.25). Must be at least 0. Example: 17

Destroy

requires authentication

Destroy a custom product

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/omnis/product/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/omnis/product/1"
);

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


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

Request      

DELETE api/organisation/{organisation_reference_id}/chemical/inventory/{chemical_inventory_reference_id}/product/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: omnis

id   integer     

The ID of the product. Example: 1

Product

Index

requires authentication

Get Products

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product?per_page=18&page=1&filter%5Bconformance_level_id%5D=16&filter%5Bctz_level_id%5D=9&search=quis&sort=chemical_products.id&column=chemical_products.id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filter\": {
        \"name\": \"meokqrlh\",
        \"organisations__dot__id0nYdhRqwA9kXxSname\": \"fnouwrwwfmpgwayyvwvmqjezoymhsstxfcgwtdpdfxpwfxoevqoavqiqwelnvmiklemeaqisxaqvglyeokhusjrky\"
    },
    \"search\": \"oscqtcnglzuzsmdwcveeddwqppskdwpulwhrdnntctolvzuljhgavpydkcjgqnydxxmvtloobddfcocwgco\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product"
);

const params = {
    "per_page": "18",
    "page": "1",
    "filter[conformance_level_id]": "16",
    "filter[ctz_level_id]": "9",
    "search": "quis",
    "sort": "chemical_products.id",
    "column": "chemical_products.id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "filter": {
        "name": "meokqrlh",
        "organisations__dot__id0nYdhRqwA9kXxSname": "fnouwrwwfmpgwayyvwvmqjezoymhsstxfcgwtdpdfxpwfxoevqoavqiqwelnvmiklemeaqisxaqvglyeokhusjrky"
    },
    "search": "oscqtcnglzuzsmdwcveeddwqppskdwpulwhrdnntctolvzuljhgavpydkcjgqnydxxmvtloobddfcocwgco"
};

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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "organisation_id": 16676,
            "zdhc_pid": "P848YD34",
            "name": "AKRIL 2000 [P848YD34]",
            "version": 1,
            "description": null,
            "alternate_names": [
                "P848YD34"
            ],
            "conformance_level_id": null,
            "ctz_level_id": null,
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "sds_url": null,
            "website_url": null,
            "qr_code_path": null,
            "qr_target_url": null,
            "created_at": "2025-01-22T00:00:00.000000Z",
            "updated_at": "2026-07-10T21:23:36.000000Z",
            "technical_data_sheet_url": "",
            "conformance_level": null,
            "ctz_level": null
        },
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "organisation_id": 16676,
            "zdhc_pid": "P848YD34",
            "name": "AKRIL 2000 [P848YD34]",
            "version": 1,
            "description": null,
            "alternate_names": [
                "P848YD34"
            ],
            "conformance_level_id": null,
            "ctz_level_id": null,
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "sds_url": null,
            "website_url": null,
            "qr_code_path": null,
            "qr_target_url": null,
            "created_at": "2025-01-22T00:00:00.000000Z",
            "updated_at": "2026-07-10T21:23:36.000000Z",
            "technical_data_sheet_url": "",
            "conformance_level": null,
            "ctz_level": null
        }
    ]
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 18

page   integer  optional    

the page number to show. Example: 1

filter[chemical_products.name]   string  optional    

Filter column chemical_products.name by any accepted value. Filter by name Example: dolores

filter[chemical_products.zdhc_pid]   integer  optional    

Filter column chemical_products.zdhc_pid by any accepted value. Filter by ZDHC PID Example: 1

filter[chemical_products.status]   string  optional    

Filter column chemical_products.status by any accepted value. Filter by status Example: temporibus

filter[chemical_products.publication_status]   string  optional    

Filter column chemical_products.publication_status by any accepted value. Filter by publication status Example: tempore

filter[organisations.name]   string  optional    

Filter column organisations.name by any accepted value. Filter by organisation name Example: cupiditate

filter[conformance_level_id]   integer  optional    

Filter column conformance_level_id by any accepted value. Filter by conformance level IDs Example: 16

filter[ctz_level_id]   integer  optional    

Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs Example: 9

filter[chemical_products.created_at]   datetime  optional    

Filter column chemical_products.created_at by any accepted value. Filter by created date Example: numquam

filter[chemical_products.updated_at]   datetime  optional    

Filter column chemical_products.updated_at by any accepted value. Filter by updated date Example: veniam

filter[product_use_types.id]   integer  optional    

Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed) Example: 8

filter[product_categories.id]   integer  optional    

Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed) Example: 3

filter[organisations.reference_id]   string  optional    

Filter column organisations.reference_id by any accepted value. Filter by organisation reference ID Example: praesentium

search   string  optional    

Search in all of these columns: chemical_products.name, chemical_products.alternate_names, chemical_products.zdhc_pid, organisations.reference_id, organisations.name. Filter type: like. Example: quis

sort   string  optional    

sort by any accepted column: chemical_products.id, chemical_products.name, chemical_products.version, chemical_products.status, chemical_products.publication_status, chemical_products.zdhc_pid, conformance_level_name, ctz_level_name, organisation_reference_id, organisation_name, chemical_products.created_at, chemical_products.updated_at. prefix a "-" before the column name to sort in descending order Example: chemical_products.id

column   string  optional    

get a distinct list of filterable values for any of the columns: chemical_products.id, chemical_products.name, chemical_products.version, chemical_products.status, chemical_products.publication_status, ctz_level_name, conformance_level_name, organisation_reference_id, organisation_name, chemical_products.created_at, chemical_products.updated_at. Example: chemical_products.id

Body Parameters

filter   object  optional    
name   string  optional    

Must be at least 4 characters. Example: meokqrlh

organisations__dot__id0nYdhRqwA9kXxSname   string  optional    

Must be at least 1 character. Example: fnouwrwwfmpgwayyvwvmqjezoymhsstxfcgwtdpdfxpwfxoevqoavqiqwelnvmiklemeaqisxaqvglyeokhusjrky

search   string  optional    

Must be at least 1 character. Example: oscqtcnglzuzsmdwcveeddwqppskdwpulwhrdnntctolvzuljhgavpydkcjgqnydxxmvtloobddfcocwgco

Search by name cached

requires authentication

Search all products by name cached

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/search-by-name-cached?filter%5Bname%5D=omnis&per_page=15&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filter\": {
        \"name\": \"mkhslzwrtjssshqkuvfydidgvzcqitlj\",
        \"organisations__dot__id0nYdhRqwA9kXxSname\": \"znn\"
    },
    \"search\": \"qezuwljuddsrsbyobiyxldqxwugriffxhvahesccdmfc\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/search-by-name-cached"
);

const params = {
    "filter[name]": "omnis",
    "per_page": "15",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "filter": {
        "name": "mkhslzwrtjssshqkuvfydidgvzcqitlj",
        "organisations__dot__id0nYdhRqwA9kXxSname": "znn"
    },
    "search": "qezuwljuddsrsbyobiyxldqxwugriffxhvahesccdmfc"
};

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

Example response (200):


{
    "data": [
        {
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "name": "AKRIL 2000 [P848YD34]"
        },
        {
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "name": "AKRIL 2000 [P848YD34]"
        }
    ]
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/search-by-name-cached

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Query Parameters

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: omnis

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 15

page   integer  optional    

the page number to show. Example: 1

Body Parameters

filter   object  optional    
name   string  optional    

Must be at least 4 characters. Example: mkhslzwrtjssshqkuvfydidgvzcqitlj

organisations__dot__id0nYdhRqwA9kXxSname   string  optional    

Must be at least 1 character. Example: znn

search   string  optional    

Must be at least 1 character. Example: qezuwljuddsrsbyobiyxldqxwugriffxhvahesccdmfc

Destroy

requires authentication

Destroy a product

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/dolore" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/dolore"
);

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


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

Example response (200):


{
    "message": "Product deleted successfully."
}
 

Request      

DELETE api/organisation/{organisation_reference_id}/chemical/product/{reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

reference_id   string     

The ID of the reference. Example: dolore

Download Safety Data Sheet (by id, product owner context)

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/1"
);

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


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

Example response (200):


file
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/{product_id}/safety-data-sheet/{safetyDataSheet_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_id   integer     

The ID of the product. Example: 1

safetyDataSheet_id   integer     

The ID of the safetyDataSheet. Example: 1

Download Technical Data Sheet

requires authentication

Download a technical data sheet

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet"
);

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


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

Example response (200):


file
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/{product_id}/technical-data-sheet

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_id   integer     

The ID of the product. Example: 1

Product public profile

Download Public Safety Data Sheet

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/public" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/public"
);

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


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

Example response (200):


file
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/{product_id}/safety-data-sheet/public

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_id   integer     

The ID of the product. Example: 1

Public product profile

requires authentication

Get a public product profile

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/public-profile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/public-profile"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "20-MJQ7RDF6BBYE-J",
        "organisation": {
            "id": 16676,
            "reference_id": "01-VQDTJVS3L2Z-K",
            "type_id": 6,
            "name": "RON BOYA VE KİMYA SANAYİ TİCARET",
            "address_1": "Deliklikaya Cad. No:47/B Hadımköy/Arnavutköy İSTANBUL",
            "address_2": null,
            "city": "Arnavutkoy",
            "state": "Istanbul",
            "location": "US",
            "zip": "34555",
            "phone": "+902127752304",
            "email": "emir@ron-kimya.com",
            "website": "https://www.ron-kimya.com",
            "avatar_url": null,
            "location_name": "United States"
        },
        "name": "AKRIL 2000 [P848YD34]",
        "description": null,
        "alternate_names": [
            "P848YD34"
        ],
        "version": 1,
        "status": "DRAFT",
        "technical_data_sheet_url": null,
        "conformance_level": null,
        "ctz_level": null,
        "classifications": [
            {
                "id": 242842,
                "product_use_type": {
                    "id": 55,
                    "name": "Bleaching Auxiliaries",
                    "is_inactive": 0,
                    "created_at": "2026-07-10T21:52:32.000000Z",
                    "updated_at": "2026-07-10T21:52:32.000000Z"
                },
                "product_category": {
                    "id": 50,
                    "name": "Pretreatment Agents",
                    "is_inactive": 0,
                    "created_at": "2026-07-10T21:52:32.000000Z",
                    "updated_at": "2026-07-10T21:52:32.000000Z"
                },
                "product_substrate": {
                    "id": 6,
                    "name": "Textile",
                    "is_inactive": 0,
                    "created_at": "2026-07-10T21:52:32.000000Z",
                    "updated_at": "2026-07-10T21:52:32.000000Z"
                },
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z"
            }
        ],
        "sds_visibility": null,
        "sds_url": null,
        "website_url": null
    }
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/{product_id}/public-profile

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_id   integer     

The ID of the product. Example: 1

Download Public Technical Data Sheet

requires authentication

Download a public technical data sheet

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet/public" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet/public"
);

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


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

Example response (200):


file
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product/{product_id}/technical-data-sheet/public

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_id   integer     

The ID of the product. Example: 1

Product Flag

Store

requires authentication

Flag a chemical product or certification

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/flag" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"relation_type\": \"CHEMICAL_PRODUCT\",
    \"relation_id\": 54,
    \"note\": \"perferendis\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/flag"
);

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

let body = {
    "relation_type": "CHEMICAL_PRODUCT",
    "relation_id": 54,
    "note": "perferendis"
};

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

Example response (200):


{
    "data": {
        "id": null,
        "relation_id": null,
        "note": null,
        "created_at": null,
        "updated_at": null
    }
}
 

Request      

POST api/organisation/{organisation_reference_id}/chemical/product/flag

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Body Parameters

relation_type   string     

Example: CHEMICAL_PRODUCT

Must be one of:
  • CHEMICAL_PRODUCT
  • MRSL_CERTIFICATION
  • CTZ_CERTIFICATION
relation_id   integer     

Must be at least 1. Example: 54

note   string     

Example: perferendis

Product Assignment

Index

requires authentication

Get Product Assignments

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment?per_page=3&page=1&filter%5Bname%5D=eos&filter%5Breference_id%5D=perferendis&filter%5Bzdhc_pid%5D=2&filter%5Bstatus%5D=DRAFT&filter%5Bassignment_status%5D=UNDER_REVIEW&filter%5Borganisation_id%5D=6&filter%5Bmax_conformance_level_id%5D=9&filter%5Bmax_ctz_level_id%5D=3&filter%5Bcreated_at%5D=qui&filter%5Bupdated_at%5D=doloremque&search=officia&sort=id&column=id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment"
);

const params = {
    "per_page": "3",
    "page": "1",
    "filter[name]": "eos",
    "filter[reference_id]": "perferendis",
    "filter[zdhc_pid]": "2",
    "filter[status]": "DRAFT",
    "filter[assignment_status]": "UNDER_REVIEW",
    "filter[organisation_id]": "6",
    "filter[max_conformance_level_id]": "9",
    "filter[max_ctz_level_id]": "3",
    "filter[created_at]": "qui",
    "filter[updated_at]": "doloremque",
    "search": "officia",
    "sort": "id",
    "column": "id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "organisation_id": 16676,
            "zdhc_pid": "P848YD34",
            "name": "AKRIL 2000 [P848YD34]",
            "version": 1,
            "description": null,
            "alternate_names": [
                "P848YD34"
            ],
            "conformance_level_id": null,
            "ctz_level_id": null,
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "sds_url": null,
            "website_url": null,
            "qr_code_path": null,
            "qr_target_url": null,
            "created_at": "2025-01-22T00:00:00.000000Z",
            "updated_at": "2026-07-10T21:23:36.000000Z",
            "technical_data_sheet_url": "",
            "conformance_level": null,
            "ctz_level": null
        },
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "organisation_id": 16676,
            "zdhc_pid": "P848YD34",
            "name": "AKRIL 2000 [P848YD34]",
            "version": 1,
            "description": null,
            "alternate_names": [
                "P848YD34"
            ],
            "conformance_level_id": null,
            "ctz_level_id": null,
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "sds_url": null,
            "website_url": null,
            "qr_code_path": null,
            "qr_target_url": null,
            "created_at": "2025-01-22T00:00:00.000000Z",
            "updated_at": "2026-07-10T21:23:36.000000Z",
            "technical_data_sheet_url": "",
            "conformance_level": null,
            "ctz_level": null
        }
    ]
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product-assignment

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 3

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: eos

filter[reference_id]   string  optional    

Filter column reference_id by any accepted value. Filter by reference ID Example: perferendis

filter[zdhc_pid]   integer  optional    

Filter column zdhc_pid by any accepted value. Filter by ZDHC PID Example: 2

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: DRAFT

Must be one of:
  • DRAFT
  • UNDER_REVIEW
  • ACCEPTED
  • NOT_ACCEPTED
  • DELETED
filter[assignment_status]   string  optional    

Filter column assignment_status by any accepted value. Matches exact value. Example: UNDER_REVIEW

Must be one of:
  • UNDER_REVIEW
  • ACCEPTED
  • EXPIRED
  • DECLINED
filter[organisation_id]   integer  optional    

Filter column organisation_id by any accepted value. Filter by product organisation ID Example: 6

filter[max_conformance_level_id]   integer  optional    

Filter column max_conformance_level_id by any accepted value. Filter by max conformance level IDs from assignment Example: 9

filter[max_ctz_level_id]   integer  optional    

Filter column max_ctz_level_id by any accepted value. Filter by max CTZ level IDs from assignment Example: 3

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: qui

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: doloremque

filter[product_use_types.id]   integer  optional    

Filter column product_use_types.id by any accepted value. Filter by use type ID (multiple selection allowed) Example: 19

filter[product_categories.id]   integer  optional    

Filter column product_categories.id by any accepted value. Filter by use type category ID (multiple selection allowed) Example: 11

search   string  optional    

Search in all of these columns: name, alternate_names, reference_id, zdhc_pid. Filter type: like. Example: officia

sort   string  optional    

sort by any accepted column: id, name, version, status, assignment_status, zdhc_pid, conformance_level_name, ctz_level_name, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: id

column   string  optional    

get a distinct list of filterable values for any of the columns: id, name, version, status, assignment_status, ctz_level_name, conformance_level_name, created_at, updated_at. Example: id

Show MRSL Certification

requires authentication

Show a product assignment MRSL certification

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/recusandae/certification/modi" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/recusandae/certification/modi"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "chemical_product_id": 224419,
        "certification_body_id": 7982,
        "safety_data_sheet_id": 89559,
        "mrsl_standard_id": 266,
        "status": "ACTIVE",
        "certificate_number": null,
        "certificate_issue_date": "2026-03-02T00:00:00.000000Z",
        "certificate_end_date": "2027-01-31T00:00:00.000000Z",
        "gateway_active_until": "2027-01-31T00:00:00.000000Z",
        "certificate_result": null,
        "created_at": "2026-03-06T00:00:00.000000Z",
        "updated_at": "2026-03-06T00:00:00.000000Z",
        "ctz_certification": {
            "id": 1,
            "chemical_product_id": 224419,
            "certification_body_id": 7982,
            "safety_data_sheet_id": 89559,
            "ctz_level_id": 1,
            "status": "ACTIVE",
            "product_mrsl_certification_id": 1,
            "created_at": "2026-03-06T00:00:00.000000Z",
            "updated_at": "2026-03-06T00:00:00.000000Z",
            "ctz_level": {
                "id": 1,
                "name": "Foundational",
                "created_at": "2026-07-10T21:21:08.000000Z",
                "updated_at": "2026-07-10T21:21:08.000000Z"
            },
            "safety_data_sheet": {
                "id": 89559,
                "file_name": "MSDS YELLOW RNL 150%.pdf",
                "mime_type": "application/octet-stream",
                "file_size": "0",
                "locale": "en",
                "version": 1,
                "chemical_product_id": 224419,
                "organisation_id": 6327,
                "created_at": "2019-06-20T08:55:18.000000Z",
                "updated_at": "2020-03-03T10:26:35.000000Z",
                "file_url": "",
                "chemical_product": {
                    "id": 224419,
                    "reference_id": "20-4G9DTFRJWQ72-I",
                    "organisation_id": 6327,
                    "zdhc_pid": "P397IA55",
                    "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                    "version": 1,
                    "description": null,
                    "alternate_names": [
                        "P397IA55"
                    ],
                    "conformance_level_id": 3,
                    "ctz_level_id": 1,
                    "status": "ACCEPTED",
                    "publication_status": "PUBLISHED",
                    "sds_url": null,
                    "website_url": null,
                    "qr_code_path": null,
                    "qr_target_url": null,
                    "created_at": "2019-06-20T00:00:00.000000Z",
                    "updated_at": "2026-07-10T21:21:27.000000Z",
                    "technical_data_sheet_url": ""
                }
            }
        },
        "mrsl_standard": {
            "id": 266,
            "reference_id": "30-B46CH3KJXUP-U",
            "name": "OEKO-TEX® Service GmbH ECO PASSPORT - Level 3",
            "version": "ZDHC MRSL v3.1",
            "conformance_level_id": 3,
            "start_date": "1900-01-01T00:00:00.000000Z",
            "end_date": "2198-08-31T00:00:00.000000Z",
            "status": "PASSED",
            "created_at": "2026-07-10T21:21:17.000000Z",
            "updated_at": "2026-07-10T21:21:17.000000Z"
        },
        "safety_data_sheet": {
            "id": 89559,
            "file_name": "MSDS YELLOW RNL 150%.pdf",
            "mime_type": "application/octet-stream",
            "file_size": "0",
            "locale": "en",
            "version": 1,
            "chemical_product_id": 224419,
            "organisation_id": 6327,
            "created_at": "2019-06-20T08:55:18.000000Z",
            "updated_at": "2020-03-03T10:26:35.000000Z",
            "file_url": "",
            "chemical_product": {
                "id": 224419,
                "reference_id": "20-4G9DTFRJWQ72-I",
                "organisation_id": 6327,
                "zdhc_pid": "P397IA55",
                "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                "version": 1,
                "description": null,
                "alternate_names": [
                    "P397IA55"
                ],
                "conformance_level_id": 3,
                "ctz_level_id": 1,
                "status": "ACCEPTED",
                "publication_status": "PUBLISHED",
                "sds_url": null,
                "website_url": null,
                "qr_code_path": null,
                "qr_target_url": null,
                "created_at": "2019-06-20T00:00:00.000000Z",
                "updated_at": "2026-07-10T21:21:27.000000Z",
                "technical_data_sheet_url": ""
            }
        },
        "certification_body": {
            "id": 7982,
            "maxio_customer_id": 309729,
            "reference_id": "01-EP94FRKJ6UB-Z",
            "pdc_id": null,
            "gateway_aid": "A713FG39",
            "uuid": "d928e536-6568-46e2-b3a7-fbb9cd49b4ff",
            "type_id": 7,
            "status": "approved",
            "name": "OEKO-TEX® Service GmbH",
            "legal_name": "OEKO-TEX® Service GmbH",
            "address_1": "Gutenbergstrasse 1, Zürich 8002 Switzerland",
            "address_2": null,
            "city": "Zurich",
            "state": "Zurich",
            "location": "CH",
            "zip": "8002",
            "phone": "+ 41 44 501 26 03",
            "email": "j.wehrli@oekotex.com",
            "contact_first_name": "Jonathan",
            "contact_last_name": "Wehrli",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2020-01-03T00:00:00.000000Z",
            "updated_at": "2026-07-22T08:38:11.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "Switzerland"
        }
    }
}
 

Request      

GET api/organisation/{organisation_reference_id}/chemical/product-assignment/{product_assignment_id}/certification/{product_mrsl_certification_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_assignment_id   string     

The ID of the product assignment. Example: recusandae

product_mrsl_certification_id   string     

The ID of the product mrsl certification. Example: modi

Bulk Create

requires authentication

Bulk-create product assignment certifications from a semicolon-delimited CSV file.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/bulk-create" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "csv=@/tmp/phpJGaNcN" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/bulk-create"
);

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

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

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

Example response (200, All CSV rows were created successfully.):


{
    "message": "Product assignment certifications created successfully",
    "data": {
        "submitted_count": 2,
        "created_count": 2,
        "created_ids": [
            101
        ],
        "not_createable_count": 0,
        "errors": []
    }
}
 

Example response (200, Some CSV rows could not be created; failed rows appear under `errors`. Same response shape as full success.):


{
    "message": "Product assignment certifications partially created",
    "data": {
        "submitted_count": 2,
        "created_count": 1,
        "created_ids": [
            101
        ],
        "not_createable_count": 1,
        "errors": [
            {
                "row": 3,
                "product_reference_id": "PRD-001",
                "certification_body_reference_id": "CB-001",
                "standard_reference_id": "STD-001",
                "errors": {
                    "product_reference_id": [
                        "Product assignment is already declined"
                    ]
                }
            }
        ]
    }
}
 

Request      

POST api/organisation/{organisation_reference_id}/chemical/product-assignment/bulk-create

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

Body Parameters

csv   file     

Delimited CSV file using ; as delimiter, maximum file size 20480 KB (20 MB), and header: product_reference_id, certification_body_reference_id, standard_reference_id, ctz_level_id, certificate_number, certificate_result, certificate_issue_date, certificate_end_date. Must be a file. Must not be greater than 20480 kilobytes. Example: /tmp/phpJGaNcN

rows   object     

Must have at least 1 items. Must not have more than 10000 items.

Create

requires authentication

Create a product assignment certification

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/sed/certification" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "certificate_number=1234567890"\
    --form "certificate_result=Pass"\
    --form "certificate_end_date=2026-01-01"\
    --form "certificate_issue_date=2026-01-01"\
    --form "mrsl_standard_id=1"\
    --form "ctz_level_id=1"\
    --form "safety_data_sheet_id=1"\
    --form "safety_data_sheet=@/tmp/phpDcnekN" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/sed/certification"
);

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

const body = new FormData();
body.append('certificate_number', '1234567890');
body.append('certificate_result', 'Pass');
body.append('certificate_end_date', '2026-01-01');
body.append('certificate_issue_date', '2026-01-01');
body.append('mrsl_standard_id', '1');
body.append('ctz_level_id', '1');
body.append('safety_data_sheet_id', '1');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);

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

Example response (200):


{
    "data": {
        "id": 1,
        "chemical_product_id": 224419,
        "certification_body_id": 7982,
        "safety_data_sheet_id": 89559,
        "mrsl_standard_id": 266,
        "status": "ACTIVE",
        "certificate_number": null,
        "certificate_issue_date": "2026-03-02T00:00:00.000000Z",
        "certificate_end_date": "2027-01-31T00:00:00.000000Z",
        "gateway_active_until": "2027-01-31T00:00:00.000000Z",
        "certificate_result": null,
        "created_at": "2026-03-06T00:00:00.000000Z",
        "updated_at": "2026-03-06T00:00:00.000000Z",
        "ctz_certification": {
            "id": 1,
            "chemical_product_id": 224419,
            "certification_body_id": 7982,
            "safety_data_sheet_id": 89559,
            "ctz_level_id": 1,
            "status": "ACTIVE",
            "product_mrsl_certification_id": 1,
            "created_at": "2026-03-06T00:00:00.000000Z",
            "updated_at": "2026-03-06T00:00:00.000000Z",
            "ctz_level": {
                "id": 1,
                "name": "Foundational",
                "created_at": "2026-07-10T21:21:08.000000Z",
                "updated_at": "2026-07-10T21:21:08.000000Z"
            },
            "safety_data_sheet": {
                "id": 89559,
                "file_name": "MSDS YELLOW RNL 150%.pdf",
                "mime_type": "application/octet-stream",
                "file_size": "0",
                "locale": "en",
                "version": 1,
                "chemical_product_id": 224419,
                "organisation_id": 6327,
                "created_at": "2019-06-20T08:55:18.000000Z",
                "updated_at": "2020-03-03T10:26:35.000000Z",
                "file_url": "",
                "chemical_product": {
                    "id": 224419,
                    "reference_id": "20-4G9DTFRJWQ72-I",
                    "organisation_id": 6327,
                    "zdhc_pid": "P397IA55",
                    "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                    "version": 1,
                    "description": null,
                    "alternate_names": [
                        "P397IA55"
                    ],
                    "conformance_level_id": 3,
                    "ctz_level_id": 1,
                    "status": "ACCEPTED",
                    "publication_status": "PUBLISHED",
                    "sds_url": null,
                    "website_url": null,
                    "qr_code_path": null,
                    "qr_target_url": null,
                    "created_at": "2019-06-20T00:00:00.000000Z",
                    "updated_at": "2026-07-10T21:21:27.000000Z",
                    "technical_data_sheet_url": ""
                }
            }
        },
        "mrsl_standard": {
            "id": 266,
            "reference_id": "30-B46CH3KJXUP-U",
            "name": "OEKO-TEX® Service GmbH ECO PASSPORT - Level 3",
            "version": "ZDHC MRSL v3.1",
            "conformance_level_id": 3,
            "start_date": "1900-01-01T00:00:00.000000Z",
            "end_date": "2198-08-31T00:00:00.000000Z",
            "status": "PASSED",
            "created_at": "2026-07-10T21:21:17.000000Z",
            "updated_at": "2026-07-10T21:21:17.000000Z"
        },
        "safety_data_sheet": {
            "id": 89559,
            "file_name": "MSDS YELLOW RNL 150%.pdf",
            "mime_type": "application/octet-stream",
            "file_size": "0",
            "locale": "en",
            "version": 1,
            "chemical_product_id": 224419,
            "organisation_id": 6327,
            "created_at": "2019-06-20T08:55:18.000000Z",
            "updated_at": "2020-03-03T10:26:35.000000Z",
            "file_url": "",
            "chemical_product": {
                "id": 224419,
                "reference_id": "20-4G9DTFRJWQ72-I",
                "organisation_id": 6327,
                "zdhc_pid": "P397IA55",
                "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                "version": 1,
                "description": null,
                "alternate_names": [
                    "P397IA55"
                ],
                "conformance_level_id": 3,
                "ctz_level_id": 1,
                "status": "ACCEPTED",
                "publication_status": "PUBLISHED",
                "sds_url": null,
                "website_url": null,
                "qr_code_path": null,
                "qr_target_url": null,
                "created_at": "2019-06-20T00:00:00.000000Z",
                "updated_at": "2026-07-10T21:21:27.000000Z",
                "technical_data_sheet_url": ""
            }
        },
        "certification_body": {
            "id": 7982,
            "maxio_customer_id": 309729,
            "reference_id": "01-EP94FRKJ6UB-Z",
            "pdc_id": null,
            "gateway_aid": "A713FG39",
            "uuid": "d928e536-6568-46e2-b3a7-fbb9cd49b4ff",
            "type_id": 7,
            "status": "approved",
            "name": "OEKO-TEX® Service GmbH",
            "legal_name": "OEKO-TEX® Service GmbH",
            "address_1": "Gutenbergstrasse 1, Zürich 8002 Switzerland",
            "address_2": null,
            "city": "Zurich",
            "state": "Zurich",
            "location": "CH",
            "zip": "8002",
            "phone": "+ 41 44 501 26 03",
            "email": "j.wehrli@oekotex.com",
            "contact_first_name": "Jonathan",
            "contact_last_name": "Wehrli",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2020-01-03T00:00:00.000000Z",
            "updated_at": "2026-07-22T08:38:11.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "Switzerland"
        }
    }
}
 

Request      

POST api/organisation/{organisation_reference_id}/chemical/product-assignment/{product_assignment_id}/certification

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_assignment_id   string     

The ID of the product assignment. Example: sed

Body Parameters

certificate_number   string  optional    

Optional certificate number (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: 1234567890

certificate_result   string  optional    

Optional certificate result (string, max 255 characters). Omit or leave empty to store null. Must not be greater than 255 characters. Example: Pass

certificate_end_date   string  optional    

Optional certificate end date (date). Omit or leave empty to store null; gateway_active_until defaults to three years from now. Must be a valid date. Example: 2026-01-01

certificate_issue_date   string     

Certificate issue date (date). Must be a valid date. Example: 2026-01-01

mrsl_standard_id   integer     

MRSL standard ID (integer, must exist in the database and be assigned to the requesting certification body). Example: 1

ctz_level_id   integer     

CTZ level ID (integer, must exist in the database).

Allowed MRSL/CTZ combinations:

  • MRSL levels 1, 2, and 3 may all use CTZ level 1
  • MRSL level 1: CTZ level 1 only
  • MRSL level 2: CTZ levels 1 or 2
  • MRSL level 3: CTZ levels 1, 2, or 3

CTZ level ID 1 is always available to certification bodies; higher CTZ levels must be assigned to the requesting certification body. Example: 1

safety_data_sheet_id   integer     

Safety data sheet ID (integer, must exist for the product and not be deleted). Required when safety_data_sheet is not uploaded. The id of an existing record in the safety_data_sheets table. Example: 1

safety_data_sheet   file     

Safety data sheet file upload. Required when safety_data_sheet_id is not provided. Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpDcnekN

Remove

requires authentication

Remove a product assignment certification

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/reiciendis/certification/quo/remove" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"reason\": \"QUALITY_ISSUE\",
    \"note\": \"Chemical product is no longer compliant with the certification body\'s requirements.\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/reiciendis/certification/quo/remove"
);

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

let body = {
    "reason": "QUALITY_ISSUE",
    "note": "Chemical product is no longer compliant with the certification body's requirements."
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "chemical_product_id": 224419,
        "certification_body_id": 7982,
        "safety_data_sheet_id": 89559,
        "mrsl_standard_id": 266,
        "status": "ACTIVE",
        "certificate_number": null,
        "certificate_issue_date": "2026-03-02T00:00:00.000000Z",
        "certificate_end_date": "2027-01-31T00:00:00.000000Z",
        "gateway_active_until": "2027-01-31T00:00:00.000000Z",
        "certificate_result": null,
        "created_at": "2026-03-06T00:00:00.000000Z",
        "updated_at": "2026-03-06T00:00:00.000000Z",
        "ctz_certification": {
            "id": 1,
            "chemical_product_id": 224419,
            "certification_body_id": 7982,
            "safety_data_sheet_id": 89559,
            "ctz_level_id": 1,
            "status": "ACTIVE",
            "product_mrsl_certification_id": 1,
            "created_at": "2026-03-06T00:00:00.000000Z",
            "updated_at": "2026-03-06T00:00:00.000000Z",
            "ctz_level": {
                "id": 1,
                "name": "Foundational",
                "created_at": "2026-07-10T21:21:08.000000Z",
                "updated_at": "2026-07-10T21:21:08.000000Z"
            },
            "safety_data_sheet": {
                "id": 89559,
                "file_name": "MSDS YELLOW RNL 150%.pdf",
                "mime_type": "application/octet-stream",
                "file_size": "0",
                "locale": "en",
                "version": 1,
                "chemical_product_id": 224419,
                "organisation_id": 6327,
                "created_at": "2019-06-20T08:55:18.000000Z",
                "updated_at": "2020-03-03T10:26:35.000000Z",
                "file_url": "",
                "chemical_product": {
                    "id": 224419,
                    "reference_id": "20-4G9DTFRJWQ72-I",
                    "organisation_id": 6327,
                    "zdhc_pid": "P397IA55",
                    "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                    "version": 1,
                    "description": null,
                    "alternate_names": [
                        "P397IA55"
                    ],
                    "conformance_level_id": 3,
                    "ctz_level_id": 1,
                    "status": "ACCEPTED",
                    "publication_status": "PUBLISHED",
                    "sds_url": null,
                    "website_url": null,
                    "qr_code_path": null,
                    "qr_target_url": null,
                    "created_at": "2019-06-20T00:00:00.000000Z",
                    "updated_at": "2026-07-10T21:21:27.000000Z",
                    "technical_data_sheet_url": ""
                }
            }
        },
        "mrsl_standard": {
            "id": 266,
            "reference_id": "30-B46CH3KJXUP-U",
            "name": "OEKO-TEX® Service GmbH ECO PASSPORT - Level 3",
            "version": "ZDHC MRSL v3.1",
            "conformance_level_id": 3,
            "start_date": "1900-01-01T00:00:00.000000Z",
            "end_date": "2198-08-31T00:00:00.000000Z",
            "status": "PASSED",
            "created_at": "2026-07-10T21:21:17.000000Z",
            "updated_at": "2026-07-10T21:21:17.000000Z"
        },
        "safety_data_sheet": {
            "id": 89559,
            "file_name": "MSDS YELLOW RNL 150%.pdf",
            "mime_type": "application/octet-stream",
            "file_size": "0",
            "locale": "en",
            "version": 1,
            "chemical_product_id": 224419,
            "organisation_id": 6327,
            "created_at": "2019-06-20T08:55:18.000000Z",
            "updated_at": "2020-03-03T10:26:35.000000Z",
            "file_url": "",
            "chemical_product": {
                "id": 224419,
                "reference_id": "20-4G9DTFRJWQ72-I",
                "organisation_id": 6327,
                "zdhc_pid": "P397IA55",
                "name": "REACTOBOND YELLOW RNL 150% [P397IA55]",
                "version": 1,
                "description": null,
                "alternate_names": [
                    "P397IA55"
                ],
                "conformance_level_id": 3,
                "ctz_level_id": 1,
                "status": "ACCEPTED",
                "publication_status": "PUBLISHED",
                "sds_url": null,
                "website_url": null,
                "qr_code_path": null,
                "qr_target_url": null,
                "created_at": "2019-06-20T00:00:00.000000Z",
                "updated_at": "2026-07-10T21:21:27.000000Z",
                "technical_data_sheet_url": ""
            }
        },
        "certification_body": {
            "id": 7982,
            "maxio_customer_id": 309729,
            "reference_id": "01-EP94FRKJ6UB-Z",
            "pdc_id": null,
            "gateway_aid": "A713FG39",
            "uuid": "d928e536-6568-46e2-b3a7-fbb9cd49b4ff",
            "type_id": 7,
            "status": "approved",
            "name": "OEKO-TEX® Service GmbH",
            "legal_name": "OEKO-TEX® Service GmbH",
            "address_1": "Gutenbergstrasse 1, Zürich 8002 Switzerland",
            "address_2": null,
            "city": "Zurich",
            "state": "Zurich",
            "location": "CH",
            "zip": "8002",
            "phone": "+ 41 44 501 26 03",
            "email": "j.wehrli@oekotex.com",
            "contact_first_name": "Jonathan",
            "contact_last_name": "Wehrli",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2020-01-03T00:00:00.000000Z",
            "updated_at": "2026-07-22T08:38:11.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "Switzerland"
        }
    }
}
 

Request      

POST api/organisation/{organisation_reference_id}/chemical/product-assignment/{product_assignment_id}/certification/{product_mrsl_certification_id}/remove

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

product_assignment_id   string     

The ID of the product assignment. Example: reiciendis

product_mrsl_certification_id   string     

The ID of the product mrsl certification. Example: quo

Body Parameters

reason   string     

Certification removal reason category. Example: QUALITY_ISSUE

Must be one of:
  • QUALITY_ISSUE
  • SDS_CHANGE
  • ENTRY_ERROR
  • OTHER
note   string  optional    

Optional additional note for the removal. Must not be greater than 255 characters. Example: Chemical product is no longer compliant with the certification body's requirements.

Product Category

Index

requires authentication

List all product categories

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category?per_page=20&page=1&filter%5Bname%5D=ut&filter%5Bis_inactive%5D=1&filter%5Bcreated_at%5D=molestiae&filter%5Bupdated_at%5D=velit&sort=name&search=consectetur&column=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category"
);

const params = {
    "per_page": "20",
    "page": "1",
    "filter[name]": "ut",
    "filter[is_inactive]": "1",
    "filter[created_at]": "molestiae",
    "filter[updated_at]": "velit",
    "sort": "name",
    "search": "consectetur",
    "column": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Acids",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z",
            "substrates": [
                {
                    "id": 3,
                    "name": "Leather",
                    "is_inactive": 0,
                    "created_at": "2026-07-10T21:52:32.000000Z",
                    "updated_at": "2026-07-10T21:52:32.000000Z",
                    "pivot": {
                        "product_category_id": 1,
                        "product_substrate_id": 3
                    }
                }
            ]
        },
        {
            "id": 1,
            "name": "Acids",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z",
            "substrates": [
                {
                    "id": 3,
                    "name": "Leather",
                    "is_inactive": 0,
                    "created_at": "2026-07-10T21:52:32.000000Z",
                    "updated_at": "2026-07-10T21:52:32.000000Z",
                    "pivot": {
                        "product_category_id": 1,
                        "product_substrate_id": 3
                    }
                }
            ]
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 20

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: ut

filter[is_inactive]   boolean  optional    

Filter column is_inactive by any accepted value. Filter by inactive status Example: true

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: molestiae

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: velit

filter[substrates.name]   string  optional    

Filter column substrates.name by any accepted value. Filter by substrates name Example: nisi

filter[substrates.id]   integer  optional    

Filter column substrates.id by any accepted value. Filter by substrate ID Example: 13

sort   string  optional    

sort by any accepted column: name, is_inactive, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: consectetur

column   string  optional    

get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, substrates.name. Example: name

Show

requires authentication

Show a product category

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Acids",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "substrates": [
            {
                "id": 3,
                "name": "Leather",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z"
            }
        ]
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-category/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product category. Example: 1

Store

requires authentication

Store a product category

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"rex\",
    \"is_inactive\": true,
    \"substrates\": [
        15
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category"
);

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

let body = {
    "name": "rex",
    "is_inactive": true,
    "substrates": [
        15
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Acids",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "substrates": [
            {
                "id": 3,
                "name": "Leather",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z"
            }
        ]
    }
}
 

Request      

POST api/organisation/{organisation_id}/chemical/classification/product-category

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: rex

is_inactive   boolean  optional    

Example: true

substrates   integer[]  optional    

The id of an existing record in the product_substrates table.

Update

requires authentication

Update a product category

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qayohtolcfueas\",
    \"is_inactive\": true,
    \"substrates\": [
        15
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1"
);

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

let body = {
    "name": "qayohtolcfueas",
    "is_inactive": true,
    "substrates": [
        15
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Acids",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "substrates": [
            {
                "id": 3,
                "name": "Leather",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z"
            }
        ]
    }
}
 

Request      

PUT api/organisation/{organisation_id}/chemical/classification/product-category/{id}

PATCH api/organisation/{organisation_id}/chemical/classification/product-category/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product category. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: qayohtolcfueas

is_inactive   boolean  optional    

Example: true

substrates   integer[]  optional    

The id of an existing record in the product_substrates table.

Destroy

requires authentication

Destroy a product category

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/1"
);

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


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

Example response (200):


{
    "message": "Product category deleted successfully."
}
 

Request      

DELETE api/organisation/{organisation_id}/chemical/classification/product-category/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product category. Example: 1

Product Substrate

Index

requires authentication

Get Product Substrates

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate?per_page=10&page=1&filter%5Bname%5D=maxime&filter%5Bis_inactive%5D=1&filter%5Bcategories_count%5D=1&filter%5Buse_types_count%5D=7&filter%5Bupdated_at%5D=maiores&filter%5Bcreated_at%5D=voluptates&sort=name&column=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate"
);

const params = {
    "per_page": "10",
    "page": "1",
    "filter[name]": "maxime",
    "filter[is_inactive]": "1",
    "filter[categories_count]": "1",
    "filter[use_types_count]": "7",
    "filter[updated_at]": "maiores",
    "filter[created_at]": "voluptates",
    "sort": "name",
    "column": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Adhesives",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z",
            "categories_count": null,
            "use_types_count": null
        },
        {
            "id": 1,
            "name": "Adhesives",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z",
            "categories_count": null,
            "use_types_count": null
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-substrate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 10

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: maxime

filter[is_inactive]   boolean  optional    

Filter column is_inactive by any accepted value. Filter by inactive status Example: true

filter[categories_count]   integer  optional    

Filter column categories_count by any accepted value. Filter by categories count Example: 1

filter[use_types_count]   integer  optional    

Filter column use_types_count by any accepted value. Filter by use types count Example: 7

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: maiores

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: voluptates

sort   string  optional    

sort by any accepted column: name, categories_count, use_types_count, is_inactive, updated_at, created_at. prefix a "-" before the column name to sort in descending order Example: name

column   string  optional    

get a distinct list of filterable values for any of the columns: name, categories_count, use_types_count, is_inactive, updated_at, created_at. Example: name

Show

requires authentication

Show a product substrate

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Adhesives",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z"
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-substrate/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product substrate. Example: 1

Store

requires authentication

Create a new product substrate

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"cwtxojcwrpwdcklbvrkk\",
    \"is_inactive\": true,
    \"categories\": [
        12
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate"
);

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

let body = {
    "name": "cwtxojcwrpwdcklbvrkk",
    "is_inactive": true,
    "categories": [
        12
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Adhesives",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z"
    }
}
 

Request      

POST api/organisation/{organisation_id}/chemical/classification/product-substrate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: cwtxojcwrpwdcklbvrkk

is_inactive   boolean  optional    

Example: true

categories   integer[]  optional    

The id of an existing record in the product_categories table.

Update

requires authentication

Update a product substrate

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"eqopqrwbfatmduoptcdy\",
    \"is_inactive\": true,
    \"categories\": [
        11
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1"
);

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

let body = {
    "name": "eqopqrwbfatmduoptcdy",
    "is_inactive": true,
    "categories": [
        11
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Adhesives",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z"
    }
}
 

Request      

PUT api/organisation/{organisation_id}/chemical/classification/product-substrate/{id}

PATCH api/organisation/{organisation_id}/chemical/classification/product-substrate/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product substrate. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: eqopqrwbfatmduoptcdy

is_inactive   boolean  optional    

Example: true

categories   integer[]  optional    

The id of an existing record in the product_categories table.

Destroy

requires authentication

Destroy a product substrate

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/1"
);

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


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

Example response (200):


{
    "message": "Product substrate deleted successfully."
}
 

Request      

DELETE api/organisation/{organisation_id}/chemical/classification/product-substrate/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product substrate. Example: 1

Product Use Type

Index

requires authentication

List all product use types

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type?per_page=18&page=1&filter%5Bname%5D=maiores&filter%5Bis_inactive%5D=1&filter%5Bcreated_at%5D=assumenda&filter%5Bupdated_at%5D=omnis&sort=name&search=laborum&column=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type"
);

const params = {
    "per_page": "18",
    "page": "1",
    "filter[name]": "maiores",
    "filter[is_inactive]": "1",
    "filter[created_at]": "assumenda",
    "filter[updated_at]": "omnis",
    "sort": "name",
    "search": "laborum",
    "column": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Accelerator For Solvent Coating",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z"
        },
        {
            "id": 1,
            "name": "Accelerator For Solvent Coating",
            "is_inactive": 0,
            "created_at": "2026-07-10T21:52:32.000000Z",
            "updated_at": "2026-07-10T21:52:32.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-use-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 18

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: maiores

filter[is_inactive]   boolean  optional    

Filter column is_inactive by any accepted value. Filter by inactive status Example: true

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: assumenda

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: omnis

filter[categories.name]   string  optional    

Filter column categories.name by any accepted value. Filter by categories name Example: totam

filter[categories.id]   integer  optional    

Filter column categories.id by any accepted value. Filter by category ID Example: 7

sort   string  optional    

sort by any accepted column: name, is_inactive, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: laborum

column   string  optional    

get a distinct list of filterable values for any of the columns: name, is_inactive, created_at, updated_at, categories.name. Example: name

Show

requires authentication

Show a product use type

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Accelerator For Solvent Coating",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "categories": [
            {
                "id": 68,
                "name": "Textile Finishing Assistants",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z",
                "substrates": [
                    {
                        "id": 6,
                        "name": "Textile",
                        "is_inactive": 0,
                        "created_at": "2026-07-10T21:52:32.000000Z",
                        "updated_at": "2026-07-10T21:52:32.000000Z"
                    }
                ]
            }
        ]
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/classification/product-use-type/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product use type. Example: 1

Store

requires authentication

Store a product use type

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"qcojiejds\",
    \"is_inactive\": true,
    \"categories\": [
        68
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type"
);

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

let body = {
    "name": "qcojiejds",
    "is_inactive": true,
    "categories": [
        68
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Accelerator For Solvent Coating",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "categories": [
            {
                "id": 68,
                "name": "Textile Finishing Assistants",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z",
                "substrates": [
                    {
                        "id": 6,
                        "name": "Textile",
                        "is_inactive": 0,
                        "created_at": "2026-07-10T21:52:32.000000Z",
                        "updated_at": "2026-07-10T21:52:32.000000Z"
                    }
                ]
            }
        ]
    }
}
 

Request      

POST api/organisation/{organisation_id}/chemical/classification/product-use-type

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: qcojiejds

is_inactive   boolean  optional    

Example: true

categories   integer[]  optional    

The id of an existing record in the product_categories table. Must be at least 0.

Update

requires authentication

Update a product use type

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ruwczvxiivlzfswapipodb\",
    \"is_inactive\": true,
    \"categories\": [
        77
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1"
);

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

let body = {
    "name": "ruwczvxiivlzfswapipodb",
    "is_inactive": true,
    "categories": [
        77
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Accelerator For Solvent Coating",
        "is_inactive": 0,
        "created_at": "2026-07-10T21:52:32.000000Z",
        "updated_at": "2026-07-10T21:52:32.000000Z",
        "categories": [
            {
                "id": 68,
                "name": "Textile Finishing Assistants",
                "is_inactive": 0,
                "created_at": "2026-07-10T21:52:32.000000Z",
                "updated_at": "2026-07-10T21:52:32.000000Z",
                "substrates": [
                    {
                        "id": 6,
                        "name": "Textile",
                        "is_inactive": 0,
                        "created_at": "2026-07-10T21:52:32.000000Z",
                        "updated_at": "2026-07-10T21:52:32.000000Z"
                    }
                ]
            }
        ]
    }
}
 

Request      

PUT api/organisation/{organisation_id}/chemical/classification/product-use-type/{id}

PATCH api/organisation/{organisation_id}/chemical/classification/product-use-type/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product use type. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: ruwczvxiivlzfswapipodb

is_inactive   boolean  optional    

Example: true

categories   integer[]  optional    

The id of an existing record in the product_categories table. Must be at least 0.

Destroy

requires authentication

Destroy a product use type

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/1"
);

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


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

Example response (200):


{
    "message": "Product use type deleted successfully."
}
 

Request      

DELETE api/organisation/{organisation_id}/chemical/classification/product-use-type/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the product use type. Example: 1

Conformance Levels

Index

requires authentication

get all conformance levels

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/conformance-levels" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/conformance-levels"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Level 1",
        "created_at": "2026-07-10T21:21:08.000000Z",
        "updated_at": "2026-07-10T21:21:08.000000Z"
    }
}
 

Request      

GET api/conformance-levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Development

Frontend values

Get a list of almost all values

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/development/frontend/values" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/development/frontend/values"
);

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


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

Example response (200):


[
     roles: {}
     organisationTypes: {}
     wastewaterActionTypes: {}
     wastewaterTypes: {}
     samplingPoints: {}
     msrl_conformance_levels: {}
     ctz_conformance_levels: {}
     root_cause_reasons: {}
     corrective_actions: {}
]
 

Request      

GET api/development/frontend/values

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Endpoints

Store

requires authentication

Create a new Organisation API Key

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"organisation_user_id\": \"est\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys"
);

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

let body = {
    "organisation_user_id": "est"
};

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

Example response (201):


{
 "message": "Organisation API key created successfully."
 "api_key": "foreign_api_key|0de1eb785a5d603f8c56057e6408914a3bd854e4e22e878689b92c6b25b851e7"
}
 

Request      

POST api/admin/organisation-api-keys

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

organisation_user_id   string     

The id of an existing record in the organisation_user table. Example: est

GET api/admin/{organisation_id}/wastewater/reporting/activity-logs

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/admin/1/wastewater/reporting/activity-logs?sort=created_at&filter%5Bclearstream_id%5D=10&filter%5Baction_type%5D=exercitationem&filter%5Buser_name%5D=nobis&column=context-%3Ecreated_at&search=atque&page=1&per_page=19" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/1/wastewater/reporting/activity-logs"
);

const params = {
    "sort": "created_at",
    "filter[clearstream_id]": "10",
    "filter[action_type]": "exercitationem",
    "filter[user_name]": "nobis",
    "column": "context->created_at",
    "search": "atque",
    "page": "1",
    "per_page": "19",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 83
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Admin\\AdminWastewaterActivityLogController@index",
    "_queries": []
}
 

Request      

GET api/admin/{organisation_id}/wastewater/reporting/activity-logs

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

sort   string  optional    

sort by any accepted column: created_at, clearstream_id, action_type, user_name, message. prefix a "-" before the column name to sort in descending order Example: created_at

filter[clearstream_id]   integer  optional    

Filter column clearstream_id by any accepted value. id of the clearstream report Example: 10

filter[action_type]   string  optional    

Filter column action_type by any accepted value. Action type Example: exercitationem

filter[user_name]   string  optional    

Filter column user_name by any accepted value. name of the user initiating the action Example: nobis

column   string  optional    

get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->action_type, context->user_name, context->organisation_id, context->message. Example: context->created_at

search   string  optional    

Search in all of these columns: message. Filter type: like. Example: atque

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 19

GET api/system/organisation/{organisation_id}/push-notification-count

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/push-notification-count" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/push-notification-count"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 76
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "Closure",
    "_queries": []
}
 

Request      

GET api/system/organisation/{organisation_id}/push-notification-count

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Summary of completeSampling

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/complete-sampling" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/complete-sampling"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/complete-sampling

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/start-testing

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/start-testing" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/start-testing"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/start-testing

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Finish testing

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/finish-testing" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/finish-testing"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/finish-testing

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

GET api/organisation/{organisation_id}/wastewater/reporting/activity-logs/{report?}

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/activity-logs/1?sort=created_at&filter%5Bclearstream_id%5D=12&filter%5Bclearstream_reference_id%5D=quam&filter%5Baction_type%5D=modi&filter%5Buser_name%5D=adipisci&column=context-%3Ecreated_at&search=est&page=1&per_page=8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/activity-logs/1"
);

const params = {
    "sort": "created_at",
    "filter[clearstream_id]": "12",
    "filter[clearstream_reference_id]": "quam",
    "filter[action_type]": "modi",
    "filter[user_name]": "adipisci",
    "column": "context->created_at",
    "search": "est",
    "page": "1",
    "per_page": "8",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 72
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\WastewaterActivityLogController@index",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/activity-logs/{report?}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report   integer  optional    

Example: 1

Query Parameters

sort   string  optional    

sort by any accepted column: created_at, clearstream_id, action_type, user_name, message. prefix a "-" before the column name to sort in descending order Example: created_at

filter[clearstream_id]   integer  optional    

Filter column clearstream_id by any accepted value. id of the clearstream report Example: 12

filter[clearstream_reference_id]   string  optional    

Filter column clearstream_reference_id by any accepted value. reference id of the clearstream report Example: quam

filter[action_type]   string  optional    

Filter column action_type by any accepted value. Action type Example: modi

filter[user_name]   string  optional    

Filter column user_name by any accepted value. name of the user initiating the action Example: adipisci

column   string  optional    

get a distinct list of filterable values for any of the columns: context->created_at, context->clearstream_id, context->clearstream_reference_id, context->action_type, context->user_name, context->organisation_id, context->message. Example: context->created_at

search   string  optional    

Search in all of these columns: message. Filter type: like. Example: est

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 8

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/parameters/{id}

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1/parameters/3766098" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1/parameters/3766098"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 71
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\WastewaterParameterController@show",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/parameters/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

id   integer     

The ID of the parameter. Example: 3766098

Receives Maxio webhook events and processes them asynchronously via Event/Listener.

requires authentication

A fast 2xx response is important so Maxio does not retry the webhook.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/webhook/maxio/eaque" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/webhook/maxio/eaque"
);

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


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

Request      

POST api/webhook/maxio/{token}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

token   string     

Example: eaque

Global Search

Combined

Combined Search

requires authentication

Get combined search results

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/combined?filter%5Bsearch%5D=corrupti" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/combined"
);

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

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


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

Example response (200):


{
    "data": [
        [],
        []
    ]
}
 

Request      

GET api/organisation/{organisation_id}/global-search/combined

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

filter[search]   string  optional    

Filter column search by any accepted value. Search by name or alternate names or reference ID, PDC ID, Gateway AID, or OS Hub Identifier Example: corrupti

Organisations

Organisations

requires authentication

Get Products

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/organisations?filter%5Btype_id%5D=in&filter%5Blocation%5D=culpa&filter%5Bsearch%5D=necessitatibus&filter%5Bonly_active_connections%5D=suscipit&filter%5Bmrsl_standard_id%5D=placeat&filter%5Bctz_level_id%5D=corrupti&filter%5Bhas_incheck_level_1%5D=odit&page=1&per_page=18" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/organisations"
);

const params = {
    "filter[type_id]": "in",
    "filter[location]": "culpa",
    "filter[search]": "necessitatibus",
    "filter[only_active_connections]": "suscipit",
    "filter[mrsl_standard_id]": "placeat",
    "filter[ctz_level_id]": "corrupti",
    "filter[has_incheck_level_1]": "odit",
    "page": "1",
    "per_page": "18",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "01-6FUUY46UMH-P",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "location": {
                "code": "CN",
                "name": "China"
            }
        },
        {
            "id": 1,
            "reference_id": "01-6FUUY46UMH-P",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "location": {
                "code": "CN",
                "name": "China"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/global-search/organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

filter[type_id]   string  optional    

Filter column type_id by any accepted value. Matches exact value. Example: in

filter[location]   string  optional    

Filter column location by any accepted value. Matches exact value. Example: culpa

filter[search]   string  optional    

Filter column search by any accepted value. Search by id, name, legal name, type name, reference ID, PDC ID, Gateway AID, or OS Hub Identifier Example: necessitatibus

filter[only_active_connections]   string  optional    

Filter column only_active_connections by any accepted value. 1 = only organisations with an active connection to the current organisation, 0 = no filter Example: suscipit

filter[mrsl_standard_id]   string  optional    

Filter column mrsl_standard_id by any accepted value. Filter by active MRSL standard IDs (comma-separated) Example: placeat

filter[ctz_level_id]   string  optional    

Filter column ctz_level_id by any accepted value. Filter by active CTZ level IDs (comma-separated) Example: corrupti

filter[has_incheck_level_1]   string  optional    

Filter column has_incheck_level_1 by any accepted value. Filter by organisations that have an InCheck level 1 Example: odit

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 18

Chemical Products

Chemical Products

requires authentication

Get Chemical Products

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/chemical-products?per_page=2&page=1&filter%5Bname%5D=maxime&filter%5Bstatus%5D=amet&filter%5Bpublication_status%5D=reiciendis&filter%5Bconformance_level_id%5D=8&filter%5Bctz_level_id%5D=18&filter%5Borganisation_id%5D=10&filter%5Bcreated_at%5D=numquam&filter%5Bupdated_at%5D=voluptates&filter%5Bsearch%5D=sint" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/chemical-products"
);

const params = {
    "per_page": "2",
    "page": "1",
    "filter[name]": "maxime",
    "filter[status]": "amet",
    "filter[publication_status]": "reiciendis",
    "filter[conformance_level_id]": "8",
    "filter[ctz_level_id]": "18",
    "filter[organisation_id]": "10",
    "filter[created_at]": "numquam",
    "filter[updated_at]": "voluptates",
    "filter[search]": "sint",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "name": "AKRIL 2000 [P848YD34]",
            "alternate_names": [
                "P848YD34"
            ],
            "chemical_formulator": {
                "id": 16676,
                "reference_id": "01-VQDTJVS3L2Z-K",
                "type_id": 6,
                "name": "RON BOYA VE KİMYA SANAYİ TİCARET",
                "address_1": "Deliklikaya Cad. No:47/B Hadımköy/Arnavutköy İSTANBUL",
                "address_2": null,
                "city": "Arnavutkoy",
                "state": "Istanbul",
                "location": "US",
                "zip": "34555",
                "phone": "+902127752304",
                "email": "emir@ron-kimya.com",
                "website": "https://www.ron-kimya.com",
                "avatar_url": null,
                "location_name": "United States"
            },
            "can_access_product_profile": true,
            "conformance_level": null,
            "ctz_level": null,
            "publication_expired": false,
            "sds_url": null,
            "website_url": null
        },
        {
            "id": 1,
            "reference_id": "20-MJQ7RDF6BBYE-J",
            "status": "DRAFT",
            "publication_status": "UNPUBLISHED",
            "name": "AKRIL 2000 [P848YD34]",
            "alternate_names": [
                "P848YD34"
            ],
            "chemical_formulator": {
                "id": 16676,
                "reference_id": "01-VQDTJVS3L2Z-K",
                "type_id": 6,
                "name": "RON BOYA VE KİMYA SANAYİ TİCARET",
                "address_1": "Deliklikaya Cad. No:47/B Hadımköy/Arnavutköy İSTANBUL",
                "address_2": null,
                "city": "Arnavutkoy",
                "state": "Istanbul",
                "location": "US",
                "zip": "34555",
                "phone": "+902127752304",
                "email": "emir@ron-kimya.com",
                "website": "https://www.ron-kimya.com",
                "avatar_url": null,
                "location_name": "United States"
            },
            "can_access_product_profile": true,
            "conformance_level": null,
            "ctz_level": null,
            "publication_expired": false,
            "sds_url": null,
            "website_url": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/global-search/chemical-products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 2

page   integer  optional    

the page number to show. Example: 1

filter[name]   string  optional    

Filter column name by any accepted value. Filter by name Example: maxime

filter[status]   string  optional    

Filter column status by any accepted value. Filter by status (multiple selection allowed) Example: amet

filter[publication_status]   string  optional    

Filter column publication_status by any accepted value. Filter by publication status (multiple selection allowed) Example: reiciendis

filter[conformance_level_id]   integer  optional    

Filter column conformance_level_id by any accepted value. Filter by conformance level IDs (multiple selection allowed) Example: 8

filter[ctz_level_id]   integer  optional    

Filter column ctz_level_id by any accepted value. Filter by CTZ level IDs (multiple selection allowed) Example: 18

filter[certificationBodies.id]   integer  optional    

Filter column certificationBodies.id by any accepted value. Filter by certification body IDs (multiple selection allowed) Example: 10

filter[organisation_id]   integer  optional    

Filter column organisation_id by any accepted value. Filter by organisation IDs (multiple selection allowed) Example: 10

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: numquam

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: voluptates

filter[useTypes.id]   integer  optional    

Filter column useTypes.id by any accepted value. Filter by use type ID (multiple selection allowed) Example: 11

filter[categories.id]   integer  optional    

Filter column categories.id by any accepted value. Filter by use type category ID (multiple selection allowed) Example: 17

filter[search]   string  optional    

Filter column search by any accepted value. Search by name, alternate names, or ZDHC PID Example: sint

InCheck

Activity Logs

Index

requires authentication

Get all activity logs for an incheck organisation

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/voluptatum/activity-logs?sort=created_at&filter%5Baction_type%5D=eum&filter%5Buser_name%5D=repellendus&column=context-%3Ecreated_at&search=quod&page=1&per_page=20" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/voluptatum/activity-logs"
);

const params = {
    "sort": "created_at",
    "filter[action_type]": "eum",
    "filter[user_name]": "repellendus",
    "column": "context->created_at",
    "search": "quod",
    "page": "1",
    "per_page": "20",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        },
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/incheck/{organisation_reference_id}/activity-logs

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: voluptatum

Query Parameters

sort   string  optional    

sort by any accepted column: created_at, action_type, user_name, message. prefix a "-" before the column name to sort in descending order Example: created_at

filter[action_type]   string  optional    

Filter column action_type by any accepted value. Action type Example: eum

filter[user_name]   string  optional    

Filter column user_name by any accepted value. name of the user initiating the action Example: repellendus

column   string  optional    

get a distinct list of filterable values for any of the columns: context->created_at, context->action_type, context->user_name, context->organisation_id, context->message. Example: context->created_at

search   string  optional    

Search in all of these columns: message. Filter type: like. Example: quod

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 20

Index

requires authentication

Get all activity logs for a solution provider organisation

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/ipsa/solution-provider/activity-logs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/ipsa/solution-provider/activity-logs"
);

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        },
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/incheck/{organisation_reference_id}/solution-provider/activity-logs

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: ipsa

Onboarding Progress

requires authentication

See the requirements for the onboarding process to the incheck module

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/onboarding-progress" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/onboarding-progress"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 81
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\InCheck\\InCheckController@onboardingProgress",
    "_queries": []
}
 

Request      

GET api/incheck/{organisation_id}/onboarding-progress

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Level

Index

requires authentication

List InCheck levels

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/level" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/level"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 80
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "App\\Http\\Controllers\\InCheck\\InCheckLevelController@index",
    "_queries": []
}
 

Request      

GET api/incheck/level

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Reports

Index

requires authentication

Get all incheck reports for an organisation

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/saepe/reports" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/saepe/reports"
);

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "48-7QSQNND67F4-J",
            "supplier_id": 16494,
            "status": "started",
            "verified_at": null,
            "closed_at": null,
            "created_at": "2025-11-12T00:00:00.000000Z",
            "updated_at": "2025-11-12T00:00:00.000000Z"
        },
        {
            "id": 1,
            "reference_id": "48-7QSQNND67F4-J",
            "supplier_id": 16494,
            "status": "started",
            "verified_at": null,
            "closed_at": null,
            "created_at": "2025-11-12T00:00:00.000000Z",
            "updated_at": "2025-11-12T00:00:00.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/incheck/{organisation_reference_id}/reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: saepe

Show

requires authentication

Show an incheck report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/eum/reports/voluptas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/eum/reports/voluptas"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "48-7QSQNND67F4-J",
        "supplier_id": 16494,
        "status": "started",
        "verified_at": null,
        "closed_at": null,
        "created_at": "2025-11-12T00:00:00.000000Z",
        "updated_at": "2025-11-12T00:00:00.000000Z"
    }
}
 

Request      

GET api/incheck/{organisation_reference_id}/reports/{reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: eum

reference_id   string     

The ID of the reference. Example: voluptas

Store

requires authentication

Create a new incheck report

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/incheck/est/reports" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/est/reports"
);

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


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

Example response (201):


{
    "data": {
        "id": 1,
        "reference_id": "48-7QSQNND67F4-J",
        "supplier_id": 16494,
        "status": "started",
        "verified_at": null,
        "closed_at": null,
        "created_at": "2025-11-12T00:00:00.000000Z",
        "updated_at": "2025-11-12T00:00:00.000000Z"
    },
    "message": "InCheck report created successfully"
}
 

Request      

POST api/incheck/{organisation_reference_id}/reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: est

Update

requires authentication

Update an incheck report

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/incheck/ut/reports/nesciunt" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"close\": true
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/ut/reports/nesciunt"
);

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

let body = {
    "close": true
};

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

Request      

PUT api/incheck/{organisation_reference_id}/reports/{reference_id}

PATCH api/incheck/{organisation_reference_id}/reports/{reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: ut

reference_id   string     

The ID of the reference. Example: nesciunt

Body Parameters

close   boolean  optional    

Example: true

Report Inventories

Index

requires authentication

Get all eligabile inventories for an incheck report. Usually last 12 months.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/officiis/reports/non/inventories?per_page=10&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/officiis/reports/non/inventories"
);

const params = {
    "per_page": "10",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "40-TXC26XKCC3V-Z",
            "submitting_user_id": null,
            "submitting_organisation_id": null,
            "supplier_id": 14419,
            "period": "2019-05-01T00:00:00.000000Z",
            "type": "unspecified",
            "status": "published",
            "auto_published": 0,
            "published_at": "2020-08-07T00:00:00.000000Z",
            "submitted_at": "2020-08-07T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-15T13:43:32.000000Z",
            "expected_expiration": "2020-09-20T23:59:59.999999Z",
            "publishable": false,
            "published_inventory": {
                "id": 1,
                "level": {
                    "id": 1,
                    "name": "Level 0",
                    "created_at": "2026-07-10T21:21:13.000000Z",
                    "updated_at": "2026-07-10T21:21:13.000000Z"
                }
            }
        },
        {
            "id": 1,
            "reference_id": "40-TXC26XKCC3V-Z",
            "submitting_user_id": null,
            "submitting_organisation_id": null,
            "supplier_id": 14419,
            "period": "2019-05-01T00:00:00.000000Z",
            "type": "unspecified",
            "status": "published",
            "auto_published": 0,
            "published_at": "2020-08-07T00:00:00.000000Z",
            "submitted_at": "2020-08-07T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2026-07-14T14:43:02.000000Z",
            "updated_at": "2026-07-15T13:43:32.000000Z",
            "expected_expiration": "2020-09-20T23:59:59.999999Z",
            "publishable": false,
            "published_inventory": {
                "id": 1,
                "level": {
                    "id": 1,
                    "name": "Level 0",
                    "created_at": "2026-07-10T21:21:13.000000Z",
                    "updated_at": "2026-07-10T21:21:13.000000Z"
                }
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/incheck/{organisation_reference_id}/reports/{report_reference_id}/inventories

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: officiis

report_reference_id   string     

The ID of the report reference. Example: non

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 10

page   integer  optional    

the page number to show. Example: 1

Bind

requires authentication

Bind inventories to an incheck report.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/incheck/illum/reports/praesentium/inventories" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"inventory_ids\": [
        \"perferendis\"
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/illum/reports/praesentium/inventories"
);

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

let body = {
    "inventory_ids": [
        "perferendis"
    ]
};

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

Request      

POST api/incheck/{organisation_reference_id}/reports/{report_reference_id}/inventories

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The ID of the organisation reference. Example: illum

report_reference_id   string     

The ID of the report reference. Example: praesentium

Body Parameters

inventory_ids   string[]     

InCheck Report PDF

Show

requires authentication

Show the incheck report as a pdf

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/incheck/inventories/quia/incheck-report-pdf" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/incheck/inventories/quia/incheck-report-pdf"
);

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


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

Example response (200):


content of the pdf
 

Request      

GET api/organisation/{organisation_reference_id}/incheck/inventories/{chemical_inventory_reference_id}/incheck-report-pdf

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   integer     

The ID of the organisation reference. Example: 1

chemical_inventory_reference_id   string     

The ID of the chemical inventory reference. Example: quia

Supplier Providers

index

requires authentication

List selected solution providers

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 79
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\InCheck\\InCheckSupplierSolutionProviderController@index",
    "_queries": []
}
 

Request      

GET api/incheck/{organisation_id}/providers

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Levels

requires authentication

List all inCheck levels for a supplier

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/levels" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/levels"
);

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Level 0",
            "created_at": "2026-07-10T21:21:13.000000Z",
            "updated_at": "2026-07-10T21:21:13.000000Z"
        },
        {
            "id": 1,
            "name": "Level 0",
            "created_at": "2026-07-10T21:21:13.000000Z",
            "updated_at": "2026-07-10T21:21:13.000000Z"
        }
    ]
}
 

Request      

GET api/incheck/{organisation_id}/providers/levels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Sync

requires authentication

Sync relating Suppliers to Incheck Providers AND set the incheck level

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/sync" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"level_ids\": [
        8
    ],
    \"provider_visibility_ids\": [
        3
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/sync"
);

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

let body = {
    "level_ids": [
        8
    ],
    "provider_visibility_ids": [
        3
    ]
};

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

Request      

POST api/incheck/{organisation_id}/providers/sync

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

level_ids   integer[]  optional    

The id of an existing record in the incheck_levels table.

provider_visibility_ids   integer[]  optional    

The id of an existing record in the incheck_visibilities table.

Industry Identifiers

Index

Get a paginated list of industry identifiers.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/industry-identifiers?per_page=16&page=1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/industry-identifiers"
);

const params = {
    "per_page": "16",
    "page": "1",
};
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": 3,
            "name": "amfori ID"
        },
        {
            "id": 3,
            "name": "amfori ID"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "50",
        "to": 2
    }
}
 

Request      

GET api/industry-identifiers

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 16

page   integer  optional    

the page number to show. Example: 1

Labels

Index

requires authentication

Get a list of labels for an organisation

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels?page=1&per_page=12&filter%5Blabelable_type%5D=autem&sort=name&search=earum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels"
);

const params = {
    "page": "1",
    "per_page": "12",
    "filter[labelable_type]": "autem",
    "sort": "name",
    "search": "earum",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        [],
        []
    ]
}
 

Request      

GET api/organisations/{organisation_id}/labels

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 12

filter[labelable_type]   string  optional    

Filter column labelable_type by any accepted value. Filter by labelable type (e.g. organisation_connection). See LabelableTypeEnum for allowed values. Example: autem

sort   string  optional    

sort by any accepted column: name, labelable_type, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: earum

Destroy

requires authentication

Delete a label.

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels/1"
);

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


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

Request      

DELETE api/organisations/{organisation_id}/labels/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the label. Example: 1

Localisation

Locales

Get a list of all accepted locales

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/localisation/locales" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/localisation/locales"
);

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


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

Example response (200):


[
     {
         "en": "English",
         "zh": "英语",
     }
]
 

Request      

GET api/localisation/locales

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Locations

Get a list of all accepted locations

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/localisation/locations" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/localisation/locations"
);

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


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

Example response (200):


[
     {
         "AD": "Andorra",
         "AE": "United Arab Emirates",
         "AF": "Afghanistan",
         "AG": "Antigua and Barbuda",
     }
]
 

Request      

GET api/localisation/locations

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

MRSL Standards

Index

requires authentication

Get MRSL Standards

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard?per_page=7&page=1&filter%5Bconformance_level_id%5D=17&filter%5Bstatus%5D=voluptatem&filter%5Bstart_date%5D=aut&filter%5Bend_date%5D=quia&filter%5Bcreated_at%5D=cupiditate&filter%5Bupdated_at%5D=est&search=magni&sort=name&column=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard"
);

const params = {
    "per_page": "7",
    "page": "1",
    "filter[conformance_level_id]": "17",
    "filter[status]": "voluptatem",
    "filter[start_date]": "aut",
    "filter[end_date]": "quia",
    "filter[created_at]": "cupiditate",
    "filter[updated_at]": "est",
    "search": "magni",
    "sort": "name",
    "column": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "30-MKCPM88F2K8-E",
            "name": "Brachi Testing Services",
            "version": "ZDHC MRSL v2.0",
            "conformance_level_id": 1,
            "start_date": "2020-08-12T00:00:00.000000Z",
            "end_date": "2024-06-01T00:00:00.000000Z",
            "status": "PASSED",
            "created_at": "2026-07-10T21:21:16.000000Z",
            "updated_at": "2026-07-10T21:21:16.000000Z",
            "conformance_level": {
                "id": 1,
                "name": "Level 1",
                "created_at": "2026-07-10T21:21:08.000000Z",
                "updated_at": "2026-07-10T21:21:08.000000Z"
            },
            "organisations": [
                {
                    "id": 8820,
                    "maxio_customer_id": 310566,
                    "reference_id": "01-J34CYH46YWU-D",
                    "pdc_id": null,
                    "gateway_aid": "A904AT31",
                    "uuid": "8ec2d2a2-8c88-4849-b162-e3db3d710999",
                    "type_id": 7,
                    "status": "approved",
                    "name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                    "legal_name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                    "address_1": "Via Fona di Mezzana, 59100",
                    "address_2": null,
                    "city": "Mezzana",
                    "state": "Prato",
                    "location": "IT",
                    "zip": "",
                    "phone": "+390574591343",
                    "email": "giancarlo.diblasi@brachi.it",
                    "contact_first_name": "Giancarlo",
                    "contact_last_name": "Di Blasi",
                    "billing_contact_email": null,
                    "billing_contact_first_name": null,
                    "billing_contact_last_name": null,
                    "billing_contact_phone": null,
                    "business_registration_document_extension": null,
                    "business_registration_document_name": null,
                    "safety_data_sheet_name": null,
                    "website": null,
                    "avatar_url": null,
                    "applicant_comment": null,
                    "reviewer_comment": null,
                    "registration_mail_sent_at": null,
                    "created_at": "2020-01-08T00:00:00.000000Z",
                    "updated_at": "2026-07-22T08:41:21.000000Z",
                    "reviewer_comment_category": null,
                    "profile_reviewed_at": null,
                    "profile_reviewed_by_user_id": null,
                    "location_name": "Italy",
                    "pivot": {
                        "mrsl_standard_id": 1,
                        "organisation_id": 8820,
                        "id": 121,
                        "valid_until": "2024-06-01T00:00:00.000000Z",
                        "created_at": "2020-10-05T00:00:00.000000Z",
                        "updated_at": "2025-03-12T00:00:00.000000Z"
                    }
                }
            ]
        },
        {
            "id": 1,
            "reference_id": "30-MKCPM88F2K8-E",
            "name": "Brachi Testing Services",
            "version": "ZDHC MRSL v2.0",
            "conformance_level_id": 1,
            "start_date": "2020-08-12T00:00:00.000000Z",
            "end_date": "2024-06-01T00:00:00.000000Z",
            "status": "PASSED",
            "created_at": "2026-07-10T21:21:16.000000Z",
            "updated_at": "2026-07-10T21:21:16.000000Z",
            "conformance_level": {
                "id": 1,
                "name": "Level 1",
                "created_at": "2026-07-10T21:21:08.000000Z",
                "updated_at": "2026-07-10T21:21:08.000000Z"
            },
            "organisations": [
                {
                    "id": 8820,
                    "maxio_customer_id": 310566,
                    "reference_id": "01-J34CYH46YWU-D",
                    "pdc_id": null,
                    "gateway_aid": "A904AT31",
                    "uuid": "8ec2d2a2-8c88-4849-b162-e3db3d710999",
                    "type_id": 7,
                    "status": "approved",
                    "name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                    "legal_name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                    "address_1": "Via Fona di Mezzana, 59100",
                    "address_2": null,
                    "city": "Mezzana",
                    "state": "Prato",
                    "location": "IT",
                    "zip": "",
                    "phone": "+390574591343",
                    "email": "giancarlo.diblasi@brachi.it",
                    "contact_first_name": "Giancarlo",
                    "contact_last_name": "Di Blasi",
                    "billing_contact_email": null,
                    "billing_contact_first_name": null,
                    "billing_contact_last_name": null,
                    "billing_contact_phone": null,
                    "business_registration_document_extension": null,
                    "business_registration_document_name": null,
                    "safety_data_sheet_name": null,
                    "website": null,
                    "avatar_url": null,
                    "applicant_comment": null,
                    "reviewer_comment": null,
                    "registration_mail_sent_at": null,
                    "created_at": "2020-01-08T00:00:00.000000Z",
                    "updated_at": "2026-07-22T08:41:21.000000Z",
                    "reviewer_comment_category": null,
                    "profile_reviewed_at": null,
                    "profile_reviewed_by_user_id": null,
                    "location_name": "Italy",
                    "pivot": {
                        "mrsl_standard_id": 1,
                        "organisation_id": 8820,
                        "id": 121,
                        "valid_until": "2024-06-01T00:00:00.000000Z",
                        "created_at": "2020-10-05T00:00:00.000000Z",
                        "updated_at": "2025-03-12T00:00:00.000000Z"
                    }
                }
            ]
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/chemical/certification/mrsl-standard

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 7

page   integer  optional    

the page number to show. Example: 1

filter[conformance_level_id]   integer  optional    

Filter column conformance_level_id by any accepted value. Filter by conformance level ID Example: 17

filter[organisations.id]   integer  optional    

Filter column organisations.id by any accepted value. Filter by assigned organisation ID Example: 12

filter[status]   string  optional    

Filter column status by any accepted value. Filter by status Example: voluptatem

filter[start_date]   date  optional    

Filter column start_date by any accepted value. Filter by start date Example: aut

filter[end_date]   date  optional    

Filter column end_date by any accepted value. Filter by end date Example: quia

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created at Example: cupiditate

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated at Example: est

search   string  optional    

Search in all of these columns: name, version. Filter type: like. Example: magni

sort   string  optional    

sort by any accepted column: name, version, status, start_date, end_date, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

column   string  optional    

get a distinct list of filterable values for any of the columns: name, version, status, conformance_level_id. Example: name

Show

requires authentication

Show a MRSL Standard

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "30-MKCPM88F2K8-E",
        "name": "Brachi Testing Services",
        "version": "ZDHC MRSL v2.0",
        "conformance_level_id": 1,
        "start_date": "2020-08-12T00:00:00.000000Z",
        "end_date": "2024-06-01T00:00:00.000000Z",
        "status": "PASSED",
        "created_at": "2026-07-10T21:21:16.000000Z",
        "updated_at": "2026-07-10T21:21:16.000000Z",
        "conformance_level": {
            "id": 1,
            "name": "Level 1",
            "created_at": "2026-07-10T21:21:08.000000Z",
            "updated_at": "2026-07-10T21:21:08.000000Z"
        },
        "organisations": [
            {
                "id": 8820,
                "maxio_customer_id": 310566,
                "reference_id": "01-J34CYH46YWU-D",
                "pdc_id": null,
                "gateway_aid": "A904AT31",
                "uuid": "8ec2d2a2-8c88-4849-b162-e3db3d710999",
                "type_id": 7,
                "status": "approved",
                "name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                "legal_name": "Brachi Testing Services S.r.l. Unipersonale_MRSL",
                "address_1": "Via Fona di Mezzana, 59100",
                "address_2": null,
                "city": "Mezzana",
                "state": "Prato",
                "location": "IT",
                "zip": "",
                "phone": "+390574591343",
                "email": "giancarlo.diblasi@brachi.it",
                "contact_first_name": "Giancarlo",
                "contact_last_name": "Di Blasi",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": null,
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2020-01-08T00:00:00.000000Z",
                "updated_at": "2026-07-22T08:41:21.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "Italy",
                "pivot": {
                    "mrsl_standard_id": 1,
                    "organisation_id": 8820,
                    "id": 121,
                    "valid_until": "2024-06-01T00:00:00.000000Z",
                    "created_at": "2020-10-05T00:00:00.000000Z",
                    "updated_at": "2025-03-12T00:00:00.000000Z"
                }
            }
        ]
    }
}
 

Request      

GET api/organisation/{organisation_id}/chemical/certification/mrsl-standard/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the mrsl standard. Example: 1

Store

requires authentication

Create a new MRSL Standard

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"jumjminkmr\",
    \"version\": \"zaqlztomnkb\",
    \"conformance_level_id\": \"eaque\",
    \"start_date\": \"2026-07-22T13:40:00\",
    \"end_date\": \"2026-07-22T13:40:00\",
    \"status\": \"FAILED\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard"
);

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

let body = {
    "name": "jumjminkmr",
    "version": "zaqlztomnkb",
    "conformance_level_id": "eaque",
    "start_date": "2026-07-22T13:40:00",
    "end_date": "2026-07-22T13:40:00",
    "status": "FAILED"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "30-MKCPM88F2K8-E",
        "name": "Brachi Testing Services",
        "version": "ZDHC MRSL v2.0",
        "conformance_level_id": 1,
        "start_date": "2020-08-12T00:00:00.000000Z",
        "end_date": "2024-06-01T00:00:00.000000Z",
        "status": "PASSED",
        "created_at": "2026-07-10T21:21:16.000000Z",
        "updated_at": "2026-07-10T21:21:16.000000Z"
    }
}
 

Request      

POST api/organisation/{organisation_id}/chemical/certification/mrsl-standard

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: jumjminkmr

version   string     

Must not be greater than 255 characters. Example: zaqlztomnkb

organisations   string[]  optional    

The id of an existing record in the organisations table.

conformance_level_id   string     

The id of an existing record in the conformance_levels table. Example: eaque

start_date   string     

Must be a valid date. Example: 2026-07-22T13:40:00

end_date   string  optional    

Must be a valid date. Example: 2026-07-22T13:40:00

status   string     

Example: FAILED

Must be one of:
  • FAILED
  • PASSED

Update

requires authentication

Update a MRSL Standard

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"flqkzgzeynrdgilasiwqas\",
    \"version\": \"epczagtn\",
    \"conformance_level_id\": \"velit\",
    \"start_date\": \"2026-07-22T13:40:00\",
    \"end_date\": \"2026-07-22T13:40:00\",
    \"status\": \"FAILED\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/1"
);

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

let body = {
    "name": "flqkzgzeynrdgilasiwqas",
    "version": "epczagtn",
    "conformance_level_id": "velit",
    "start_date": "2026-07-22T13:40:00",
    "end_date": "2026-07-22T13:40:00",
    "status": "FAILED"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "30-MKCPM88F2K8-E",
        "name": "Brachi Testing Services",
        "version": "ZDHC MRSL v2.0",
        "conformance_level_id": 1,
        "start_date": "2020-08-12T00:00:00.000000Z",
        "end_date": "2024-06-01T00:00:00.000000Z",
        "status": "PASSED",
        "created_at": "2026-07-10T21:21:16.000000Z",
        "updated_at": "2026-07-10T21:21:16.000000Z"
    }
}
 

Request      

PUT api/organisation/{organisation_id}/chemical/certification/mrsl-standard/{id}

PATCH api/organisation/{organisation_id}/chemical/certification/mrsl-standard/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the mrsl standard. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: flqkzgzeynrdgilasiwqas

version   string     

Must not be greater than 255 characters. Example: epczagtn

organisations   string[]  optional    

The id of an existing record in the organisations table.

conformance_level_id   string     

The id of an existing record in the conformance_levels table. Example: velit

start_date   string     

Must be a valid date. Example: 2026-07-22T13:40:00

end_date   string  optional    

Must be a valid date. Example: 2026-07-22T13:40:00

status   string     

Example: FAILED

Must be one of:
  • FAILED
  • PASSED

Organisations

Registration

Admin Register

requires authentication

Register a new organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisations/registration/register" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ieprtkhrh"\
    --form "legal_name=welcvqjyzwyibve"\
    --form "type_id=laborum"\
    --form "address_1=qui"\
    --form "city=kvwbwifthahrlfdi"\
    --form "state=hhgtuptnd"\
    --form "location=NC"\
    --form "zip=rhyj"\
    --form "phone=+1234567890"\
    --form "email=wallace70@example.com"\
    --form "contact_first_name=voluptas"\
    --form "contact_last_name=quae"\
    --form "billing_contact_email=nat53@example.org"\
    --form "billing_contact_first_name=et"\
    --form "billing_contact_last_name=veritatis"\
    --form "billing_contact_phone=gldyp"\
    --form "website=https://example.com"\
    --form "conformance_level_products[][id]=18"\
    --form "conformance_level_products[][count]=89"\
    --form "industry_ids[][id]=3"\
    --form "industry_ids[][value]=inzylizfgryvetholf"\
    --form "business_registration_document=@/tmp/phpJnhfAi" \
    --form "safety_data_sheet=@/tmp/phpeNlnAi" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/admin/organisations/registration/register"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
};

const body = new FormData();
body.append('name', 'ieprtkhrh');
body.append('legal_name', 'welcvqjyzwyibve');
body.append('type_id', 'laborum');
body.append('address_1', 'qui');
body.append('city', 'kvwbwifthahrlfdi');
body.append('state', 'hhgtuptnd');
body.append('location', 'NC');
body.append('zip', 'rhyj');
body.append('phone', '+1234567890');
body.append('email', 'wallace70@example.com');
body.append('contact_first_name', 'voluptas');
body.append('contact_last_name', 'quae');
body.append('billing_contact_email', 'nat53@example.org');
body.append('billing_contact_first_name', 'et');
body.append('billing_contact_last_name', 'veritatis');
body.append('billing_contact_phone', 'gldyp');
body.append('website', 'https://example.com');
body.append('conformance_level_products[][id]', '18');
body.append('conformance_level_products[][count]', '89');
body.append('industry_ids[][id]', '3');
body.append('industry_ids[][value]', 'inzylizfgryvetholf');
body.append('business_registration_document', document.querySelector('input[name="business_registration_document"]').files[0]);
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);

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

Example response (200, Success):


{
    "message": "registered successfully",
    "referenceID": "[reference_id]"
}
 

Request      

POST api/admin/organisations/registration/register

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

Body Parameters

name   string     

Must not be greater than 255 characters. Example: ieprtkhrh

legal_name   string     

Must not be greater than 255 characters. Example: welcvqjyzwyibve

type_id   string     

The id of an existing record in the organisation_types table. Example: laborum

address_1   string     

Example: qui

address_2   string  optional    
city   string     

Must not be greater than 255 characters. Example: kvwbwifthahrlfdi

state   string     

Must not be greater than 255 characters. Example: hhgtuptnd

location   string     

Example: NC

Must be one of:
  • AF
  • AX
  • AL
  • DZ
  • AS
  • AD
  • AO
  • AI
  • AQ
  • AG
  • AR
  • AM
  • AW
  • AU
  • AT
  • AZ
  • BS
  • BH
  • BD
  • BB
  • BY
  • BE
  • BZ
  • BJ
  • BM
  • BT
  • BO
  • BA
  • BW
  • BV
  • BR
  • IO
  • VG
  • BN
  • BG
  • BF
  • BI
  • KH
  • CM
  • CA
  • CV
  • BQ
  • KY
  • CF
  • TD
  • CL
  • CN
  • CX
  • CC
  • CO
  • KM
  • CG
  • CD
  • CK
  • CR
  • CI
  • HR
  • CU
  • CW
  • CY
  • CZ
  • DK
  • DJ
  • DM
  • DO
  • EC
  • EG
  • SV
  • GQ
  • ER
  • EE
  • SZ
  • ET
  • FK
  • FO
  • FJ
  • FI
  • FR
  • GF
  • PF
  • TF
  • GA
  • GM
  • GE
  • DE
  • GH
  • GI
  • GR
  • GL
  • GD
  • GP
  • GU
  • GT
  • GG
  • GN
  • GW
  • GY
  • HT
  • HM
  • HN
  • HK
  • HU
  • IS
  • IN
  • ID
  • IR
  • IQ
  • IE
  • IM
  • IL
  • IT
  • JM
  • JP
  • JE
  • JO
  • KZ
  • KE
  • KI
  • KW
  • KG
  • LA
  • LV
  • LB
  • LS
  • LR
  • LY
  • LI
  • LT
  • LU
  • MO
  • MG
  • MW
  • MY
  • MV
  • ML
  • MT
  • MH
  • MQ
  • MR
  • MU
  • YT
  • MX
  • FM
  • MD
  • MC
  • MN
  • ME
  • MS
  • MA
  • MZ
  • MM
  • NA
  • NR
  • NP
  • NL
  • NC
  • NZ
  • NI
  • NE
  • NG
  • NU
  • NF
  • KP
  • MK
  • MP
  • NO
  • OM
  • PK
  • PW
  • PS
  • PA
  • PG
  • PY
  • PE
  • PH
  • PN
  • PL
  • PT
  • PR
  • QA
  • RE
  • RO
  • RU
  • RW
  • WS
  • SM
  • ST
  • SA
  • SN
  • RS
  • SC
  • SL
  • SG
  • SX
  • SK
  • SI
  • SB
  • SO
  • ZA
  • GS
  • KR
  • SS
  • ES
  • LK
  • BL
  • SH
  • KN
  • LC
  • MF
  • PM
  • VC
  • SD
  • SR
  • SJ
  • SE
  • CH
  • SY
  • TW
  • TJ
  • TZ
  • TH
  • TL
  • TG
  • TK
  • TO
  • TT
  • TN
  • TR
  • TM
  • TC
  • TV
  • UM
  • VI
  • UG
  • UA
  • AE
  • GB
  • US
  • UY
  • UZ
  • VU
  • VA
  • VE
  • VN
  • WF
  • EH
  • YE
  • ZM
  • ZW
zip   string     

Must not be greater than 64 characters. Example: rhyj

phone   string  optional    

Must be at least 8 characters. Must not be greater than 20 characters. Example: +1234567890

email   string     

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

contact_first_name   string     

Example: voluptas

contact_last_name   string     

Example: quae

billing_contact_email   string     

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

billing_contact_first_name   string     

Example: et

billing_contact_last_name   string     

Example: veritatis

billing_contact_phone   string     

Must be at least 8 characters. Must not be greater than 20 characters. Example: gldyp

business_registration_document   file  optional    

Business registration document provided as a file upload (PDF, JPG, or PNG). Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpJnhfAi

website   string     

[MANDATORY ONLY FOR: Vendors & Chemical Formulators] The website of the organisation. Must not be greater than 255 characters. Example: https://example.com

industry_ids   object[]  optional    

[ONLY: Suppliers & Vendors] The industry identifiers associated with the organisation.

id   integer  optional    

This field is required when industry_ids.*.value is present. The id of an existing record in the industry_identifiers table. Example: 3

value   string  optional    

This field is required when industry_ids.*.id is present. Must not be greater than 255 characters. Example: inzylizfgryvetholf

safety_data_sheet   file  optional    

[ONLY: Chemical Formulators] Safety data sheet provided as a file upload. Must be a file. Example: /tmp/phpeNlnAi

conformance_level_products   object[]     
id   integer  optional    

This field is required when conformance_level_products.*.count is present. The id of an existing record in the conformance_levels table. Example: 18

count   integer  optional    

This field is required when conformance_level_products.*.id is present. Must be at least 0. Example: 89

Register

requires authentication

Register a new organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/register/1?email=heaney.dangelo%40example.org&user_id=798193&user_is_registered=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "user_first_name=yfcznmotoap"\
    --form "user_last_name=ntscrhjosi"\
    --form "user_password=mkejdk"\
    --form "user_password_confirmation=corporis"\
    --form "user_phone=kc"\
    --form "user_locale=tg_TJ"\
    --form "user_location=rikqzifthetr"\
    --form "address_1=perspiciatis"\
    --form "city=vrnzkranqizaxrggwoxtqymb"\
    --form "state=weqcmy"\
    --form "location=YE"\
    --form "zip=drmlfwqefeaatqshqnjmgtlrr"\
    --form "phone=ggyevzmdgiwmardf"\
    --form "email=dbradtke@example.net"\
    --form "contact_first_name=et"\
    --form "contact_last_name=deserunt"\
    --form "billing_contact_email=maryse.nicolas@example.net"\
    --form "billing_contact_first_name=aperiam"\
    --form "billing_contact_last_name=laudantium"\
    --form "billing_contact_phone=aorycpopq"\
    --form "website=hysskfi"\
    --form "conformance_level_products[][id]=5"\
    --form "conformance_level_products[][count]=23"\
    --form "name=fkkpnbjddouinrrokpzvnh"\
    --form "legal_name=rwx"\
    --form "tas_document_id=rem"\
    --form "tas_accepted=1"\
    --form "industry_ids[][id]=10"\
    --form "industry_ids[][value]=nvryngru"\
    --form "business_registration_document=@/tmp/phpdiomfN" \
    --form "safety_data_sheet=@/tmp/phpbgFDgN" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/register/1"
);

const params = {
    "email": "heaney.dangelo@example.org",
    "user_id": "798193",
    "user_is_registered": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

const body = new FormData();
body.append('user_first_name', 'yfcznmotoap');
body.append('user_last_name', 'ntscrhjosi');
body.append('user_password', 'mkejdk');
body.append('user_password_confirmation', 'corporis');
body.append('user_phone', 'kc');
body.append('user_locale', 'tg_TJ');
body.append('user_location', 'rikqzifthetr');
body.append('address_1', 'perspiciatis');
body.append('city', 'vrnzkranqizaxrggwoxtqymb');
body.append('state', 'weqcmy');
body.append('location', 'YE');
body.append('zip', 'drmlfwqefeaatqshqnjmgtlrr');
body.append('phone', 'ggyevzmdgiwmardf');
body.append('email', 'dbradtke@example.net');
body.append('contact_first_name', 'et');
body.append('contact_last_name', 'deserunt');
body.append('billing_contact_email', 'maryse.nicolas@example.net');
body.append('billing_contact_first_name', 'aperiam');
body.append('billing_contact_last_name', 'laudantium');
body.append('billing_contact_phone', 'aorycpopq');
body.append('website', 'hysskfi');
body.append('conformance_level_products[][id]', '5');
body.append('conformance_level_products[][count]', '23');
body.append('name', 'fkkpnbjddouinrrokpzvnh');
body.append('legal_name', 'rwx');
body.append('tas_document_id', 'rem');
body.append('tas_accepted', '1');
body.append('industry_ids[][id]', '10');
body.append('industry_ids[][value]', 'nvryngru');
body.append('business_registration_document', document.querySelector('input[name="business_registration_document"]').files[0]);
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);

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

Example response (200, Success):


{
    "message": "registered successfully",
    "organisationID": "[id]",
    "registrationID": "[uuid]"
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

POST api/organisations/registration/register/{invitation_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

invitation_id   integer     

The ID of the invitation. Example: 1

Query Parameters

email   string     

required Example: heaney.dangelo@example.org

user_id   number     

required Example: 798193

user_is_registered   boolean     

required Example: true

Body Parameters

user_first_name   string     

(Only required for unregistered users). Must be at least 2 characters. Must not be greater than 50 characters. Example: yfcznmotoap

user_last_name   string     

(Only required for unregistered users). Must be at least 2 characters. Must not be greater than 50 characters. Example: ntscrhjosi

user_password   string     

(Only required for unregistered users). Must not be greater than 255 characters. Example: mkejdk

user_password_confirmation   string     

(Only required for unregistered users). The value and user_password must match. Example: corporis

user_phone   string  optional    

(Only required for unregistered users). Must be at least 8 characters. Must not be greater than 20 characters. Example: kc

user_locale   string  optional    

(Only required for unregistered users). Must not be greater than 12 characters. Example: tg_TJ

user_location   string  optional    

(Only required for unregistered users). Must not be greater than 255 characters. Example: rikqzifthetr

address_1   string     

Example: perspiciatis

address_2   string  optional    
city   string     

Must not be greater than 255 characters. Example: vrnzkranqizaxrggwoxtqymb

state   string     

Must not be greater than 255 characters. Example: weqcmy

location   string     

Example: YE

Must be one of:
  • AF
  • AX
  • AL
  • DZ
  • AS
  • AD
  • AO
  • AI
  • AQ
  • AG
  • AR
  • AM
  • AW
  • AU
  • AT
  • AZ
  • BS
  • BH
  • BD
  • BB
  • BY
  • BE
  • BZ
  • BJ
  • BM
  • BT
  • BO
  • BA
  • BW
  • BV
  • BR
  • IO
  • VG
  • BN
  • BG
  • BF
  • BI
  • KH
  • CM
  • CA
  • CV
  • BQ
  • KY
  • CF
  • TD
  • CL
  • CN
  • CX
  • CC
  • CO
  • KM
  • CG
  • CD
  • CK
  • CR
  • CI
  • HR
  • CU
  • CW
  • CY
  • CZ
  • DK
  • DJ
  • DM
  • DO
  • EC
  • EG
  • SV
  • GQ
  • ER
  • EE
  • SZ
  • ET
  • FK
  • FO
  • FJ
  • FI
  • FR
  • GF
  • PF
  • TF
  • GA
  • GM
  • GE
  • DE
  • GH
  • GI
  • GR
  • GL
  • GD
  • GP
  • GU
  • GT
  • GG
  • GN
  • GW
  • GY
  • HT
  • HM
  • HN
  • HK
  • HU
  • IS
  • IN
  • ID
  • IR
  • IQ
  • IE
  • IM
  • IL
  • IT
  • JM
  • JP
  • JE
  • JO
  • KZ
  • KE
  • KI
  • KW
  • KG
  • LA
  • LV
  • LB
  • LS
  • LR
  • LY
  • LI
  • LT
  • LU
  • MO
  • MG
  • MW
  • MY
  • MV
  • ML
  • MT
  • MH
  • MQ
  • MR
  • MU
  • YT
  • MX
  • FM
  • MD
  • MC
  • MN
  • ME
  • MS
  • MA
  • MZ
  • MM
  • NA
  • NR
  • NP
  • NL
  • NC
  • NZ
  • NI
  • NE
  • NG
  • NU
  • NF
  • KP
  • MK
  • MP
  • NO
  • OM
  • PK
  • PW
  • PS
  • PA
  • PG
  • PY
  • PE
  • PH
  • PN
  • PL
  • PT
  • PR
  • QA
  • RE
  • RO
  • RU
  • RW
  • WS
  • SM
  • ST
  • SA
  • SN
  • RS
  • SC
  • SL
  • SG
  • SX
  • SK
  • SI
  • SB
  • SO
  • ZA
  • GS
  • KR
  • SS
  • ES
  • LK
  • BL
  • SH
  • KN
  • LC
  • MF
  • PM
  • VC
  • SD
  • SR
  • SJ
  • SE
  • CH
  • SY
  • TW
  • TJ
  • TZ
  • TH
  • TL
  • TG
  • TK
  • TO
  • TT
  • TN
  • TR
  • TM
  • TC
  • TV
  • UM
  • VI
  • UG
  • UA
  • AE
  • GB
  • US
  • UY
  • UZ
  • VU
  • VA
  • VE
  • VN
  • WF
  • EH
  • YE
  • ZM
  • ZW
zip   string     

Must not be greater than 64 characters. Example: drmlfwqefeaatqshqnjmgtlrr

phone   string  optional    

Must be at least 8 characters. Must not be greater than 20 characters. Example: ggyevzmdgiwmardf

email   string     

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

contact_first_name   string     

Example: et

contact_last_name   string     

Example: deserunt

billing_contact_email   string     

Must be a valid email address. Must not be greater than 254 characters. Example: maryse.nicolas@example.net

billing_contact_first_name   string     

Example: aperiam

billing_contact_last_name   string     

Example: laudantium

billing_contact_phone   string     

Must be at least 8 characters. Must not be greater than 20 characters. Example: aorycpopq

business_registration_document   file     

Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpdiomfN

website   string     

Must not be greater than 255 characters. Example: hysskfi

industry_ids   object[]  optional    
id   integer  optional    

This field is required when industry_ids.*.value is present. The id of an existing record in the industry_identifiers table. Example: 10

value   string  optional    

This field is required when industry_ids.*.id is present. Must not be greater than 255 characters. Example: nvryngru

safety_data_sheet   file     

Must be a file. Example: /tmp/phpbgFDgN

conformance_level_products   object[]     
id   integer  optional    

This field is required when conformance_level_products.*.count is present. The id of an existing record in the conformance_levels table. Example: 5

count   integer  optional    

This field is required when conformance_level_products.*.id is present. Must be at least 0. Example: 23

name   string     

Must not be greater than 255 characters. Example: fkkpnbjddouinrrokpzvnh

legal_name   string     

Must not be greater than 255 characters. Example: rwx

tas_document_id   string     

The id of an existing record in the App\Models\TermsAndServiceDocument table. Example: rem

tas_accepted   boolean     

Must be accepted. Example: true

Status

See a non-active organisation's registration status.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/cd70a53b-b0ae-3c4e-98c0-7acad4265a0c/status" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/cd70a53b-b0ae-3c4e-98c0-7acad4265a0c/status"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "maxio_customer_id": 268249,
        "reference_id": "01-6FUUY46UMH-P",
        "pdc_id": null,
        "gateway_aid": "A356IB10",
        "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
        "type_id": 2,
        "status": "approved",
        "name": "Ping Yang Pengye Shoes Com Ltd",
        "legal_name": "Ping Yang Pengye Shoes Com Ltd",
        "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
        "address_2": null,
        "city": "Wenzhou",
        "state": "Zhejiang",
        "location": "CN",
        "zip": "",
        "phone": "",
        "email": "pengye@126.com",
        "contact_first_name": "JIAN",
        "contact_last_name": "Le",
        "billing_contact_email": null,
        "billing_contact_first_name": null,
        "billing_contact_last_name": null,
        "billing_contact_phone": null,
        "business_registration_document_extension": null,
        "business_registration_document_name": null,
        "safety_data_sheet_name": null,
        "website": null,
        "avatar_url": null,
        "applicant_comment": null,
        "reviewer_comment": null,
        "registration_mail_sent_at": null,
        "created_at": "2021-11-04T12:19:55.000000Z",
        "updated_at": "2026-07-22T08:08:27.000000Z",
        "reviewer_comment_category": null,
        "profile_reviewed_at": null,
        "profile_reviewed_by_user_id": null,
        "location_name": "China",
        "type": {
            "id": 2,
            "name": "Supplier",
            "display_name": "Supplier",
            "description": null,
            "selectable": 1,
            "created_at": "2026-07-10T21:21:07.000000Z",
            "updated_at": "2026-07-22T13:39:54.000000Z"
        },
        "industry_identifiers": [],
        "conformance_level_products": [],
        "field_comments": null
    }
}
 

Request      

GET api/organisations/registration/{organisation_uuid}/status

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_uuid   string     

Example: cd70a53b-b0ae-3c4e-98c0-7acad4265a0c

Update

Update the organisations data from the user side.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/6076ed7c-7efa-3c3b-9be2-afbd2d7d0841/update" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "address_1=rerum"\
    --form "city=crdnfrgoikuu"\
    --form "state=ytytlwenpj"\
    --form "location=TK"\
    --form "zip=qnpssjrhzdgcqffsr"\
    --form "phone=+1234567890"\
    --form "email=stehr.cristina@example.com"\
    --form "contact_first_name=non"\
    --form "contact_last_name=cum"\
    --form "billing_contact_email=pedro.quitzon@example.org"\
    --form "billing_contact_first_name=cum"\
    --form "billing_contact_last_name=mollitia"\
    --form "billing_contact_phone=mkgtvjbztksuhgqtwe"\
    --form "website=https://example.com"\
    --form "conformance_level_products[][id]=10"\
    --form "conformance_level_products[][count]=72"\
    --form "name=lzbussbjtrjejjbr"\
    --form "legal_name=zgphuofztnuppypsbloovft"\
    --form "applicant_comment=et"\
    --form "industry_ids[][id]=11"\
    --form "industry_ids[][value]=wipnwztiuuooin"\
    --form "business_registration_document=@/tmp/phpNOoEHO" \
    --form "safety_data_sheet=@/tmp/phpGNMKHO" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/6076ed7c-7efa-3c3b-9be2-afbd2d7d0841/update"
);

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

const body = new FormData();
body.append('address_1', 'rerum');
body.append('city', 'crdnfrgoikuu');
body.append('state', 'ytytlwenpj');
body.append('location', 'TK');
body.append('zip', 'qnpssjrhzdgcqffsr');
body.append('phone', '+1234567890');
body.append('email', 'stehr.cristina@example.com');
body.append('contact_first_name', 'non');
body.append('contact_last_name', 'cum');
body.append('billing_contact_email', 'pedro.quitzon@example.org');
body.append('billing_contact_first_name', 'cum');
body.append('billing_contact_last_name', 'mollitia');
body.append('billing_contact_phone', 'mkgtvjbztksuhgqtwe');
body.append('website', 'https://example.com');
body.append('conformance_level_products[][id]', '10');
body.append('conformance_level_products[][count]', '72');
body.append('name', 'lzbussbjtrjejjbr');
body.append('legal_name', 'zgphuofztnuppypsbloovft');
body.append('applicant_comment', 'et');
body.append('industry_ids[][id]', '11');
body.append('industry_ids[][value]', 'wipnwztiuuooin');
body.append('business_registration_document', document.querySelector('input[name="business_registration_document"]').files[0]);
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);

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

Example response (200, Success):


{
    "message": "updated successfully"
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

PUT api/organisations/registration/{organisation_uuid}/update

PATCH api/organisations/registration/{organisation_uuid}/update

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_uuid   string     

Example: 6076ed7c-7efa-3c3b-9be2-afbd2d7d0841

Body Parameters

address_1   string     

Example: rerum

address_2   string  optional    
city   string     

Must not be greater than 255 characters. Example: crdnfrgoikuu

state   string     

Must not be greater than 255 characters. Example: ytytlwenpj

location   string     

Example: TK

Must be one of:
  • AF
  • AX
  • AL
  • DZ
  • AS
  • AD
  • AO
  • AI
  • AQ
  • AG
  • AR
  • AM
  • AW
  • AU
  • AT
  • AZ
  • BS
  • BH
  • BD
  • BB
  • BY
  • BE
  • BZ
  • BJ
  • BM
  • BT
  • BO
  • BA
  • BW
  • BV
  • BR
  • IO
  • VG
  • BN
  • BG
  • BF
  • BI
  • KH
  • CM
  • CA
  • CV
  • BQ
  • KY
  • CF
  • TD
  • CL
  • CN
  • CX
  • CC
  • CO
  • KM
  • CG
  • CD
  • CK
  • CR
  • CI
  • HR
  • CU
  • CW
  • CY
  • CZ
  • DK
  • DJ
  • DM
  • DO
  • EC
  • EG
  • SV
  • GQ
  • ER
  • EE
  • SZ
  • ET
  • FK
  • FO
  • FJ
  • FI
  • FR
  • GF
  • PF
  • TF
  • GA
  • GM
  • GE
  • DE
  • GH
  • GI
  • GR
  • GL
  • GD
  • GP
  • GU
  • GT
  • GG
  • GN
  • GW
  • GY
  • HT
  • HM
  • HN
  • HK
  • HU
  • IS
  • IN
  • ID
  • IR
  • IQ
  • IE
  • IM
  • IL
  • IT
  • JM
  • JP
  • JE
  • JO
  • KZ
  • KE
  • KI
  • KW
  • KG
  • LA
  • LV
  • LB
  • LS
  • LR
  • LY
  • LI
  • LT
  • LU
  • MO
  • MG
  • MW
  • MY
  • MV
  • ML
  • MT
  • MH
  • MQ
  • MR
  • MU
  • YT
  • MX
  • FM
  • MD
  • MC
  • MN
  • ME
  • MS
  • MA
  • MZ
  • MM
  • NA
  • NR
  • NP
  • NL
  • NC
  • NZ
  • NI
  • NE
  • NG
  • NU
  • NF
  • KP
  • MK
  • MP
  • NO
  • OM
  • PK
  • PW
  • PS
  • PA
  • PG
  • PY
  • PE
  • PH
  • PN
  • PL
  • PT
  • PR
  • QA
  • RE
  • RO
  • RU
  • RW
  • WS
  • SM
  • ST
  • SA
  • SN
  • RS
  • SC
  • SL
  • SG
  • SX
  • SK
  • SI
  • SB
  • SO
  • ZA
  • GS
  • KR
  • SS
  • ES
  • LK
  • BL
  • SH
  • KN
  • LC
  • MF
  • PM
  • VC
  • SD
  • SR
  • SJ
  • SE
  • CH
  • SY
  • TW
  • TJ
  • TZ
  • TH
  • TL
  • TG
  • TK
  • TO
  • TT
  • TN
  • TR
  • TM
  • TC
  • TV
  • UM
  • VI
  • UG
  • UA
  • AE
  • GB
  • US
  • UY
  • UZ
  • VU
  • VA
  • VE
  • VN
  • WF
  • EH
  • YE
  • ZM
  • ZW
zip   string     

Must not be greater than 64 characters. Example: qnpssjrhzdgcqffsr

phone   string  optional    

Must be at least 8 characters. Must not be greater than 20 characters. Example: +1234567890

email   string     

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

contact_first_name   string     

Example: non

contact_last_name   string     

Example: cum

billing_contact_email   string     

Must be a valid email address. Must not be greater than 254 characters. Example: pedro.quitzon@example.org

billing_contact_first_name   string     

Example: cum

billing_contact_last_name   string     

Example: mollitia

billing_contact_phone   string     

Must be at least 8 characters. Must not be greater than 20 characters. Example: mkgtvjbztksuhgqtwe

business_registration_document   file     

Business registration document provided as a file upload (PDF, JPG, or PNG). Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpNOoEHO

website   string     

[MANDATORY ONLY FOR: Vendors & Chemical Formulators] The website of the organisation. Must not be greater than 255 characters. Example: https://example.com

industry_ids   object[]  optional    

[ONLY: Suppliers & Vendors] The industry identifiers associated with the organisation.

id   integer  optional    

This field is required when industry_ids.*.value is present. The id of an existing record in the industry_identifiers table. Example: 11

value   string  optional    

This field is required when industry_ids.*.id is present. Must not be greater than 255 characters. Example: wipnwztiuuooin

safety_data_sheet   file     

[ONLY: Chemical Formulators] Safety data sheet provided as a file upload. Must be a file. Example: /tmp/phpGNMKHO

conformance_level_products   object[]     
id   integer  optional    

This field is required when conformance_level_products.*.count is present. The id of an existing record in the conformance_levels table. Example: 10

count   integer  optional    

This field is required when conformance_level_products.*.id is present. Must be at least 0. Example: 72

name   string  optional    

Must not be greater than 255 characters. Example: lzbussbjtrjejjbr

legal_name   string  optional    

Must not be greater than 255 characters. Example: zgphuofztnuppypsbloovft

applicant_comment   string  optional    

Example: et

Allowed Connections

Index

requires authentication

List all organisation connections

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections?per_page=17&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections"
);

const params = {
    "per_page": "17",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "source_type_id": 4,
            "target_type_id": 2,
            "deactivated": 0,
            "created_at": "2026-05-18T16:16:07.000000Z",
            "updated_at": "2026-05-18T16:16:07.000000Z",
            "source": {
                "id": 4,
                "name": "Brand",
                "display_name": "Brand",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            },
            "target": {
                "id": 2,
                "name": "Supplier",
                "display_name": "Supplier",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            }
        },
        {
            "id": 1,
            "source_type_id": 4,
            "target_type_id": 2,
            "deactivated": 0,
            "created_at": "2026-05-18T16:16:07.000000Z",
            "updated_at": "2026-05-18T16:16:07.000000Z",
            "source": {
                "id": 4,
                "name": "Brand",
                "display_name": "Brand",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            },
            "target": {
                "id": 2,
                "name": "Supplier",
                "display_name": "Supplier",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisations/organisation/{organisation_id}/allowed-connections

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 17

page   integer  optional    

the page number to show. Example: 1

Store

requires authentication

Store an organisation connection

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"source_type_id\": 9,
    \"target_type_id\": 1,
    \"deactivated\": true
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections"
);

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

let body = {
    "source_type_id": 9,
    "target_type_id": 1,
    "deactivated": true
};

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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "source_type_id": 4,
            "target_type_id": 2,
            "deactivated": 0,
            "created_at": "2026-05-18T16:16:07.000000Z",
            "updated_at": "2026-05-18T16:16:07.000000Z"
        },
        {
            "id": 1,
            "source_type_id": 4,
            "target_type_id": 2,
            "deactivated": 0,
            "created_at": "2026-05-18T16:16:07.000000Z",
            "updated_at": "2026-05-18T16:16:07.000000Z"
        }
    ]
}
 

Request      

POST api/organisations/organisation/{organisation_id}/allowed-connections

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

source_type_id   integer     

The id of an existing record in the organisation_types table. Example: 9

target_type_id   integer     

The id of an existing record in the organisation_types table. Example: 1

deactivated   boolean  optional    

Example: true

Destroy

requires authentication

Destroy an organisation connection

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections/1"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

DELETE api/organisations/organisation/{organisation_id}/allowed-connections/{connection_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Selectable target types

requires authentication

Get types that are selectable for a connection

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/selectable-target-types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/selectable-target-types"
);

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


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

Example response (200):


{
    "data": [
        1,
        2,
        3
    ]
}
 

Request      

GET api/organisations/{organisation_id}/connections/selectable-target-types

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Connection Associations

Index

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/associations?per_page=8&page=1&search=officiis&filter%5Btype%5D=suppliers_to_brand&filter%5Bfrom_organisation_connection_id%5D=6&filter%5Bfrom_organisation_id%5D=14&filter%5Bcreated_at%5D=%3E%3D+2026-08-10+13%3A40%3A03&filter%5Bupdated_at%5D=%3C%3D+2026-08-13+13%3A40%3A03&sort=type" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/associations"
);

const params = {
    "per_page": "8",
    "page": "1",
    "search": "officiis",
    "filter[type]": "suppliers_to_brand",
    "filter[from_organisation_connection_id]": "6",
    "filter[from_organisation_id]": "14",
    "filter[created_at]": ">= 2026-08-10 13:40:03",
    "filter[updated_at]": "<= 2026-08-13 13:40:03",
    "sort": "type",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 5,
            "type": "suppliers_to_brand",
            "to_endpoint": "receiving_organisation",
            "to_organisation_connection": {
                "id": 28719,
                "sending_organisation_id": 32571,
                "receiving_organisation_id": 32573,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:03.000000Z",
                "updated_at": "2026-07-22T13:40:03.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "from_endpoint": "sending_organisation",
            "from_organisation_connection": {
                "id": 28718,
                "sending_organisation_id": 32572,
                "receiving_organisation_id": 32573,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:03.000000Z",
                "updated_at": "2026-07-22T13:40:03.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "created_at": "2026-07-22T13:40:03.000000Z",
            "updated_at": "2026-07-22T13:40:03.000000Z"
        },
        {
            "id": 5,
            "type": "suppliers_to_brand",
            "to_endpoint": "receiving_organisation",
            "to_organisation_connection": {
                "id": 28719,
                "sending_organisation_id": 32571,
                "receiving_organisation_id": 32573,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:03.000000Z",
                "updated_at": "2026-07-22T13:40:03.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "from_endpoint": "sending_organisation",
            "from_organisation_connection": {
                "id": 28718,
                "sending_organisation_id": 32572,
                "receiving_organisation_id": 32573,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:03.000000Z",
                "updated_at": "2026-07-22T13:40:03.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "created_at": "2026-07-22T13:40:03.000000Z",
            "updated_at": "2026-07-22T13:40:03.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/connections/{connection_id}/associations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 8

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: from_organisation_name, from_organisation_location. Filter type: like. Example: officiis

filter[type]   string  optional    

Filter column type by any accepted value. Matches exact value. Example: suppliers_to_brand

Must be one of:
  • suppliers_to_brand
filter[from_organisation_connection_id]   integer  optional    

Filter column from_organisation_connection_id by any accepted value. From connection id. Example: 6

filter[from_organisation_id]   integer  optional    

Filter column from_organisation_id by any accepted value. Resolved “from” organisation id (matches sending/receiving on the from connection per from_endpoint). Example: 14

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: >= 2026-08-10 13:40:03

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-08-13 13:40:03

sort   string  optional    

sort by any accepted column: type, from_organisation_name, created_at. prefix a "-" before the column name to sort in descending order Example: type

Sync

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/associations/sync" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"suppliers_to_brand\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/associations/sync"
);

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

let body = {
    "type": "suppliers_to_brand"
};

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

Example response (200):


{
    "data": [
        {
            "id": 6,
            "type": "suppliers_to_brand",
            "to_endpoint": "receiving_organisation",
            "to_organisation_connection": {
                "id": 28722,
                "sending_organisation_id": 32574,
                "receiving_organisation_id": 32576,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:04.000000Z",
                "updated_at": "2026-07-22T13:40:04.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "from_endpoint": "sending_organisation",
            "from_organisation_connection": {
                "id": 28721,
                "sending_organisation_id": 32575,
                "receiving_organisation_id": 32576,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:04.000000Z",
                "updated_at": "2026-07-22T13:40:04.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "created_at": "2026-07-22T13:40:04.000000Z",
            "updated_at": "2026-07-22T13:40:04.000000Z"
        },
        {
            "id": 6,
            "type": "suppliers_to_brand",
            "to_endpoint": "receiving_organisation",
            "to_organisation_connection": {
                "id": 28722,
                "sending_organisation_id": 32574,
                "receiving_organisation_id": 32576,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:04.000000Z",
                "updated_at": "2026-07-22T13:40:04.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "from_endpoint": "sending_organisation",
            "from_organisation_connection": {
                "id": 28721,
                "sending_organisation_id": 32575,
                "receiving_organisation_id": 32576,
                "accepted_at": null,
                "disconnected_at": null,
                "rejected_at": null,
                "created_at": "2026-07-22T13:40:04.000000Z",
                "updated_at": "2026-07-22T13:40:04.000000Z",
                "status": "pending",
                "sharing_settings": []
            },
            "created_at": "2026-07-22T13:40:04.000000Z",
            "updated_at": "2026-07-22T13:40:04.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

POST api/organisations/{organisation_id}/connections/{connection_id}/associations/sync

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Body Parameters

type   string     

List of allowed association types. Allowed types depend on the organisation type:

  • Vendor:
    • suppliers_to_brand. Example: suppliers_to_brand
Must be one of:
  • suppliers_to_brand
organisation_connection_ids   object  optional    

List of organisation connection IDs to sync the association with. The connections have to be active and the counterpart organisation type has to be allowed for the selected association type. The id of an existing record in the organisation_connections table.

Connections

Index

requires authentication

List all organisation connections

Each item in data can include one integer field per {@see OrganisationConnectionAssociationTypeEnum} case: {type}_association_count (e.g. suppliers_to_brand_association_count), from withCount on the connection model.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections?per_page=19&page=1&search=a&filter%5Bstatus%5D=ut&filter%5Binitiated_by%5D=reprehenderit&filter%5Blabels%5D=sunt&filter%5Borganisation_type%5D=laborum&filter%5Borganisation_location%5D=eaque" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections"
);

const params = {
    "per_page": "19",
    "page": "1",
    "search": "a",
    "filter[status]": "ut",
    "filter[initiated_by]": "reprehenderit",
    "filter[labels]": "sunt",
    "filter[organisation_type]": "laborum",
    "filter[organisation_location]": "eaque",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "sending_organisation_id": 16683,
            "receiving_organisation_id": 15134,
            "accepted_at": "2021-01-15 00:00:00",
            "disconnected_at": null,
            "rejected_at": null,
            "created_at": "2021-01-15T00:00:00.000000Z",
            "updated_at": "2021-01-15T00:00:00.000000Z",
            "status": "active",
            "receiving_organisation": {
                "id": 15134,
                "maxio_customer_id": 316814,
                "reference_id": "01-MUWWADSZBJ-C",
                "pdc_id": null,
                "gateway_aid": "A284DO88",
                "uuid": "6cd3c3c4-1625-4994-9504-cba1508ea5b0",
                "type_id": 2,
                "status": "approved",
                "name": "Bindal Silk Mills Private Limited",
                "legal_name": "Bindal Silk Mills Private Limited",
                "address_1": "p-216,kadodara",
                "address_2": null,
                "city": "Surat",
                "state": "Gujarat",
                "location": "IN",
                "zip": "394327",
                "phone": "02622 271009,",
                "email": "mail@bindalmill.com",
                "contact_first_name": "avichal",
                "contact_last_name": "arya",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": null,
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2017-09-27T03:26:36.000000Z",
                "updated_at": "2026-07-22T09:05:01.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "India",
                "type": {
                    "id": 2,
                    "name": "Supplier",
                    "display_name": "Supplier",
                    "description": null,
                    "selectable": 1,
                    "created_at": "2026-07-10T21:21:07.000000Z",
                    "updated_at": "2026-07-22T13:39:54.000000Z"
                }
            },
            "sending_organisation": {
                "id": 16683,
                "maxio_customer_id": 318363,
                "reference_id": "01-8SVVW3SZ8A-Q",
                "pdc_id": null,
                "gateway_aid": "A137YR68",
                "uuid": "09578e71-a973-44fe-90eb-03ec3eb11ba8",
                "type_id": 4,
                "status": "approved",
                "name": "Primark",
                "legal_name": "Primark",
                "address_1": "10 Grosvenor Street, London, W1K 4QY",
                "address_2": null,
                "city": "City Of London",
                "state": "London",
                "location": "GB",
                "zip": "",
                "phone": "+44 7525203334",
                "email": "hhabibhasan@primark.co.uk",
                "contact_first_name": "HANDE",
                "contact_last_name": "Tezer",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.primark.com/en/homepage",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2017-08-01T00:00:00.000000Z",
                "updated_at": "2026-07-22T09:10:49.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "United Kingdom",
                "type": {
                    "id": 4,
                    "name": "Brand",
                    "display_name": "Brand",
                    "description": null,
                    "selectable": 1,
                    "created_at": "2026-07-10T21:21:07.000000Z",
                    "updated_at": "2026-07-22T13:39:54.000000Z"
                }
            }
        },
        {
            "id": 1,
            "sending_organisation_id": 16683,
            "receiving_organisation_id": 15134,
            "accepted_at": "2021-01-15 00:00:00",
            "disconnected_at": null,
            "rejected_at": null,
            "created_at": "2021-01-15T00:00:00.000000Z",
            "updated_at": "2021-01-15T00:00:00.000000Z",
            "status": "active",
            "receiving_organisation": {
                "id": 15134,
                "maxio_customer_id": 316814,
                "reference_id": "01-MUWWADSZBJ-C",
                "pdc_id": null,
                "gateway_aid": "A284DO88",
                "uuid": "6cd3c3c4-1625-4994-9504-cba1508ea5b0",
                "type_id": 2,
                "status": "approved",
                "name": "Bindal Silk Mills Private Limited",
                "legal_name": "Bindal Silk Mills Private Limited",
                "address_1": "p-216,kadodara",
                "address_2": null,
                "city": "Surat",
                "state": "Gujarat",
                "location": "IN",
                "zip": "394327",
                "phone": "02622 271009,",
                "email": "mail@bindalmill.com",
                "contact_first_name": "avichal",
                "contact_last_name": "arya",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": null,
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2017-09-27T03:26:36.000000Z",
                "updated_at": "2026-07-22T09:05:01.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "India",
                "type": {
                    "id": 2,
                    "name": "Supplier",
                    "display_name": "Supplier",
                    "description": null,
                    "selectable": 1,
                    "created_at": "2026-07-10T21:21:07.000000Z",
                    "updated_at": "2026-07-22T13:39:54.000000Z"
                }
            },
            "sending_organisation": {
                "id": 16683,
                "maxio_customer_id": 318363,
                "reference_id": "01-8SVVW3SZ8A-Q",
                "pdc_id": null,
                "gateway_aid": "A137YR68",
                "uuid": "09578e71-a973-44fe-90eb-03ec3eb11ba8",
                "type_id": 4,
                "status": "approved",
                "name": "Primark",
                "legal_name": "Primark",
                "address_1": "10 Grosvenor Street, London, W1K 4QY",
                "address_2": null,
                "city": "City Of London",
                "state": "London",
                "location": "GB",
                "zip": "",
                "phone": "+44 7525203334",
                "email": "hhabibhasan@primark.co.uk",
                "contact_first_name": "HANDE",
                "contact_last_name": "Tezer",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.primark.com/en/homepage",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2017-08-01T00:00:00.000000Z",
                "updated_at": "2026-07-22T09:10:49.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "United Kingdom",
                "type": {
                    "id": 4,
                    "name": "Brand",
                    "display_name": "Brand",
                    "description": null,
                    "selectable": 1,
                    "created_at": "2026-07-10T21:21:07.000000Z",
                    "updated_at": "2026-07-22T13:39:54.000000Z"
                }
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/connections

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 19

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: organisation_name, legal_name, organisation_location. Filter type: like. Example: a

filter[status]   The status of the connection. Can be one of: active, pending, rejected, disconnected  optional    

Filter column status by any accepted value. custom Example: ut

filter[initiated_by]   The organisation that initiated the connection. Can be one of: us, them  optional    

Filter column initiated_by by any accepted value. custom Example: reprehenderit

filter[labels]   Comma-separated label IDs. Returns connections that have at least one of these labels.  optional    

Filter column labels by any accepted value. custom Example: sunt

filter[organisation_type]   Comma-separated organisation type IDs. Matches connections where either sendingOrganisation.type or receivingOrganisation.type has one of these type IDs.  optional    

Filter column organisation_type by any accepted value. custom Example: laborum

filter[organisation_location]   Comma-separated location values. Matches connections where either sendingOrganisation.location or receivingOrganisation.location has one of these values.  optional    

Filter column organisation_location by any accepted value. custom Example: eaque

Export connections as CSV

requires authentication

All connections for the organisation (unpaginated, one row per connection). The other party on each connection is used for the organisation columns.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/export"
);

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


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

Example response (200):


file
 

Request      

GET api/organisations/{organisation_id}/connections/export

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Search connectable organisations

requires authentication

Search for connectable organisations

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/search-connectable-organisations?page=1&per_page=9&search=maiores" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type_id\": 1,
    \"search\": \"dolorum\",
    \"exclude_connected\": \"true\",
    \"exclude_pending\": \"true\",
    \"include_all\": \"false\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/search-connectable-organisations"
);

const params = {
    "page": "1",
    "per_page": "9",
    "search": "maiores",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "type_id": 1,
    "search": "dolorum",
    "exclude_connected": "true",
    "exclude_pending": "true",
    "include_all": "false"
};

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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 2,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China"
        },
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 2,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/connections/search-connectable-organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 9

search   string  optional    

Search in all of these columns: name, legal_name, id. Filter type: like. Example: maiores

Body Parameters

type_id   integer     

The id of an existing record in the organisation_types table. Example: 1

search   string     

Example: dolorum

exclude_connected   string  optional    

Example: true

Must be one of:
  • true
  • false
  • 1
  • 0
exclude_pending   string  optional    

Example: true

Must be one of:
  • true
  • false
  • 1
  • 0
include_all   string  optional    

Example: false

Must be one of:
  • true
  • false
  • 1
  • 0

Show

requires authentication

Show an organisation connection

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "sending_organisation_id": 16683,
        "receiving_organisation_id": 15134,
        "accepted_at": "2021-01-15 00:00:00",
        "disconnected_at": null,
        "rejected_at": null,
        "created_at": "2021-01-15T00:00:00.000000Z",
        "updated_at": "2021-01-15T00:00:00.000000Z",
        "status": "active",
        "sending_organisation": {
            "id": 16683,
            "reference_id": "01-8SVVW3SZ8A-Q",
            "type_id": 4,
            "name": "Primark",
            "address_1": "10 Grosvenor Street, London, W1K 4QY",
            "address_2": null,
            "city": "City Of London",
            "state": "London",
            "location": "GB",
            "zip": "",
            "phone": "+44 7525203334",
            "email": "hhabibhasan@primark.co.uk",
            "website": "https://www.primark.com/en/homepage",
            "avatar_url": null,
            "location_name": "United Kingdom"
        },
        "receiving_organisation": {
            "id": 15134,
            "reference_id": "01-MUWWADSZBJ-C",
            "type_id": 2,
            "name": "Bindal Silk Mills Private Limited",
            "address_1": "p-216,kadodara",
            "address_2": null,
            "city": "Surat",
            "state": "Gujarat",
            "location": "IN",
            "zip": "394327",
            "phone": "02622 271009,",
            "email": "mail@bindalmill.com",
            "website": null,
            "avatar_url": null,
            "location_name": "India"
        },
        "labels": [],
        "sharing_settings": []
    }
}
 

Request      

GET api/organisations/{organisation_id}/connections/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the connection. Example: 1

Update

requires authentication

Update an organisation connection

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"labels\": [
        \"b\"
    ],
    \"sharing_settings\": [
        {
            \"type\": \"deleniti\",
            \"active\": false
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1"
);

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

let body = {
    "labels": [
        "b"
    ],
    "sharing_settings": [
        {
            "type": "deleniti",
            "active": false
        }
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "sending_organisation_id": 16683,
        "receiving_organisation_id": 15134,
        "accepted_at": "2021-01-15 00:00:00",
        "disconnected_at": null,
        "rejected_at": null,
        "created_at": "2021-01-15T00:00:00.000000Z",
        "updated_at": "2021-01-15T00:00:00.000000Z",
        "status": "active",
        "sharing_settings": []
    }
}
 

Request      

PUT api/organisations/{organisation_id}/connections/{id}

PATCH api/organisations/{organisation_id}/connections/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the connection. Example: 1

Body Parameters

labels   string[]  optional    

Must not be greater than 255 characters.

sharing_settings   object[]     
type   string     

List of sharing types to enable for this connection. Allowed values depend on the organisation type:

  • Supplier:

    • share_chemical_inventory
    • share_wastewater_reporting
    • share_laboratory_data
  • Brand:

    • share_connection_on_detox. Example: deleniti
active   boolean     

Whether this sharing type is enabled (true) or disabled (false) for the connection. Example: false

Invite

requires authentication

Invite an organisation to connect

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/invite" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"organisation_id\": 5
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/invite"
);

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

let body = {
    "organisation_id": 5
};

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

Example response (200):


Organisation connection initiated
 

Request      

POST api/organisations/{organisation_id}/connections/invite

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

organisation_id   integer     

The id of an existing record in the organisations table. Example: 5

Accept

requires authentication

Accept an organisation connection

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/accept" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/accept"
);

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


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

Example response (200):


{
    "message": "Organisation connection accepted"
}
 

Request      

POST api/organisations/{organisation_id}/connections/{connection_id}/accept

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Reject

requires authentication

Reject an organisation connection

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/reject" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/reject"
);

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


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

Example response (200):


{
    "message": "Organisation connection rejected"
}
 

Request      

POST api/organisations/{organisation_id}/connections/{connection_id}/reject

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Disconnect

requires authentication

Disconnect an organisation connection

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/disconnect" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/disconnect"
);

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


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

Example response (200):


{
    "message": "Organisation disconnected"
}
 

Request      

POST api/organisations/{organisation_id}/connections/{connection_id}/disconnect

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Cancel

requires authentication

Cancel a pending organisation connection request

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/cancel" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/cancel"
);

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


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

Example response (200):


{
    "message": "Connection request cancelled"
}
 

Request      

POST api/organisations/{organisation_id}/connections/{connection_id}/cancel

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

connection_id   integer     

The ID of the connection. Example: 1

Index

requires authentication

List all organisations.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations?filter%5Bstatus%5D=culpa&filter%5Bname%5D=a&filter%5Btype_id%5D=ullam&filter%5Bdeactivated%5D=&sort=name&page=1&per_page=4&search=ea" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations"
);

const params = {
    "filter[status]": "culpa",
    "filter[name]": "a",
    "filter[type_id]": "ullam",
    "filter[deactivated]": "0",
    "sort": "name",
    "page": "1",
    "per_page": "4",
    "search": "ea",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 2,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China",
            "type_name": "Brand",
            "deleted_at": null
        },
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 3,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China",
            "type_name": "ZDHC MRSL Certification Bodies",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "50",
        "to": 2
    }
}
 

Request      

GET api/organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: culpa

filter[name]   string  optional    

Filter column name by any accepted value. Matches part of the value. Example: a

filter[type_id]   string  optional    

Filter column type_id by any accepted value. Matches exact value. Example: ullam

filter[deactivated]   boolean  optional    

Filter column deactivated by any accepted value. Filter by deactivation status. Only available for ZDHC Internal organisations. Example: false

sort   string  optional    

sort by any accepted column: name, type_name, status, created_at, contact_first_name, contact_last_name. prefix a "-" before the column name to sort in descending order Example: name

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 4

search   string  optional    

Search in all of these columns: name, status, contact_first_name, contact_last_name. Filter type: like. Example: ea

Show

Show an organisation's data.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "maxio_customer_id": 268249,
        "reference_id": "01-6FUUY46UMH-P",
        "pdc_id": null,
        "gateway_aid": "A356IB10",
        "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
        "type_id": 2,
        "status": "approved",
        "name": "Ping Yang Pengye Shoes Com Ltd",
        "legal_name": "Ping Yang Pengye Shoes Com Ltd",
        "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
        "address_2": null,
        "city": "Wenzhou",
        "state": "Zhejiang",
        "location": "CN",
        "zip": "",
        "phone": "",
        "email": "pengye@126.com",
        "contact_first_name": "JIAN",
        "contact_last_name": "Le",
        "billing_contact_email": null,
        "billing_contact_first_name": null,
        "billing_contact_last_name": null,
        "billing_contact_phone": null,
        "business_registration_document_extension": null,
        "business_registration_document_name": null,
        "safety_data_sheet_name": null,
        "website": null,
        "avatar_url": null,
        "applicant_comment": null,
        "reviewer_comment": null,
        "registration_mail_sent_at": null,
        "created_at": "2021-11-04T12:19:55.000000Z",
        "updated_at": "2026-07-22T08:08:27.000000Z",
        "reviewer_comment_category": null,
        "profile_reviewed_at": null,
        "profile_reviewed_by_user_id": null,
        "location_name": "China",
        "type": {
            "id": 2,
            "name": "Supplier",
            "display_name": "Supplier",
            "description": null,
            "selectable": 1,
            "created_at": "2026-07-10T21:21:07.000000Z",
            "updated_at": "2026-07-22T13:39:54.000000Z"
        },
        "industry_identifiers": [],
        "conformance_level_products": [],
        "field_comments": null
    }
}
 

Request      

GET api/organisations/{subject_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

subject_id   integer     

The ID of the subject. Example: 1

Update

Update an organisation's data. Use a PATCH request for partial updates to get better performance.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "address_1=eos"\
    --form "city=llkcij"\
    --form "state=yxmwgbanmoxlgvjqlbepk"\
    --form "location=QA"\
    --form "zip=xasdfdhflm"\
    --form "phone=+1234567890"\
    --form "email=ocie11@example.net"\
    --form "contact_first_name=consequatur"\
    --form "contact_last_name=occaecati"\
    --form "billing_contact_email=cmurray@example.net"\
    --form "billing_contact_first_name=sed"\
    --form "billing_contact_last_name=id"\
    --form "billing_contact_phone=l"\
    --form "website=https://example.com"\
    --form "conformance_level_products[][id]=18"\
    --form "conformance_level_products[][count]=54"\
    --form "status=needs_correction"\
    --form "reviewer_comment=blanditiis"\
    --form "reviewer_comment_category=Invalid documentation"\
    --form "industry_ids[][id]=1"\
    --form "industry_ids[][value]=ocirqzsgbpvilffe"\
    --form "business_registration_document=@/tmp/phpggmnIJ" \
    --form "safety_data_sheet=@/tmp/phpppjEJJ" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1"
);

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

const body = new FormData();
body.append('address_1', 'eos');
body.append('city', 'llkcij');
body.append('state', 'yxmwgbanmoxlgvjqlbepk');
body.append('location', 'QA');
body.append('zip', 'xasdfdhflm');
body.append('phone', '+1234567890');
body.append('email', 'ocie11@example.net');
body.append('contact_first_name', 'consequatur');
body.append('contact_last_name', 'occaecati');
body.append('billing_contact_email', 'cmurray@example.net');
body.append('billing_contact_first_name', 'sed');
body.append('billing_contact_last_name', 'id');
body.append('billing_contact_phone', 'l');
body.append('website', 'https://example.com');
body.append('conformance_level_products[][id]', '18');
body.append('conformance_level_products[][count]', '54');
body.append('status', 'needs_correction');
body.append('reviewer_comment', 'blanditiis');
body.append('reviewer_comment_category', 'Invalid documentation');
body.append('industry_ids[][id]', '1');
body.append('industry_ids[][value]', 'ocirqzsgbpvilffe');
body.append('business_registration_document', document.querySelector('input[name="business_registration_document"]').files[0]);
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);

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

Example response (200, Success):


{
    "message": "updated successfully"
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

PUT api/organisations/{subject_id}

PATCH api/organisations/{subject_id}

Headers

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

subject_id   integer     

The ID of the subject. Example: 1

Body Parameters

address_1   string     

Example: eos

address_2   string  optional    
city   string     

Must not be greater than 255 characters. Example: llkcij

state   string     

Must not be greater than 255 characters. Example: yxmwgbanmoxlgvjqlbepk

location   string     

Example: QA

Must be one of:
  • AF
  • AX
  • AL
  • DZ
  • AS
  • AD
  • AO
  • AI
  • AQ
  • AG
  • AR
  • AM
  • AW
  • AU
  • AT
  • AZ
  • BS
  • BH
  • BD
  • BB
  • BY
  • BE
  • BZ
  • BJ
  • BM
  • BT
  • BO
  • BA
  • BW
  • BV
  • BR
  • IO
  • VG
  • BN
  • BG
  • BF
  • BI
  • KH
  • CM
  • CA
  • CV
  • BQ
  • KY
  • CF
  • TD
  • CL
  • CN
  • CX
  • CC
  • CO
  • KM
  • CG
  • CD
  • CK
  • CR
  • CI
  • HR
  • CU
  • CW
  • CY
  • CZ
  • DK
  • DJ
  • DM
  • DO
  • EC
  • EG
  • SV
  • GQ
  • ER
  • EE
  • SZ
  • ET
  • FK
  • FO
  • FJ
  • FI
  • FR
  • GF
  • PF
  • TF
  • GA
  • GM
  • GE
  • DE
  • GH
  • GI
  • GR
  • GL
  • GD
  • GP
  • GU
  • GT
  • GG
  • GN
  • GW
  • GY
  • HT
  • HM
  • HN
  • HK
  • HU
  • IS
  • IN
  • ID
  • IR
  • IQ
  • IE
  • IM
  • IL
  • IT
  • JM
  • JP
  • JE
  • JO
  • KZ
  • KE
  • KI
  • KW
  • KG
  • LA
  • LV
  • LB
  • LS
  • LR
  • LY
  • LI
  • LT
  • LU
  • MO
  • MG
  • MW
  • MY
  • MV
  • ML
  • MT
  • MH
  • MQ
  • MR
  • MU
  • YT
  • MX
  • FM
  • MD
  • MC
  • MN
  • ME
  • MS
  • MA
  • MZ
  • MM
  • NA
  • NR
  • NP
  • NL
  • NC
  • NZ
  • NI
  • NE
  • NG
  • NU
  • NF
  • KP
  • MK
  • MP
  • NO
  • OM
  • PK
  • PW
  • PS
  • PA
  • PG
  • PY
  • PE
  • PH
  • PN
  • PL
  • PT
  • PR
  • QA
  • RE
  • RO
  • RU
  • RW
  • WS
  • SM
  • ST
  • SA
  • SN
  • RS
  • SC
  • SL
  • SG
  • SX
  • SK
  • SI
  • SB
  • SO
  • ZA
  • GS
  • KR
  • SS
  • ES
  • LK
  • BL
  • SH
  • KN
  • LC
  • MF
  • PM
  • VC
  • SD
  • SR
  • SJ
  • SE
  • CH
  • SY
  • TW
  • TJ
  • TZ
  • TH
  • TL
  • TG
  • TK
  • TO
  • TT
  • TN
  • TR
  • TM
  • TC
  • TV
  • UM
  • VI
  • UG
  • UA
  • AE
  • GB
  • US
  • UY
  • UZ
  • VU
  • VA
  • VE
  • VN
  • WF
  • EH
  • YE
  • ZM
  • ZW
zip   string     

Must not be greater than 64 characters. Example: xasdfdhflm

phone   string  optional    

Must be at least 8 characters. Must not be greater than 20 characters. Example: +1234567890

email   string     

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

contact_first_name   string     

Example: consequatur

contact_last_name   string     

Example: occaecati

billing_contact_email   string     

Must be a valid email address. Must not be greater than 254 characters. Example: cmurray@example.net

billing_contact_first_name   string     

Example: sed

billing_contact_last_name   string     

Example: id

billing_contact_phone   string     

Must be at least 8 characters. Must not be greater than 20 characters. Example: l

business_registration_document   file     

Business registration document provided as a file upload (PDF, JPG, or PNG). Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpggmnIJ

website   string     

[MANDATORY ONLY FOR: Vendors & Chemical Formulators] The website of the organisation. Must not be greater than 255 characters. Example: https://example.com

industry_ids   object[]  optional    

[ONLY: Suppliers & Vendors] The industry identifiers associated with the organisation.

id   integer  optional    

This field is required when industry_ids.*.value is present. The id of an existing record in the industry_identifiers table. Example: 1

value   string  optional    

This field is required when industry_ids.*.id is present. Must not be greater than 255 characters. Example: ocirqzsgbpvilffe

safety_data_sheet   file     

[ONLY: Chemical Formulators] Safety data sheet provided as a file upload. Must be a file. Example: /tmp/phpppjEJJ

conformance_level_products   object[]     
id   integer  optional    

This field is required when conformance_level_products.*.count is present. The id of an existing record in the conformance_levels table. Example: 18

count   integer  optional    

This field is required when conformance_level_products.*.id is present. Must be at least 0. Example: 54

status   string  optional    

Example: needs_correction

Must be one of:
  • approved
  • submitted
  • needs_correction
  • rejected
reviewer_comment   string  optional    

Example: blanditiis

reviewer_comment_category   string  optional    

Example: Invalid documentation

Must be one of:
  • Incomplete information
  • Invalid documentation
  • Unqualified organisation type
  • Non-compliance with Requirements
  • Other

Distinct Status

requires authentication

Get a list of distinct organisation statuses.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-status" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-status"
);

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


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

Example response (200, Success):


{
    "data": [
        "submitted",
        "needs_correction",
        "approved",
        "rejected"
    ]
}
 

Request      

GET api/organisations-distinct-status

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Distinct Types

requires authentication

Get a list of distinct organisation types.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-types"
);

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


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

Example response (200, Success):


{
    "data": {
        "1": "Supplier",
        "2": "Vendor"
    }
}
 

Request      

GET api/organisations-distinct-types

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Deactivate

requires authentication

Soft-delete an organisation by setting its deleted_at timestamp.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/deactivate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/deactivate"
);

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


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

Example response (200, Success):


{
    "message": "Organisation deactivated successfully"
}
 

Request      

POST api/organisations/{subject_id}/deactivate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

subject_id   integer     

The ID of the subject. Example: 1

Reactivate

requires authentication

Restore a soft-deleted organisation by clearing its deleted_at timestamp.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/reactivate" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/reactivate"
);

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


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

Example response (200, Success):


{
    "message": "Organisation reactivated successfully"
}
 

Request      

POST api/organisations/{subject}/reactivate

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

subject   integer     

Example: 1

Request name change

requires authentication

Request a name change for an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/name-change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=mg"\
    --form "legal_name=ilfqhnmyziraqqkidfr"\
    --form "change_reason=bgxtsj"\
    --form "confirmation=1"\
    --form "evidence=@/tmp/phpMGJjOM" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/name-change"
);

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

const body = new FormData();
body.append('name', 'mg');
body.append('legal_name', 'ilfqhnmyziraqqkidfr');
body.append('change_reason', 'bgxtsj');
body.append('confirmation', '1');
body.append('evidence', document.querySelector('input[name="evidence"]').files[0]);

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

Example response (200):


email sent to [support email address]
 

Request      

POST api/organisations/{organisation_id}/name-change

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string  optional    

This field is required when legal_name is not present. Must not be greater than 255 characters. Example: mg

legal_name   string  optional    

This field is required when name is not present. Must not be greater than 255 characters. Example: ilfqhnmyziraqqkidfr

change_reason   string     

Must not be greater than 10000 characters. Example: bgxtsj

evidence   file  optional    

Must be a file. Must not be greater than 10240 kilobytes. Example: /tmp/phpMGJjOM

confirmation   boolean     

Must be accepted. Example: true

Profile

Public profile

requires authentication

Get a public profile of an organisation.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-profile/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-profile/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "reference_id": "01-6FUUY46UMH-P",
        "type_id": 2,
        "name": "Ping Yang Pengye Shoes Com Ltd",
        "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
        "address_2": null,
        "city": "Wenzhou",
        "state": "Zhejiang",
        "location": "CN",
        "zip": "",
        "phone": "",
        "email": "pengye@126.com",
        "website": null,
        "avatar_url": null,
        "location_name": "China",
        "os_hub_identifier": null,
        "type": {
            "id": 2,
            "name": "Supplier"
        },
        "further_details": null
    }
}
 

Request      

GET api/organisations/{organisation_id}/organisation-profile/{subject_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

subject_id   integer     

The ID of the subject. Example: 1

Visibility Settings

Show Visibility settings

requires authentication

Get all visibility settings of an organisation, grouped by visibility type.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings"
);

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


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

Example response (200, Success):


{
    "message": "Visibility settings fetched successfully"
}
 

Request      

GET api/organisations/{organisation_id}/visibility-settings

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Update Visibility settings

requires authentication

Update the visibility settings of an organisation.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"visibility_type\": \"sds_files\",
    \"visibility_settings\": [
        {
            \"organisation_type_id\": 2,
            \"visible\": false
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings"
);

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

let body = {
    "visibility_type": "sds_files",
    "visibility_settings": [
        {
            "organisation_type_id": 2,
            "visible": false
        }
    ]
};

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

Example response (200, Success):


{
    "message": "Visibility settings updated successfully"
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

PUT api/organisations/{organisation_id}/visibility-settings

PATCH api/organisations/{organisation_id}/visibility-settings

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

visibility_type   string     

Visibility type: organisation_profile_details or sds_files. sds_files is ONLY available for Chemical Formulators.
Other organisation types (e.g. Supplier) will receive a validation error if they use sds_files. Example: sds_files

Must be one of:
  • organisation_profile_details
  • sds_files
visibility_settings   object[]     

Must have at least 1 items.

organisation_type_id   integer     

The id of an existing record in the organisation_types table. Example: 2

Must be one of:
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
visible   boolean     

Example: false

History

Index

requires authentication

List all history entries for an organisation.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/history" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/history"
);

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


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

Example response (200):


{
    "data": [
        [],
        []
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "10",
        "to": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/history

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Invitations

Index

requires authentication

List all invitations for the organisation.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation?per_page=1&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation"
);

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

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "06-TNF3AN3BDRYG-W",
            "uuid": "a24f97b7-9937-421a-b03e-fa2020b7811a",
            "inviting_organisation_id": 20359,
            "inviting_user_id": 32760,
            "receiving_organisation_id": 20359,
            "receiving_user_id": 32760,
            "status": "INVITED",
            "valid_until": "2026-07-28T09:48:35.000000Z",
            "redeemed_at": null,
            "auto_connect": false,
            "created_at": "2026-07-21T09:48:35.000000Z",
            "updated_at": "2026-07-21T09:48:35.000000Z",
            "receiving_organisation": {
                "id": 20359,
                "reference_id": "01-TMEREQBXYLR-U",
                "type_id": 1,
                "name": "test-ZDHC Internal",
                "address_1": "8565 Schumm Extension Suite 074",
                "address_2": "Suite 307",
                "city": "Aileenfurt",
                "state": "Iowa",
                "location": "ZA",
                "zip": "91167",
                "phone": "+15156239240",
                "email": "marques89@mclaughlin.net",
                "website": "http://denesik.net/reiciendis-et-repellendus-debitis-maiores-maxime-temporibus-et",
                "avatar_url": null,
                "location_name": "South Africa"
            },
            "receiving_user": {
                "id": 32760,
                "email": "y.mehta@zdhc.org",
                "profile_picture_url": null
            },
            "inviting_user": {
                "id": 32760,
                "email": "y.mehta@zdhc.org",
                "profile_picture_url": null
            }
        },
        {
            "id": 1,
            "reference_id": "06-TNF3AN3BDRYG-W",
            "uuid": "a24f97b7-9937-421a-b03e-fa2020b7811a",
            "inviting_organisation_id": 20359,
            "inviting_user_id": 32760,
            "receiving_organisation_id": 20359,
            "receiving_user_id": 32760,
            "status": "INVITED",
            "valid_until": "2026-07-28T09:48:35.000000Z",
            "redeemed_at": null,
            "auto_connect": false,
            "created_at": "2026-07-21T09:48:35.000000Z",
            "updated_at": "2026-07-21T09:48:35.000000Z",
            "receiving_organisation": {
                "id": 20359,
                "reference_id": "01-TMEREQBXYLR-U",
                "type_id": 1,
                "name": "test-ZDHC Internal",
                "address_1": "8565 Schumm Extension Suite 074",
                "address_2": "Suite 307",
                "city": "Aileenfurt",
                "state": "Iowa",
                "location": "ZA",
                "zip": "91167",
                "phone": "+15156239240",
                "email": "marques89@mclaughlin.net",
                "website": "http://denesik.net/reiciendis-et-repellendus-debitis-maiores-maxime-temporibus-et",
                "avatar_url": null,
                "location_name": "South Africa"
            },
            "receiving_user": {
                "id": 32760,
                "email": "y.mehta@zdhc.org",
                "profile_picture_url": null
            },
            "inviting_user": {
                "id": 32760,
                "email": "y.mehta@zdhc.org",
                "profile_picture_url": null
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/invitation

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 1

page   integer  optional    

the page number to show. Example: 1

Store

requires authentication

Create a new invitation for the organisation

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"organisation_type_id\": 15,
    \"email\": \"febert@example.net\",
    \"auto_connect\": false
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation"
);

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

let body = {
    "organisation_type_id": 15,
    "email": "febert@example.net",
    "auto_connect": false
};

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisations/{organisation_id}/invitation

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

organisation_type_id   integer     

The id of an existing record in the organisation_types table. Example: 15

email   string     

Must be a valid email address. Must not be greater than 254 characters. Example: febert@example.net

auto_connect   boolean  optional    

Example: false

Subscriptions

Index

requires authentication

Get Subscriptions

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions?per_page=12&page=1&filter%5Bsubscribable_product_id%5D=15&filter%5Bstatus%5D=qui&filter%5Binvoice_created_at%5D=aut&filter%5Bstart_at%5D=eligendi&filter%5Bvalid_until%5D=qui&filter%5Bcreated_at%5D=in&filter%5Bupdated_at%5D=vitae&search=dolor&sort=id&column=id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions"
);

const params = {
    "per_page": "12",
    "page": "1",
    "filter[subscribable_product_id]": "15",
    "filter[status]": "qui",
    "filter[invoice_created_at]": "aut",
    "filter[start_at]": "eligendi",
    "filter[valid_until]": "qui",
    "filter[created_at]": "in",
    "filter[updated_at]": "vitae",
    "search": "dolor",
    "sort": "id",
    "column": "id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "organisation_id": 8,
            "subscribable_product_id": 15,
            "status": "active",
            "auto_renew": false,
            "selected_stairstep": null,
            "maxio_subscription_id": 408763,
            "expired_at": null,
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z",
            "deleted_at": null,
            "subscribable_product": {
                "id": 15,
                "subscribable_product_family_handle": "suppliers",
                "subscribable_product_family_id": 2663,
                "name": "ClearStream - Reporting Fee",
                "handle": "clearstream",
                "maxio_product_id": 5123,
                "created_at": "2026-07-11T00:00:05.000000Z",
                "updated_at": "2026-07-11T00:00:05.000000Z",
                "deleted_at": null
            },
            "current_period": {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            },
            "periods": [
                {
                    "id": 1,
                    "organisation_product_subscription_id": 1,
                    "starts_at": "2026-06-26T11:38:21.000000Z",
                    "ends_at": "2027-06-26T11:38:21.000000Z",
                    "role": "signup",
                    "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                    "maxio_payment_id": null,
                    "payment_status": "open",
                    "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                    "invoice_paid_at": null,
                    "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                    "created_at": "2026-07-11T00:24:27.000000Z",
                    "updated_at": "2026-07-11T00:24:27.000000Z"
                }
            ],
            "invoices": [],
            "usage": []
        },
        {
            "id": 1,
            "organisation_id": 8,
            "subscribable_product_id": 15,
            "status": "active",
            "auto_renew": false,
            "selected_stairstep": null,
            "maxio_subscription_id": 408763,
            "expired_at": null,
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z",
            "deleted_at": null,
            "subscribable_product": {
                "id": 15,
                "subscribable_product_family_handle": "suppliers",
                "subscribable_product_family_id": 2663,
                "name": "ClearStream - Reporting Fee",
                "handle": "clearstream",
                "maxio_product_id": 5123,
                "created_at": "2026-07-11T00:00:05.000000Z",
                "updated_at": "2026-07-11T00:00:05.000000Z",
                "deleted_at": null
            },
            "current_period": {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            },
            "periods": [
                {
                    "id": 1,
                    "organisation_product_subscription_id": 1,
                    "starts_at": "2026-06-26T11:38:21.000000Z",
                    "ends_at": "2027-06-26T11:38:21.000000Z",
                    "role": "signup",
                    "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                    "maxio_payment_id": null,
                    "payment_status": "open",
                    "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                    "invoice_paid_at": null,
                    "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                    "created_at": "2026-07-11T00:24:27.000000Z",
                    "updated_at": "2026-07-11T00:24:27.000000Z"
                }
            ],
            "invoices": [],
            "usage": []
        }
    ]
}
 

Request      

GET api/organisations/{organisation_id}/subscriptions

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 12

page   integer  optional    

the page number to show. Example: 1

filter[subscribable_product_id]   integer  optional    

Filter column subscribable_product_id by any accepted value. Filter by product ID (multiple selection allowed) Example: 15

filter[subscribable_products.handle]   string  optional    

Filter column subscribable_products.handle by any accepted value. Filter by product handle (multiple selection allowed) Example: sequi

filter[status]   string  optional    

Filter column status by any accepted value. Filter by status (multiple selection allowed) Example: qui

filter[invoice_created_at]   datetime  optional    

Filter column invoice_created_at by any accepted value. Filter by invoice created date Example: aut

filter[start_at]   datetime  optional    

Filter column start_at by any accepted value. Filter by start date Example: eligendi

filter[valid_until]   datetime  optional    

Filter column valid_until by any accepted value. Filter by valid until date Example: qui

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. Filter by created date Example: in

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. Filter by updated date Example: vitae

search   string  optional    

Search in all of these columns: subscribable_product.name. Filter type: like. Example: dolor

sort   string  optional    

sort by any accepted column: id, subscribable_product.name, status, invoice_created_at, start_at, valid_until, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: id

column   string  optional    

get a distinct list of filterable values for any of the columns: id, subscribable_product.name, status, invoice_created_at, start_at, valid_until, created_at, updated_at. Example: id

Chargify.js security token

requires authentication

Returns a signed JWT for use as securityToken in Chargify.js client config. Call this when loading the Chargify.js form; pass the token to chargify.load({ securityToken: ... }). Uses organisation id as subject (sub) for per-account rate limiting in Maxio.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/chargify-security-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/chargify-security-token"
);

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


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

Example response (200):


{
    "data": {
        "security_token": "eyJ0eXAiOiJKV1QiLCJhbGc..."
    }
}
 

Example response (429):


Too many requests (rate limit: 10/minute, 60/hour per organisation)
 

Example response (500):


Chargify.js keys not configured
 

Request      

GET api/organisations/{organisation_id}/subscriptions/chargify-security-token

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Show

requires authentication

Show a Subscription

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "organisation_id": 8,
        "subscribable_product_id": 15,
        "status": "active",
        "auto_renew": false,
        "selected_stairstep": null,
        "maxio_subscription_id": 408763,
        "expired_at": null,
        "created_at": "2026-07-11T00:24:27.000000Z",
        "updated_at": "2026-07-11T00:24:27.000000Z",
        "deleted_at": null,
        "current_period": {
            "id": 1,
            "organisation_product_subscription_id": 1,
            "starts_at": "2026-06-26T11:38:21.000000Z",
            "ends_at": "2027-06-26T11:38:21.000000Z",
            "role": "signup",
            "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
            "maxio_payment_id": null,
            "payment_status": "open",
            "invoice_created_at": "2026-06-26T11:38:22.000000Z",
            "invoice_paid_at": null,
            "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z"
        },
        "periods": [
            {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            }
        ],
        "invoices": [],
        "usage": []
    }
}
 

Example response (500):


Failed to load subscription invoices from Maxio
 

Request      

GET api/organisations/{organisation_id}/subscriptions/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the subscription. Example: 1

Product details

requires authentication

Get product details including available components and prices for the given product handle. Used by the frontend to decide which components to show when creating a subscription.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/product-details/expedita" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/product-details/expedita"
);

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


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

Example response (200):


{
    "data": {
        "product": {
            "name": null,
            "handle": null,
            "description": null,
            "accounting_code": null,
            "price_in_cents": null,
            "interval": null,
            "interval_unit": null,
            "trial_price_in_cents": null,
            "trial_interval": null,
            "trial_interval_unit": null,
            "expiration_interval": null,
            "expiration_interval_unit": null
        }
    }
}
 

Example response (404):


Product not found
 

Request      

GET api/organisations/{organisation_id}/subscriptions/product-details/{product_handle}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

product_handle   string     

Example: expedita

Coupon Validation

requires authentication

Validate coupons for a product

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/validate-coupons/id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"coupon\": \"aqwzybhyumhhuawpmzwpa\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/validate-coupons/id"
);

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

let body = {
    "coupon": "aqwzybhyumhhuawpmzwpa"
};

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

Example response (200):


{
    "data": {
        "code": null,
        "description": null,
        "amount": null,
        "amount_in_cents": null,
        "percentage": null,
        "compounding_strategy": null,
        "start_date": null,
        "end_date": null,
        "recurring": null,
        "duration_period_count": null,
        "duration_interval": null,
        "duration_interval_unit": null,
        "stackable": null
    }
}
 

Example response (400):


Coupon invalid, expired or not found
 

Example response (404):


Product not found
 

Request      

POST api/organisations/{organisation_id}/subscriptions/validate-coupons/{product_handle}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

product_handle   string     

Example: id

Body Parameters

coupon   string     

Must not be greater than 255 characters. Example: aqwzybhyumhhuawpmzwpa

Create a new subscription

requires authentication

Create a new subscription for the organisation (existing Maxio customer). Runs a subscription preview first, if testing is enabled, returns the preview response. If testing is disabled, creates the subscription. Customer must send all required customer/payment/billing data. Tier/component amounts supported via components.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/provident" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_testing\": false,
    \"chargify_token\": \"ia\",
    \"collection_method\": \"automatic\",
    \"payment_profile_id\": 46,
    \"payment_type\": \"bank_transfer\",
    \"first_name\": \"erzwsepswhyaiwssjreqmfwx\",
    \"last_name\": \"zlfqatiwjqcad\",
    \"billing_first_name\": \"rskzqwtvt\",
    \"billing_last_name\": \"nonzqolao\",
    \"email\": \"destin.balistreri@example.org\",
    \"locale\": \"ha_NG\",
    \"organization\": \"kyxygpeifabzbapgijgxdd\",
    \"phone\": \"eipkzbbewatllnjzce\",
    \"address\": \"xh\",
    \"address_2\": \"ffbkvadm\",
    \"city\": \"sen\",
    \"state\": \"tmfmvssbwlalgpzkldfbvz\",
    \"country\": \"zr\",
    \"zip\": \"aztaxzcbsepwkn\",
    \"billing_address\": \"fejykhg\",
    \"billing_address_2\": \"sgj\",
    \"billing_city\": \"luikj\",
    \"billing_state\": \"tiuntpcapuxlq\",
    \"billing_country\": \"jn\",
    \"billing_zip\": \"ehmpvydkheenqbaltshotdv\",
    \"tax_id\": \"id\",
    \"coupon_codes\": [
        \"vfapiuyrdsqpagtpd\"
    ],
    \"components\": [
        {
            \"component_id\": 5,
            \"allocated_quantity\": 14,
            \"quantity\": 49,
            \"price_point_id\": 6
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/provident"
);

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

let body = {
    "is_testing": false,
    "chargify_token": "ia",
    "collection_method": "automatic",
    "payment_profile_id": 46,
    "payment_type": "bank_transfer",
    "first_name": "erzwsepswhyaiwssjreqmfwx",
    "last_name": "zlfqatiwjqcad",
    "billing_first_name": "rskzqwtvt",
    "billing_last_name": "nonzqolao",
    "email": "destin.balistreri@example.org",
    "locale": "ha_NG",
    "organization": "kyxygpeifabzbapgijgxdd",
    "phone": "eipkzbbewatllnjzce",
    "address": "xh",
    "address_2": "ffbkvadm",
    "city": "sen",
    "state": "tmfmvssbwlalgpzkldfbvz",
    "country": "zr",
    "zip": "aztaxzcbsepwkn",
    "billing_address": "fejykhg",
    "billing_address_2": "sgj",
    "billing_city": "luikj",
    "billing_state": "tiuntpcapuxlq",
    "billing_country": "jn",
    "billing_zip": "ehmpvydkheenqbaltshotdv",
    "tax_id": "id",
    "coupon_codes": [
        "vfapiuyrdsqpagtpd"
    ],
    "components": [
        {
            "component_id": 5,
            "allocated_quantity": 14,
            "quantity": 49,
            "price_point_id": 6
        }
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "organisation_id": 8,
        "subscribable_product_id": 15,
        "status": "active",
        "auto_renew": false,
        "selected_stairstep": null,
        "maxio_subscription_id": 408763,
        "expired_at": null,
        "created_at": "2026-07-11T00:24:27.000000Z",
        "updated_at": "2026-07-11T00:24:27.000000Z",
        "deleted_at": null,
        "current_period": {
            "id": 1,
            "organisation_product_subscription_id": 1,
            "starts_at": "2026-06-26T11:38:21.000000Z",
            "ends_at": "2027-06-26T11:38:21.000000Z",
            "role": "signup",
            "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
            "maxio_payment_id": null,
            "payment_status": "open",
            "invoice_created_at": "2026-06-26T11:38:22.000000Z",
            "invoice_paid_at": null,
            "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z"
        },
        "periods": [
            {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            }
        ],
        "invoices": [],
        "usage": []
    }
}
 

Example response (400):


Organisation has no Maxio customer ID
 

Example response (500):


Maxio preview or create failed
 

Request      

POST api/organisations/{organisation_id}/subscriptions/{product_handle}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

product_handle   string     

Example: provident

Body Parameters

is_testing   boolean     

Should be used to validate the subscription payload and for price precalculation. Example: false

chargify_token   string  optional    

The chargify token for the subscription generated with chargify.js. Must not be greater than 255 characters. Example: ia

collection_method   string     

The collection method for the subscription. Can be "automatic" or "remittance" => invoice based. If remittance is used, the subscription has to be paied within 60 days and no further payment details needed. Example: automatic

Must be one of:
  • automatic
  • remittance
payment_profile_id   integer  optional    

Must be at least 1. Example: 46

payment_type   string     

Example: bank_transfer

Must be one of:
  • credit_card
  • bank_transfer
first_name   string     

Must not be greater than 255 characters. Example: erzwsepswhyaiwssjreqmfwx

last_name   string     

Must not be greater than 255 characters. Example: zlfqatiwjqcad

billing_first_name   string     

Must not be greater than 255 characters. Example: rskzqwtvt

billing_last_name   string     

Must not be greater than 255 characters. Example: nonzqolao

email   string     

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

locale   string  optional    

Must not be greater than 10 characters. Example: ha_NG

organization   string     

Must not be greater than 255 characters. Example: kyxygpeifabzbapgijgxdd

phone   string     

Must not be greater than 255 characters. Example: eipkzbbewatllnjzce

address   string     

Must not be greater than 255 characters. Example: xh

address_2   string  optional    

Must not be greater than 255 characters. Example: ffbkvadm

city   string     

Must not be greater than 255 characters. Example: sen

state   string     

Must not be greater than 255 characters. Example: tmfmvssbwlalgpzkldfbvz

country   string     

The country of the organisation. Must be a valid ISO 3166-1 alpha-2 code. Must be 2 characters. Example: zr

zip   string     

Must not be greater than 255 characters. Example: aztaxzcbsepwkn

billing_address   string     

Must not be greater than 255 characters. Example: fejykhg

billing_address_2   string  optional    

Must not be greater than 255 characters. Example: sgj

billing_city   string     

Must not be greater than 255 characters. Example: luikj

billing_state   string     

Must not be greater than 255 characters. Example: tiuntpcapuxlq

billing_country   string     

The country of the billing address. Must be a valid ISO 3166-1 alpha-2 code. Must be 2 characters. Example: jn

billing_zip   string     

Must not be greater than 255 characters. Example: ehmpvydkheenqbaltshotdv

tax_id   string  optional    

Optional VAT or tax registration number. Sent to Maxio as vat_number for tax calculation. Do not include the ISO 3166-1 alpha-2 country prefix (e.g. use "123456789" for a German number, not "DE123456789"). When provided: 2–50 characters, must start with a letter or digit, and may contain only letters, digits, dots (.), and hyphens (-). Example: id

components   object[]  optional    
component_id   integer     

Example: 5

allocated_quantity   number     

Must be at least 0. Example: 14

quantity   integer  optional    

Must be at least 0. Example: 49

price_point_id   integer     

Must be at least 1. Example: 6

coupon_codes   string[]     

Must not be greater than 255 characters.

Update a subscription (stairstep upgrade only)

requires authentication

Preview or apply a prorated stairstep component upgrade. Only upgrades are allowed; downgrades are rejected. The upgrade charge is prorated for the remaining period and does not extend the subscription end date.

Send is_testing=true to get a preview (allocation_preview with total_in_cents etc.). Send is_testing=false to apply.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_testing\": false,
    \"chargify_token\": \"hh\",
    \"collection_method\": \"remittance\",
    \"payment_profile_id\": 14,
    \"payment_type\": \"credit_card\",
    \"first_name\": \"pvlerpxzobcnxd\",
    \"last_name\": \"nbivyttnkwierxddfhipjxk\",
    \"billing_first_name\": \"ptwa\",
    \"billing_last_name\": \"afxryzyytxjflgtfqt\",
    \"email\": \"mortimer.dare@example.org\",
    \"locale\": \"kok_IN\",
    \"organization\": \"rmkgaog\",
    \"phone\": \"bah\",
    \"address\": \"qkcqzbhltpstgacfrczd\",
    \"address_2\": \"sqjtkgwxvwlgolfq\",
    \"city\": \"uubnfuzxunn\",
    \"state\": \"iuobezhnjzgmr\",
    \"country\": \"xv\",
    \"zip\": \"bbhsqejehysxtuncytryayerz\",
    \"billing_address\": \"zwffadvh\",
    \"billing_address_2\": \"nfrkfnxuai\",
    \"billing_city\": \"hobbtlegzyoxbpzjbndd\",
    \"billing_state\": \"badiunno\",
    \"billing_country\": \"xc\",
    \"billing_zip\": \"xilypqhsrirgjwtwzicdcb\",
    \"tax_id\": \"quia\",
    \"components\": [
        {
            \"component_id\": 79,
            \"allocated_quantity\": 24
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1"
);

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

let body = {
    "is_testing": false,
    "chargify_token": "hh",
    "collection_method": "remittance",
    "payment_profile_id": 14,
    "payment_type": "credit_card",
    "first_name": "pvlerpxzobcnxd",
    "last_name": "nbivyttnkwierxddfhipjxk",
    "billing_first_name": "ptwa",
    "billing_last_name": "afxryzyytxjflgtfqt",
    "email": "mortimer.dare@example.org",
    "locale": "kok_IN",
    "organization": "rmkgaog",
    "phone": "bah",
    "address": "qkcqzbhltpstgacfrczd",
    "address_2": "sqjtkgwxvwlgolfq",
    "city": "uubnfuzxunn",
    "state": "iuobezhnjzgmr",
    "country": "xv",
    "zip": "bbhsqejehysxtuncytryayerz",
    "billing_address": "zwffadvh",
    "billing_address_2": "nfrkfnxuai",
    "billing_city": "hobbtlegzyoxbpzjbndd",
    "billing_state": "badiunno",
    "billing_country": "xc",
    "billing_zip": "xilypqhsrirgjwtwzicdcb",
    "tax_id": "quia",
    "components": [
        {
            "component_id": 79,
            "allocated_quantity": 24
        }
    ]
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "organisation_id": 8,
        "subscribable_product_id": 15,
        "status": "active",
        "auto_renew": false,
        "selected_stairstep": null,
        "maxio_subscription_id": 408763,
        "expired_at": null,
        "created_at": "2026-07-11T00:24:27.000000Z",
        "updated_at": "2026-07-11T00:24:27.000000Z",
        "deleted_at": null,
        "current_period": {
            "id": 1,
            "organisation_product_subscription_id": 1,
            "starts_at": "2026-06-26T11:38:21.000000Z",
            "ends_at": "2027-06-26T11:38:21.000000Z",
            "role": "signup",
            "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
            "maxio_payment_id": null,
            "payment_status": "open",
            "invoice_created_at": "2026-06-26T11:38:22.000000Z",
            "invoice_paid_at": null,
            "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z"
        },
        "periods": [
            {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            }
        ],
        "invoices": [],
        "usage": []
    }
}
 

Example response (400):


Organisation has no Maxio customer ID
 

Example response (422):


Component is not a stairstep of this subscription's product; or only upgrades allowed (no downgrade)
 

Example response (500):


Maxio preview or allocation failed
 

Request      

PUT api/organisations/{organisation_id}/subscriptions/{id}

PATCH api/organisations/{organisation_id}/subscriptions/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the subscription. Example: 1

Body Parameters

is_testing   boolean     

When true, returns a prorated upgrade preview without applying the change. When false, applies the stairstep upgrade (payment/customer data required). Example: false

chargify_token   string  optional    

Chargify.js token for the payment method. Required when applying with collection_method=automatic and no payment_profile_id is sent. Must not be greater than 255 characters. Example: hh

collection_method   string     

Collection method. Use "automatic" for immediate charge with payment details, "remittance" for invoice. Same as create. Example: remittance

Must be one of:
  • automatic
  • remittance
payment_profile_id   integer  optional    

Existing payment profile ID to use for the upgrade charge. Alternative to chargify_token when applying. Must be at least 1. Example: 14

payment_type   string     

Payment type: credit_card or bank_transfer. Same as create. Example: credit_card

Must be one of:
  • credit_card
  • bank_transfer
first_name   string     

Must not be greater than 255 characters. Example: pvlerpxzobcnxd

last_name   string     

Must not be greater than 255 characters. Example: nbivyttnkwierxddfhipjxk

billing_first_name   string     

Must not be greater than 255 characters. Example: ptwa

billing_last_name   string     

Must not be greater than 255 characters. Example: afxryzyytxjflgtfqt

email   string     

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

locale   string  optional    

Locale (e.g. en, de). Optional, defaults to en. Must not be greater than 10 characters. Example: kok_IN

organization   string     

Must not be greater than 255 characters. Example: rmkgaog

phone   string     

Must not be greater than 255 characters. Example: bah

address   string     

Must not be greater than 255 characters. Example: qkcqzbhltpstgacfrczd

address_2   string  optional    

Must not be greater than 255 characters. Example: sqjtkgwxvwlgolfq

city   string     

Must not be greater than 255 characters. Example: uubnfuzxunn

state   string     

Must not be greater than 255 characters. Example: iuobezhnjzgmr

country   string     

The country of the organisation. Must be a valid ISO 3166-1 alpha-2 code. Must be 2 characters. Example: xv

zip   string     

Must not be greater than 255 characters. Example: bbhsqejehysxtuncytryayerz

billing_address   string     

Must not be greater than 255 characters. Example: zwffadvh

billing_address_2   string  optional    

Must not be greater than 255 characters. Example: nfrkfnxuai

billing_city   string     

Must not be greater than 255 characters. Example: hobbtlegzyoxbpzjbndd

billing_state   string     

Must not be greater than 255 characters. Example: badiunno

billing_country   string     

The country of the billing address. Must be a valid ISO 3166-1 alpha-2 code. Must be 2 characters. Example: xc

billing_zip   string     

Must not be greater than 255 characters. Example: xilypqhsrirgjwtwzicdcb

tax_id   string  optional    

Optional VAT or tax registration number. Sent to Maxio as vat_number for tax calculation. Do not include the ISO 3166-1 alpha-2 country prefix (e.g. use "123456789" for a German number, not "DE123456789"). When provided: 2–50 characters, must start with a letter or digit, and may contain only letters, digits, dots (.), and hyphens (-). Example: quia

components   object     

Exactly one component (stairstep) to upgrade. Only upgrades are allowed; downgrades are rejected. Must contain 1 items.

0   object  optional    
component_id   integer     

Must be at least 1. Example: 79

allocated_quantity   integer     

Must be at least 1. Example: 24

Renew subscription (billing / payment data only).

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1/renew" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"is_testing\": false,
    \"chargify_token\": \"ndoxflukt\",
    \"collection_method\": \"automatic\",
    \"payment_profile_id\": 3,
    \"payment_type\": \"credit_card\",
    \"first_name\": \"kwnozihpwndptixtehpsnbdty\",
    \"last_name\": \"tvyq\",
    \"billing_first_name\": \"grhx\",
    \"billing_last_name\": \"m\",
    \"email\": \"lgleason@example.com\",
    \"locale\": \"nr_ZA\",
    \"organization\": \"wgazvtvxatdqnthoagyzvdd\",
    \"phone\": \"vcniecxapihbrnxsgkvdbywx\",
    \"address\": \"lqusujs\",
    \"address_2\": \"sihbhdguwobsrpmmeifugowpu\",
    \"city\": \"vjbu\",
    \"state\": \"zihxwutjtuqhyigymtyncaisp\",
    \"country\": \"yx\",
    \"zip\": \"ploawhuub\",
    \"billing_address\": \"guwi\",
    \"billing_address_2\": \"jqxxnezipjjqpqpoxpxjyz\",
    \"billing_city\": \"kzqxfgvjq\",
    \"billing_state\": \"wqgfblpusstrlifomkmccjyoj\",
    \"billing_country\": \"en\",
    \"billing_zip\": \"jkijqdcomwlbrrlnbibgo\",
    \"tax_id\": \"fugiat\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1/renew"
);

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

let body = {
    "is_testing": false,
    "chargify_token": "ndoxflukt",
    "collection_method": "automatic",
    "payment_profile_id": 3,
    "payment_type": "credit_card",
    "first_name": "kwnozihpwndptixtehpsnbdty",
    "last_name": "tvyq",
    "billing_first_name": "grhx",
    "billing_last_name": "m",
    "email": "lgleason@example.com",
    "locale": "nr_ZA",
    "organization": "wgazvtvxatdqnthoagyzvdd",
    "phone": "vcniecxapihbrnxsgkvdbywx",
    "address": "lqusujs",
    "address_2": "sihbhdguwobsrpmmeifugowpu",
    "city": "vjbu",
    "state": "zihxwutjtuqhyigymtyncaisp",
    "country": "yx",
    "zip": "ploawhuub",
    "billing_address": "guwi",
    "billing_address_2": "jqxxnezipjjqpqpoxpxjyz",
    "billing_city": "kzqxfgvjq",
    "billing_state": "wqgfblpusstrlifomkmccjyoj",
    "billing_country": "en",
    "billing_zip": "jkijqdcomwlbrrlnbibgo",
    "tax_id": "fugiat"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "organisation_id": 8,
        "subscribable_product_id": 15,
        "status": "active",
        "auto_renew": false,
        "selected_stairstep": null,
        "maxio_subscription_id": 408763,
        "expired_at": null,
        "created_at": "2026-07-11T00:24:27.000000Z",
        "updated_at": "2026-07-11T00:24:27.000000Z",
        "deleted_at": null,
        "current_period": {
            "id": 1,
            "organisation_product_subscription_id": 1,
            "starts_at": "2026-06-26T11:38:21.000000Z",
            "ends_at": "2027-06-26T11:38:21.000000Z",
            "role": "signup",
            "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
            "maxio_payment_id": null,
            "payment_status": "open",
            "invoice_created_at": "2026-06-26T11:38:22.000000Z",
            "invoice_paid_at": null,
            "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
            "created_at": "2026-07-11T00:24:27.000000Z",
            "updated_at": "2026-07-11T00:24:27.000000Z"
        },
        "periods": [
            {
                "id": 1,
                "organisation_product_subscription_id": 1,
                "starts_at": "2026-06-26T11:38:21.000000Z",
                "ends_at": "2027-06-26T11:38:21.000000Z",
                "role": "signup",
                "maxio_invoice_uid": "inv_c6t68gkkdcvp9",
                "maxio_payment_id": null,
                "payment_status": "open",
                "invoice_created_at": "2026-06-26T11:38:22.000000Z",
                "invoice_paid_at": null,
                "invoice_due_date_at": "2026-06-26T00:00:00.000000Z",
                "created_at": "2026-07-11T00:24:27.000000Z",
                "updated_at": "2026-07-11T00:24:27.000000Z"
            }
        ],
        "invoices": [],
        "usage": []
    }
}
 

Request      

POST api/organisations/{organisation_id}/subscriptions/{subscription_id}/renew

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

subscription_id   integer     

The ID of the subscription. Example: 1

Body Parameters

is_testing   boolean     

When true, validates payload and returns renewal preview only. When false, applies renewal (clears delayed cancel in Maxio and re-syncs). Example: false

chargify_token   string  optional    

The chargify token generated with Chargify.js. Must not be greater than 255 characters. Example: ndoxflukt

collection_method   string     

The collection method. Can be "automatic" or "remittance" (invoice-based). Example: automatic

Must be one of:
  • automatic
  • remittance
payment_profile_id   integer  optional    

Must be at least 1. Example: 3

payment_type   string     

Example: credit_card

Must be one of:
  • credit_card
  • bank_transfer
first_name   string     

Must not be greater than 255 characters. Example: kwnozihpwndptixtehpsnbdty

last_name   string     

Must not be greater than 255 characters. Example: tvyq

billing_first_name   string     

Must not be greater than 255 characters. Example: grhx

billing_last_name   string     

Must not be greater than 255 characters. Example: m

email   string     

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

locale   string  optional    

Must not be greater than 10 characters. Example: nr_ZA

organization   string     

Must not be greater than 255 characters. Example: wgazvtvxatdqnthoagyzvdd

phone   string     

Must not be greater than 255 characters. Example: vcniecxapihbrnxsgkvdbywx

address   string     

Must not be greater than 255 characters. Example: lqusujs

address_2   string  optional    

Must not be greater than 255 characters. Example: sihbhdguwobsrpmmeifugowpu

city   string     

Must not be greater than 255 characters. Example: vjbu

state   string     

Must not be greater than 255 characters. Example: zihxwutjtuqhyigymtyncaisp

country   string     

Organisation country (ISO 3166-1 alpha-2). Must be 2 characters. Example: yx

zip   string     

Must not be greater than 255 characters. Example: ploawhuub

billing_address   string     

Must not be greater than 255 characters. Example: guwi

billing_address_2   string  optional    

Must not be greater than 255 characters. Example: jqxxnezipjjqpqpoxpxjyz

billing_city   string     

Must not be greater than 255 characters. Example: kzqxfgvjq

billing_state   string     

Must not be greater than 255 characters. Example: wqgfblpusstrlifomkmccjyoj

billing_country   string     

Billing country (ISO 3166-1 alpha-2). Must be 2 characters. Example: en

billing_zip   string     

Must not be greater than 255 characters. Example: jkijqdcomwlbrrlnbibgo

tax_id   string  optional    

Optional VAT or tax registration number. Sent to Maxio as vat_number for tax calculation. Do not include the ISO 3166-1 alpha-2 country prefix (e.g. use "123456789" for a German number, not "DE123456789"). When provided: 2–50 characters, must start with a letter or digit, and may contain only letters, digits, dots (.), and hyphens (-). Example: fugiat

Types

Index

Get a paginated list of organisation types. Calling this unauthenticated will only return selectable types.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation-types?per_page=16&sort=name&page=1&search=qui" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation-types"
);

const params = {
    "per_page": "16",
    "sort": "name",
    "page": "1",
    "search": "qui",
};
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,
            "name": "ZDHC Internal",
            "display_name": "ZDHC Internal",
            "description": null,
            "selectable": 0,
            "created_at": "2026-07-10T21:21:07.000000Z",
            "updated_at": "2026-07-22T13:39:54.000000Z"
        },
        {
            "id": 1,
            "name": "ZDHC Internal",
            "display_name": "ZDHC Internal",
            "description": null,
            "selectable": 0,
            "created_at": "2026-07-10T21:21:07.000000Z",
            "updated_at": "2026-07-22T13:39:54.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "50",
        "to": 2
    }
}
 

Request      

GET api/organisation-types

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 16

sort   string  optional    

sort by any accepted column: name, display_name, selectable, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: name

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: qui

Store

requires authentication

Create a new organisation type.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"ps\",
    \"display_name\": \"kti\",
    \"description\": \"Dicta ea voluptatibus maxime iure.\",
    \"selectable\": false
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types"
);

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

let body = {
    "name": "ps",
    "display_name": "kti",
    "description": "Dicta ea voluptatibus maxime iure.",
    "selectable": false
};

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

Example response (200, success):


{
    "message": "Organisation type created successfully."
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

POST api/organisations/{organisation_id}/organisation-types

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: ps

display_name   string     

Must not be greater than 255 characters. Example: kti

description   string  optional    

Must not be greater than 65535 characters. Example: Dicta ea voluptatibus maxime iure.

selectable   boolean     

Example: false

Update

requires authentication

Update an organisation type.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"tynhaj\",
    \"display_name\": \"ejom\",
    \"description\": \"Ea velit quae id non vel enim.\",
    \"selectable\": true
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1"
);

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

let body = {
    "name": "tynhaj",
    "display_name": "ejom",
    "description": "Ea velit quae id non vel enim.",
    "selectable": true
};

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

Example response (200, success):


{
    "message": "Organisation type updated successfully."
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

PUT api/organisations/{organisation_id}/organisation-types/{id}

PATCH api/organisations/{organisation_id}/organisation-types/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the organisation type. Example: 1

Body Parameters

name   string     

Must not be greater than 255 characters. Example: tynhaj

display_name   string     

Must not be greater than 255 characters. Example: ejom

description   string  optional    

Must not be greater than 65535 characters. Example: Ea velit quae id non vel enim.

selectable   boolean     

Example: true

Destroy

requires authentication

Delete an organisation type.

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1"
);

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


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

Example response (200, success):


{
    "message": "Organisation type deleted successfully."
}
 

Example response (422, Type in Use):


{
    "message": "Cannot delete organisation type as it is in use."
}
 

Request      

DELETE api/organisations/{organisation_id}/organisation-types/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the organisation type. Example: 1

Users

Index

requires authentication

Get users for an organisation.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users?per_page=12&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users"
);

const params = {
    "per_page": "12",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "organisation_id": 11393,
            "user_id": 49,
            "invited_by": null,
            "role_id": 4,
            "last_authorization": null,
            "invitation_sent_at": null,
            "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null,
            "user": {
                "id": 49,
                "first_name": "Truong",
                "last_name": "Cao",
                "email": "truong@truongphatchemicals.com.vn",
                "email_verified_at": "2017-01-18T06:36:40.000000Z",
                "phone": null,
                "location": "VN",
                "created_at": "2017-01-18T06:36:40.000000Z",
                "updated_at": "2017-01-18T06:36:40.000000Z",
                "deleted_at": null,
                "profile_picture_url": null
            },
            "role": {
                "id": 4,
                "parent_id": 3,
                "name": "ORGANISATION_ADMIN"
            }
        },
        {
            "id": 1,
            "organisation_id": 11393,
            "user_id": 49,
            "invited_by": null,
            "role_id": 4,
            "last_authorization": null,
            "invitation_sent_at": null,
            "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null,
            "user": {
                "id": 49,
                "first_name": "Truong",
                "last_name": "Cao",
                "email": "truong@truongphatchemicals.com.vn",
                "email_verified_at": "2017-01-18T06:36:40.000000Z",
                "phone": null,
                "location": "VN",
                "created_at": "2017-01-18T06:36:40.000000Z",
                "updated_at": "2017-01-18T06:36:40.000000Z",
                "deleted_at": null,
                "profile_picture_url": null
            },
            "role": {
                "id": 4,
                "parent_id": 3,
                "name": "ORGANISATION_ADMIN"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 12

page   integer  optional    

the page number to show. Example: 1

Show

requires authentication

Show an organisation user

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/getOrganisationUser" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/getOrganisationUser"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "organisation_id": 11393,
        "user_id": 49,
        "invited_by": null,
        "role_id": 4,
        "last_authorization": null,
        "invitation_sent_at": null,
        "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
        "created_at": "2026-07-10T21:20:29.000000Z",
        "updated_at": "2026-07-10T21:20:29.000000Z",
        "deleted_at": null,
        "role": {
            "id": 4,
            "parent_id": 3,
            "name": "ORGANISATION_ADMIN"
        }
    }
}
 

Request      

GET api/organisations/{organisation_id}/users/{user_id}/getOrganisationUser

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

user_id   integer     

The ID of the user. Example: 8

Invite

requires authentication

Invite users to an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invite" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"emails\": [
        \"gkassulke@example.net\"
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invite"
);

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

let body = {
    "emails": [
        "gkassulke@example.net"
    ]
};

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisations/{organisation_id}/invite

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

emails   string[]     

Must be a valid email address.

Resend invitation

requires authentication

Notify a user that has already been invited again.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/resend-invitation" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/resend-invitation"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisations/{organisation_id}/users/{organisationUser_id}/resend-invitation

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

organisationUser_id   integer     

The ID of the organisationUser. Example: 8

Change role

requires authentication

Change the role of a user in an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/role/change" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"role_id\": 12
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/role/change"
);

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

let body = {
    "role_id": 12
};

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisations/{organisation_id}/users/{organisationUser_id}/role/change

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

organisationUser_id   integer     

The ID of the organisationUser. Example: 8

Body Parameters

role_id   integer     

The ID of the role to change the user to. Example: 12

Detach

requires authentication

Detach a user from an organisation.

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/detach" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/8/detach"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

DELETE api/organisations/{organisation_id}/users/{organisationUser_id}/detach

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

organisationUser_id   integer     

The ID of the organisationUser. Example: 8

Supplier Profile

Show

requires authentication

Get the supplier profile

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/show" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/show"
);

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


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

Example response (200):


{
    "data": {
        "id": 11757,
        "organisation_id": 32577,
        "facility_type_id": 11769,
        "discharge_volume": null,
        "discharge_points_count": null,
        "sludge_generation": 0,
        "created_at": "2026-07-22T13:40:05.000000Z",
        "updated_at": "2026-07-22T13:40:05.000000Z",
        "attributes": []
    }
}
 

Request      

GET api/organisations/{organisation_id}/supplier-profile/show

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Update

requires authentication

Update the supplier profile for the organisation

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/update?facility_type_id=pariatur&attributes[]=3476&discharge_volume=21&discharge_points_count=2&sludge_generation=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/update"
);

const params = {
    "facility_type_id": "pariatur",
    "attributes[0]": "3476",
    "discharge_volume": "21",
    "discharge_points_count": "2",
    "sludge_generation": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

PUT api/organisations/{organisation_id}/supplier-profile/update

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

facility_type_id   string     

The id of an existing record in the supplier_facility_types table. Example: pariatur

attributes   string[]  optional    
Must be one of:
  • 1
  • 18
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 523
  • 540
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 761
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 920
  • 921
  • 922
  • 923
  • 924
  • 925
  • 926
  • 927
  • 928
  • 929
  • 930
  • 931
  • 932
  • 933
  • 934
  • 935
  • 936
  • 937
  • 938
  • 939
  • 940
  • 941
  • 942
  • 943
  • 944
  • 945
  • 946
  • 947
  • 948
  • 949
  • 950
  • 951
  • 952
  • 953
  • 954
  • 955
  • 956
  • 957
  • 958
  • 959
  • 960
  • 961
  • 962
  • 963
  • 964
  • 965
  • 982
  • 1044
  • 1045
  • 1046
  • 1047
  • 1048
  • 1049
  • 1078
  • 1079
  • 1080
  • 1081
  • 1082
  • 1083
  • 1084
  • 1085
  • 1086
  • 1087
  • 1088
  • 1089
  • 1090
  • 1091
  • 1092
  • 1093
  • 1141
  • 1142
  • 1143
  • 1144
  • 1145
  • 1146
  • 1147
  • 1148
  • 1149
  • 1150
  • 1151
  • 1152
  • 1153
  • 1154
  • 1155
  • 1156
  • 1157
  • 1158
  • 1159
  • 1160
  • 1161
  • 1162
  • 1163
  • 1164
  • 1165
  • 1166
  • 1167
  • 1168
  • 1169
  • 1170
  • 1171
  • 1172
  • 1173
  • 1174
  • 1175
  • 1176
  • 1177
  • 1178
  • 1179
  • 1180
  • 1181
  • 1182
  • 1183
  • 1184
  • 1185
  • 1186
  • 1203
  • 1265
  • 1266
  • 1267
  • 1268
  • 1269
  • 1270
  • 1299
  • 1300
  • 1301
  • 1302
  • 1303
  • 1304
  • 1305
  • 1306
  • 1307
  • 1308
  • 1309
  • 1310
  • 1311
  • 1312
  • 1313
  • 1314
  • 1362
  • 1363
  • 1364
  • 1365
  • 1366
  • 1367
  • 1368
  • 1369
  • 1370
  • 1371
  • 1372
  • 1373
  • 1374
  • 1375
  • 1376
  • 1377
  • 1378
  • 1379
  • 1380
  • 1381
  • 1382
  • 1383
  • 1384
  • 1385
  • 1386
  • 1387
  • 1388
  • 1389
  • 1390
  • 1391
  • 1392
  • 1393
  • 1394
  • 1395
  • 1396
  • 1397
  • 1398
  • 1399
  • 1400
  • 1401
  • 1402
  • 1403
  • 1404
  • 1405
  • 1406
  • 1407
  • 1424
  • 1486
  • 1487
  • 1488
  • 1489
  • 1490
  • 1491
  • 1520
  • 1521
  • 1522
  • 1523
  • 1524
  • 1525
  • 1526
  • 1527
  • 1528
  • 1529
  • 1530
  • 1531
  • 1532
  • 1533
  • 1534
  • 1535
  • 1583
  • 1584
  • 1585
  • 1586
  • 1587
  • 1588
  • 1589
  • 1590
  • 1591
  • 1592
  • 1593
  • 1594
  • 1595
  • 1596
  • 1597
  • 1598
  • 1599
  • 1600
  • 1601
  • 1602
  • 1603
  • 1604
  • 1605
  • 1606
  • 1607
  • 1608
  • 1609
  • 1610
  • 1611
  • 1612
  • 1613
  • 1614
  • 1615
  • 1616
  • 1617
  • 1618
  • 1619
  • 1620
  • 1621
  • 1622
  • 1623
  • 1624
  • 1625
  • 1626
  • 1627
  • 1628
  • 1645
  • 1707
  • 1708
  • 1709
  • 1710
  • 1711
  • 1712
  • 1741
  • 1742
  • 1743
  • 1744
  • 1745
  • 1746
  • 1747
  • 1748
  • 1749
  • 1750
  • 1751
  • 1752
  • 1753
  • 1754
  • 1755
  • 1756
  • 1804
  • 1805
  • 1806
  • 1807
  • 1808
  • 1809
  • 1810
  • 1811
  • 1812
  • 1813
  • 1814
  • 1815
  • 1816
  • 1817
  • 1818
  • 1819
  • 1820
  • 1821
  • 1822
  • 1823
  • 1824
  • 1825
  • 1826
  • 1827
  • 1828
  • 1829
  • 1830
  • 1831
  • 1832
  • 1833
  • 1834
  • 1835
  • 1836
  • 1837
  • 1838
  • 1839
  • 1840
  • 1841
  • 1842
  • 1843
  • 1844
  • 1845
  • 1846
  • 1847
  • 1848
  • 1849
  • 1866
  • 1928
  • 1929
  • 1930
  • 1931
  • 1932
  • 1933
  • 1962
  • 1963
  • 1964
  • 1965
  • 1966
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • 1974
  • 1975
  • 1976
  • 1977
  • 2025
  • 2026
  • 2027
  • 2028
  • 2029
  • 2030
  • 2031
  • 2032
  • 2033
  • 2034
  • 2035
  • 2036
  • 2037
  • 2038
  • 2039
  • 2040
  • 2041
  • 2042
  • 2043
  • 2044
  • 2045
  • 2046
  • 2047
  • 2048
  • 2049
  • 2050
  • 2051
  • 2052
  • 2053
  • 2054
  • 2055
  • 2056
  • 2057
  • 2058
  • 2059
  • 2060
  • 2061
  • 2062
  • 2063
  • 2064
  • 2065
  • 2066
  • 2067
  • 2068
  • 2069
  • 2070
  • 2087
  • 2149
  • 2150
  • 2151
  • 2152
  • 2153
  • 2154
  • 2183
  • 2184
  • 2185
  • 2186
  • 2187
  • 2188
  • 2189
  • 2190
  • 2191
  • 2192
  • 2193
  • 2194
  • 2195
  • 2196
  • 2197
  • 2198
  • 2246
  • 2247
  • 2248
  • 2249
  • 2250
  • 2251
  • 2252
  • 2253
  • 2254
  • 2255
  • 2256
  • 2257
  • 2258
  • 2259
  • 2260
  • 2261
  • 2262
  • 2263
  • 2264
  • 2265
  • 2266
  • 2267
  • 2268
  • 2269
  • 2270
  • 2271
  • 2272
  • 2273
  • 2274
  • 2275
  • 2276
  • 2277
  • 2278
  • 2279
  • 2280
  • 2281
  • 2282
  • 2283
  • 2284
  • 2285
  • 2286
  • 2287
  • 2288
  • 2289
  • 2290
  • 2291
  • 2308
  • 2370
  • 2371
  • 2372
  • 2373
  • 2374
  • 2375
  • 2404
  • 2405
  • 2406
  • 2407
  • 2408
  • 2409
  • 2410
  • 2411
  • 2412
  • 2413
  • 2414
  • 2415
  • 2416
  • 2417
  • 2418
  • 2419
  • 2467
  • 2468
  • 2469
  • 2470
  • 2471
  • 2472
  • 2473
  • 2474
  • 2475
  • 2476
  • 2477
  • 2478
  • 2479
  • 2480
  • 2481
  • 2482
  • 2483
  • 2484
  • 2485
  • 2486
  • 2487
  • 2488
  • 2489
  • 2490
  • 2491
  • 2492
  • 2493
  • 2494
  • 2495
  • 2496
  • 2497
  • 2498
  • 2499
  • 2500
  • 2501
  • 2502
  • 2503
  • 2504
  • 2505
  • 2506
  • 2507
  • 2508
  • 2509
  • 2510
  • 2511
  • 2512
  • 2529
  • 2591
  • 2592
  • 2593
  • 2594
  • 2595
  • 2596
  • 2625
  • 2626
  • 2627
  • 2628
  • 2629
  • 2630
  • 2631
  • 2632
  • 2633
  • 2634
  • 2635
  • 2636
  • 2637
  • 2638
  • 2639
  • 2640
  • 2688
  • 2689
  • 2690
  • 2691
  • 2692
  • 2693
  • 2694
  • 2695
  • 2696
  • 2697
  • 2698
  • 2699
  • 2700
  • 2701
  • 2702
  • 2703
  • 2704
  • 2705
  • 2706
  • 2707
  • 2708
  • 2709
  • 2710
  • 2711
  • 2712
  • 2713
  • 2714
  • 2715
  • 2716
  • 2717
  • 2718
  • 2719
  • 2720
  • 2721
  • 2722
  • 2723
  • 2724
  • 2725
  • 2726
  • 2727
  • 2728
  • 2729
  • 2730
  • 2731
  • 2732
  • 2733
  • 2750
  • 2812
  • 2813
  • 2814
  • 2815
  • 2816
  • 2817
  • 2846
  • 2847
  • 2848
  • 2849
  • 2850
  • 2851
  • 2852
  • 2853
  • 2854
  • 2855
  • 2856
  • 2857
  • 2858
  • 2859
  • 2860
  • 2861
  • 2909
  • 2910
  • 2911
  • 2912
  • 2913
  • 2914
  • 2915
  • 2916
  • 2917
  • 2918
  • 2919
  • 2920
  • 2921
  • 2922
  • 2923
  • 2924
  • 2925
  • 2926
  • 2927
  • 2928
  • 2929
  • 2930
  • 2931
  • 2932
  • 2933
  • 2934
  • 2935
  • 2936
  • 2937
  • 2938
  • 2939
  • 2940
  • 2941
  • 2942
  • 2943
  • 2944
  • 2945
  • 2946
  • 2947
  • 2948
  • 2949
  • 2950
  • 2951
  • 2952
  • 2953
  • 2954
  • 2971
  • 3033
  • 3034
  • 3035
  • 3036
  • 3037
  • 3038
  • 3067
  • 3068
  • 3069
  • 3070
  • 3071
  • 3072
  • 3073
  • 3074
  • 3075
  • 3076
  • 3077
  • 3078
  • 3079
  • 3080
  • 3081
  • 3082
  • 3130
  • 3131
  • 3132
  • 3133
  • 3134
  • 3135
  • 3136
  • 3137
  • 3138
  • 3139
  • 3140
  • 3141
  • 3142
  • 3143
  • 3144
  • 3145
  • 3146
  • 3147
  • 3148
  • 3149
  • 3150
  • 3151
  • 3152
  • 3153
  • 3154
  • 3155
  • 3156
  • 3157
  • 3158
  • 3159
  • 3160
  • 3161
  • 3162
  • 3163
  • 3164
  • 3165
  • 3166
  • 3167
  • 3168
  • 3169
  • 3170
  • 3171
  • 3172
  • 3173
  • 3174
  • 3175
  • 3192
  • 3254
  • 3255
  • 3256
  • 3257
  • 3258
  • 3259
  • 3288
  • 3289
  • 3290
  • 3291
  • 3292
  • 3293
  • 3294
  • 3295
  • 3296
  • 3297
  • 3298
  • 3299
  • 3300
  • 3301
  • 3302
  • 3303
  • 3351
  • 3352
  • 3353
  • 3354
  • 3355
  • 3356
  • 3357
  • 3358
  • 3359
  • 3360
  • 3361
  • 3362
  • 3363
  • 3364
  • 3365
  • 3366
  • 3367
  • 3368
  • 3369
  • 3370
  • 3371
  • 3372
  • 3373
  • 3374
  • 3375
  • 3376
  • 3377
  • 3378
  • 3379
  • 3380
  • 3381
  • 3382
  • 3383
  • 3384
  • 3385
  • 3386
  • 3387
  • 3388
  • 3389
  • 3390
  • 3391
  • 3392
  • 3393
  • 3394
  • 3395
  • 3396
  • 3413
  • 3475
  • 3476
  • 3477
  • 3478
  • 3479
  • 3480
  • 3509
  • 3510
  • 3511
  • 3512
  • 3513
  • 3514
  • 3515
  • 3516
  • 3517
  • 3518
  • 3519
  • 3520
  • 3521
  • 3522
  • 3523
  • 3524
  • 3572
  • 3573
  • 3574
  • 3575
  • 3576
  • 3577
  • 3578
  • 3579
  • 3580
  • 3581
  • 3582
  • 3583
  • 3584
  • 3585
  • 3586
  • 3587
  • 3588
  • 3589
  • 3590
  • 3591
  • 3592
  • 3593
  • 3594
  • 3595
  • 3596
  • 3597
  • 3598
  • 3599
  • 3600
  • 3601
  • 3602
  • 3603
  • 3604
  • 3605
  • 3606
  • 3607
  • 3608
  • 3609
  • 3610
  • 3611
  • 3612
  • 3613
  • 3614
  • 3615
  • 3616
  • 3617
  • 3634
  • 3696
  • 3697
  • 3698
  • 3699
  • 3700
  • 3701
  • 3730
  • 3731
  • 3732
  • 3733
  • 3734
  • 3735
  • 3736
  • 3737
  • 3738
  • 3739
  • 3740
  • 3741
  • 3742
  • 3743
  • 3744
  • 3745
  • 3793
  • 3794
  • 3795
  • 3796
  • 3797
  • 3798
  • 3799
  • 3800
  • 3801
  • 3802
  • 3803
  • 3804
  • 3805
  • 3806
  • 3807
  • 3808
  • 3809
  • 3810
  • 3811
  • 3812
  • 3813
  • 3814
  • 3815
  • 3816
  • 3817
  • 3818
  • 3819
  • 3820
  • 3821
  • 3822
  • 3823
  • 3824
  • 3825
  • 3826
  • 3827
  • 3828
  • 3829
  • 3830
  • 3831
  • 3832
  • 3833
  • 3834
  • 3835
  • 3836
  • 3837
  • 3838
  • 3855
  • 3917
  • 3918
  • 3919
  • 3920
  • 3921
  • 3922
  • 3951
  • 3952
  • 3953
  • 3954
  • 3955
  • 3956
  • 3957
  • 3958
  • 3959
  • 3960
  • 3961
  • 3962
  • 3963
  • 3964
  • 3965
  • 3966
  • 4014
  • 4015
  • 4016
  • 4017
  • 4018
  • 4019
  • 4020
  • 4021
  • 4022
  • 4023
  • 4024
  • 4025
  • 4026
  • 4027
  • 4028
  • 4029
  • 4030
  • 4031
  • 4032
  • 4033
  • 4034
  • 4035
  • 4036
  • 4037
  • 4038
  • 4039
  • 4040
  • 4041
  • 4042
  • 4043
  • 4044
  • 4045
  • 4046
  • 4047
  • 4048
  • 4049
  • 4050
  • 4051
  • 4052
  • 4053
  • 4054
  • 4055
  • 4056
  • 4057
  • 4058
  • 4059
  • 4076
  • 4138
  • 4139
  • 4140
  • 4141
  • 4142
  • 4143
  • 4172
  • 4173
  • 4174
  • 4175
  • 4176
  • 4177
  • 4178
  • 4179
  • 4180
  • 4181
  • 4182
  • 4183
  • 4184
  • 4185
  • 4186
  • 4187
  • 4235
  • 4236
  • 4237
  • 4238
  • 4239
  • 4240
  • 4241
  • 4242
  • 4243
  • 4244
  • 4245
  • 4246
  • 4247
  • 4248
  • 4249
  • 4250
  • 4251
  • 4252
  • 4253
  • 4254
  • 4255
  • 4256
  • 4257
  • 4258
  • 4259
  • 4260
  • 4261
  • 4262
  • 4263
  • 4264
  • 4265
  • 4266
  • 4267
  • 4268
  • 4269
  • 4270
  • 4271
  • 4272
  • 4273
  • 4274
  • 4275
  • 4276
  • 4277
  • 4278
  • 4279
  • 4318
  • 4335
  • 4397
  • 4398
  • 4399
  • 4400
  • 4401
  • 4402
  • 4431
  • 4432
  • 4433
  • 4434
  • 4435
  • 4436
  • 4437
  • 4438
  • 4439
  • 4440
  • 4441
  • 4442
  • 4443
  • 4444
  • 4445
  • 4446
  • 4494
  • 4495
  • 4496
  • 4497
  • 4498
  • 4499
  • 4500
  • 4501
  • 4502
  • 4503
  • 4504
  • 4505
  • 4506
  • 4507
  • 4508
  • 4509
  • 4510
  • 4511
  • 4512
  • 4513
  • 4514
  • 4515
  • 4516
  • 4517
  • 4518
  • 4519
  • 4520
  • 4521
  • 4522
  • 4523
  • 4524
  • 4525
  • 4526
  • 4527
  • 4528
  • 4529
  • 4530
  • 4531
  • 4532
  • 4533
  • 4534
  • 4535
  • 4536
  • 4537
  • 4538
  • 4539
  • 4556
  • 4618
  • 4619
  • 4620
  • 4621
  • 4622
  • 4623
  • 4652
  • 4653
  • 4654
  • 4655
  • 4656
  • 4657
  • 4658
  • 4659
  • 4660
  • 4661
  • 4662
  • 4663
  • 4664
  • 4665
  • 4666
  • 4667
  • 4715
  • 4716
  • 4717
  • 4718
  • 4719
  • 4720
  • 4721
  • 4722
  • 4723
  • 4724
  • 4725
  • 4726
  • 4727
  • 4728
  • 4729
  • 4730
  • 4731
  • 4732
  • 4733
  • 4734
  • 4735
  • 4736
  • 4737
  • 4738
  • 4739
  • 4740
  • 4741
  • 4742
  • 4743
  • 4744
  • 4745
  • 4746
  • 4747
  • 4748
  • 4749
  • 4750
  • 4751
  • 4752
  • 4753
  • 4754
  • 4755
  • 4756
  • 4757
  • 4758
  • 4759
  • 4760
  • 4777
  • 4839
  • 4840
  • 4841
  • 4842
  • 4843
  • 4844
  • 4873
  • 4874
  • 4875
  • 4876
  • 4877
  • 4878
  • 4879
  • 4880
  • 4881
  • 4882
  • 4883
  • 4884
  • 4885
  • 4886
  • 4887
  • 4888
  • 4936
  • 4937
  • 4938
  • 4939
  • 4940
  • 4941
  • 4942
  • 4943
  • 4944
  • 4945
  • 4946
  • 4947
  • 4948
  • 4949
  • 4950
  • 4951
  • 4952
  • 4953
  • 4954
  • 4955
  • 4956
  • 4957
  • 4958
  • 4959
  • 4960
  • 4961
  • 4962
  • 4963
  • 4964
  • 4965
  • 4966
  • 4967
  • 4968
  • 4969
  • 4970
  • 4971
  • 4972
  • 4973
  • 4974
  • 4975
  • 4976
  • 4977
  • 4978
  • 4979
  • 4980
discharge_volume   number  optional    

Must not be greater than 2147483647. Example: 21

discharge_points_count   number  optional    

Must not be greater than 3. Example: 2

sludge_generation   boolean  optional    

Example: true

Facility types

requires authentication

Get the facility types

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/facility-types" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/facility-types"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "name": "Accessories and Trims",
        "description": "Manufacture and processing of materials that are attached to the body of the garments for functional purpose."
    }
}
 

Request      

GET api/organisations/supplier-profile/facility-types

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Attribute groups

requires authentication

Get attributes suitable for the facility type

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/attribute-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/attribute-groups"
);

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Materials",
            "profile_type": "supplier_profile",
            "service_id": null,
            "single_select": 0,
            "type": null,
            "required": null,
            "items_type": null,
            "attributes": [
                {
                    "id": 1,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Cotton",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        1,
                        2,
                        3
                    ]
                },
                {
                    "id": 2,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Bast fibres and Bamboo",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 3,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 4,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 5,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 6,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 7,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 8,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 9,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 10,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leaf fibres",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 11,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 12,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 13,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 14,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 15,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 16,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 17,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 18,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Kapok",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        1,
                        2,
                        3
                    ]
                },
                {
                    "id": 19,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Animal",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 20,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Wool",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 21,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Alpaca",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 22,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Angora",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 23,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Camel",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 24,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Cashmere",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 25,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Guanaco",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 26,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Lama",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 27,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Mohair",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 28,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicuna",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 29,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Yak",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 30,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Horse hair",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 31,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicugna",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 32,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Silk",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 33,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "MMCF",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 34,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Acetate (Diacetate, Triacetate)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 35,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Cupro",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 36,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Lyocell",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 37,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Modal",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 38,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Viscose",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 39,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Synthetics",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 40,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Acrylic",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 41,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Elastane (Spandex) ",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 42,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyamide (Nylon)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 43,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyester",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 44,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 45,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene terephthalate (PET)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 46,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polylactic acid (PLA)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 47,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polypropylene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 48,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Secondary Raw Materials",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 49,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 48,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 50,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Finished Leather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        2
                    ]
                },
                {
                    "id": 51,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wood",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 52,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Agricultural waste",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 53,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Textile waste",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 54,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose down",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 55,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose feather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 56,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck down",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 57,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck feather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 58,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Recycled Fibres",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        9
                    ]
                },
                {
                    "id": 59,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 58,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        9
                    ]
                },
                {
                    "id": 60,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fabrics",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 61,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 62,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Ethylene vinyl acetate (EVA)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 63,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyurethane (PU)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 64,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyvinyl chloride (PVC)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 65,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic polyurethane (TPU)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 66,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic elastomers (TPE)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 67,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Acrylonitrile butadiene styrene (ABS)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 68,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Neoprene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 69,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Styrene ethylene butylene styrene (SEBS)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 70,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fresh hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 71,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Brined hides/Skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 72,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet or dry-salted hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 73,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Limed splits",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 74,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Pickled hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 75,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet blue hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 76,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet white/wet green hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 77,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Crust hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 78,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (tanned)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 79,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (crust)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                }
            ]
        },
        {
            "id": 1,
            "name": "Materials",
            "profile_type": "supplier_profile",
            "service_id": null,
            "single_select": 0,
            "type": null,
            "required": null,
            "items_type": null,
            "attributes": [
                {
                    "id": 1,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Cotton",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        1,
                        2,
                        3
                    ]
                },
                {
                    "id": 2,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Bast fibres and Bamboo",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 3,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 4,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 5,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 6,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 7,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 8,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 9,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 10,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leaf fibres",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 11,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 12,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 13,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 14,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 15,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 16,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 17,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 18,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Kapok",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        1,
                        2,
                        3
                    ]
                },
                {
                    "id": 19,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Animal",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 20,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Wool",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 21,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Alpaca",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 22,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Angora",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 23,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Camel",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 24,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Cashmere",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 25,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Guanaco",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 26,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Lama",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 27,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Mohair",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 28,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicuna",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 29,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Yak",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 30,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Horse hair",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 31,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicugna",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 32,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Silk",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 33,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "MMCF",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 34,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Acetate (Diacetate, Triacetate)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 35,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Cupro",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 36,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Lyocell",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 37,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Modal",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 38,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Viscose",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 39,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Synthetics",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 40,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Acrylic",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 41,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Elastane (Spandex) ",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 42,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyamide (Nylon)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 43,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyester",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 44,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 45,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene terephthalate (PET)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 46,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polylactic acid (PLA)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 47,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polypropylene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 48,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Secondary Raw Materials",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 49,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 48,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        3
                    ]
                },
                {
                    "id": 50,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Finished Leather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        2
                    ]
                },
                {
                    "id": 51,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wood",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 52,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Agricultural waste",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 53,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Textile waste",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        4
                    ]
                },
                {
                    "id": 54,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose down",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 55,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose feather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 56,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck down",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 57,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck feather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        7
                    ]
                },
                {
                    "id": 58,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Recycled Fibres",
                    "selectable": 0,
                    "order": null,
                    "facility_types": [
                        9
                    ]
                },
                {
                    "id": 59,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 58,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        9
                    ]
                },
                {
                    "id": 60,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fabrics",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 61,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leather",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 62,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Ethylene vinyl acetate (EVA)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 63,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyurethane (PU)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 64,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyvinyl chloride (PVC)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        6,
                        8
                    ]
                },
                {
                    "id": 65,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic polyurethane (TPU)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 66,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic elastomers (TPE)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 67,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Acrylonitrile butadiene styrene (ABS)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 68,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Neoprene",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 69,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Styrene ethylene butylene styrene (SEBS)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        8
                    ]
                },
                {
                    "id": 70,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fresh hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 71,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Brined hides/Skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 72,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet or dry-salted hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 73,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Limed splits",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 74,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Pickled hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 75,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet blue hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 76,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet white/wet green hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 77,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Crust hides/skins",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 78,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (tanned)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                },
                {
                    "id": 79,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (crust)",
                    "selectable": 1,
                    "order": null,
                    "facility_types": [
                        5
                    ]
                }
            ]
        }
    ]
}
 

Request      

GET api/organisations/supplier-profile/attribute-groups

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Vendor reports

Index

requires authentication

List of vendor reports created for organisations of type brand

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports?per_page=8&page=1&filter%5Blevel%5D=level_1&filter%5Bperiod%5D=quarter&filter%5Bstatus%5D=eos&filter%5Bfor_organisation_id%5D=16&filter%5Brequested_at%5D=%3C+2026-07-26+13%3A40%3A05&filter%5Bcompleted_at%5D=%3D+2026-07-26+13%3A40%3A05&filter%5Bcreated_at%5D=%3C%3D+2026-07-22+13%3A40%3A05&filter%5Bupdated_at%5D=%3C+2026-08-03+13%3A40%3A05&sort=id&column=id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports"
);

const params = {
    "per_page": "8",
    "page": "1",
    "filter[level]": "level_1",
    "filter[period]": "quarter",
    "filter[status]": "eos",
    "filter[for_organisation_id]": "16",
    "filter[requested_at]": "< 2026-07-26 13:40:05",
    "filter[completed_at]": "= 2026-07-26 13:40:05",
    "filter[created_at]": "<= 2026-07-22 13:40:05",
    "filter[updated_at]": "< 2026-08-03 13:40:05",
    "sort": "id",
    "column": "id",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 5,
            "organisation_id": 32578,
            "for_organisation_id": 32579,
            "level": "level_2",
            "status": "pending",
            "period": "quarter",
            "requested_at": "2026-07-22T13:40:05.000000Z",
            "completed_at": null,
            "created_at": "2026-07-22T13:40:05.000000Z",
            "updated_at": "2026-07-22T13:40:05.000000Z",
            "deleted_at": null,
            "organisation": {
                "id": 32578,
                "reference_id": "01-SHJ9MMSVLJPD-Q",
                "type_id": 2,
                "name": "Jakubowski-Haag",
                "address_1": "57892 Hermann Cliffs Suite 893",
                "address_2": "Apt. 464",
                "city": "Kuhictown",
                "state": "Kansas",
                "location": "MY",
                "zip": "71975",
                "phone": "+16816975936",
                "email": "jayme.cormier@dibbert.com",
                "website": "https://cummerata.com/aspernatur-rerum-incidunt-rerum-qui-est.html",
                "avatar_url": null,
                "location_name": "Malaysia"
            },
            "for_organisation": {
                "id": 32579,
                "reference_id": "01-CXDZN4YH67EG-R",
                "type_id": 2,
                "name": "Leannon Group",
                "address_1": "49791 Kim Stream Suite 161",
                "address_2": "Apt. 556",
                "city": "New Kalitown",
                "state": "Tennessee",
                "location": "GE",
                "zip": "69079-3985",
                "phone": "+16695728960",
                "email": "mayert.boris@lind.biz",
                "website": "http://www.dickens.com/voluptatem-veniam-autem-molestiae-eius-rerum-harum-amet",
                "avatar_url": null,
                "location_name": "Georgia"
            }
        },
        {
            "id": 5,
            "organisation_id": 32578,
            "for_organisation_id": 32579,
            "level": "level_2",
            "status": "pending",
            "period": "quarter",
            "requested_at": "2026-07-22T13:40:05.000000Z",
            "completed_at": null,
            "created_at": "2026-07-22T13:40:05.000000Z",
            "updated_at": "2026-07-22T13:40:05.000000Z",
            "deleted_at": null,
            "organisation": {
                "id": 32578,
                "reference_id": "01-SHJ9MMSVLJPD-Q",
                "type_id": 2,
                "name": "Jakubowski-Haag",
                "address_1": "57892 Hermann Cliffs Suite 893",
                "address_2": "Apt. 464",
                "city": "Kuhictown",
                "state": "Kansas",
                "location": "MY",
                "zip": "71975",
                "phone": "+16816975936",
                "email": "jayme.cormier@dibbert.com",
                "website": "https://cummerata.com/aspernatur-rerum-incidunt-rerum-qui-est.html",
                "avatar_url": null,
                "location_name": "Malaysia"
            },
            "for_organisation": {
                "id": 32579,
                "reference_id": "01-CXDZN4YH67EG-R",
                "type_id": 2,
                "name": "Leannon Group",
                "address_1": "49791 Kim Stream Suite 161",
                "address_2": "Apt. 556",
                "city": "New Kalitown",
                "state": "Tennessee",
                "location": "GE",
                "zip": "69079-3985",
                "phone": "+16695728960",
                "email": "mayert.boris@lind.biz",
                "website": "http://www.dickens.com/voluptatem-veniam-autem-molestiae-eius-rerum-harum-amet",
                "avatar_url": null,
                "location_name": "Georgia"
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 100,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisations/{organisation_id}/vendor-reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 8

page   integer  optional    

the page number to show. Example: 1

filter[level]   string  optional    

Filter column level by any accepted value. Report depth / disclosure level. Example: level_1

Must be one of:
  • level_1
  • level_2
  • level_3
filter[period]   string  optional    

Filter column period by any accepted value. Covered time window for the report. Example: quarter

Must be one of:
  • quarter
  • half_year
  • year
filter[status]   string  optional    

Filter column status by any accepted value. Workflow status (comma-separated for multiple values). Example: eos

filter[for_organisation_id]   integer  optional    

Filter column for_organisation_id by any accepted value. Target organisation id (comma-separated for multiple values). Example: 16

filter[requested_at]   datetime  optional    

Filter column requested_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-07-26 13:40:05

filter[completed_at]   datetime  optional    

Filter column completed_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-07-26 13:40:05

filter[created_at]   datetime  optional    

Filter column created_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: <= 2026-07-22 13:40:05

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-03 13:40:05

sort   string  optional    

sort by any accepted column: id, level, status, period, for_organisation_id, requested_at, completed_at, created_at, updated_at. prefix a "-" before the column name to sort in descending order Example: id

column   string  optional    

get a distinct list of filterable values for any of the columns: id, organisation_id, for_organisation_id, level, status, period, requested_at, completed_at, created_at, updated_at. Example: id

Store

requires authentication

Queue or persist a new vendor report

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"for_organisation_id\": 1,
    \"level\": \"level_1\",
    \"period\": \"half_year\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports"
);

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

let body = {
    "for_organisation_id": 1,
    "level": "level_1",
    "period": "half_year"
};

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

Example response (200):


{
    "id": 6,
    "organisation_id": 32580,
    "for_organisation_id": 32581,
    "level": "level_1",
    "status": "pending",
    "period": "quarter",
    "requested_at": "2026-07-22T13:40:05.000000Z",
    "completed_at": null,
    "created_at": "2026-07-22T13:40:06.000000Z",
    "updated_at": "2026-07-22T13:40:06.000000Z",
    "deleted_at": null,
    "organisation": {
        "id": 32580,
        "reference_id": "01-CXDZN47EQYNZ-H",
        "type_id": 2,
        "name": "O'Reilly Inc",
        "address_1": "44151 Jast Keys Apt. 151",
        "address_2": "Suite 777",
        "city": "West Londonport",
        "state": "Arizona",
        "location": "BS",
        "zip": "87877-2359",
        "phone": "+14697123205",
        "email": "herman.lilyan@boehm.com",
        "website": "http://www.metz.com/optio-excepturi-consequatur-enim-harum.html",
        "avatar_url": null,
        "location_name": "Bahamas"
    },
    "for_organisation": {
        "id": 32581,
        "reference_id": "01-RFA4ESUNZG7M-Q",
        "type_id": 2,
        "name": "Legros Inc",
        "address_1": "2356 O'Conner Circles Suite 073",
        "address_2": "Suite 037",
        "city": "East Elianmouth",
        "state": "Missouri",
        "location": "PL",
        "zip": "43160",
        "phone": "+16364221696",
        "email": "streich.harry@franecki.net",
        "website": "http://www.effertz.com/nemo-cupiditate-cupiditate-aut-eius-dolor-quisquam",
        "avatar_url": null,
        "location_name": "Poland"
    }
}
 

Request      

POST api/organisations/{organisation_id}/vendor-reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

for_organisation_id   integer     

Numeric identifier of the target organisation the vendor report is about (the “report subject” organisation).

Format and presence

  • Required. Must be a positive integer.
  • Must reference an existing row in the organisations table (id).

Organisation type

  • The target organisation must be a Brand (its organisation type must match the Brand type). Requests for non-brand organisations are rejected.

Relationship to the for_organisation (from the URL {organisation})

  • For report level 1 (level_1), only the rules above apply: a valid Brand id is sufficient.
  • For report level 2 (level_2) or level 3 (level_3), additional rules apply:
    • There must be an organisation connection between your organisation and the for_organisation.
    • On that connection, there must be at least one connection association owned by your organisation whose type is suppliers to brand—i.e. the connection must be set up so that suppliers are associated for reporting in that context. If the organisations are connected but that association is missing, the request fails.

Choose the for_organisation’s primary key id as returned by organisation APIs, not a reference code, unless your client maps codes to ids beforehand. The id of an existing record in the organisations table. Example: 1

level   string     

Example: level_1

Must be one of:
  • level_1
  • level_2
  • level_3
period   string     

Example: half_year

Must be one of:
  • quarter
  • half_year
  • year

Download (PDF)

requires authentication

Download the vendor report as a PDF. Currently returns a single empty page as a placeholder.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports/18/download" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports/18/download"
);

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


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

Example response (200):


content of the pdf
 

Example response (200):


content of the pdf
 

Request      

GET api/organisations/{organisation_id}/vendor-reports/{vendor_report_id}/download

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

vendor_report_id   integer     

The ID of the vendor report. Example: 18

vendor_report   integer     

Vendor report id. Example: 5

Destroy

requires authentication

Delete a vendor report

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports/17" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisations/1/vendor-reports/17"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

DELETE api/organisations/{organisation_id}/vendor-reports/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

id   integer     

The ID of the vendor report. Example: 17

vendor_report   integer     

Vendor report id. Example: 1

Reference ID Generator

Generate

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/generate-reference-id" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"table_name\": \"eveniet\",
    \"count\": 83
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/generate-reference-id"
);

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

let body = {
    "table_name": "eveniet",
    "count": 83
};

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

Example response (200, successful):


{
    "message": "Reference ID generated successfully.",
    "data": {
        "reference_id": "1234567890"
    }
}
 

Request      

POST api/generate-reference-id

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

table_name   string     

Example: eveniet

count   integer     

Must be at least 1. Example: 83

Reporting

Index

requires authentication

List all readable reports

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/reports?per_page=6&filter%5Borganisation_reference_id%5D=nobis&filter%5Borganisation_name%5D=est&filter%5Breport_type%5D=totam&filter%5Breport_date%5D=facere&sort=report_verified_at&search=sint&column=organisation_name&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Auth-Organisation-Id: 01-4SWZLM6LU9C-J" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/reports"
);

const params = {
    "per_page": "6",
    "filter[organisation_reference_id]": "nobis",
    "filter[organisation_name]": "est",
    "filter[report_type]": "totam",
    "filter[report_date]": "facere",
    "sort": "report_verified_at",
    "search": "sint",
    "column": "organisation_name",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Auth-Organisation-Id": "01-4SWZLM6LU9C-J",
    "Content-Type": "application/json",
    "Accept": "application/json",
};


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

Example response (200, Paginated list of chemical inventories and passed Clearstream reports for suppliers connected to the authenticated organisation.):


{
    "current_page": 1,
    "data": [
        {
            "organisation_reference_id": "ORG-7K3M9P2Q",
            "organisation_name": "Acme Textiles GmbH",
            "report_id": 42,
            "report_reference_id": "INV-4N8X2W6R",
            "report_status": "published",
            "report_verified_at": "2026-03-01T00:00:00.000000Z",
            "report_type": "incheck"
        },
        {
            "organisation_reference_id": "ORG-7K3M9P2Q",
            "organisation_name": "Acme Textiles GmbH",
            "report_id": 87,
            "report_reference_id": "CSR-9B2F5H1T",
            "report_status": "PASSED",
            "report_verified_at": "2026-01-22T14:05:00.000000Z",
            "report_type": "clearstream"
        }
    ],
    "first_page_url": "https://example.com/api/reports?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://example.com/api/reports?page=1",
    "links": [
        {
            "url": null,
            "label": "&laquo; Previous",
            "active": false
        },
        {
            "url": "https://example.com/api/reports?page=1",
            "label": "1",
            "active": true
        },
        {
            "url": null,
            "label": "Next &raquo;",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "https://example.com/api/reports",
    "per_page": 50,
    "prev_page_url": null,
    "to": 2,
    "total": 2
}
 

Request      

GET api/reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Auth-Organisation-Id        

Example: 01-4SWZLM6LU9C-J

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 6

filter[organisation_reference_id]   string  optional    

Filter column organisation_reference_id by any accepted value. Matches part of the value. Example: nobis

filter[organisation_name]   string  optional    

Filter column organisation_name by any accepted value. Matches part of the value. Example: est

filter[report_type]   string  optional    

Filter column report_type by any accepted value. Matches part of the value. Example: totam

filter[report_date]   string  optional    

Filter column report_date by any accepted value. Matches part of the value. Example: facere

sort   string  optional    

sort by any accepted column: report_verified_at, organisation_name, organisation_reference_id, report_type. prefix a "-" before the column name to sort in descending order Example: report_verified_at

search   string  optional    

Search in all of these columns: reports.organisation_name, reports.organisation_reference_id, reports.report_type. Filter type: like. Example: sint

column   string  optional    

get a distinct list of filterable values for any of the columns: organisation_name, organisation_reference_id, report_type, report_verified_at. Example: organisation_name

page   integer  optional    

the page number to show. Example: 1

Solution Providers/V1

Inventories

Bulk create inventories and products

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/bulk" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"inventories\": [
        {
            \"supplier_reference_id\": \"01-MW7VLPBGVCN4-Z\",
            \"period\": \"2025-10\",
            \"type\": \"usage\",
            \"products\": [
                {
                    \"product_reference_id\": \"20-9JNTVSKDDAMX-J\",
                    \"product_name\": \"Custom Chemical X\",
                    \"formulator_name\": \"Local Supplier Co.\",
                    \"weight\": 12.5
                }
            ]
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/bulk"
);

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

let body = {
    "inventories": [
        {
            "supplier_reference_id": "01-MW7VLPBGVCN4-Z",
            "period": "2025-10",
            "type": "usage",
            "products": [
                {
                    "product_reference_id": "20-9JNTVSKDDAMX-J",
                    "product_name": "Custom Chemical X",
                    "formulator_name": "Local Supplier Co.",
                    "weight": 12.5
                }
            ]
        }
    ]
};

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

Example response (207):


Batch processed. Check each result individually.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

POST api/solution-providers/v1/inventories/bulk

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

inventories   object[]     

Array of inventories to create.

supplier_reference_id   string     

The reference_id of an existing supplier organisation. The reference_id of an existing record in the organisations table. Example: 01-MW7VLPBGVCN4-Z

period   string     

Inventory reporting period in YYYY-MM format. Must be a valid date in the format Y-m. Example: 2025-10

type   string     

Inventory type. Accepted values: usage, delivery, unspecified. Example: usage

Must be one of:
  • usage
  • delivery
  • unspecified
products   object[]  optional    

Array of products for this inventory. Can be empty.

product_reference_id   string  optional    

Reference ID of an existing published chemical product. Required when product_name is not provided. This field is required when inventories..products..product_name is not present. The reference_id of an existing record in the chemical_products table. Example: 20-9JNTVSKDDAMX-J

product_name   string  optional    

Custom product name. Required when product_reference_id is not provided. This field is required when inventories..products..product_reference_id is not present. Must not be greater than 255 characters. Example: Custom Chemical X

formulator_name   string     

Name of the product formulator. Must not be greater than 255 characters. Example: Local Supplier Co.

weight   number     

Product weight. Must be zero or greater, with at most 2 decimal places. Must be at least 0. Example: 12.5

List chemical inventories for linked suppliers

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories?per_page=20&filter%5Bsupplier_reference_id%5D=01-JQKN7H2TUDT8-O&filter%5Baid%5D=est&filter%5Bperiod%5D=2025-10&filter%5Bstatus%5D=draft&sort=period&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filter\": {
        \"supplier_reference_id\": \"odit\",
        \"aid\": \"quis\",
        \"period\": \"2026-07\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories"
);

const params = {
    "per_page": "20",
    "filter[supplier_reference_id]": "01-JQKN7H2TUDT8-O",
    "filter[aid]": "est",
    "filter[period]": "2025-10",
    "filter[status]": "draft",
    "sort": "period",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "filter": {
        "supplier_reference_id": "odit",
        "aid": "quis",
        "period": "2026-07"
    }
};

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

Example response (200):


{
    "data": [
        {
            "inventory_reference_id": "40-EZU623LZGKFR-M",
            "supplier_reference_id": "01-6UHSPEGU3ER3-C",
            "aid": "AA1122334455",
            "supplier_name": "Combined Fabrics Ltd",
            "period": "2025-10",
            "type": "usage",
            "status": "published",
            "incheck_report_available": true,
            "submitted_at": "2025-11-15T00:00:00.000000Z",
            "published_at": "2025-12-10T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2025-11-01T00:00:00.000000Z",
            "updated_at": "2025-12-10T00:00:00.000000Z"
        },
        {
            "inventory_reference_id": "40-LS9GADJTJG33-H",
            "supplier_reference_id": "01-HGQJWUTKQKLK-O",
            "aid": "AA1122334455",
            "supplier_name": "Combined Fabrics Ltd",
            "period": "2025-10",
            "type": "usage",
            "status": "published",
            "incheck_report_available": true,
            "submitted_at": "2025-11-15T00:00:00.000000Z",
            "published_at": "2025-12-10T00:00:00.000000Z",
            "declined_at": null,
            "declined_reason": null,
            "declined_additional_info": null,
            "created_at": "2025-11-01T00:00:00.000000Z",
            "updated_at": "2025-12-10T00:00:00.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/inventories

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 20

filter[supplier_reference_id]   organisation_reference_id  optional    

Filter column supplier_reference_id by any accepted value. Matches part of the value. Example: 01-JQKN7H2TUDT8-O

filter[aid]   string  optional    

Filter column aid by any accepted value. The aid of the supplier Example: est

filter[period]   string  optional    

Filter column period by any accepted value. Matches part of the value. Example: 2025-10

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: draft

Must be one of:
  • draft
  • submitted
  • declined
  • published
sort   string  optional    

sort by any accepted column: period, supplier_name, status. prefix a "-" before the column name to sort in descending order Example: period

page   integer  optional    

the page number to show. Example: 1

Body Parameters

filter   object  optional    
supplier_reference_id   string  optional    

Example: odit

aid   string  optional    

Example: quis

period   string  optional    

Must be a valid date in the format Y-m. Example: 2026-07

status   string  optional    

Store a chemical inventory for a linked supplier

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"supplier_reference_id\": \"01-8VYBHA6U7XGZ-F\",
    \"period\": \"2025-10\",
    \"type\": \"usage\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories"
);

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

let body = {
    "supplier_reference_id": "01-8VYBHA6U7XGZ-F",
    "period": "2025-10",
    "type": "usage"
};

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

Example response (200):


{
    "data": {
        "inventory_reference_id": "40-QT2KBGWJRMDZ-J",
        "supplier_reference_id": "01-7BC39WLVR3R7-W",
        "period": "2025-10",
        "type": "usage",
        "status": "draft",
        "created_at": "2026-05-29T10:00:00.000000Z",
        "updated_at": "2026-05-29T10:00:00.000000Z"
    }
}
 

Example response (201):


Inventory created in draft status
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Supplier not found or not connected
 

Example response (409):


Active inventory already exists for this supplier + period
 

Example response (422):


Validation error
 

Request      

POST api/solution-providers/v1/inventories

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

supplier_reference_id   string     

The reference_id of an existing supplier organisation. Must match the regex /^01-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 01-8VYBHA6U7XGZ-F

period   string     

Inventory reporting period in YYYY-MM format. Must be a valid date in the format Y-m. Example: 2025-10

type   string     

Inventory type. Accepted values: usage, delivery, unspecified. Example: usage

Must be one of:
  • usage
  • delivery
  • unspecified

Update a chemical inventory

requires authentication

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/ullam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"period\": \"2025-10\",
    \"type\": \"usage\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/ullam"
);

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

let body = {
    "period": "2025-10",
    "type": "usage"
};

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

Example response (200):


{
    "data": {
        "inventory_reference_id": "40-TNR2Y986TWV4-U",
        "supplier_reference_id": "01-4A8W6RXRW2J4-E",
        "period": "2025-10",
        "type": "usage",
        "status": "draft",
        "created_at": "2026-05-29T10:00:00.000000Z",
        "updated_at": "2026-05-29T10:00:00.000000Z"
    }
}
 

Example response (200):


Updated
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory not found or not owned by SP
 

Example response (409):


Period change conflicts with an existing inventory for same supplier + new period
 

Example response (422):


Validation error
 

Request      

PUT api/solution-providers/v1/inventories/{inventory_reference_id}

PATCH api/solution-providers/v1/inventories/{inventory_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

The ID of the inventory reference. Example: ullam

Body Parameters

period   string     

Inventory reporting period in YYYY-MM format. Must be a valid date in the format Y-m. Example: 2025-10

type   string     

Inventory type. Accepted values: usage, delivery, unspecified. Example: usage

Must be one of:
  • usage
  • delivery
  • unspecified

Submit a chemical inventory for verification

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/rerum/submit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/rerum/submit"
);

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


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

Example response (200):


{
    "data": {
        "inventory_reference_id": "40-SHJ9M6FAFQSR-W",
        "supplier_reference_id": "01-2R4PXTBCJJDF-L",
        "period": "2025-10",
        "type": "usage",
        "status": "draft",
        "created_at": "2026-05-29T10:00:00.000000Z",
        "updated_at": "2026-05-29T10:00:00.000000Z"
    }
}
 

Example response (200):


Submitted successfully
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory not found or not owned by this SP
 

Example response (422):


Inventory is not in draft status
 

Request      

POST api/solution-providers/v1/inventories/{inventory_reference_id}/submit

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

The ID of the inventory reference. Example: rerum

Destroy

requires authentication

Destroy a chemical inventory

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/omnis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/omnis"
);

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


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

Example response (204):

Empty response
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory not found.
 

Example response (409):


Only draft inventories can be deleted.
 

Request      

DELETE api/solution-providers/v1/inventories/{inventory_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

The ID of the inventory reference. Example: omnis

Inventory Products

List inventory products

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products?per_page=1&search=velit&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"search\": \"vefrlgomysozqchvbvqxebabhzeeqpenqclgwjlklifrnabyqsagrlmrykm\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products"
);

const params = {
    "per_page": "1",
    "search": "velit",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "search": "vefrlgomysozqchvbvqxebabhzeeqpenqclgwjlklifrnabyqsagrlmrykm"
};

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

Example response (200):


{
    "data": [
        {
            "inventory_product_id": 209254,
            "product_reference_id": "20-QT2KBG3SZTR4-J",
            "product_name": "APPRETTO ACR/EF [P738WC76]",
            "formulator_name": "Super Glanz spa Unipersonale",
            "weight": 41.5
        },
        {
            "inventory_product_id": 209254,
            "product_reference_id": "20-JQKN7HYLJE6J-J",
            "product_name": "APPRETTO ACR/EF [P738WC76]",
            "formulator_name": "Super Glanz spa Unipersonale",
            "weight": 41.5
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory not found or not owned by this SP
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/inventories/{inventory_reference_id}/products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

Reference ID of the supplier inventory. Example: 40-4SLWVAK6HPG-B

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 1

search   string  optional    

Search in all of these columns: name, originalProduct.name. Filter type: like. Minimum length: 3. Example: velit

page   integer  optional    

the page number to show. Example: 1

Body Parameters

search   string  optional    

Must be at least 3 characters. Example: vefrlgomysozqchvbvqxebabhzeeqpenqclgwjlklifrnabyqsagrlmrykm

Store an inventory product

requires authentication

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"product_reference_id\": \"20-TNR2Y9CEH86Z-C\",
    \"product_name\": \"Custom Chemical X\",
    \"formulator_name\": \"Local Supplier Co.\",
    \"weight\": 12.5
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products"
);

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

let body = {
    "product_reference_id": "20-TNR2Y9CEH86Z-C",
    "product_name": "Custom Chemical X",
    "formulator_name": "Local Supplier Co.",
    "weight": 12.5
};

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

Example response (200):


{
    "data": {
        "inventory_product_id": 209254,
        "product_reference_id": "20-2R4PXTHDY9V6-S",
        "product_name": "APPRETTO ACR/EF [P738WC76]",
        "formulator_name": "Super Glanz spa Unipersonale",
        "weight": 41.5
    }
}
 

Example response (201):


Product line added
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory not found or catalogue product not found/published
 

Example response (422):


Validation error
 

Request      

POST api/solution-providers/v1/inventories/{inventory_reference_id}/products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

Reference ID of the supplier inventory. Example: 40-4SLWVAK6HPG-B

Body Parameters

product_reference_id   string  optional    

Reference ID of an existing published chemical product. Required when product_name is not provided. This field is required when product_name is not present. Must match the regex /^20-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 20-TNR2Y9CEH86Z-C

product_name   string  optional    

Custom product name. Required when product_reference_id is not provided. This field is required when product_reference_id is not present. Must not be greater than 255 characters. Example: Custom Chemical X

formulator_name   string     

Name of the chemical formulator. Must not be greater than 255 characters. Example: Local Supplier Co.

weight   number     

Product weight. Must be zero or greater, with at most 2 decimal places. Must be at least 0. Example: 12.5

Update an inventory product

requires authentication

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products/non" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"product_reference_id\": \"20-P4WMD2J8MHLG-O\",
    \"product_name\": \"Custom Chemical X\",
    \"formulator_name\": \"Local Supplier Co.\",
    \"weight\": 12.5
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products/non"
);

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

let body = {
    "product_reference_id": "20-P4WMD2J8MHLG-O",
    "product_name": "Custom Chemical X",
    "formulator_name": "Local Supplier Co.",
    "weight": 12.5
};

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

Example response (200):


{
    "data": {
        "inventory_product_id": 209254,
        "product_reference_id": "20-FPMAZK99QTD9-C",
        "product_name": "APPRETTO ACR/EF [P738WC76]",
        "formulator_name": "Super Glanz spa Unipersonale",
        "weight": 41.5
    }
}
 

Example response (200):


Updated
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory or product line not found / not owned by SP
 

Example response (422):


Validation error
 

Request      

PUT api/solution-providers/v1/inventories/{inventory_reference_id}/products/{inventory_product_id}

PATCH api/solution-providers/v1/inventories/{inventory_reference_id}/products/{inventory_product_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

Reference ID of the supplier inventory. Example: 40-4SLWVAK6HPG-B

inventory_product_id   string     

The ID of the inventory product. Example: non

Body Parameters

product_reference_id   string  optional    

Reference ID of an existing published chemical product. Required when product_name is not provided. This field is required when product_name is not present. Must match the regex /^20-[2346789ABCDEFGHJKLMNPQRSTUVWXYZ]{8,}-[ABCDEFGHIJKLMNOPQRSTUVWXYZ]$/. Example: 20-P4WMD2J8MHLG-O

product_name   string  optional    

Custom product name. Required when product_reference_id is not provided. This field is required when product_reference_id is not present. Must not be greater than 255 characters. Example: Custom Chemical X

formulator_name   string     

Name of the chemical formulator. Must not be greater than 255 characters. Example: Local Supplier Co.

weight   number     

Product weight. Must be zero or greater, with at most 2 decimal places. Must be at least 0. Example: 12.5

Delete an inventory product

requires authentication

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products/quo" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/inventories/40-4SLWVAK6HPG-B/products/quo"
);

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


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

Example response (204):

Empty response
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Inventory or product line not found / not owned by SP
 

Example response (422):


Validation error
 

Request      

DELETE api/solution-providers/v1/inventories/{inventory_reference_id}/products/{inventory_product_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

Reference ID of the supplier inventory. Example: 40-4SLWVAK6HPG-B

inventory_product_id   string     

The ID of the inventory product. Example: quo

Products

List published chemical products

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/products?per_page=8&page=1&search=doloribus&filter%5Bformulator_name%5D=facilis&filter%5Bconformance_level%5D=qui&filter%5Bpid%5D=eos" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"search\": \"yxboiytdyvejoofhphrbkvplkzuqjtlsflkssdkamrahqmdysxvywchoohtsdozsjrpxmpzezzykizhcgyqkggo\",
    \"per_page\": 20,
    \"filter\": {
        \"formulator_name\": \"nostrum\",
        \"pid\": \"architecto\",
        \"conformance_level\": \"velit\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/products"
);

const params = {
    "per_page": "8",
    "page": "1",
    "search": "doloribus",
    "filter[formulator_name]": "facilis",
    "filter[conformance_level]": "qui",
    "filter[pid]": "eos",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "search": "yxboiytdyvejoofhphrbkvplkzuqjtlsflkssdkamrahqmdysxvywchoohtsdozsjrpxmpzezzykizhcgyqkggo",
    "per_page": 20,
    "filter": {
        "formulator_name": "nostrum",
        "pid": "architecto",
        "conformance_level": "velit"
    }
};

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

Example response (200):


{
    "data": [
        {
            "product_reference_id": "20-RFA4ENGLUJPA-H",
            "pid": "PID1234567890",
            "product_name": "APPRETTO ACR/EF [P738WC76]",
            "local_language_names": [
                "P738WC76"
            ],
            "formulator_reference_id": "01-NKFR3JLGLMN2-A",
            "formulator_name": "Super Glanz spa Unipersonale",
            "conformance_level_name": "Level 3",
            "ctz_level_name": null
        },
        {
            "product_reference_id": "20-SHJ9M6CZ9UMF-H",
            "pid": "PID1234567890",
            "product_name": "APPRETTO ACR/EF [P738WC76]",
            "local_language_names": [
                "P738WC76"
            ],
            "formulator_reference_id": "01-2R4PXTHJ878L-D",
            "formulator_name": "Super Glanz spa Unipersonale",
            "conformance_level_name": "Level 3",
            "ctz_level_name": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/products

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 8

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: name, language_names. Filter type: like. Minimum length: 3. Example: doloribus

filter[formulator_name]   string  optional    

Filter column formulator_name by any accepted value. Filter by formulator name Example: facilis

filter[conformance_level]   string  optional    

Filter column conformance_level by any accepted value. Filter by conformance level Example: qui

filter[pid]   string  optional    

Filter column pid by any accepted value. The PID of the product Example: eos

Body Parameters

search   string  optional    

Must be at least 3 characters. Example: yxboiytdyvejoofhphrbkvplkzuqjtlsflkssdkamrahqmdysxvywchoohtsdozsjrpxmpzezzykizhcgyqkggo

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 20

filter   object  optional    
formulator_name   string  optional    

Example: nostrum

pid   string  optional    

Example: architecto

conformance_level   string  optional    

Example: velit

Show a published chemical product

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/products/20-R6X7QVBPAA-R" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/products/20-R6X7QVBPAA-R"
);

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


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

Example response (200):


{
    "data": {
        "product_reference_id": "20-EZU623CPYPQZ-H",
        "product_name": "Appritec A.C.P [P967HD59]",
        "local_language_names": [
            "P967HD59"
        ],
        "pid": "PID1234567890",
        "formulator_reference_id": "01-QT2KBG9URMPJ-K",
        "formulator_name": "Chem Corner Private Limited",
        "conformance_level_name": "Level 3",
        "ctz_level_name": null,
        "sds_url": "https://example.com/sds.pdf",
        "website_url": null,
        "use_types": [
            {
                "use_type_name": "Softening agents",
                "category_name": "Textile Finishing Assistants",
                "substrate_name": "Textile"
            },
            {
                "use_type_name": "Softening agents",
                "category_name": "Finishing Assistants",
                "substrate_name": "Textile"
            }
        ]
    }
}
 

Example response (200):


Product found and published
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


User does not have required permission.
 

Example response (404):


Product not found or not published
 

Request      

GET api/solution-providers/v1/products/{product_identifer}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

product_identifer   string     

Reference ID or PID of the chemical product. Example: 20-R6X7QVBPAA-R

Inventory

Connected Suppliers

requires authentication

Show all eligable suppliers for a given Solution Provider

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/connected-suppliers?per_page=7&filter%5Bsupplier_reference_id%5D=01-3CZET7BZ7CCZ-Z&filter%5Bhas_active_subscription%5D=1&filter%5Baid%5D=ut&search=fuga&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filter\": {
        \"supplier_reference_id\": \"impedit\",
        \"has_active_subscription\": true,
        \"aid\": \"aperiam\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/connected-suppliers"
);

const params = {
    "per_page": "7",
    "filter[supplier_reference_id]": "01-3CZET7BZ7CCZ-Z",
    "filter[has_active_subscription]": "1",
    "filter[aid]": "ut",
    "search": "fuga",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "filter": {
        "supplier_reference_id": "impedit",
        "has_active_subscription": true,
        "aid": "aperiam"
    }
};

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

Example response (200):


{
    "data": {
        "supplier_reference_id": "01-6FUUY46UMH-P",
        "aid": "A356IB10",
        "supplier_name": "Ping Yang Pengye Shoes Com Ltd",
        "location": "CN",
        "location_name": "China",
        "current_subscription": {
            "product_name": "InCheck",
            "start_date": "2026-06-22T13:40:02.791379Z",
            "end_date": "2026-08-21T13:40:02.791441Z"
        }
    }
}
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/incheck/connected-suppliers

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 7

filter[supplier_reference_id]   organisation_reference_id  optional    

Filter column supplier_reference_id by any accepted value. The reference ID of the supplier Example: 01-3CZET7BZ7CCZ-Z

filter[has_active_subscription]   boolean  optional    

Filter column has_active_subscription by any accepted value. Whether the supplier has an active InCheck subscription Example: true

filter[aid]   string  optional    

Filter column aid by any accepted value. The aid of the supplier Example: ut

search   string  optional    

Search in all of these columns: name. Filter type: like. Example: fuga

page   integer  optional    

the page number to show. Example: 1

Body Parameters

filter   object  optional    
supplier_reference_id   string  optional    

Example: impedit

has_active_subscription   boolean  optional    

Example: true

aid   string  optional    

Example: aperiam

InCheck

Formulators

requires authentication

Search formulators by name to support product selection during inventory preparation.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/formulators?search=recusandae&filter%5Bcountry%5D=NL%2CBE&has_gateway_products=1&page=1&per_page=5" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"search\": \"hbsiwjswsamfnnmvfqtsrzjhjpegbudxkparjouctvdwh\",
    \"per_page\": 9,
    \"has_gateway_products\": true,
    \"filter\": {
        \"country\": \"maxime\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/formulators"
);

const params = {
    "search": "recusandae",
    "filter[country]": "NL,BE",
    "has_gateway_products": "1",
    "page": "1",
    "per_page": "5",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "search": "hbsiwjswsamfnnmvfqtsrzjhjpegbudxkparjouctvdwh",
    "per_page": 9,
    "has_gateway_products": true,
    "filter": {
        "country": "maxime"
    }
};

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

Example response (200):


{
    "data": [
        {
            "formulator_reference_id": "01-6UHSPEZJ7H4G-X",
            "legacy_aid": "A12345678",
            "name": "ACME Chemical Company",
            "country": "Germany",
            "has_gateway_products": true,
            "product_count": 42,
            "last_updated_at": "2026-06-20T09:15:00+00:00"
        },
        {
            "formulator_reference_id": "01-4A8W6RFBGGP3-Z",
            "legacy_aid": "A12345678",
            "name": "ACME Chemical Company",
            "country": "Germany",
            "has_gateway_products": true,
            "product_count": 42,
            "last_updated_at": "2026-06-20T09:15:00+00:00"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/incheck/formulators

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

search   string  optional    

Search in all of these columns: name. Filter type: like. Minimum length: 3. Example: recusandae

filter[country]   string  optional    

Filter column country by any accepted value. Filter by multiple exact values, separated by commas Example: NL,BE

has_gateway_products   boolean  optional    

When true, only return formulators with published Gateway products. Example: true

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 5

Body Parameters

search   string     

Must be at least 3 characters. Example: hbsiwjswsamfnnmvfqtsrzjhjpegbudxkparjouctvdwh

per_page   integer  optional    

Must be at least 1. Must not be greater than 100. Example: 9

has_gateway_products   boolean  optional    

Example: true

filter   object  optional    
country   string  optional    

Example: maxime

Organisation Connections

requires authentication

List connected organisations for an organisation the authenticated Solution Provider can access.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/organisation-connections/01-R7UKT6U7FLJ9-H?per_page=15&filter%5Bconnected_organisation_reference_id%5D=01-7BC39WU7UJCT-J&filter%5Bconnected_organisation_type%5D=ZDHC+Internal&sort=accepted_at&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"organisation_reference_id\": \"minima\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/organisation-connections/01-R7UKT6U7FLJ9-H"
);

const params = {
    "per_page": "15",
    "filter[connected_organisation_reference_id]": "01-7BC39WU7UJCT-J",
    "filter[connected_organisation_type]": "ZDHC Internal",
    "sort": "accepted_at",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "organisation_reference_id": "minima"
};

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

Example response (200):


{
    "data": {
        "id": 1,
        "accepted_at": "2026-06-01T10:00:00+00:00",
        "organisation": {
            "organisation_reference_id": "01-EZU623RLWPP6-W",
            "legacy_aid": "A12345678",
            "name": "Example Organisation Ltd",
            "type": "Supplier",
            "location": {
                "country": "Netherlands",
                "state_province": "",
                "city": "Amsterdam"
            }
        },
        "connected_organisation": {
            "organisation_reference_id": "01-9JNTVS7K3TLR-F",
            "legacy_aid": "A12345678",
            "name": "Example Organisation Ltd",
            "type": "Supplier",
            "location": {
                "country": "Netherlands",
                "state_province": "",
                "city": "Amsterdam"
            }
        }
    }
}
 

Example response (200):


{
    "data": [
        {
            "id": 1,
            "accepted_at": "2026-06-01T10:00:00+00:00",
            "organisation": {
                "organisation_reference_id": "01-FPMAZKD2AX7J-W",
                "legacy_aid": "A12345678",
                "name": "Example Organisation Ltd",
                "type": "Supplier",
                "location": {
                    "country": "Netherlands",
                    "state_province": "",
                    "city": "Amsterdam"
                }
            },
            "connected_organisation": {
                "organisation_reference_id": "01-P4WMD26R4HXY-K",
                "legacy_aid": "A12345678",
                "name": "Example Organisation Ltd",
                "type": "Supplier",
                "location": {
                    "country": "Netherlands",
                    "state_province": "",
                    "city": "Amsterdam"
                }
            }
        },
        {
            "id": 1,
            "accepted_at": "2026-06-01T10:00:00+00:00",
            "organisation": {
                "organisation_reference_id": "01-RFA4ENZA6KN4-H",
                "legacy_aid": "A12345678",
                "name": "Example Organisation Ltd",
                "type": "Supplier",
                "location": {
                    "country": "Netherlands",
                    "state_province": "",
                    "city": "Amsterdam"
                }
            },
            "connected_organisation": {
                "organisation_reference_id": "01-BYXCJ8QXPFAK-E",
                "legacy_aid": "A12345678",
                "name": "Example Organisation Ltd",
                "type": "Supplier",
                "location": {
                    "country": "Netherlands",
                    "state_province": "",
                    "city": "Amsterdam"
                }
            }
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


You do not have access to this organisation.
 

Example response (404):


Organisation not found
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/incheck/organisation-connections/{organisation_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The reference ID of the organisation to list connections for. Example: 01-R7UKT6U7FLJ9-H

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 15

filter[connected_organisation_reference_id]   organisation_reference_id  optional    

Filter column connected_organisation_reference_id by any accepted value. Filter by the reference ID of a connected organisation. Example: 01-7BC39WU7UJCT-J

filter[connected_organisation_type]   string  optional    

Filter column connected_organisation_type by any accepted value. Matches exact value. Example: ZDHC Internal

Must be one of:
  • ZDHC Internal
  • Supplier
  • ZDHC Approved Laboratory
  • Brand
  • Vendor
  • Chemical formulator
  • ZDHC MRSL Certification Bodies
  • Chemical Agents/Subsidiaries
  • Performance InCheck Provider
  • Azure Importer
  • Internal Importer
sort   string  optional    

sort by any accepted column: accepted_at, -accepted_at. prefix a "-" before the column name to sort in descending order Example: accepted_at

page   integer  optional    

the page number to show. Example: 1

Body Parameters

organisation_reference_id   string     

Example: minima

Organisation Users

requires authentication

List users for a connected organisation the authenticated Solution Provider can access.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/organisations/01-R7UKT6U7FLJ9-H/users?per_page=3&filter%5Bemail%5D=architecto&sort=created_at&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"organisation_reference_id\": \"fugit\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/organisations/01-R7UKT6U7FLJ9-H/users"
);

const params = {
    "per_page": "3",
    "filter[email]": "architecto",
    "sort": "created_at",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "organisation_reference_id": "fugit"
};

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

Example response (200):


{
    "data": {
        "user_reference_id": "02-CXDZNBK4XJ2D-S",
        "email": "admin@example-supplier.com",
        "name": "Example User"
    }
}
 

Example response (200):


{
    "data": [
        {
            "user_reference_id": "02-FPMAZKD74RE4-H",
            "email": "admin@example-supplier.com",
            "name": "Example User"
        },
        {
            "user_reference_id": "02-V73YGM9ZTZPZ-G",
            "email": "admin@example-supplier.com",
            "name": "Example User"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (401):


Token not found
 

Example response (403):


Authenticated Organisation is not one of types Performance InCheck Provider
 

Example response (403):


You do not have access to this organisation.
 

Example response (404):


Organisation not found
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/incheck/organisations/{organisation_reference_id}/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_reference_id   string     

The reference ID of the organisation to list users for. Example: 01-R7UKT6U7FLJ9-H

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 3

filter[email]   email  optional    

Filter column email by any accepted value. Filter by the email of a user. Example: architecto

sort   string  optional    

sort by any accepted column: created_at, -created_at. prefix a "-" before the column name to sort in descending order Example: created_at

page   integer  optional    

the page number to show. Example: 1

Body Parameters

organisation_reference_id   string     

Example: fugit

Subscriptions

Show

requires authentication

Show the subscription for a supplier

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/subscriptions/est" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/subscriptions/est"
);

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


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

Example response (200):


{
    "data": {
        "supplier_reference_id": "01-6FUUY46UMH-P",
        "aid": "A356IB10",
        "current_subscription": {
            "product_name": "InCheck",
            "start_date": "2026-06-22T13:40:02.813756Z",
            "end_date": "2026-08-21T13:40:02.813828Z"
        }
    }
}
 

Example response (401):


Token not found
 

Example response (403):


You are not of the given types: Supplier
 

Example response (403):


The authenticated organisation is not a Performance InCheck Provider.
 

Example response (404):


Supplier not found or not connected to this Solution Provider.
 

Request      

GET api/solution-providers/v1/incheck/subscriptions/{supplier_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

supplier_reference_id   string     

The ID of the supplier reference. Example: est

Store

requires authentication

Create a new subscription for a supplier

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/subscriptions/velit" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/subscriptions/velit"
);

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


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

Example response (201):


{
    "data": {
        "supplier_reference_id": "01-6FUUY46UMH-P",
        "aid": "A356IB10",
        "current_subscription": {
            "product_name": "InCheck",
            "start_date": "2026-06-22T13:40:02.818027Z",
            "end_date": "2026-08-21T13:40:02.818083Z"
        }
    }
}
 

Example response (401):


Token not found
 

Example response (403):


You are not of the given types: Supplier
 

Example response (403):


The authenticated organisation is not a Performance InCheck Provider.
 

Example response (404):


Supplier not found or not connected to this Solution Provider.
 

Example response (409):


Supplier already has an active subscription
 

Example response (422):


Validation error
 

Request      

POST api/solution-providers/v1/incheck/subscriptions/{supplier_reference_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

supplier_reference_id   string     

The ID of the supplier reference. Example: velit

InCheck Reports

List InCheck reports for linked suppliers

requires authentication

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/reports?per_page=10&filter%5Bsupplier_reference_id%5D=01-2R4PXT4RJ7F8-Y&filter%5Baid%5D=minus&filter%5Bstatus%5D=started&filter%5Bperiod%5D=2025-10&sort=-period&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"filter\": {
        \"supplier_reference_id\": \"velit\",
        \"aid\": \"perspiciatis\",
        \"period\": \"2026-07\"
    }
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/reports"
);

const params = {
    "per_page": "10",
    "filter[supplier_reference_id]": "01-2R4PXT4RJ7F8-Y",
    "filter[aid]": "minus",
    "filter[status]": "started",
    "filter[period]": "2025-10",
    "sort": "-period",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "filter": {
        "supplier_reference_id": "velit",
        "aid": "perspiciatis",
        "period": "2026-07"
    }
};

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

Example response (200):


{
    "data": [
        {
            "report_reference_id": "48-HGQJWUF8G3QA-T",
            "supplier_reference_id": "01-QT2KBGMDRGRU-X",
            "aid": "AA1122334455",
            "supplier_name": "Hangzhou Mini digital technology Co., Ltd.",
            "period": "2025-10",
            "inventory_type": "usage",
            "inventory_reference_id": "40-V73YGM629QDK-H",
            "status": "verified",
            "created_at": "2025-11-12T00:00:00.000000Z",
            "updated_at": "2025-12-10T00:00:00.000000Z"
        },
        {
            "report_reference_id": "48-SHJ9M6R3Y8U6-P",
            "supplier_reference_id": "01-EZU623JWZVNJ-Z",
            "aid": "AA1122334455",
            "supplier_name": "Hangzhou Mini digital technology Co., Ltd.",
            "period": "2025-10",
            "inventory_type": "usage",
            "inventory_reference_id": "40-QT2KBGMDQVSU-K",
            "status": "verified",
            "created_at": "2025-11-12T00:00:00.000000Z",
            "updated_at": "2025-12-10T00:00:00.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Example response (200):


Success.
 

Example response (422):


Validation error
 

Request      

GET api/solution-providers/v1/incheck/reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 10

filter[supplier_reference_id]   organisation_reference_id  optional    

Filter column supplier_reference_id by any accepted value. Matches part of the value. Example: 01-2R4PXT4RJ7F8-Y

filter[aid]   string  optional    

Filter column aid by any accepted value. The aid of the supplier Example: minus

filter[status]   string  optional    

Filter column status by any accepted value. Matches exact value. Example: started

Must be one of:
  • started
  • reports_selected
  • verifier_found
  • paid
  • verified
  • closed
filter[period]   string  optional    

Filter column period by any accepted value. Matches part of the value. Example: 2025-10

sort   string  optional    

Sort reports by period, -period, supplier_name, -supplier_name, status. Default: -period. Example: -period

page   integer  optional    

the page number to show. Example: 1

Body Parameters

filter   object  optional    
supplier_reference_id   string  optional    

Example: velit

aid   string  optional    

Example: perspiciatis

status   string  optional    
period   string  optional    

Must be a valid date in the format Y-m. Example: 2026-07

sort   string  optional    

InCheck Report PDF

Show InCheck report PDF

requires authentication

Stream the InCheck report of a supplier inventory as a PDF. The authenticated Solution Provider must be connected to the supplier that owns the inventory, otherwise the inventory is reported as not found.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/doloribus/incheck-report" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/solution-providers/v1/incheck/doloribus/incheck-report"
);

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


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

Example response (200):


content of the pdf
 

Example response (401):


Token not found
 

Example response (403):


You are not authorized to access this inventory.
 

Example response (404):


Inventory not found or not owned by SP
 

Request      

GET api/solution-providers/v1/incheck/{inventory_reference_id}/incheck-report

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

inventory_reference_id   string     

The ID of the inventory reference. Example: doloribus

inventory   string     

Reference ID of the supplier inventory. Example: 40-4SLWVAK6HPG-B

System

Logs

Channel Settings

requires authentication

Get all logging channel settings.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/logs/settings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/settings"
);

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


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

Example response (200):


{
    "channel1": {
        "fields": [
            "context->ip",
            "context->action_type",
            "context->user_id",
        ],
        "filters": [
            {
                "type": "exact",
                "column": "context->ip",
                "field": {
                    "name": "textfield",
                },
            },
        ],
        "sorts": [
            "context->ip",
            "context->action_type",
            "context->user_id",
        ]
    }
}
 

Request      

GET api/system/logs/settings

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Channel

requires authentication

See all logs for a channel

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/vel?archived=&per_page=50&sort=%60sort%3D-created_at%60" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/vel"
);

const params = {
    "archived": "0",
    "per_page": "50",
    "sort": "`sort=-created_at`",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        },
        {
            "id": 1,
            "channel": "scheduler",
            "level": "INFO",
            "message": "Syncing subscriptions from Maxio…",
            "context": null,
            "created_at": "2026-07-10 21:21:01",
            "deleted_at": null
        }
    ]
}
 

Request      

GET api/system/logs/channel/{channel}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

channel   string     

The channel. Example: vel

Query Parameters

archived   boolean  optional    

Whether to list only archived channels. Example: false

per_page   integer  optional    

Number of channels per page. Example: 50

sort   string  optional    

Sort by any configured sort value. Example: sort=-created_at

Export

requires authentication

Export to CSV

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/voluptatem/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/voluptatem/export"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 89
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "C1x1\\DatabaseLogging\\Http\\Controllers\\DatabaseLoggingController@export",
    "_queries": []
}
 

Request      

GET api/system/logs/channel/{channel}/export

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

channel   string     

The channel. Example: voluptatem

Archive

requires authentication

Archive logs (soft delete)

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/aliquam/archive" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/aliquam/archive"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 88
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "C1x1\\DatabaseLogging\\Http\\Controllers\\DatabaseLoggingController@archive",
    "_queries": []
}
 

Request      

GET api/system/logs/channel/{channel}/archive

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

channel   string     

The channel. Example: aliquam

Delete Archived

requires authentication

Delete archived logs (force delete)

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/rerum/delete-archived" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/rerum/delete-archived"
);

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


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

Request      

DELETE api/system/logs/channel/{channel}/delete-archived

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

channel   string     

The channel. Example: rerum

Blade Preview

Preview

requires authentication

Preview any View. Supports php commands and defaults to strings. Only available when debug enabled.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/blade/preview/et" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/blade/preview/et"
);

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


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

Request      

POST api/system/organisation/{organisation_id}/blade/preview/{view}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

view   string     

Example: et

Sync Lab Users

Webhook

requires authentication

Webhook to handle syncing lab users.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/system/sync-lab-users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"api_key\": \"at\",
    \"data\": []
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/sync-lab-users"
);

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

let body = {
    "api_key": "at",
    "data": []
};

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

Example response (200):


{
    "message": "not handled"
}
 

Example response (200):


{}
 

Request      

POST api/system/sync-lab-users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

api_key   string     

Example: at

data   object     

Mail

Preview

requires authentication

Preview any mailable, supplied with any query parameter arguments for that mailable.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/mail/preview/voluptatem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/mail/preview/voluptatem"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 77
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\System\\SystemMailController@preview",
    "_queries": []
}
 

Request      

GET api/system/organisation/{organisation_id}/mail/preview/{mailableClass}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

mailableClass   string     

Example: voluptatem

Terms and Service

Active Terms and Service Document

requires authentication

Get current active ToC Document.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-service/active?per_page=20&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-service/active"
);

const params = {
    "per_page": "20",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "related_type": "App\\Models\\Organisation",
        "document_title": "TaS Example.pdf",
        "created_at": "2026-07-10T21:21:06.000000Z",
        "updated_at": "2026-07-10T21:21:06.000000Z",
        "public_file_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf"
    }
}
 

Request      

GET api/system/terms-and-service/active

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 20

page   integer  optional    

the page number to show. Example: 1

Active Terms and Conditions

requires authentication

Get current active ToC Document.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-conditions/active?per_page=3&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-conditions/active"
);

const params = {
    "per_page": "3",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "related_type": "App\\Models\\Organisation",
        "document_title": "TaS Example.pdf",
        "created_at": "2026-07-10T21:21:06.000000Z",
        "updated_at": "2026-07-10T21:21:06.000000Z",
        "public_file_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf"
    }
}
 

Request      

GET api/system/terms-and-conditions/active

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 3

page   integer  optional    

the page number to show. Example: 1

Store

requires authentication

Store a new terms and service document.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/terms-and-service" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "document=@/tmp/phpbcDaJC" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/terms-and-service"
);

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

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

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/system/organisation/{organisation_id}/terms-and-service

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Body Parameters

document   file     

Must be a file. Example: /tmp/phpbcDaJC

Store

requires authentication

Store a new terms and conditions document.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/system/user/8/terms-and-conditions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "document=@/tmp/phpFEApMC" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/system/user/8/terms-and-conditions"
);

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

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

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/system/user/{user_id}/terms-and-conditions

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Body Parameters

document   file     

Must be a file. Example: /tmp/phpFEApMC

Terms and Service

Accept

accept a TaS document for an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/terms-and-service/accept/1/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/terms-and-service/accept/1/1"
);

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


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

Example response (200):


Terms and dervice document accepted
 

Request      

POST api/terms-and-service/accept/{organisation_id}/{document_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

document_id   integer     

The ID of the document. Example: 1

Accept Terms and Conditions

accept a TaC document for a user.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/terms-and-conditions/accept/8/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/terms-and-conditions/accept/8/1"
);

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


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

Example response (200):


Terms and conditions document accepted
 

Request      

POST api/terms-and-conditions/accept/{user_id}/{document_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

document_id   integer     

The ID of the document. Example: 1

Users

Notifications

Index

requires authentication

List all notifications for a user.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications?page=1&per_page=14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"read\": true,
    \"unread\": true
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications"
);

const params = {
    "page": "1",
    "per_page": "14",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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

let body = {
    "read": true,
    "unread": true
};

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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "user_id": 13028,
            "type": "organisation_updates",
            "message": "Organisation product subscription expiration reminder - #[100] | [VAT Test Plan] will expire on [2026.07.20]",
            "url": null,
            "read_at": null,
            "created_at": "2026-07-19T00:00:34.000000Z",
            "updated_at": "2026-07-19T00:00:34.000000Z"
        },
        {
            "id": 1,
            "user_id": 13028,
            "type": "organisation_updates",
            "message": "Organisation product subscription expiration reminder - #[100] | [VAT Test Plan] will expire on [2026.07.20]",
            "url": null,
            "read_at": null,
            "created_at": "2026-07-19T00:00:34.000000Z",
            "updated_at": "2026-07-19T00:00:34.000000Z"
        }
    ]
}
 

Request      

GET api/users/{user_id}/notifications

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 14

Body Parameters

read   boolean  optional    

Example: true

unread   boolean  optional    

Example: true

Count unread

requires authentication

Get the amount of unread notifications for a user

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/count" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/count"
);

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


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

Example response (200):


{
 data: {
     count: 1
 }
}
 

Request      

GET api/users/{user_id}/notifications/count

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Mark as read

requires authentication

Mark a single or all notifications as read for a user.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/mark-as-read/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/mark-as-read/1"
);

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


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

Example response (200):


{
 message: "Notification(s) marked as read"
}
 

Request      

POST api/users/{user_id}/notifications/mark-as-read/{notification?}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

notification   integer  optional    

Example: 1

Mark as unread

requires authentication

Mark a notification as unread for a user.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/mark-as-unread/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/mark-as-unread/1"
);

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


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

Example response (200):


{
 message: "Notification marked as unread"
}
 

Request      

POST api/users/{user_id}/notifications/mark-as-unread/{notification_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

notification_id   integer     

The ID of the notification. Example: 1

Show Notification Settings

requires authentication

Show notification settings for a user.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/settings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/settings"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 75
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Condition document before you can continue.",
    "data": {
        "document_id": 2,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/ToC Example.pdf",
        "user_id": 32687
    },
    "_controller": "App\\Http\\Controllers\\User\\NotificationController@showNotificationSettings",
    "_queries": []
}
 

Request      

GET api/users/{user_id}/notifications/settings

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Update Notification Settings

requires authentication

Update notification settings for a user.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/settings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"product_updates\": false,
    \"organisation_updates\": false,
    \"weekly_notification_digest\": true,
    \"marketing_updates\": true
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/notifications/settings"
);

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

let body = {
    "product_updates": false,
    "organisation_updates": false,
    "weekly_notification_digest": true,
    "marketing_updates": true
};

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

Request      

PUT api/users/{user_id}/notifications/settings

PATCH api/users/{user_id}/notifications/settings

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Body Parameters

product_updates   boolean     

Example: false

organisation_updates   boolean     

Example: false

weekly_notification_digest   boolean     

Example: true

marketing_updates   boolean     

Example: true

Show

requires authentication

Get the properties of a user.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8"
);

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


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

Example response (200):


{
    "data": {
        "id": 8,
        "reference_id": "02-H7RBX8FE3BV-H",
        "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
        "pdc_id": null,
        "role_id": 2,
        "first_name": "Amy",
        "last_name": "Huang",
        "email": "amyhuang@ecic.com.tw",
        "email_verified_at": "2017-06-17T04:45:09.000000Z",
        "phone": "+886910807779",
        "location": "TW",
        "locale": "en-US",
        "created_at": "2017-06-17T04:45:09.000000Z",
        "updated_at": "2017-06-17T04:45:09.000000Z",
        "deleted_at": null,
        "last_active_at": null,
        "profile_reviewed_at": null,
        "status": "active",
        "profile_picture_url": null,
        "location_name": "Taiwan"
    }
}
 

Request      

GET api/users/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the user. Example: 8

user   integer  optional    

The ID of the user. Example: 1

Update

requires authentication

Update a user.

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/users/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"first_name\": \"gdfcbebgr\",
    \"last_name\": \"xsravszkb\",
    \"email\": \"nfeeney@example.com\",
    \"phone\": \"+1234567890\",
    \"password\": \"{=9THIB{\\/\",
    \"location\": \"US\",
    \"locale\": \"hu_HU\",
    \"profile_picture\": \"dmccgsovegdozzqsccdjle\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8"
);

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

let body = {
    "first_name": "gdfcbebgr",
    "last_name": "xsravszkb",
    "email": "nfeeney@example.com",
    "phone": "+1234567890",
    "password": "{=9THIB{\/",
    "location": "US",
    "locale": "hu_HU",
    "profile_picture": "dmccgsovegdozzqsccdjle"
};

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

Example response (200, successful):


{
    "message": "User updated successfully",
    "email_verification_required": false,
    "password_sent": false,
    "new_avatar_url": "https://example.com/avatar.jpg"
}
 

Example response (422, Validation Error):


{
    "message": "[error message from the first field failing validation]",
    "errors": {
        "[field_name]": [
            "[any validator message failing]"
        ]
    }
}
 

Request      

PUT api/users/{id}

PATCH api/users/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the user. Example: 8

Body Parameters

first_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: gdfcbebgr

last_name   string     

Must be at least 2 characters. Must not be greater than 50 characters. Example: xsravszkb

email   string     

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

phone   string  optional    

The user's phone number. Must be at least 8 characters. Must not be greater than 20 characters. Example: +1234567890

password   string  optional    

Must not be greater than 255 characters. Example: {=9THIB{/

password_confirmation   string  optional    

The value and password must match.

location   string  optional    

The user's location. Must not be greater than 255 characters. Example: US

locale   string  optional    

Must not be greater than 12 characters. Example: hu_HU

profile_picture   string  optional    

Must not be greater than 2048 characters. Example: dmccgsovegdozzqsccdjle

Destroy

requires authentication

Delete a user

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/users/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8"
);

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


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

Example response (200, successful):


{
    "message": "User deleted successfully"
}
 

Request      

DELETE api/users/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   integer     

The ID of the user. Example: 8

IsRegistered

requires authentication

Checks if user is registered

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8/is-registered" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/is-registered"
);

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


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

Example response (200, successful):


{
    "message": "User is not yet registered"
}
 

Example response (500, unsuccessful):


{
    "message": "User is already registered"
}
 

Request      

GET api/users/{user_id}/is-registered

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Organisations

requires authentication

Get the organisations for a specific user or the authenticated user.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/users/8/organisations?pending=1&non_accepted=1&only_trashed=&priority=15&per_page=2&sort=reference_id&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/organisations"
);

const params = {
    "pending": "1",
    "non_accepted": "1",
    "only_trashed": "0",
    "priority": "15",
    "per_page": "2",
    "sort": "reference_id",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 2,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China",
            "type": {
                "id": 2,
                "name": "Supplier",
                "display_name": "Supplier",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            },
            "organisation_users": [
                {
                    "id": 1063,
                    "organisation_id": 1,
                    "user_id": 10053,
                    "invited_by": null,
                    "role_id": 4,
                    "last_authorization": null,
                    "invitation_sent_at": null,
                    "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
                    "created_at": "2026-07-10T21:20:29.000000Z",
                    "updated_at": "2026-07-10T21:20:29.000000Z",
                    "deleted_at": null,
                    "role": {
                        "id": 4,
                        "parent_id": 3,
                        "name": "ORGANISATION_ADMIN"
                    },
                    "organisation": {
                        "id": 1,
                        "maxio_customer_id": 268249,
                        "reference_id": "01-6FUUY46UMH-P",
                        "pdc_id": null,
                        "gateway_aid": "A356IB10",
                        "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
                        "type_id": 2,
                        "status": "approved",
                        "name": "Ping Yang Pengye Shoes Com Ltd",
                        "legal_name": "Ping Yang Pengye Shoes Com Ltd",
                        "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
                        "address_2": null,
                        "city": "Wenzhou",
                        "state": "Zhejiang",
                        "location": "CN",
                        "zip": "",
                        "phone": "",
                        "email": "pengye@126.com",
                        "contact_first_name": "JIAN",
                        "contact_last_name": "Le",
                        "billing_contact_email": null,
                        "billing_contact_first_name": null,
                        "billing_contact_last_name": null,
                        "billing_contact_phone": null,
                        "business_registration_document_extension": null,
                        "business_registration_document_name": null,
                        "safety_data_sheet_name": null,
                        "website": null,
                        "avatar_url": null,
                        "applicant_comment": null,
                        "reviewer_comment": null,
                        "registration_mail_sent_at": null,
                        "created_at": "2021-11-04T12:19:55.000000Z",
                        "updated_at": "2026-07-22T08:08:27.000000Z",
                        "reviewer_comment_category": null,
                        "profile_reviewed_at": null,
                        "profile_reviewed_by_user_id": null,
                        "location_name": "China"
                    }
                }
            ]
        },
        {
            "id": 1,
            "maxio_customer_id": 268249,
            "reference_id": "01-6FUUY46UMH-P",
            "pdc_id": null,
            "gateway_aid": "A356IB10",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "type_id": 2,
            "status": "approved",
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
            "address_2": null,
            "city": "Wenzhou",
            "state": "Zhejiang",
            "location": "CN",
            "zip": "",
            "phone": "",
            "email": "pengye@126.com",
            "contact_first_name": "JIAN",
            "contact_last_name": "Le",
            "billing_contact_email": null,
            "billing_contact_first_name": null,
            "billing_contact_last_name": null,
            "billing_contact_phone": null,
            "business_registration_document_extension": null,
            "business_registration_document_name": null,
            "safety_data_sheet_name": null,
            "website": null,
            "avatar_url": null,
            "applicant_comment": null,
            "reviewer_comment": null,
            "registration_mail_sent_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "reviewer_comment_category": null,
            "profile_reviewed_at": null,
            "profile_reviewed_by_user_id": null,
            "location_name": "China",
            "type": {
                "id": 2,
                "name": "Supplier",
                "display_name": "Supplier",
                "description": null,
                "selectable": 1,
                "created_at": "2026-07-10T21:21:07.000000Z",
                "updated_at": "2026-07-22T13:39:54.000000Z"
            },
            "organisation_users": [
                {
                    "id": 1063,
                    "organisation_id": 1,
                    "user_id": 10053,
                    "invited_by": null,
                    "role_id": 4,
                    "last_authorization": null,
                    "invitation_sent_at": null,
                    "invitation_accepted_at": "2026-07-10T21:20:29.000000Z",
                    "created_at": "2026-07-10T21:20:29.000000Z",
                    "updated_at": "2026-07-10T21:20:29.000000Z",
                    "deleted_at": null,
                    "role": {
                        "id": 4,
                        "parent_id": 3,
                        "name": "ORGANISATION_ADMIN"
                    },
                    "organisation": {
                        "id": 1,
                        "maxio_customer_id": 268249,
                        "reference_id": "01-6FUUY46UMH-P",
                        "pdc_id": null,
                        "gateway_aid": "A356IB10",
                        "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
                        "type_id": 2,
                        "status": "approved",
                        "name": "Ping Yang Pengye Shoes Com Ltd",
                        "legal_name": "Ping Yang Pengye Shoes Com Ltd",
                        "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
                        "address_2": null,
                        "city": "Wenzhou",
                        "state": "Zhejiang",
                        "location": "CN",
                        "zip": "",
                        "phone": "",
                        "email": "pengye@126.com",
                        "contact_first_name": "JIAN",
                        "contact_last_name": "Le",
                        "billing_contact_email": null,
                        "billing_contact_first_name": null,
                        "billing_contact_last_name": null,
                        "billing_contact_phone": null,
                        "business_registration_document_extension": null,
                        "business_registration_document_name": null,
                        "safety_data_sheet_name": null,
                        "website": null,
                        "avatar_url": null,
                        "applicant_comment": null,
                        "reviewer_comment": null,
                        "registration_mail_sent_at": null,
                        "created_at": "2021-11-04T12:19:55.000000Z",
                        "updated_at": "2026-07-22T08:08:27.000000Z",
                        "reviewer_comment_category": null,
                        "profile_reviewed_at": null,
                        "profile_reviewed_by_user_id": null,
                        "location_name": "China"
                    }
                }
            ]
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "50",
        "to": 2
    }
}
 

Request      

GET api/users/{user_id}/organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

Query Parameters

pending   boolean  optional    

Include organisations that have pending invitations. Defaults to true. Example: true

non_accepted   boolean  optional    

Include organisations that have not been accepted. Defaults to true. Example: true

only_trashed   boolean  optional    

Example: false

priority   integer  optional    

Sort by ID by priority. Example: 15

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 2

sort   string  optional    

sort by any accepted column: reference_id, name, role_name, type_name, membership_accepted_at, membership_deleted_at, created_at. prefix a "-" before the column name to sort in descending order Example: reference_id

page   integer  optional    

the page number to show. Example: 1

Accept Invitation

requires authentication

Accept an invitation to join an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/users/8/accept-invitation/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/accept-invitation/1"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/users/{user_id}/accept-invitation/{organisationUser_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

organisationUser_id   integer     

The ID of the organisationUser. Example: 1

Reject Invitation

requires authentication

Reject an invitation to join an organisation.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/users/8/reject-invitation/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/users/8/reject-invitation/1"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/users/{user_id}/reject-invitation/{organisationUser_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

user_id   integer     

The ID of the user. Example: 8

organisationUser_id   integer     

The ID of the organisationUser. Example: 1

Wastewater

Clearstream Report

Show

requires authentication

get the clearstream report as a pdf

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/clearstream-report" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/clearstream-report"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 74
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\ClearstreamReportController@show",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/{report_id}/clearstream-report

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Facility information

Show attribute groups

requires authentication

Get a list of attribute groups related to report profiles

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/attribute-groups" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/attribute-groups"
);

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "name": "Materials",
            "profile_type": "supplier_profile",
            "service_id": null,
            "single_select": 0,
            "type": null,
            "required": null,
            "items_type": null,
            "attributes": [
                {
                    "id": 1,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Cotton",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 2,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Bast fibres and Bamboo",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 3,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 4,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 5,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 6,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 7,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 8,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 9,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 10,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leaf fibres",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 11,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 12,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 13,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 14,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 15,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 16,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 17,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 18,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Kapok",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 19,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Animal",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 20,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Wool",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 21,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Alpaca",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 22,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Angora",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 23,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Camel",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 24,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Cashmere",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 25,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Guanaco",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 26,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Lama",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 27,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Mohair",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 28,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicuna",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 29,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Yak",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 30,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Horse hair",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 31,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicugna",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 32,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Silk",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 33,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "MMCF",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 34,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Acetate (Diacetate, Triacetate)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 35,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Cupro",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 36,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Lyocell",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 37,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Modal",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 38,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Viscose",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 39,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Synthetics",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 40,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Acrylic",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 41,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Elastane (Spandex) ",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 42,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyamide (Nylon)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 43,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyester",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 44,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 45,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene terephthalate (PET)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 46,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polylactic acid (PLA)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 47,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polypropylene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 48,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Secondary Raw Materials",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 49,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 48,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 50,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Finished Leather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 51,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wood",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 52,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Agricultural waste",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 53,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Textile waste",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 54,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose down",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 55,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose feather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 56,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck down",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 57,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck feather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 58,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Recycled Fibres",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 59,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 58,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 60,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fabrics",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 61,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 62,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Ethylene vinyl acetate (EVA)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 63,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyurethane (PU)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 64,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyvinyl chloride (PVC)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 65,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic polyurethane (TPU)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 66,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic elastomers (TPE)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 67,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Acrylonitrile butadiene styrene (ABS)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 68,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Neoprene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 69,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Styrene ethylene butylene styrene (SEBS)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 70,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fresh hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 71,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Brined hides/Skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 72,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet or dry-salted hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 73,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Limed splits",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 74,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Pickled hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 75,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet blue hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 76,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet white/wet green hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 77,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Crust hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 78,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (tanned)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 79,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (crust)",
                    "selectable": 1,
                    "order": null
                }
            ]
        },
        {
            "id": 1,
            "name": "Materials",
            "profile_type": "supplier_profile",
            "service_id": null,
            "single_select": 0,
            "type": null,
            "required": null,
            "items_type": null,
            "attributes": [
                {
                    "id": 1,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Cotton",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 2,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Bast fibres and Bamboo",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 3,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 4,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 5,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 6,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 7,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 8,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 9,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 2,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 10,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leaf fibres",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 11,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Bamboo",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 12,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Flax (Linen)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 13,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Hemp",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 14,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Jute",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 15,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Nettle",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 16,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Ramie",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 17,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 10,
                    "short": null,
                    "name": "Banana",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 18,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Kapok",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 19,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Animal",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 20,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Wool",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 21,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Alpaca",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 22,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Angora",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 23,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Camel",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 24,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Cashmere",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 25,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Guanaco",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 26,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Lama",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 27,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Mohair",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 28,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicuna",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 29,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Yak",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 30,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Horse hair",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 31,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Vicugna",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 32,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 19,
                    "short": null,
                    "name": "Silk",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 33,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "MMCF",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 34,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Acetate (Diacetate, Triacetate)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 35,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Cupro",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 36,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Lyocell",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 37,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Modal",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 38,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 33,
                    "short": null,
                    "name": "Viscose",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 39,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Synthetics",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 40,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Acrylic",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 41,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Elastane (Spandex) ",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 42,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyamide (Nylon)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 43,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyester",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 44,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 45,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polyethylene terephthalate (PET)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 46,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polylactic acid (PLA)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 47,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 39,
                    "short": null,
                    "name": "Polypropylene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 48,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Secondary Raw Materials",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 49,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 48,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 50,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Finished Leather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 51,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wood",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 52,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Agricultural waste",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 53,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Textile waste",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 54,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose down",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 55,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Goose feather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 56,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck down",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 57,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Duck feather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 58,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Recycled Fibres",
                    "selectable": 0,
                    "order": null
                },
                {
                    "id": 59,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": 58,
                    "short": null,
                    "name": "Recycled (any of the above)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 60,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fabrics",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 61,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Leather",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 62,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Ethylene vinyl acetate (EVA)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 63,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyurethane (PU)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 64,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Polyvinyl chloride (PVC)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 65,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic polyurethane (TPU)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 66,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Thermoplastic elastomers (TPE)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 67,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Acrylonitrile butadiene styrene (ABS)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 68,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Neoprene",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 69,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Styrene ethylene butylene styrene (SEBS)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 70,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Fresh hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 71,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Brined hides/Skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 72,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet or dry-salted hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 73,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Limed splits",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 74,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Pickled hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 75,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet blue hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 76,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Wet white/wet green hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 77,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Crust hides/skins",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 78,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (tanned)",
                    "selectable": 1,
                    "order": null
                },
                {
                    "id": 79,
                    "external_id": null,
                    "group_id": 1,
                    "parent_id": null,
                    "short": null,
                    "name": "Splits (crust)",
                    "selectable": 1,
                    "order": null
                }
            ]
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/attribute-groups

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Show

requires authentication

Get information for the owned facility for the given report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/facility-information" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/facility-information"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "report_id": 1,
        "version_id": 1,
        "requires_testing": 1,
        "completed_at": "2022-09-29 00:00:00",
        "created_at": "2026-07-10T21:52:52.000000Z",
        "updated_at": "2026-07-17T10:48:09.000000Z",
        "attributes": [
            {
                "id": 499,
                "external_id": 1,
                "group_id": 20,
                "parent_id": null,
                "short": null,
                "name": "Direct",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 499
                }
            },
            {
                "id": 508,
                "external_id": 1,
                "group_id": 23,
                "parent_id": null,
                "short": null,
                "name": "On-site or off-site incineration at >1000°C",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 508
                }
            },
            {
                "id": 462,
                "external_id": 2,
                "group_id": 18,
                "parent_id": null,
                "short": null,
                "name": "Leather",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 462
                }
            },
            {
                "id": 516,
                "external_id": 1,
                "group_id": 24,
                "parent_id": null,
                "short": null,
                "name": "Viscose Staple Fibre (VSF)/ VSF & Modal",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 516
                }
            },
            {
                "id": 507,
                "external_id": 1,
                "group_id": 22,
                "parent_id": null,
                "short": null,
                "name": "Yes",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 507
                }
            },
            {
                "id": 504,
                "external_id": 0,
                "group_id": 21,
                "parent_id": null,
                "short": null,
                "name": "less than 15m³ per day",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 504
                }
            },
            {
                "id": 465,
                "external_id": 1,
                "group_id": 19,
                "parent_id": null,
                "short": null,
                "name": "Textile Accessories and Trims Assembler",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 465
                }
            },
            {
                "id": 477,
                "external_id": 13,
                "group_id": 19,
                "parent_id": null,
                "short": null,
                "name": "Vertically integrated Mill",
                "selectable": 1,
                "order": null,
                "pivot": {
                    "profile_id": 1,
                    "attribute_id": 477
                }
            }
        ]
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/{report_id}/facility-information

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Store

requires authentication

Get facility information

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/facility-information" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"complete\": false,
    \"guideline_version\": 4283,
    \"industry_type\": 462,
    \"facility_type\": [],
    \"discharge_type\": 500,
    \"above_15m\": 505,
    \"has_sludge\": 506,
    \"disposal_pathway\": 510,
    \"fiber_type\": 520
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/facility-information"
);

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

let body = {
    "complete": false,
    "guideline_version": 4283,
    "industry_type": 462,
    "facility_type": [],
    "discharge_type": 500,
    "above_15m": 505,
    "has_sludge": 506,
    "disposal_pathway": 510,
    "fiber_type": 520
};

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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/{report_id}/facility-information

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Body Parameters

complete   boolean  optional    

Example: false

guideline_version   integer     

Example: 4283

Must be one of:
  • 4280
  • 4281
  • 4282
  • 4283
  • 4284
  • 4285
  • 4286
  • 4287
  • 4288
  • 4289
  • 4290
  • 4291
  • 4292
  • 4293
  • 4294
  • 4295
  • 4296
  • 4297
  • 4298
  • 4299
  • 4300
  • 4301
  • 4302
  • 4303
  • 4304
  • 4305
  • 4306
  • 4307
  • 4308
  • 4309
  • 4310
  • 4311
  • 4312
  • 4313
  • 4314
  • 4315
  • 4316
  • 4317
industry_type   integer     

Example: 462

Must be one of:
  • 461
  • 462
  • 463
  • 464
facility_type   object     
Must be one of:
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
discharge_type   integer     

Example: 500

Must be one of:
  • 499
  • 500
  • 501
  • 502
  • 503
above_15m   integer     

Example: 505

Must be one of:
  • 504
  • 505
has_sludge   integer     

Example: 506

Must be one of:
  • 506
  • 507
disposal_pathway   integer  optional    

Example: 510

Must be one of:
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
fiber_type   integer  optional    

Example: 520

Must be one of:
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522

Clearstream Requests

Index

requires authentication

Get assigned laboratory clearstream requests.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests?per_page=6&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests"
);

const params = {
    "per_page": "6",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "report_id": 1,
            "laboratory_id": 1046,
            "reporting_cycle": null,
            "location": "BD",
            "status": "CLOSED",
            "upload_method": "manual",
            "sampling_completed_at": "2022-09-29T00:00:00.000000Z",
            "testing_started_at": "2022-10-13 11:42:54",
            "testing_completed_at": "2022-10-13T11:45:27.000000Z",
            "closed_at": null,
            "accepted_at": "2022-10-13 11:42:54",
            "rejected_at": null,
            "accepted_by_supplier_at": "2022-10-13 11:45:27",
            "rejected_by_supplier_at": null,
            "rejection_reason": null,
            "rejection_reason_by_supplier": null,
            "supplier_rejection_additional_info": null,
            "created_at": "2026-07-10T21:52:52.000000Z",
            "updated_at": "2026-07-17T10:39:13.000000Z"
        },
        {
            "id": 1,
            "report_id": 1,
            "laboratory_id": 1046,
            "reporting_cycle": null,
            "location": "BD",
            "status": "CLOSED",
            "upload_method": "manual",
            "sampling_completed_at": "2022-09-29T00:00:00.000000Z",
            "testing_started_at": "2022-10-13 11:42:54",
            "testing_completed_at": "2022-10-13T11:45:27.000000Z",
            "closed_at": null,
            "accepted_at": "2022-10-13 11:42:54",
            "rejected_at": null,
            "accepted_by_supplier_at": "2022-10-13 11:45:27",
            "rejected_by_supplier_at": null,
            "rejection_reason": null,
            "rejection_reason_by_supplier": null,
            "supplier_rejection_additional_info": null,
            "created_at": "2026-07-10T21:52:52.000000Z",
            "updated_at": "2026-07-17T10:39:13.000000Z"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "/",
        "per_page": "100",
        "to": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 100 Example: 6

page   integer  optional    

the page number to show. Example: 1

Show

requires authentication

Get details for a specific laboratory clearstream request.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "report_id": 1,
        "laboratory_id": 1046,
        "reporting_cycle": null,
        "location": "BD",
        "status": "CLOSED",
        "upload_method": "manual",
        "sampling_completed_at": "2022-09-29T00:00:00.000000Z",
        "testing_started_at": "2022-10-13 11:42:54",
        "testing_completed_at": "2022-10-13T11:45:27.000000Z",
        "closed_at": null,
        "accepted_at": "2022-10-13 11:42:54",
        "rejected_at": null,
        "accepted_by_supplier_at": "2022-10-13 11:45:27",
        "rejected_by_supplier_at": null,
        "rejection_reason": null,
        "rejection_reason_by_supplier": null,
        "supplier_rejection_additional_info": null,
        "created_at": "2026-07-10T21:52:52.000000Z",
        "updated_at": "2026-07-17T10:39:13.000000Z",
        "report": {
            "id": 1,
            "reference_id": "TR543HN21",
            "legacy_clearstream_report_id": 18790,
            "uuid": "a23a79ea-5540-4b96-a409-0c760bc39558",
            "organisation_id": 12822,
            "status": "PASSED",
            "created_at": "2022-10-13T11:42:54.000000Z",
            "updated_at": "2026-07-10T21:52:52.000000Z",
            "archived_at": null,
            "last_viewed_at": "2026-07-10 21:52:52",
            "payment_completed_at": null,
            "organisation": {
                "id": 12822,
                "maxio_customer_id": 314568,
                "reference_id": "01-MGX9HCEAP4V-R",
                "pdc_id": null,
                "gateway_aid": "A325IM69",
                "uuid": "e8414d9d-d8f7-46bf-95de-cb43adddee0f",
                "type_id": 2,
                "status": "approved",
                "name": "Zaber & Zubair Fabrics Limited.",
                "legal_name": "Zaber & Zubair Fabrics Limited.",
                "address_1": "Pagar, Tongi, Gazipur.",
                "address_2": null,
                "city": "Gazipur",
                "state": "Dhaka",
                "location": "BD",
                "zip": "1710",
                "phone": "+8802 9801012,",
                "email": "sustainability@znzfab.com",
                "contact_first_name": "Md Zakir",
                "contact_last_name": "Hossen",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.znzfab.com",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2018-02-08T02:19:43.000000Z",
                "updated_at": "2026-07-22T08:56:16.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "Bangladesh"
            },
            "profile": {
                "id": 1,
                "report_id": 1,
                "version_id": 1,
                "requires_testing": 1,
                "completed_at": "2022-09-29 00:00:00",
                "created_at": "2026-07-10T21:52:52.000000Z",
                "updated_at": "2026-07-17T10:48:09.000000Z",
                "attributes": [
                    {
                        "id": 499,
                        "external_id": 1,
                        "group_id": 20,
                        "parent_id": null,
                        "short": null,
                        "name": "Direct",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 499
                        },
                        "group": {
                            "id": 20,
                            "name": "discharge_type",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 1,
                            "items_type": null
                        }
                    },
                    {
                        "id": 508,
                        "external_id": 1,
                        "group_id": 23,
                        "parent_id": null,
                        "short": null,
                        "name": "On-site or off-site incineration at >1000°C",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 508
                        },
                        "group": {
                            "id": 23,
                            "name": "disposal_pathway",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 0,
                            "items_type": null
                        }
                    },
                    {
                        "id": 462,
                        "external_id": 2,
                        "group_id": 18,
                        "parent_id": null,
                        "short": null,
                        "name": "Leather",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 462
                        },
                        "group": {
                            "id": 18,
                            "name": "industry_type",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 1,
                            "items_type": null
                        }
                    },
                    {
                        "id": 516,
                        "external_id": 1,
                        "group_id": 24,
                        "parent_id": null,
                        "short": null,
                        "name": "Viscose Staple Fibre (VSF)/ VSF & Modal",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 516
                        },
                        "group": {
                            "id": 24,
                            "name": "fiber_type",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 0,
                            "items_type": null
                        }
                    },
                    {
                        "id": 507,
                        "external_id": 1,
                        "group_id": 22,
                        "parent_id": null,
                        "short": null,
                        "name": "Yes",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 507
                        },
                        "group": {
                            "id": 22,
                            "name": "has_sludge",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 1,
                            "items_type": null
                        }
                    },
                    {
                        "id": 504,
                        "external_id": 0,
                        "group_id": 21,
                        "parent_id": null,
                        "short": null,
                        "name": "less than 15m³ per day",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 504
                        },
                        "group": {
                            "id": 21,
                            "name": "above_15m",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 1,
                            "type": "integer",
                            "required": 1,
                            "items_type": null
                        }
                    },
                    {
                        "id": 465,
                        "external_id": 1,
                        "group_id": 19,
                        "parent_id": null,
                        "short": null,
                        "name": "Textile Accessories and Trims Assembler",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 465
                        },
                        "group": {
                            "id": 19,
                            "name": "facility_type",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 0,
                            "type": "array",
                            "required": 1,
                            "items_type": "integer"
                        }
                    },
                    {
                        "id": 477,
                        "external_id": 13,
                        "group_id": 19,
                        "parent_id": null,
                        "short": null,
                        "name": "Vertically integrated Mill",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 477
                        },
                        "group": {
                            "id": 19,
                            "name": "facility_type",
                            "profile_type": "report_profile",
                            "service_id": null,
                            "single_select": 0,
                            "type": "array",
                            "required": 1,
                            "items_type": "integer"
                        }
                    }
                ]
            }
        }
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Accept

requires authentication

Accept a laboratory clearstream request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/accept" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/accept"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/accept

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Reject

requires authentication

Reject a laboratory clearstream request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/reject?rejection_reason=quis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/reject"
);

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

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/reject

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Query Parameters

rejection_reason   string     

Example: quis

Store

requires authentication

Create a new laboratory clearstream request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/laboratory-requests?laboratory_id=18" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/laboratory-requests"
);

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

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


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

Example response (200):


{
    "message": "OK"
}
 

Example response (200):


{
    "data": {
        "id": 1,
        "report_id": 1,
        "laboratory_id": 1046,
        "reporting_cycle": null,
        "location": "BD",
        "status": "CLOSED",
        "upload_method": "manual",
        "sampling_completed_at": "2022-09-29T00:00:00.000000Z",
        "testing_started_at": "2022-10-13 11:42:54",
        "testing_completed_at": "2022-10-13T11:45:27.000000Z",
        "closed_at": null,
        "accepted_at": "2022-10-13 11:42:54",
        "rejected_at": null,
        "accepted_by_supplier_at": "2022-10-13 11:45:27",
        "rejected_by_supplier_at": null,
        "rejection_reason": null,
        "rejection_reason_by_supplier": null,
        "supplier_rejection_additional_info": null,
        "created_at": "2026-07-10T21:52:52.000000Z",
        "updated_at": "2026-07-17T10:39:13.000000Z",
        "report": {
            "id": 1,
            "reference_id": "TR543HN21",
            "legacy_clearstream_report_id": 18790,
            "uuid": "a23a79ea-5540-4b96-a409-0c760bc39558",
            "organisation_id": 12822,
            "status": "PASSED",
            "created_at": "2022-10-13T11:42:54.000000Z",
            "updated_at": "2026-07-10T21:52:52.000000Z",
            "archived_at": null,
            "last_viewed_at": "2026-07-10 21:52:52",
            "payment_completed_at": null,
            "organisation": {
                "id": 12822,
                "maxio_customer_id": 314568,
                "reference_id": "01-MGX9HCEAP4V-R",
                "pdc_id": null,
                "gateway_aid": "A325IM69",
                "uuid": "e8414d9d-d8f7-46bf-95de-cb43adddee0f",
                "type_id": 2,
                "status": "approved",
                "name": "Zaber & Zubair Fabrics Limited.",
                "legal_name": "Zaber & Zubair Fabrics Limited.",
                "address_1": "Pagar, Tongi, Gazipur.",
                "address_2": null,
                "city": "Gazipur",
                "state": "Dhaka",
                "location": "BD",
                "zip": "1710",
                "phone": "+8802 9801012,",
                "email": "sustainability@znzfab.com",
                "contact_first_name": "Md Zakir",
                "contact_last_name": "Hossen",
                "billing_contact_email": null,
                "billing_contact_first_name": null,
                "billing_contact_last_name": null,
                "billing_contact_phone": null,
                "business_registration_document_extension": null,
                "business_registration_document_name": null,
                "safety_data_sheet_name": null,
                "website": "https://www.znzfab.com",
                "avatar_url": null,
                "applicant_comment": null,
                "reviewer_comment": null,
                "registration_mail_sent_at": null,
                "created_at": "2018-02-08T02:19:43.000000Z",
                "updated_at": "2026-07-22T08:56:16.000000Z",
                "reviewer_comment_category": null,
                "profile_reviewed_at": null,
                "profile_reviewed_by_user_id": null,
                "location_name": "Bangladesh"
            },
            "profile": {
                "id": 1,
                "report_id": 1,
                "version_id": 1,
                "requires_testing": 1,
                "completed_at": "2022-09-29 00:00:00",
                "created_at": "2026-07-10T21:52:52.000000Z",
                "updated_at": "2026-07-17T10:48:09.000000Z",
                "attributes": [
                    {
                        "id": 499,
                        "external_id": 1,
                        "group_id": 20,
                        "parent_id": null,
                        "short": null,
                        "name": "Direct",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 499
                        }
                    },
                    {
                        "id": 508,
                        "external_id": 1,
                        "group_id": 23,
                        "parent_id": null,
                        "short": null,
                        "name": "On-site or off-site incineration at >1000°C",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 508
                        }
                    },
                    {
                        "id": 462,
                        "external_id": 2,
                        "group_id": 18,
                        "parent_id": null,
                        "short": null,
                        "name": "Leather",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 462
                        }
                    },
                    {
                        "id": 516,
                        "external_id": 1,
                        "group_id": 24,
                        "parent_id": null,
                        "short": null,
                        "name": "Viscose Staple Fibre (VSF)/ VSF & Modal",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 516
                        }
                    },
                    {
                        "id": 507,
                        "external_id": 1,
                        "group_id": 22,
                        "parent_id": null,
                        "short": null,
                        "name": "Yes",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 507
                        }
                    },
                    {
                        "id": 504,
                        "external_id": 0,
                        "group_id": 21,
                        "parent_id": null,
                        "short": null,
                        "name": "less than 15m³ per day",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 504
                        }
                    },
                    {
                        "id": 465,
                        "external_id": 1,
                        "group_id": 19,
                        "parent_id": null,
                        "short": null,
                        "name": "Textile Accessories and Trims Assembler",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 465
                        }
                    },
                    {
                        "id": 477,
                        "external_id": 13,
                        "group_id": 19,
                        "parent_id": null,
                        "short": null,
                        "name": "Vertically integrated Mill",
                        "selectable": 1,
                        "order": null,
                        "pivot": {
                            "profile_id": 1,
                            "attribute_id": 477
                        }
                    }
                ]
            }
        }
    }
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/{report_id}/laboratory-requests

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Query Parameters

laboratory_id   integer     

The id of an existing record in the organisations table. Example: 18

Choose Upload Method

requires authentication

Allows the user to choose the upload method for the laboratory request.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/choose-upload-method" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"type\": \"manual\"
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/choose-upload-method"
);

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

let body = {
    "type": "manual"
};

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

Example response (200):


{
    "message": "Upload method successfully saved."
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/choose-upload-method

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Body Parameters

type   string     

Example: manual

Must be one of:
  • manual
  • api

Store test results

requires authentication

Store test results for a specific report

Example request:
curl --request PATCH \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/store-test-results" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"parameters\": [
        {
            \"id\": 6,
            \"non_detected\": false
        }
    ]
}"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/store-test-results"
);

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

let body = {
    "parameters": [
        {
            "id": 6,
            "non_detected": false
        }
    ]
};

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

Request      

PATCH api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/store-test-results

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Body Parameters

parameters   object[]  optional    
id   integer     

Example: 6

value   string  optional    
method   string  optional    
non_detected   boolean  optional    

Example: false

Prefill test results

requires authentication

Prefill test results for a specific report. Only available for envs with APP_DEBUG=true

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/prefill-test-results" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/prefill-test-results"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/prefill-test-results

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Accept By Supplier

requires authentication

Accept a finished laboratory clearstream request from the supplier side.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/accept-by-supplier" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/accept-by-supplier"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/accept-by-supplier

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Reject By Supplier

requires authentication

Reject a finished laboratory clearstream request from the supplier side.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/reject-by-supplier?rejection_reason=values_are_incorrect&additional_details=jxjybddvzzxsxesckzwknm&return_to_reporting=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/reject-by-supplier"
);

const params = {
    "rejection_reason": "values_are_incorrect",
    "additional_details": "jxjybddvzzxsxesckzwknm",
    "return_to_reporting": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/reject-by-supplier

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Query Parameters

rejection_reason   string     

Example: values_are_incorrect

Must be one of:
  • values_are_incorrect
  • missing_requirements
  • testing_methodology_concerns
  • documentation_incomplete
  • laboratory_certification_issues
  • timeline_or_deadline_violations
  • other
additional_details   string  optional    

Must not be greater than 1000 characters. Example: jxjybddvzzxsxesckzwknm

return_to_reporting   boolean  optional    

Example: true

Reporting

Preview required tests

requires authentication

Get a summary of parameters for a specific report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/preview-required-tests" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/preview-required-tests"
);

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


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

Example response (200):


{
    "data": [
        {
            "matrix": null,
            "name": null,
            "name_or_parent": null
        },
        {
            "matrix": null,
            "name": null,
            "name_or_parent": null
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/{report_id}/preview-required-tests

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Get test results

requires authentication

Get a test result for a specific report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "report_id": 1,
        "parameters_filled": "2022-09-29 00:00:00",
        "test_date": "2022-09-29 00:00:00",
        "last_viewed_at": null,
        "created_at": "2026-07-10T21:52:52.000000Z",
        "updated_at": "2026-07-10T21:52:52.000000Z"
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

parameter parents

requires authentication

Get parameter parents for a specific report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameter-parents/1?per_page=6&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameter-parents/1"
);

const params = {
    "per_page": "6",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0
        },
        {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-result-parameter-parents/{report_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 6

page   integer  optional    

the page number to show. Example: 1

Get test result parameters

requires authentication

Get test result parameters for a specific test result

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameters/1?per_page=8&group=6&page=1&search=quia&filter%5Bmatrix%5D=dolor&filter%5Bparent_name%5D=voluptatibus&filter%5Bonly_with_rca_cap%5D=voluptas&column=matrix&sort=name" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameters/1"
);

const params = {
    "per_page": "8",
    "group": "6",
    "page": "1",
    "search": "quia",
    "filter[matrix]": "dolor",
    "filter[parent_name]": "voluptatibus",
    "filter[only_with_rca_cap]": "voluptas",
    "column": "matrix",
    "sort": "name",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0,
            "limits": [],
            "methods": [],
            "selected_method": null,
            "parent": {
                "id": 7143427,
                "guideline_id": 9200016,
                "test_result_id": 14496,
                "unit_id": null,
                "method_id": null,
                "resulting_limit_id": null,
                "visibility": "always",
                "measured_value": null,
                "name": "Phthalates – including all other esters of ortho-phthalic acid",
                "matrix": "Untreated",
                "status": "passed",
                "cas_number": null,
                "alternative_value": null,
                "is_passing": 1,
                "mandatory": 0,
                "created_at": "2026-07-17T11:14:29.000000Z",
                "updated_at": "2026-07-17T11:14:29.000000Z",
                "parent_id": 7143426,
                "data_type": null,
                "value_type": null,
                "scoring_applicable": 0,
                "non_detected": 0
            },
            "rca": null,
            "unit": {
                "id": 109,
                "name": "µg/l"
            }
        },
        {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0,
            "limits": [],
            "methods": [],
            "selected_method": null,
            "parent": {
                "id": 7143427,
                "guideline_id": 9200016,
                "test_result_id": 14496,
                "unit_id": null,
                "method_id": null,
                "resulting_limit_id": null,
                "visibility": "always",
                "measured_value": null,
                "name": "Phthalates – including all other esters of ortho-phthalic acid",
                "matrix": "Untreated",
                "status": "passed",
                "cas_number": null,
                "alternative_value": null,
                "is_passing": 1,
                "mandatory": 0,
                "created_at": "2026-07-17T11:14:29.000000Z",
                "updated_at": "2026-07-17T11:14:29.000000Z",
                "parent_id": 7143426,
                "data_type": null,
                "value_type": null,
                "scoring_applicable": 0,
                "non_detected": 0
            },
            "rca": null,
            "unit": {
                "id": 109,
                "name": "µg/l"
            }
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-result-parameters/{report_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 5 Example: 8

group   integer  optional    

Example: 6

page   integer  optional    

the page number to show. Example: 1

search   string  optional    

Search in all of these columns: name, parent.name. Filter type: like. Example: quia

filter[matrix]   string  optional    

Filter column matrix by any accepted value. Matches part of the value. Example: dolor

filter[parent_name]   string  optional    

Filter column parent_name by any accepted value. Matches part of the value. Example: voluptatibus

filter[selectedMethod.method]   string  optional    

Filter column selectedMethod.method by any accepted value. Matches part of the value. Example: nulla

filter[only_with_rca_cap]   string  optional    

Filter column only_with_rca_cap by any accepted value. Matches part of the value. Example: voluptas

column   string  optional    

get a distinct list of filterable values for any of the columns: matrix. Example: matrix

sort   string  optional    

sort by any accepted column: name, parent_name. prefix a "-" before the column name to sort in descending order Example: name

Export test result parameters

requires authentication

Esports the test result parameters for a specific report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1/export" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/1/export"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 73
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\LaboratoryController@exportParameters",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/export

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Index

requires authentication

Get all wastewater reports for an organisation

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reports?per_page=7&page=1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reports"
);

const params = {
    "per_page": "7",
    "page": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 1,
            "reference_id": "TR543HN21",
            "legacy_clearstream_report_id": 18790,
            "uuid": "a23a79ea-5540-4b96-a409-0c760bc39558",
            "organisation_id": 12822,
            "status": "PASSED",
            "created_at": "2022-10-13T11:42:54.000000Z",
            "updated_at": "2026-07-10T21:52:52.000000Z",
            "archived_at": null,
            "last_viewed_at": "2026-07-10 21:52:52",
            "payment_completed_at": null
        },
        {
            "id": 1,
            "reference_id": "TR543HN21",
            "legacy_clearstream_report_id": 18790,
            "uuid": "a23a79ea-5540-4b96-a409-0c760bc39558",
            "organisation_id": 12822,
            "status": "PASSED",
            "created_at": "2022-10-13T11:42:54.000000Z",
            "updated_at": "2026-07-10T21:52:52.000000Z",
            "archived_at": null,
            "last_viewed_at": "2026-07-10 21:52:52",
            "payment_completed_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 50,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reports

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Query Parameters

per_page   integer  optional    

Number of items to show per page. Defaults to 50 Example: 7

page   integer  optional    

the page number to show. Example: 1

Reporting Progress

requires authentication

Get information on the progress of the currently running wastewater reporting.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/progress/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/progress/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 69
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\WastewaterReportingController@reportProgress",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/progress/{report?}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report   integer  optional    

Example: 1

Start Reporting

requires authentication

Start the wastewater reporting process.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/start-reporting" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/start-reporting"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Example response (400, Wastewater reporting has been started.):



 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/start-reporting

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Restart Cycle

requires authentication

Restart a cycle

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/restart-cycle" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/restart-cycle"
);

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


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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/restart-cycle

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

Reporting Progress

requires authentication

Get information on the progress of the currently running wastewater reporting.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/complete-payment" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/complete-payment"
);

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


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

Example response (200):


{
    "message": "OK"
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/{report_id}/complete-payment

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Details

requires authentication

Get details for report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/details/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/details/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 68
vary: Origin
 

{
    "message": "You need to accept the newest Terms and Service document before you can continue.",
    "data": {
        "document_id": 1,
        "document_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf",
        "organisation_id": 1
    },
    "_controller": "App\\Http\\Controllers\\Wastewater\\WastewaterReportingController@reportDetails",
    "_queries": []
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/details/{report_id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Sampling Information

Show

requires authentication

Show the sampling information.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/sampling-information/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/sampling-information/1"
);

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


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

Example response (200):


{
    "data": {
        "id": 1,
        "lab_request_id": 1,
        "effluent_discharge_method_id": 499,
        "project_number": "LEGACY-18790",
        "wastewater_type": "Industrial Wastewater",
        "industrial_wastewater_volume_more_than_15qm": 0,
        "created_at": "2026-07-10T21:52:52.000000Z",
        "updated_at": "2026-07-10T21:52:52.000000Z"
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/sampling-information/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

id   integer     

The ID of the sampling information. Example: 1

Store

requires authentication

Store the sampling information.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/sampling-information" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "project_number=oruullxi"\
    --form "effluent_discharge_method_id=vitae"\
    --form "wastewater_type=Industrial Wastewater"\
    --form "industrial_wastewater_volume_more_than_15qm="\
    --form "sample_points[][name]=expedita"\
    --form "sample_points[][latitude]=11"\
    --form "sample_points[][longitude]=6"\
    --form "sample_points[][type]=effluent"\
    --form "sample_points[][discharge_to_aquatic_bodies]=1"\
    --form "sample_points[][pre_treatments][]=ut"\
    --form "sample_points[][temperature_safety_risk]=1"\
    --form "sample_points[][persistent_foam_safety_risk]="\
    --form "sample_points[][major_disposal_pathway]=Offsite Incineration and Building Products Processed at <1000°C"\
    --form "sample_points[][disposal_pathway_percentage]=3"\
    --form "sample_points[][filename]=@/tmp/phpHODKEL"     --form "sample_points[][temperature_safety_risk_file]=@/tmp/phpekmNEL"     --form "sample_points[][persistent_foam_safety_risk_file]=@/tmp/phpPHdPEL" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/1/sampling-information"
);

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

const body = new FormData();
body.append('project_number', 'oruullxi');
body.append('effluent_discharge_method_id', 'vitae');
body.append('wastewater_type', 'Industrial Wastewater');
body.append('industrial_wastewater_volume_more_than_15qm', '');
body.append('sample_points[][name]', 'expedita');
body.append('sample_points[][latitude]', '11');
body.append('sample_points[][longitude]', '6');
body.append('sample_points[][type]', 'effluent');
body.append('sample_points[][discharge_to_aquatic_bodies]', '1');
body.append('sample_points[][pre_treatments][]', 'ut');
body.append('sample_points[][temperature_safety_risk]', '1');
body.append('sample_points[][persistent_foam_safety_risk]', '');
body.append('sample_points[][major_disposal_pathway]', 'Offsite Incineration and Building Products Processed at <1000°C');
body.append('sample_points[][disposal_pathway_percentage]', '3');
body.append('sample_points[][filename]', document.querySelector('input[name="sample_points[][filename]"]').files[0]);
body.append('sample_points[][temperature_safety_risk_file]', document.querySelector('input[name="sample_points[][temperature_safety_risk_file]"]').files[0]);
body.append('sample_points[][persistent_foam_safety_risk_file]', document.querySelector('input[name="sample_points[][persistent_foam_safety_risk_file]"]').files[0]);

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

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/sampling-information

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

clearstreamRequest_id   integer     

The ID of the clearstreamRequest. Example: 1

Body Parameters

project_number   string     

Must not be greater than 255 characters. Example: oruullxi

effluent_discharge_method_id   string     

The id of an existing record in the supplier_attributes table. Example: vitae

wastewater_type   string     

Example: Industrial Wastewater

Must be one of:
  • Industrial Wastewater
  • Industrial Wastewater mixed with Domestic Wastewater
industrial_wastewater_volume_more_than_15qm   boolean     

Example: false

sample_points   object[]  optional    
name   string  optional    

Example: expedita

latitude   number     

Must be at least -90. Must not be greater than 90. Example: 11

longitude   number     

Must be at least -180. Must not be greater than 180. Example: 6

type   string     

Example: effluent

Must be one of:
  • untreated
  • effluent
  • sludge
discharge_to_aquatic_bodies   boolean  optional    

Example: true

pre_treatments   string[]  optional    
temperature_safety_risk   boolean  optional    

Example: true

persistent_foam_safety_risk   boolean  optional    

Example: false

major_disposal_pathway   string  optional    

Example: Offsite Incineration and Building Products Processed at <1000°C

Must be one of:
  • Offsite Incineration at >1000°C
  • Landfill with Significant Control Measures
  • Building Products Processed at >1000°C
  • Landfill with Limited Control Measures
  • Offsite Incineration and Building Products Processed at <1000°C
  • Landfill with No Control Measures
  • Land Application
disposal_pathway_percentage   number  optional    

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

filename   file  optional    

Must be a file. Must not be greater than 5000 kilobytes. Example: /tmp/phpHODKEL

temperature_safety_risk_file   file  optional    

Must be a file. Must not be greater than 5000 kilobytes. Example: /tmp/phpekmNEL

persistent_foam_safety_risk_file   file  optional    

Must be a file. Must not be greater than 5000 kilobytes. Example: /tmp/phpPHdPEL

Root Cause Analysis

Show

requires authentication

Show details about a given RCA record

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "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
x-ratelimit-limit: 90
x-ratelimit-remaining: 70
vary: Origin
 

{
    "message": "No query results for model [App\\Models\\Wastewater\\WastewaterRootCauseAnalysis] 1",
    "exception": "Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
    "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php",
    "line": 636,
    "trace": [
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php",
            "line": 584,
            "function": "prepareException",
            "class": "Illuminate\\Foundation\\Exceptions\\Handler",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php",
            "line": 54,
            "function": "render",
            "class": "Illuminate\\Foundation\\Exceptions\\Handler",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 51,
            "function": "render",
            "class": "NunoMaduro\\Collision\\Adapters\\Laravel\\ExceptionHandler",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 214,
            "function": "handleException",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 161,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 127,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 89,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php",
            "line": 64,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Auth\\Middleware\\Authenticate",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 127,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 807,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 786,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 750,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 739,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 201,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 170,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
            "line": 51,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
            "line": 58,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php",
            "line": 22,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 209,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 127,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 176,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 145,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 236,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 229,
            "function": "callLaravelRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 103,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 39,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 466,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 392,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 93,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 186,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php",
            "line": 40,
            "function": "Knuckles\\Scribe\\GroupedEndpoints\\{closure}",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php",
            "line": 60,
            "function": "render",
            "class": "Illuminate\\Console\\View\\Components\\Task",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 183,
            "function": "__call",
            "class": "Illuminate\\Console\\View\\Components\\Factory",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 73,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 51,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
            "line": 55,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
            "line": 43,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 95,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 35,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 696,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 213,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/symfony/console/Command/Command.php",
            "line": 335,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 182,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/symfony/console/Application.php",
            "line": 1103,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/symfony/console/Application.php",
            "line": 356,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/symfony/console/Application.php",
            "line": 195,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
            "line": 198,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
            "line": 1235,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        },
        {
            "file": "/var/www/html/artisan",
            "line": 13,
            "function": "handleCommand",
            "class": "Illuminate\\Foundation\\Application",
            "type": "->"
        }
    ]
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

id   integer     

The ID of the rca. Example: 1

Create

requires authentication

Create a new Wastewater Root Cause Analysis record.

Example request:
curl --request POST \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "parameter_id=14"\
    --form "is_resolved="\
    --form "reason_for_failure=fxrorjxtvxcvftiygigbt"\
    --form "corrective_action=ns"\
    --form "notes=est"\
    --form "action_notes=ad"\
    --form "planned_resolution_date=2026-07-22 13:40:06"\
    --form "evidence=@/tmp/phpmMegGM" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca"
);

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

const body = new FormData();
body.append('parameter_id', '14');
body.append('is_resolved', '');
body.append('reason_for_failure', 'fxrorjxtvxcvftiygigbt');
body.append('corrective_action', 'ns');
body.append('notes', 'est');
body.append('action_notes', 'ad');
body.append('planned_resolution_date', '2026-07-22 13:40:06');
body.append('evidence', document.querySelector('input[name="evidence"]').files[0]);

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

Example response (201):


{
    "data": {
        "id": 12,
        "parameter_id": 3766098,
        "is_resolved": false,
        "reason_for_failure": "Overloaded treatment plant",
        "corrective_action": "Strengthen maintenance schedule",
        "notes": null,
        "action_notes": null,
        "planned_resolution_date": null,
        "created_at": "2026-07-22T13:40:06.000000Z",
        "updated_at": "2026-07-22T13:40:06.000000Z",
        "parameter": {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0
        },
        "evidence_file_url": null
    },
    "message": "Wastewater RCA created successfully"
}
 

Request      

POST api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Body Parameters

parameter_id   integer     

The id of an existing record in the wastewater_test_result_parameters table. Example: 14

is_resolved   boolean  optional    

Example: false

reason_for_failure   string     

Must not be greater than 255 characters. Example: fxrorjxtvxcvftiygigbt

Must be one of:
  • Non-compliant chemical used
  • Incomplete chemical inventory
  • Equipment failure or malfunction
  • Incorrect dosing of treatment chemicals
  • Overloaded treatment plant
  • Poor maintenance of ETP/WWTP
  • Insufficient operator training
  • SOP not followed
  • Inadequate monitoring or testing
  • External shock load/seasonal variation
corrective_action   string     

Must not be greater than 255 characters. Example: ns

Must be one of:
  • Replace with compliant chemical
  • Update and verify chemical inventory
  • Repair or upgrade equipment
  • Optimise treatment chemical dosing
  • Improve flow management/load control
  • Strengthen maintenance schedule
  • Conduct operator training/refresher
  • Enforce SOP compliance
  • Increase monitoring/testing frequency
  • Implement pre-treatment or process change
  • Other
notes   string  optional    

Example: est

action_notes   string  optional    

Example: ad

planned_resolution_date   string  optional    

Must be a valid date. Must be a valid date in the format Y-m-d H:i:s. Example: 2026-07-22 13:40:06

evidence   file  optional    

Must be a file. Must not be greater than 5120 kilobytes. Example: /tmp/phpmMegGM

Update

requires authentication

Update a given RCA record

Example request:
curl --request PUT \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "parameter_id=14"\
    --form "is_resolved=1"\
    --form "reason_for_failure=wpgkiadvmtwtcgpdufzbaqkgc"\
    --form "corrective_action=n"\
    --form "notes=non"\
    --form "action_notes=voluptatem"\
    --form "planned_resolution_date=2026-07-22 13:40:06"\
    --form "evidence=@/tmp/phpLNFoeM" 
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/15"
);

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

const body = new FormData();
body.append('parameter_id', '14');
body.append('is_resolved', '1');
body.append('reason_for_failure', 'wpgkiadvmtwtcgpdufzbaqkgc');
body.append('corrective_action', 'n');
body.append('notes', 'non');
body.append('action_notes', 'voluptatem');
body.append('planned_resolution_date', '2026-07-22 13:40:06');
body.append('evidence', document.querySelector('input[name="evidence"]').files[0]);

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

Example response (200):


{
    "data": {
        "id": 13,
        "parameter_id": 3766098,
        "is_resolved": false,
        "reason_for_failure": "Inadequate monitoring or testing",
        "corrective_action": "Update and verify chemical inventory",
        "notes": null,
        "action_notes": null,
        "planned_resolution_date": null,
        "created_at": "2026-07-22T13:40:06.000000Z",
        "updated_at": "2026-07-22T13:40:06.000000Z",
        "parameter": {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0
        },
        "evidence_file_url": null
    },
    "message": "Wastewater RCA updated successfully"
}
 

Request      

PUT api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{id}

PATCH api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{id}

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: multipart/form-data

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

id   integer     

The ID of the rca. Example: 15

Body Parameters

parameter_id   integer     

The id of an existing record in the wastewater_test_result_parameters table. Example: 14

is_resolved   boolean  optional    

Example: true

reason_for_failure   string     

Must not be greater than 255 characters. Example: wpgkiadvmtwtcgpdufzbaqkgc

Must be one of:
  • Non-compliant chemical used
  • Incomplete chemical inventory
  • Equipment failure or malfunction
  • Incorrect dosing of treatment chemicals
  • Overloaded treatment plant
  • Poor maintenance of ETP/WWTP
  • Insufficient operator training
  • SOP not followed
  • Inadequate monitoring or testing
  • External shock load/seasonal variation
corrective_action   string     

Must not be greater than 255 characters. Example: n

Must be one of:
  • Replace with compliant chemical
  • Update and verify chemical inventory
  • Repair or upgrade equipment
  • Optimise treatment chemical dosing
  • Improve flow management/load control
  • Strengthen maintenance schedule
  • Conduct operator training/refresher
  • Enforce SOP compliance
  • Increase monitoring/testing frequency
  • Implement pre-treatment or process change
  • Other
notes   string  optional    

Example: non

action_notes   string  optional    

Example: voluptatem

planned_resolution_date   string  optional    

Must be a valid date. Must be a valid date in the format Y-m-d H:i:s. Example: 2026-07-22 13:40:06

evidence   file  optional    

Must be a file. Must not be greater than 5120 kilobytes. Example: /tmp/phpLNFoeM

Delete File

requires authentication

Delete the evidence file

Example request:
curl --request DELETE \
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/20/delete-evidence-file" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca/20/delete-evidence-file"
);

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


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

Example response (200):


{
    "data": {
        "id": 14,
        "parameter_id": 3766098,
        "is_resolved": false,
        "reason_for_failure": "Incorrect dosing of treatment chemicals",
        "corrective_action": "Replace with compliant chemical",
        "notes": null,
        "action_notes": null,
        "planned_resolution_date": null,
        "created_at": "2026-07-22T13:40:06.000000Z",
        "updated_at": "2026-07-22T13:40:06.000000Z",
        "parameter": {
            "id": 3766098,
            "guideline_id": 129,
            "test_result_id": 14496,
            "unit_id": 109,
            "method_id": null,
            "resulting_limit_id": null,
            "visibility": "always",
            "measured_value": "0",
            "name": "1,2-benzenedicarboxylic acid, di-C7-11 branched and liearalkyl esters (DHNUP)",
            "matrix": "Untreated",
            "status": "passed",
            "cas_number": null,
            "alternative_value": null,
            "is_passing": 1,
            "mandatory": 0,
            "created_at": "2026-07-17T11:10:53.000000Z",
            "updated_at": "2026-07-17T11:16:37.000000Z",
            "parent_id": 7143427,
            "data_type": null,
            "value_type": null,
            "scoring_applicable": 1,
            "non_detected": 0
        },
        "evidence_file_url": null
    },
    "message": "Wastewater RCA evidence file deleted successfully"
}
 

Request      

DELETE api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca/{rca_id}/delete-evidence-file

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

rca_id   integer     

The ID of the rca. Example: 20

RCA Overview PDF

Generate

requires authentication

Generate the Rca Overview Pdf

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca-overview-pdf" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/1/rca-overview-pdf"
);

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


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

Example response (200):


content of the pdf
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/{report_id}/rca-overview-pdf

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

Reporting Summary

Index

requires authentication

Get a summary of the reporting status of a wastewater report

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/report/1/summary" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/report/1/summary"
);

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


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

Example response (200):


{
    "data": {
        "testedParameters": 10,
        "passingParameters": 8,
        "failingParameters": 2,
        "complianceRate": 80
    }
}
 

Request      

GET api/organisation/{organisation_id}/wastewater/reporting/report/{report_id}/summary

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

organisation_id   integer     

The ID of the organisation. Example: 1

report_id   integer     

The ID of the report. Example: 1

ZDHC/V1

Organisations

Organisations Index

requires authentication

List all organisations.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/organisations?page=1&per_page=5&filter%5Bupdated_at%5D=%3C+2026-08-17+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/organisations"
);

const params = {
    "page": "1",
    "per_page": "5",
    "filter[updated_at]": "< 2026-08-17 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "reference_id": "01-6FUUY46UMH-P",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "status": "approved",
            "type": {
                "id": 2,
                "name": "Supplier"
            },
            "registration_summary": {
                "current_status": "approved",
                "current_status_start_at": null
            },
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address": {
                "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
                "address_2": null,
                "city": "Wenzhou",
                "state": "Zhejiang",
                "postal_code": "",
                "country": "CN",
                "location_name": "China"
            },
            "website": null,
            "primary_contact": {
                "first_name": "JIAN",
                "last_name": "Le",
                "email": "pengye@126.com",
                "phone": ""
            },
            "external_ids": {
                "ZDHC_AID": "A356IB10",
                "OS_HUB": null,
                "PDC_ID": null
            },
            "stats": {
                "connections_count": null,
                "users_count": null
            },
            "comments": {
                "applicant_comment": null,
                "review_comment": null
            },
            "reviewer_comment_category": null,
            "registration_mail_sent_at": null,
            "profile_reviewed_by_user_id": null,
            "profile_reviewed_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "deleted_at": null
        },
        {
            "id": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "reference_id": "01-6FUUY46UMH-P",
            "uuid": "486c83fd-b0a0-4619-9526-e03984fd9eeb",
            "status": "approved",
            "type": {
                "id": 2,
                "name": "Supplier"
            },
            "registration_summary": {
                "current_status": "approved",
                "current_status_start_at": null
            },
            "name": "Ping Yang Pengye Shoes Com Ltd",
            "legal_name": "Ping Yang Pengye Shoes Com Ltd",
            "address": {
                "address_1": "浙江省温州市平阳县万全镇雪之梦(B3)18号厂房",
                "address_2": null,
                "city": "Wenzhou",
                "state": "Zhejiang",
                "postal_code": "",
                "country": "CN",
                "location_name": "China"
            },
            "website": null,
            "primary_contact": {
                "first_name": "JIAN",
                "last_name": "Le",
                "email": "pengye@126.com",
                "phone": ""
            },
            "external_ids": {
                "ZDHC_AID": "A356IB10",
                "OS_HUB": null,
                "PDC_ID": null
            },
            "stats": {
                "connections_count": null,
                "users_count": null
            },
            "comments": {
                "applicant_comment": null,
                "review_comment": null
            },
            "reviewer_comment_category": null,
            "registration_mail_sent_at": null,
            "profile_reviewed_by_user_id": null,
            "profile_reviewed_at": null,
            "created_at": "2021-11-04T12:19:55.000000Z",
            "updated_at": "2026-07-22T08:08:27.000000Z",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/zdhc/v1/organisations

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 5

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-17 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Organisation-Users

OrganisationUsers Index

requires authentication

List all organisation-users.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/organisation-users?page=1&per_page=4&filter%5Bupdated_at%5D=%3C+2026-08-16+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/organisation-users"
);

const params = {
    "page": "1",
    "per_page": "4",
    "filter[updated_at]": "< 2026-08-16 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "organisation": {
                "id": "d2623377-6879-427e-83ac-1a9c1870b2c1",
                "reference_id": "01-4S3HL2JXHM4-G",
                "uuid": "d2623377-6879-427e-83ac-1a9c1870b2c1",
                "status": "approved"
            },
            "user": {
                "id": 49,
                "reference_id": "02-7T6NFJ6JAWU-V",
                "ulid": "01KX6YEJW0P8FRM0ASREZ1THQX",
                "status": "active"
            },
            "role": "ORGANISATION_ADMIN",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null
        },
        {
            "organisation": {
                "id": "d2623377-6879-427e-83ac-1a9c1870b2c1",
                "reference_id": "01-4S3HL2JXHM4-G",
                "uuid": "d2623377-6879-427e-83ac-1a9c1870b2c1",
                "status": "approved"
            },
            "user": {
                "id": 49,
                "reference_id": "02-7T6NFJ6JAWU-V",
                "ulid": "01KX6YEJW0P8FRM0ASREZ1THQX",
                "status": "active"
            },
            "role": "ORGANISATION_ADMIN",
            "created_at": "2026-07-10T21:20:29.000000Z",
            "updated_at": "2026-07-10T21:20:29.000000Z",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/zdhc/v1/organisation-users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 4

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: < 2026-08-16 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at

Users

Users Index

requires authentication

List all users.

Example request:
curl --request GET \
    --get "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/users?page=1&per_page=11&filter%5Bupdated_at%5D=%3D+2026-08-14+13%3A40%3A02&sort=updated_at" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://staging-api.vm400.consulting1x1.info/api/zdhc/v1/users"
);

const params = {
    "page": "1",
    "per_page": "11",
    "filter[updated_at]": "= 2026-08-14 13:40:02",
    "sort": "updated_at",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

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


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

Example response (200):


{
    "data": [
        {
            "id": 8,
            "reference_id": "02-H7RBX8FE3BV-H",
            "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
            "status": "active",
            "first_name": "Amy",
            "last_name": "Huang",
            "email": "amyhuang@ecic.com.tw",
            "phone": "+886910807779",
            "locale": "en-US",
            "location": "TW",
            "location_name": "Taiwan",
            "external_ids": {
                "PDC_ID": null
            },
            "last_active_at": null,
            "email_verified_at": "2017-06-17T04:45:09.000000Z",
            "profile_reviewed_at": null,
            "created_at": "2017-06-17T04:45:09.000000Z",
            "updated_at": "2017-06-17T04:45:09.000000Z",
            "deleted_at": null
        },
        {
            "id": 8,
            "reference_id": "02-H7RBX8FE3BV-H",
            "ulid": "01KX6YEJVJTKTW93VQN335PWK9",
            "status": "active",
            "first_name": "Amy",
            "last_name": "Huang",
            "email": "amyhuang@ecic.com.tw",
            "phone": "+886910807779",
            "locale": "en-US",
            "location": "TW",
            "location_name": "Taiwan",
            "external_ids": {
                "PDC_ID": null
            },
            "last_active_at": null,
            "email_verified_at": "2017-06-17T04:45:09.000000Z",
            "profile_reviewed_at": null,
            "created_at": "2017-06-17T04:45:09.000000Z",
            "updated_at": "2017-06-17T04:45:09.000000Z",
            "deleted_at": null
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 10,
        "to": 2,
        "total": 2
    }
}
 

Request      

GET api/zdhc/v1/users

Headers

Authorization        

Example: Bearer {YOUR_AUTH_KEY}

Content-Type        

Example: application/json

Accept        

Example: application/json

Query Parameters

page   integer  optional    

the page number to show. Example: 1

per_page   integer  optional    

Number of items to show per page. Defaults to 10 Example: 11

filter[updated_at]   datetime  optional    

Filter column updated_at by any accepted value. any operator can be used, e.g. <= < = > >=, together with a date time value (YYYY-MM-DD HH:MM:SS) Example: = 2026-08-14 13:40:02

sort   string  optional    

sort by any accepted column: updated_at. prefix a "-" before the column name to sort in descending order Example: updated_at