From a90e11451e1cd4210dfb69ecab8ec26a690b6198 Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Tue, 15 Sep 2026 12:44:00 -0300 Subject: [PATCH] docs: generate complete dev Postman API collection --- postman/README.md | 92 +- postman/SeaHaven-Dev.postman_collection.json | 19160 ++++++++++++++++- scripts/generate-postman-collection.mjs | 375 + 3 files changed, 19473 insertions(+), 154 deletions(-) create mode 100644 scripts/generate-postman-collection.mjs diff --git a/postman/README.md b/postman/README.md index 9f36c2e..4782b7c 100644 --- a/postman/README.md +++ b/postman/README.md @@ -1,55 +1,65 @@ -# SeaHaven Dev Postman starter +# SeaHaven Dev Postman collection -A small, versioned Postman starter for the SeaHaven backend **dev** API. - -- The **live OpenAPI document** (`{{baseUrl}}/swagger/v1/swagger.json`) is the - complete source of truth for routes and schemas. This committed collection is - a curated starter — it is **not** a generated copy of the full API surface. -- **Dev only.** Never point these requests at any other environment. +This directory contains the complete SeaHaven backend **dev** API collection, +generated from the live OpenAPI contract. The generated collection currently +contains every operation in the contract (368 operations across 330 paths), +including all documented parameters, request bodies, schemas, and response +codes. ## Files | File | Purpose | | --- | --- | -| `SeaHaven-Dev.postman_collection.json` | Starter collection: setup requests plus safe read-only requests | -| `SeaHaven-Dev.postman_environment.json` | Dev environment: `baseUrl` plus empty secret `username` / `password` / `token` | +| `SeaHaven-Dev.postman_collection.json` | Complete OpenAPI-derived Postman v2.1 collection, grouped by API tag | +| `SeaHaven-Dev.postman_environment.json` | Dev authentication environment with secret username, password, and reusable bearer token | +| `../scripts/generate-postman-collection.mjs` | Deterministic generator and coverage checker | ## Getting started -1. **Import order** — collection first, then environment: - 1. Postman → Import → `postman/SeaHaven-Dev.postman_collection.json` - 2. Postman → Import → `postman/SeaHaven-Dev.postman_environment.json` -2. **Select the environment** — pick `SeaHaven - Dev` in the environment picker - (top right of Postman). -3. **Fill credentials locally** — open the environment and enter values for - `username` and `password`. They ship empty and marked secret on purpose; - keep them local to your Postman workspace. -4. **Run login** — run `Authentication - Login` in the `Setup` folder once. A - successful (200) response captures the bearer token automatically. Every - login attempt clears the previous token value without deleting the variable, - so a failed login cannot leave stale authentication active. -5. **Use the safe reads** — everything in the `Safe reads` folder inherits the - collection-level `Bearer {{token}}` auth, so no extra setup is needed. +1. Import `SeaHaven-Dev.postman_collection.json` into Postman. +2. Import `SeaHaven-Dev.postman_environment.json` and select **SeaHaven - Dev**. +3. Enter the dev test account's `username` and `password` in the environment. + They are empty and secret by default; never commit or share populated values. +4. Run **Setup → Authentication - Login**. The pre-request script clears any + stale token, skips the request when either credential is missing, and never + logs credentials. A successful response stores only its non-empty `token` + field in the environment's `token` variable. +5. All generated API requests inherit collection-level `Bearer {{token}}` + authentication. They reuse the captured token automatically. -## Token capture behavior +## Generated requests and examples -The login test script stores the returned bearer token **only** in the -environment variable `token` via `pm.environment.set("token", token)`. It never -writes collection or global variables and never prints credentials or tokens to -the Postman console. The pre-request script skips the request and stops with a -clear message if `username` or `password` is empty. +Every OpenAPI operation is included under its first alphabetically sorted tag. +Path, query, and header parameters retain their required/optional status, +schema hint, and description. JSON request bodies use recursively generated +illustrative placeholders from local OpenAPI schemas; multipart requests use +form-data fields and mark binary fields as files. These examples are not live +records: replace placeholder values with a valid dev fixture before sending. +No response bodies, credentials, tokens, or other dev data are stored in this +repository. -**Clearing the token:** open `Environments → SeaHaven - Dev`, clear the `token` -value (or use the environment reset), and save. Do this before sharing screens, -exporting, or switching machines. +The generated test script only checks that the response status is one of the +codes documented by OpenAPI. It does not assume every operation returns `200`. -## Safety rules +## Regenerate or check coverage -- Keep populated `username`, `password`, and `token` values local. **Never mark - them shared, export them, or commit them.** -- **Never save dev response bodies as collection examples or commit them.** -- **Full API surface:** in Postman, choose **Import → Link** and paste - `https://api.dev.seahaven.com/swagger/v1/swagger.json`. The `Swagger - OpenAPI - document` request is also available to check that the contract is reachable. -- **Canonical routes:** some legacy aliases may still resolve on dev, but this - collection sticks to canonical routes — prefer those when adding requests. +From the backend repository root: + +```bash +node scripts/generate-postman-collection.mjs +node scripts/generate-postman-collection.mjs --check +``` + +The generator fetches `https://api.dev.seahaven.com/swagger/v1/swagger.json`, +fails on a non-JSON/non-success response, and rewrites the collection and the +empty-credential environment deterministically. `--check` compares the checked +in collection with the current contract and verifies operation count, unique +operation keys, request-body coverage, Bearer inheritance, and the explicit +no-auth login exception. + +## Safety + +This collection is **dev-only**. Do not point it at staging or production. Keep +`username`, `password`, and `token` local to your Postman workspace; never mark +them shared, export them, or commit them. Review every illustrative body and +parameter before running a mutating request. diff --git a/postman/SeaHaven-Dev.postman_collection.json b/postman/SeaHaven-Dev.postman_collection.json index eea89b4..7d2eb8e 100644 --- a/postman/SeaHaven-Dev.postman_collection.json +++ b/postman/SeaHaven-Dev.postman_collection.json @@ -1,8 +1,8 @@ { "info": { - "name": "SeaHaven - Dev", + "name": "SeaHaven - Dev API (OpenAPI generated)", "_postman_id": "a1f0514a-5e9f-41bd-a145-7163671b94db", - "description": "Small starter collection for the SeaHaven backend dev API. The live OpenAPI document ({{baseUrl}}/swagger/v1/swagger.json) remains the complete source of truth; this collection is a curated starter, not a generated copy of the full API surface. Dev only. Requests inherit collection-level Bearer {{token}} auth except the two noauth setup requests.", + "description": "Complete Postman collection generated from https://api.dev.seahaven.com/swagger/v1/swagger.json. It contains every OpenAPI operation in the published dev contract. Dev only. Replace illustrative placeholders before sending requests.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "auth": { @@ -15,6 +15,13 @@ } ] }, + "variable": [ + { + "key": "baseUrl", + "value": "https://api.dev.seahaven.com", + "type": "string" + } + ], "item": [ { "name": "Setup", @@ -38,7 +45,7 @@ "swagger.json" ] }, - "description": "Live OpenAPI document for dev. Complete source of truth for routes and schemas; import it into Postman for the full API surface. No auth required." + "description": "Live OpenAPI contract for dev (https://api.dev.seahaven.com/swagger/v1/swagger.json). Import this URL when you need the latest server surface. No auth required." }, "event": [ { @@ -46,19 +53,9 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Document looks like OpenAPI\", function () {", - " const doc = pm.response.json();", - " pm.expect(doc).to.have.property(\"openapi\");", - " pm.expect(doc).to.have.property(\"paths\");", - "});" + "pm.test(\"OpenAPI document responded 200\", function () { pm.response.to.have.status(200); });", + "pm.test(\"OpenAPI document is JSON\", function () { pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\"); });", + "pm.test(\"OpenAPI document has paths\", function () { pm.expect(pm.response.json()).to.have.property(\"paths\"); });" ] } } @@ -84,7 +81,8 @@ "raw": { "language": "json" } - } + }, + "description": "Credentials are read from the selected secret environment and are never logged." }, "url": { "raw": "{{baseUrl}}/api/Authentication/login", @@ -97,7 +95,7 @@ "login" ] }, - "description": "Exchanges the environment username/password for a bearer token. Before sending, the pre-request script clears the previous token value without deleting the variable and skips the request when credentials are empty. On success the test script stores the token only in the environment variable `token`. Credentials are never logged." + "description": "Authentication login from https://api.dev.seahaven.com/swagger/v1/swagger.json. A successful response stores only the non-empty token in the selected environment. Schema: #/components/schemas/LoginModel." }, "event": [ { @@ -106,10 +104,8 @@ "type": "text/javascript", "exec": [ "pm.environment.set(\"token\", \"\");", - "", "const username = pm.environment.get(\"username\");", "const password = pm.environment.get(\"password\");", - "", "if (!username || !password) {", " pm.execution.skipRequest();", " throw new Error(\"Select the SeaHaven - Dev environment and set username and password before logging in.\");", @@ -122,25 +118,12 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Login responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", + "pm.test(\"Login responded 200\", function () { pm.response.to.have.status(200); });", "let body;", - "pm.test(\"Login responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - " body = pm.response.json();", - "});", - "", + "pm.test(\"Login responded with JSON\", function () { pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\"); body = pm.response.json(); });", "const token = body && body.token;", - "", - "pm.test(\"Login response contained a non-empty token\", function () {", - " pm.expect(token, \"expected a non-empty token field in the login response\").to.be.a(\"string\").and.not.empty;", - "});", - "", - "if (typeof token === \"string\" && token.length > 0) {", - " pm.environment.set(\"token\", token);", - "}" + "pm.test(\"Login response contained a non-empty token\", function () { pm.expect(token, \"expected a non-empty token field\").to.be.a(\"string\").and.not.empty; });", + "if (typeof token === \"string\" && token.length > 0) pm.environment.set(\"token\", token);" ] } } @@ -149,10 +132,7577 @@ ] }, { - "name": "Safe reads", + "name": "Account", "item": [ { - "name": "User - Get user profile", + "name": "GET /api/Account/DeleteAccounts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Account/DeleteAccounts?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Account", + "DeleteAccounts" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Account/GetAccountList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Account/GetAccountList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Account", + "GetAccountList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/accounts/DeleteAccounts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/accounts/DeleteAccounts?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "accounts", + "DeleteAccounts" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/accounts/GetAccountList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/accounts/GetAccountList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "accounts", + "GetAccountList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Account/AddAccounts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Account/AddAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Account", + "AddAccounts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Account_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"type\": \"\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"\",\n \"about\": \"\",\n \"tags\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"industryId\": 0,\n \"timeZone\": \"\",\n \"website\": \"\",\n \"currencyCode\": \"\",\n \"serviceInstructions\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Account_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Account/EditAccounts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Account/EditAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Account", + "EditAccounts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditAccount_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"type\": \"\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"\",\n \"about\": \"\",\n \"tags\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"industryId\": 0,\n \"timeZone\": \"\",\n \"website\": \"\",\n \"currencyCode\": \"\",\n \"serviceInstructions\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditAccount_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/accounts/AddAccounts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/accounts/AddAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "accounts", + "AddAccounts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Account_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"type\": \"\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"\",\n \"about\": \"\",\n \"tags\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"industryId\": 0,\n \"timeZone\": \"\",\n \"website\": \"\",\n \"currencyCode\": \"\",\n \"serviceInstructions\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Account_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/accounts/EditAccounts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/accounts/EditAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "accounts", + "EditAccounts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Account\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditAccount_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"type\": \"\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"\",\n \"about\": \"\",\n \"tags\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"industryId\": 0,\n \"timeZone\": \"\",\n \"website\": \"\",\n \"currencyCode\": \"\",\n \"serviceInstructions\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditAccount_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Asset", + "item": [ + { + "name": "GET /api/Asset/DeleteAsset", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Asset/DeleteAsset?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Asset", + "DeleteAsset" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Asset\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Asset/GetAssetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Asset/GetAssetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Asset", + "GetAssetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Asset\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Asset/GetAssetList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Asset/GetAssetList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Asset", + "GetAssetList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Asset\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Asset/AddAsset", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Asset/AddAsset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Asset", + "AddAsset" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Asset\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Asset_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"assetCode\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"accountId\": 0,\n \"locationId\": 0,\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Asset_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Asset/EditAsset", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Asset/EditAsset", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Asset", + "EditAsset" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Asset\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditAsset_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"assetCode\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"accountId\": 0,\n \"locationId\": 0,\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditAsset_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Authentication", + "item": [ + { + "name": "POST /api/Authentication/ChangePassword", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Authentication/ChangePassword", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Authentication", + "ChangePassword" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Authentication\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChangePasswords; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"currentpassword\": \"\",\n \"newpassword\": \"\",\n \"confirmpassword\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChangePasswords; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Authentication/ForgetPassword", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Authentication/ForgetPassword?Email=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Authentication", + "ForgetPassword" + ], + "query": [ + { + "key": "Email", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Authentication\nOperation ID: not specified\n\nParameters: query Email (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Authentication/ResetPassword", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Authentication/ResetPassword", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Authentication", + "ResetPassword" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Authentication\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ForgetPassword_Dto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"\",\n \"password\": \"\",\n \"code\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ForgetPassword_Dto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Authentication/UpdateProfile", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Authentication/UpdateProfile", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Authentication", + "UpdateProfile" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Authentication\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Email", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Contact", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Role", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AccountId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Authentication/VerificationCode", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Authentication/VerificationCode?code=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Authentication", + "VerificationCode" + ], + "query": [ + { + "key": "code", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Authentication\nOperation ID: not specified\n\nParameters: query code (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Calendar", + "item": [ + { + "name": "DELETE /api/Calendar/DeleteEvent/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Calendar/DeleteEvent/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "DeleteEvent", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Calendar/GetEventById/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Calendar/GetEventById/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "GetEventById", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Calendar/GetEventList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Calendar/GetEventList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "GetEventList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Calendar/GetEventsForCalendar", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Calendar/GetEventsForCalendar?start=&end=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "GetEventsForCalendar" + ], + "query": [ + { + "key": "start", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "end", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: query start (optional, string/date-time); query end (optional, string/date-time)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Calendar/AddEvent", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Calendar/AddEvent", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "AddEvent" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEvent_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"description\": \"\",\n \"location\": \"\",\n \"recordID\": 0,\n \"recordName\": \"\",\n \"recordTargetType\": \"\",\n \"reminderMinutes\": 0,\n \"eventColor\": \"\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"startTime\": \"\",\n \"endDate\": \"2026-01-01T00:00:00Z\",\n \"endTime\": \"\",\n \"allDay\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEvent_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Calendar/EditEvent", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Calendar/EditEvent", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Calendar", + "EditEvent" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Calendar\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEvent_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"description\": \"\",\n \"location\": \"\",\n \"recordID\": 0,\n \"recordName\": \"\",\n \"recordTargetType\": \"\",\n \"reminderMinutes\": 0,\n \"eventColor\": \"\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"startTime\": \"\",\n \"endDate\": \"2026-01-01T00:00:00Z\",\n \"endTime\": \"\",\n \"allDay\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEvent_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Common", + "item": [ + { + "name": "GET /Common/GetCategories", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Common/GetCategories", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Common", + "GetCategories" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Common\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Common/GetContacts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Common/GetContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Common", + "GetContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Common\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Common/GetRoles", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Common/GetRoles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Common", + "GetRoles" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Common\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Common/GetSitesName", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Common/GetSitesName", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Common", + "GetSitesName" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Common\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Common/GetUsers", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Common/GetUsers?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Common", + "GetUsers" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Common\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Contact", + "item": [ + { + "name": "GET /api/Contact/DeleteContacts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/DeleteContacts?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "DeleteContacts" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetAddressbook", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetAddressbook?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetAddressbook" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetCategories", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetCategories", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetCategories" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetContactList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetContactList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetContactList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetContacts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetLocations", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetLocations" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Contact/GetUsers", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/GetUsers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "GetUsers" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/DeleteContacts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/DeleteContacts?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "DeleteContacts" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetAddressbook", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetAddressbook?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetAddressbook" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetCategories", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetCategories", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetCategories" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetContactList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetContactList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetContactList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetContacts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetLocations", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetLocations" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/contacts/GetUsers", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/GetUsers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "GetUsers" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Contact/AddContacts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Contact/AddContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "AddContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Contact_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"owner\": \"\",\n \"firstName\": \"\",\n \"middleName\": \"\",\n \"lastName\": \"\",\n \"contactType\": \"\",\n \"phoneNumber\": \"\",\n \"email\": \"\",\n \"address1\": \"\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"locationId\": 0,\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Contact_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Contact/AddLocation", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Contact/AddLocation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "AddLocation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Contact/DeleteLocation", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Contact/DeleteLocation?Id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "DeleteLocation" + ], + "query": [ + { + "key": "Id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query Id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Contact/EditContacts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Contact/EditContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "EditContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditContact_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"owner\": \"\",\n \"firstName\": \"\",\n \"middleName\": \"\",\n \"lastName\": \"\",\n \"contactType\": \"\",\n \"phoneNumber\": \"\",\n \"email\": \"\",\n \"address1\": \"\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"locationId\": 0,\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditContact_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Contact/EditLocation", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Contact/EditLocation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Contact", + "EditLocation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/contacts/AddContacts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/contacts/AddContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "AddContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Contact_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"owner\": \"\",\n \"firstName\": \"\",\n \"middleName\": \"\",\n \"lastName\": \"\",\n \"contactType\": \"\",\n \"phoneNumber\": \"\",\n \"email\": \"\",\n \"address1\": \"\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"locationId\": 0,\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Contact_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/contacts/AddLocation", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/contacts/AddLocation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "AddLocation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/contacts/DeleteLocation", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/contacts/DeleteLocation?Id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "DeleteLocation" + ], + "query": [ + { + "key": "Id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: query Id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/contacts/EditContacts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/contacts/EditContacts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "EditContacts" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditContact_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"owner\": \"\",\n \"firstName\": \"\",\n \"middleName\": \"\",\n \"lastName\": \"\",\n \"contactType\": \"\",\n \"phoneNumber\": \"\",\n \"email\": \"\",\n \"address1\": \"\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"facebookUrl\": \"\",\n \"linkedInUrl\": \"\",\n \"twitterUrl\": \"\",\n \"locationId\": 0,\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditContact_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/contacts/EditLocation", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/contacts/EditLocation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "contacts", + "EditLocation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Contact\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Dashboard", + "item": [ + { + "name": "GET /api/Dashboard/Stats", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Dashboard/Stats", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Dashboard", + "Stats" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Dashboard\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Dispatch", + "item": [ + { + "name": "GET /api/Dispatch", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Dispatch?search=&status=&vendorId=0&dateFrom=&dateTo=&sortBy=&sortDir=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Dispatch" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "dateFrom", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "dateTo", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "sortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortDir", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Dispatch\nOperation ID: not specified\n\nParameters: query search (optional, string); query status (optional, string); query vendorId (optional, integer/int32); query dateFrom (optional, string/date-time); query dateTo (optional, string/date-time); query sortBy (optional, string); query sortDir (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Dispatch/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Dispatch/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Dispatch", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Dispatch\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/dispatches", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/dispatches?search=&status=&vendorId=0&dateFrom=&dateTo=&sortBy=&sortDir=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "dispatches" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "dateFrom", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "dateTo", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "sortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortDir", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Dispatch\nOperation ID: not specified\n\nParameters: query search (optional, string); query status (optional, string); query vendorId (optional, integer/int32); query dateFrom (optional, string/date-time); query dateTo (optional, string/date-time); query sortBy (optional, string); query sortDir (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/dispatches/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/dispatches/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "dispatches", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Dispatch\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "DispatchPublic", + "item": [ + { + "name": "GET /api/dispatch/accept/{token}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/dispatch/accept/:token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "dispatch", + "accept", + ":token" + ], + "variable": [ + { + "key": "token", + "value": "", + "description": "Required; string" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DispatchPublic\nOperation ID: not specified\n\nParameters: path token (required, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "DropdownOptions", + "item": [ + { + "name": "DELETE /api/DropdownOptions/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/DropdownOptions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "DropdownOptions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DropdownOptions\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/DropdownOptions", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/DropdownOptions?category=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "DropdownOptions" + ], + "query": [ + { + "key": "category", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DropdownOptions\nOperation ID: not specified\n\nParameters: query category (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/DropdownOptions/ByCategory/{category}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/DropdownOptions/ByCategory/:category?parent=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "DropdownOptions", + "ByCategory", + ":category" + ], + "query": [ + { + "key": "parent", + "value": "", + "description": "Optional; string", + "disabled": false + } + ], + "variable": [ + { + "key": "category", + "value": "", + "description": "Required; string" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DropdownOptions\nOperation ID: not specified\n\nParameters: path category (required, string); query parent (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/DropdownOptions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/DropdownOptions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "DropdownOptions" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DropdownOptions\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DropdownOption_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"category\": \"\",\n \"value\": \"\",\n \"parentValue\": \"\",\n \"sortOrder\": 0,\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DropdownOption_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/DropdownOptions/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/DropdownOptions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "DropdownOptions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): DropdownOptions\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DropdownOption_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"category\": \"\",\n \"value\": \"\",\n \"parentValue\": \"\",\n \"sortOrder\": 0,\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DropdownOption_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Employee", + "item": [ + { + "name": "GET /api/Employee/DeleteEmployees", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Employee/DeleteEmployees?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "DeleteEmployees" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Employee/Dropdown", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Employee/Dropdown", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "Dropdown" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Employee/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Employee/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Employee/GetEmployeeList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Employee/GetEmployeeList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "GetEmployeeList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/employees/DeleteEmployees", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/employees/DeleteEmployees?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "DeleteEmployees" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/employees/Dropdown", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/employees/Dropdown", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "Dropdown" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/employees/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/employees/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/employees/GetEmployeeList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/employees/GetEmployeeList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "GetEmployeeList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Employee/AddEmployees", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Employee/AddEmployees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "AddEmployees" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Employee/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Employee/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Employee/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Employee/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Employee/EditEmployees", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Employee/EditEmployees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "EditEmployees" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Employee/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Employee/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Employee", + "Update" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/employees/AddEmployees", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/employees/AddEmployees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "AddEmployees" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/employees/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/employees/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/employees/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/employees/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/employees/EditEmployees", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/employees/EditEmployees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "EditEmployees" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/employees/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/employees/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "employees", + "Update" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Employee\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"\",\n \"phone\": \"\",\n \"phoneExtension\": \"\",\n \"status\": \"\",\n \"lastLogin\": \"2026-01-01T00:00:00Z\",\n \"id\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditEmployee_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "FollowUp", + "item": [ + { + "name": "GET /api/FollowUp/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/FollowUp/GetFollowUpList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/GetFollowUpList?search=&status=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "GetFollowUpList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query search (optional, string); query status (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/followups/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/followups/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/followups/GetFollowUpList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/followups/GetFollowUpList?search=&status=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "GetFollowUpList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query search (optional, string); query status (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/FollowUp/Cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/Cancel?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "Cancel" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/FollowUp/Complete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/Complete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "Complete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/FollowUp/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"reason\": \"\",\n \"scheduleDate\": \"2026-01-01T00:00:00Z\",\n \"scheduleStartTime\": {\n \"ticks\": 0,\n \"days\": 0,\n \"hours\": 0,\n \"milliseconds\": 0,\n \"microseconds\": 0,\n \"nanoseconds\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"totalDays\": 0,\n \"totalHours\": 0,\n \"totalMilliseconds\": 0,\n \"totalMicroseconds\": 0,\n \"totalNanoseconds\": 0,\n \"totalMinutes\": 0,\n \"totalSeconds\": 0\n },\n \"employeeId\": 0,\n \"workOrderId\": 0,\n \"accountId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/FollowUp/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/FollowUp/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/FollowUp/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "FollowUp", + "Update" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"reason\": \"\",\n \"scheduleDate\": \"2026-01-01T00:00:00Z\",\n \"scheduleStartTime\": {\n \"ticks\": 0,\n \"days\": 0,\n \"hours\": 0,\n \"milliseconds\": 0,\n \"microseconds\": 0,\n \"nanoseconds\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"totalDays\": 0,\n \"totalHours\": 0,\n \"totalMilliseconds\": 0,\n \"totalMicroseconds\": 0,\n \"totalNanoseconds\": 0,\n \"totalMinutes\": 0,\n \"totalSeconds\": 0\n },\n \"employeeId\": 0,\n \"workOrderId\": 0,\n \"accountId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/followups/Cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/followups/Cancel?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "Cancel" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/followups/Complete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/followups/Complete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "Complete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/followups/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/followups/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"reason\": \"\",\n \"scheduleDate\": \"2026-01-01T00:00:00Z\",\n \"scheduleStartTime\": {\n \"ticks\": 0,\n \"days\": 0,\n \"hours\": 0,\n \"milliseconds\": 0,\n \"microseconds\": 0,\n \"nanoseconds\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"totalDays\": 0,\n \"totalHours\": 0,\n \"totalMilliseconds\": 0,\n \"totalMicroseconds\": 0,\n \"totalNanoseconds\": 0,\n \"totalMinutes\": 0,\n \"totalSeconds\": 0\n },\n \"employeeId\": 0,\n \"workOrderId\": 0,\n \"accountId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/followups/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/followups/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/followups/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/followups/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "followups", + "Update" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): FollowUp\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"reason\": \"\",\n \"scheduleDate\": \"2026-01-01T00:00:00Z\",\n \"scheduleStartTime\": {\n \"ticks\": 0,\n \"days\": 0,\n \"hours\": 0,\n \"milliseconds\": 0,\n \"microseconds\": 0,\n \"nanoseconds\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"totalDays\": 0,\n \"totalHours\": 0,\n \"totalMilliseconds\": 0,\n \"totalMicroseconds\": 0,\n \"totalNanoseconds\": 0,\n \"totalMinutes\": 0,\n \"totalSeconds\": 0\n },\n \"employeeId\": 0,\n \"workOrderId\": 0,\n \"accountId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/FollowUp_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Location", + "item": [ + { + "name": "DELETE /api/Location/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Location/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/locations/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/locations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Location/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Location/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Location/DeleteLocation", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Location/DeleteLocation?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + "DeleteLocation" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Location/GetLocationList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Location/GetLocationList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + "GetLocationList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Location/sites", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Location/sites?search=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + "sites" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query search (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/locations/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/locations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/locations/DeleteLocation", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/locations/DeleteLocation?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + "DeleteLocation" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/locations/GetLocationList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/locations/GetLocationList?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + "GetLocationList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/locations/sites", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/locations/sites?search=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + "sites" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: query search (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Location", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Location", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/locations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/locations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Location_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/Location/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Location/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Location", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/locations/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/locations/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "locations", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Location\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"title\": \"\",\n \"name\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zipCode\": \"\",\n \"phone\": \"\",\n \"contact\": \"\",\n \"contactEmail\": \"\",\n \"status\": \"\",\n \"accountId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditLocation_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "PMSchedule", + "item": [ + { + "name": "GET /api/PMSchedule/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/PMSchedule/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "PMSchedule", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/PMSchedule/GetList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/PMSchedule/GetList", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "PMSchedule", + "GetList" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/pmschedules/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/pmschedules/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pmschedules", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/pmschedules/GetList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/pmschedules/GetList", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pmschedules", + "GetList" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/PMSchedule/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/PMSchedule/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "PMSchedule", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/PMSchedule/Save", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/PMSchedule/Save", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "PMSchedule", + "Save" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/PMSchedule_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"name\": \"\",\n \"frequency\": \"\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"isActive\": false,\n \"assetId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/PMSchedule_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/pmschedules/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/pmschedules/Delete?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pmschedules", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/pmschedules/Save", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/pmschedules/Save", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "pmschedules", + "Save" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): PMSchedule\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/PMSchedule_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"name\": \"\",\n \"frequency\": \"\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"isActive\": false,\n \"assetId\": 0,\n \"locationId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/PMSchedule_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Quotes", + "item": [ + { + "name": "DELETE /api/Quotes/DeleteQuote", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Quotes/DeleteQuote", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "DeleteQuote" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditQuote_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"quotId\": \"\",\n \"date\": \"\",\n \"tt\": \"\",\n \"po\": \"\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"\",\n \"siteName\": \"\",\n \"siteId\": \"\",\n \"billingAddress\": \"\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditQuote_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Quotes/GetQuoutes", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Quotes/GetQuoutes?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "GetQuoutes" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Quotes/GetQuoutesById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Quotes/GetQuoutesById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "GetQuoutesById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Quotes/GetQuoutesdetailsAgainstWorkOrder", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Quotes/GetQuoutesdetailsAgainstWorkOrder?woId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "GetQuoutesdetailsAgainstWorkOrder" + ], + "query": [ + { + "key": "woId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: query woId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Quotes/GetReporting", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Quotes/GetReporting", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "GetReporting" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Quotes/AddQuote", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Quotes/AddQuote", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "AddQuote" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Quote_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"quotId\": \"\",\n \"date\": \"\",\n \"tt\": \"\",\n \"po\": \"\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"\",\n \"siteName\": \"\",\n \"siteId\": \"\",\n \"billingAddress\": \"\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Quote_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/Quotes/EditQuote", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Quotes/EditQuote", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Quotes", + "EditQuote" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Quotes\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditQuote_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"quotId\": \"\",\n \"date\": \"\",\n \"tt\": \"\",\n \"po\": \"\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"\",\n \"siteName\": \"\",\n \"siteId\": \"\",\n \"billingAddress\": \"\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditQuote_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Settings", + "item": [ + { + "name": "GET /Settings/DeleteCategory", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Settings/DeleteCategory?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "DeleteCategory" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Settings/GetCategoryList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Settings/GetCategoryList?page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "GetCategoryList" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Settings/GetRoles", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Settings/GetRoles", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "GetRoles" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Settings/GetTemplates", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Settings/GetTemplates?page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "GetTemplates" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /Settings/GetUsers", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/Settings/GetUsers?search=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "GetUsers" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /Settings/AddCategory", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/Settings/AddCategory", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "AddCategory" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Category_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Category_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /Settings/EditCategory", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/Settings/EditCategory", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "Settings", + "EditCategory" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Settings\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditCategory_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditCategory_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Sync", + "item": [ + { + "name": "POST /api/Sync/All", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/All", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "All" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/BackfillCommentTypes", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/BackfillCommentTypes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "BackfillCommentTypes" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/BackfillDispatchNumbers", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/BackfillDispatchNumbers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "BackfillDispatchNumbers" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/BackfillInternalWONumbers", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/BackfillInternalWONumbers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "BackfillInternalWONumbers" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/Comments", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/Comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "Comments" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/VendorReplies", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/VendorReplies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "VendorReplies" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Sync/WorkOrders", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Sync/WorkOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Sync", + "WorkOrders" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Sync\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "TaskListTemplate", + "item": [ + { + "name": "DELETE /api/TaskListTemplate/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/TaskListTemplate/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "TaskListTemplate", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/tasklisttemplates/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/tasklisttemplates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tasklisttemplates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/TaskListTemplate", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/TaskListTemplate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "TaskListTemplate" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/TaskListTemplate/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/TaskListTemplate/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "TaskListTemplate", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/tasklisttemplates", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/tasklisttemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tasklisttemplates" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/tasklisttemplates/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/tasklisttemplates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tasklisttemplates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/TaskListTemplate", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/TaskListTemplate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "TaskListTemplate" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"\",\n \"sortOrder\": 0\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/tasklisttemplates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tasklisttemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tasklisttemplates" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"\",\n \"sortOrder\": 0\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/TaskListTemplate/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/TaskListTemplate/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "TaskListTemplate", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"\",\n \"sortOrder\": 0\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/tasklisttemplates/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/tasklisttemplates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "tasklisttemplates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): TaskListTemplate\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"\",\n \"sortOrder\": 0\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/TaskListTemplate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Uplift", + "item": [ + { + "name": "GET /api/Uplift", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Uplift?status=&tier=0&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift" + ], + "query": [ + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "tier", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: query status (optional, string); query tier (optional, integer/int32); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Uplift/{id}/evidence", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Uplift/:id/evidence", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + ":id", + "evidence" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Uplift/can-approve", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Uplift/can-approve?tier=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + "can-approve" + ], + "query": [ + { + "key": "tier", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: query tier (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Uplift/dispatch/{dispatchId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Uplift/dispatch/:dispatchId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + "dispatch", + ":dispatchId" + ], + "variable": [ + { + "key": "dispatchId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path dispatchId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/uplifts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/uplifts?status=&tier=0&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts" + ], + "query": [ + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "tier", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: query status (optional, string); query tier (optional, integer/int32); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/uplifts/{id}/evidence", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/uplifts/:id/evidence", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + ":id", + "evidence" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/uplifts/can-approve", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/uplifts/can-approve?tier=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + "can-approve" + ], + "query": [ + { + "key": "tier", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: query tier (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/uplifts/dispatch/{dispatchId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/uplifts/dispatch/:dispatchId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + "dispatch", + ":dispatchId" + ], + "variable": [ + { + "key": "dispatchId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path dispatchId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Uplift/{id}/approve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Uplift/:id/approve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + ":id", + "approve" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Uplift/{id}/deny", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Uplift/:id/deny", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + ":id", + "deny" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Uplift/{id}/reject", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Uplift/:id/reject", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + ":id", + "reject" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Uplift/{id}/request-changes", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Uplift/:id/request-changes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Uplift", + ":id", + "request-changes" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/uplifts/{id}/approve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/uplifts/:id/approve", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + ":id", + "approve" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/uplifts/{id}/deny", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/uplifts/:id/deny", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + ":id", + "deny" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/uplifts/{id}/reject", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/uplifts/:id/reject", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + ":id", + "reject" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/uplifts/{id}/request-changes", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/uplifts/:id/request-changes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "uplifts", + ":id", + "request-changes" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Uplift\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"note\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DecisionRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "User", + "item": [ + { + "name": "DELETE /api/User/DeleteUser", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/User/DeleteUser", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "User", + "DeleteUser" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditUser_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"role\": \"\",\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditUser_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/User", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/User", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "User" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/User/UserProfile", "request": { "method": "GET", "header": [], @@ -167,7 +7717,7 @@ "UserProfile" ] }, - "description": "Returns the profile of the authenticated user (uses the captured token)." + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." }, "event": [ { @@ -175,16 +7725,9 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Body is valid JSON\", function () {", - " pm.expect(function () { pm.response.json(); }).to.not.throw();", + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", "});" ] } @@ -192,12 +7735,869 @@ ] }, { - "name": "Vendors - Get vendor list", + "name": "POST /api/User/AddUser", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/User/AddUser", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "User", + "AddUser" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/User_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"email\": \"\",\n \"contact\": \"\",\n \"role\": \"\",\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/User_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/User/DeleteCurrentUser", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/User/DeleteCurrentUser", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "User", + "DeleteCurrentUser" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/User/EditUser", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/User/EditUser", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "User", + "EditUser" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): User\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditUser_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"role\": \"\",\n \"accountId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditUser_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "Vendor", + "item": [ + { + "name": "DELETE /api/Vendor/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id?id=0&confirmOpenWorkOrders=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "confirmOpenWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32); query confirmOpenWorkOrders (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/vendors/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id?id=0&confirmOpenWorkOrders=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "confirmOpenWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32); query confirmOpenWorkOrders (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/{id}", "request": { "method": "GET", "header": [], "url": { - "raw": "{{baseUrl}}/api/vendors/GetVendorList?page=1&pageSize=10&isActive=true", + "raw": "{{baseUrl}}/api/Vendor/:id?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/{id}/deactivation-impact", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id/deactivation-impact", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id", + "deactivation-impact" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/{id}/portal-token", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id/portal-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id", + "portal-token" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/Dropdown", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/Dropdown?trade=&siteZip=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "Dropdown" + ], + "query": [ + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "siteZip", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query trade (optional, string); query siteZip (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/facets", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/facets?isActive=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "facets" + ], + "query": [ + { + "key": "isActive", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query isActive (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/Vendor/GetVendorList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/GetVendorList?search=&page=0&pageSize=0&isActive=false&companies=&trades=&locations=&jobBuckets=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "GetVendorList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "isActive", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "companies", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "trades", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "locations", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "jobBuckets", + "value": "", + "description": "Optional; array", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32); query isActive (optional, boolean); query companies (optional, array); query trades (optional, array); query locations (optional, array); query jobBuckets (optional, array)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/{id}/deactivation-impact", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id/deactivation-impact", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id", + "deactivation-impact" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/{id}/portal-token", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id/portal-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id", + "portal-token" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/Dropdown", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/Dropdown?trade=&siteZip=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "Dropdown" + ], + "query": [ + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "siteZip", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query trade (optional, string); query siteZip (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/facets", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/facets?isActive=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "facets" + ], + "query": [ + { + "key": "isActive", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query isActive (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/GetById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/GetById?id=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "GetById" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendors/GetVendorList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/GetVendorList?search=&page=0&pageSize=0&isActive=false&companies=&trades=&locations=&jobBuckets=", "host": [ "{{baseUrl}}" ], @@ -207,21 +8607,57 @@ "GetVendorList" ], "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, { "key": "page", - "value": "1" + "value": "0", + "description": "Optional; integer/int32", + "disabled": false }, { "key": "pageSize", - "value": "10" + "value": "0", + "description": "Optional; integer/int32", + "disabled": false }, { "key": "isActive", - "value": "true" + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "companies", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "trades", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "locations", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "jobBuckets", + "value": "", + "description": "Optional; array", + "disabled": false } ] }, - "description": "Paged list of active vendors (page 1, pageSize 10)." + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32); query isActive (optional, boolean); query companies (optional, array); query trades (optional, array); query locations (optional, array); query jobBuckets (optional, array)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." }, "event": [ { @@ -229,16 +8665,9 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Body is valid JSON\", function () {", - " pm.expect(function () { pm.response.json(); }).to.not.throw();", + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", "});" ] } @@ -246,31 +8675,1660 @@ ] }, { - "name": "Dispatches - List", + "name": "POST /api/Vendor", "request": { - "method": "GET", - "header": [], + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], "url": { - "raw": "{{baseUrl}}/api/dispatches?page=1&pageSize=25", + "raw": "{{baseUrl}}/api/Vendor", "host": [ "{{baseUrl}}" ], "path": [ "api", + "Vendor" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Vendor/{id}/portal-token/revoke", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id/portal-token/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id", + "portal-token", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Vendor/{id}/portal-token/rotate", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id/portal-token/rotate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id", + "portal-token", + "rotate" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Vendor/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Vendor/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Vendor/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/Vendor/Delete?id=0&confirmOpenWorkOrders=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "confirmOpenWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32); query confirmOpenWorkOrders (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/Vendor/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Vendor/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + "Update" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false,\n \"id\": 0,\n \"confirmOpenWorkOrders\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendors", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors/{id}/portal-token/revoke", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id/portal-token/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id", + "portal-token", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors/{id}/portal-token/rotate", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id/portal-token/rotate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id", + "portal-token", + "rotate" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors/Create", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendors/Create", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "Create" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Vendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors/Delete", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendors/Delete?id=0&confirmOpenWorkOrders=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "Delete" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "confirmOpenWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query id (optional, integer/int32); query confirmOpenWorkOrders (optional, boolean)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendors/Update", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendors/Update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + "Update" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false,\n \"id\": 0,\n \"confirmOpenWorkOrders\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/Vendor/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false,\n \"id\": 0,\n \"confirmOpenWorkOrders\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/Vendor/{id}/work-order-update", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/Vendor/:id/work-order-update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "Vendor", + ":id", + "work-order-update" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderVendorUpdate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"workOrderId\": 0,\n \"contactName\": \"\",\n \"preferredContact\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"notes\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderVendorUpdate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendors/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"companyName\": \"\",\n \"companyId\": 0,\n \"contactName\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"companyPhone\": \"\",\n \"preferredContact\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"tradeSpecialties\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"isActive\": false,\n \"id\": 0,\n \"confirmOpenWorkOrders\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditVendor_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendors/{id}/work-order-update", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendors/:id/work-order-update", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendors", + ":id", + "work-order-update" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): Vendor\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderVendorUpdate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"workOrderId\": 0,\n \"contactName\": \"\",\n \"preferredContact\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"notes\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderVendorUpdate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "VendorCompanyRoster", + "item": [ + { + "name": "GET /api/vendor-company-roster", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-company-roster?vendorId=0&companyId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-company-roster" + ], + "query": [ + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "companyId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorCompanyRoster\nOperation ID: not specified\n\nParameters: query vendorId (optional, integer/int32); query companyId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/vendor-company-roster/{companyId}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-company-roster/:companyId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-company-roster", + ":companyId" + ], + "variable": [ + { + "key": "companyId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorCompanyRoster\nOperation ID: not specified\n\nParameters: path companyId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddTechniciansVendorRosterDTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"rowVersion\": \"\",\n \"addTechnicians\": [\n {\n \"id\": 0,\n \"contactName\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"preferredContact\": \"\",\n \"tradeSpecialties\": \"\",\n \"isActive\": false\n }\n ],\n \"companyFields\": {\n \"name\": \"\",\n \"companyPhone\": \"\",\n \"email\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddTechniciansVendorRosterDTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-company-roster", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-company-roster", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-company-roster" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorCompanyRoster\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CreateVendorRosterDTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"companyPhone\": \"\",\n \"email\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"technicians\": [\n {\n \"id\": 0,\n \"contactName\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"preferredContact\": \"\",\n \"tradeSpecialties\": \"\",\n \"isActive\": false\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CreateVendorRosterDTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-company-roster/{companyId}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-company-roster/:companyId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-company-roster", + ":companyId" + ], + "variable": [ + { + "key": "companyId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorCompanyRoster\nOperation ID: not specified\n\nParameters: path companyId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ReconcileVendorRosterDTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"rowVersion\": \"\",\n \"name\": \"\",\n \"companyPhone\": \"\",\n \"email\": \"\",\n \"address\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"zip\": \"\",\n \"googleMapsUrl\": \"\",\n \"notes\": \"\",\n \"technicians\": [\n {\n \"id\": 0,\n \"contactName\": \"\",\n \"phone\": \"\",\n \"email\": \"\",\n \"preferredContact\": \"\",\n \"tradeSpecialties\": \"\",\n \"isActive\": false\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ReconcileVendorRosterDTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "VendorOperations", + "item": [ + { + "name": "GET /api/vendor-operations/availability", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/availability?start=&end=&locationId=0&trade=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "availability" + ], + "query": [ + { + "key": "start", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "end", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: query start (optional, string/date-time); query end (optional, string/date-time); query locationId (optional, integer/int32); query trade (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-operations/insights", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/insights?from=&to=&locationId=0&trade=&vendorId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "insights" + ], + "query": [ + { + "key": "from", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "to", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: query from (optional, string/date-time); query to (optional, string/date-time); query locationId (optional, integer/int32); query trade (optional, string); query vendorId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-operations/insights.csv", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/insights.csv?from=&to=&locationId=0&trade=&vendorId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "insights.csv" + ], + "query": [ + { + "key": "from", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "to", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: query from (optional, string/date-time); query to (optional, string/date-time); query locationId (optional, integer/int32); query trade (optional, string); query vendorId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-operations/insights.pdf", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/insights.pdf?from=&to=&locationId=0&trade=&vendorId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "insights.pdf" + ], + "query": [ + { + "key": "from", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "to", + "value": "", + "description": "Optional; string/date-time", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "trade", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "vendorId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: query from (optional, string/date-time); query to (optional, string/date-time); query locationId (optional, integer/int32); query trade (optional, string); query vendorId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-operations/notifications", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/notifications", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "notifications" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-operations/sites/{locationId}/preferred-vendors", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/sites/:locationId/preferred-vendors", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "sites", + ":locationId", + "preferred-vendors" + ], + "variable": [ + { + "key": "locationId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path locationId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-operations/dispatches/{dispatchId}/commercial-status", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/dispatches/:dispatchId/commercial-status", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "dispatches", + ":dispatchId", + "commercial-status" + ], + "variable": [ + { + "key": "dispatchId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path dispatchId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CommercialStatusRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"invoiceStatus\": \"\",\n \"paymentStatus\": \"\",\n \"invoiceNumber\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CommercialStatusRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-operations/documents/{documentId}/review", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/documents/:documentId/review", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "documents", + ":documentId", + "review" + ], + "variable": [ + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path documentId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DocumentReviewRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reviewStatus\": \"\",\n \"rejectionReason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DocumentReviewRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-operations/sites/{locationId}/preferred-vendors", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/sites/:locationId/preferred-vendors", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "sites", + ":locationId", + "preferred-vendors" + ], + "variable": [ + { + "key": "locationId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path locationId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from array; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "[\n {\n \"vendorId\": 0,\n \"trade\": \"\",\n \"sortOrder\": 0\n }\n]", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from array; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-operations/vendors/{vendorId}/availability", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/vendors/:vendorId/availability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "vendors", + ":vendorId", + "availability" + ], + "variable": [ + { + "key": "vendorId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path vendorId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/VendorAvailabilityRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/VendorAvailabilityRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/vendor-operations/work-orders/{workOrderId}/assignment", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-operations/work-orders/:workOrderId/assignment", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-operations", + "work-orders", + ":workOrderId", + "assignment" + ], + "variable": [ + { + "key": "workOrderId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorOperations\nOperation ID: not specified\n\nParameters: path workOrderId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/VendorAssignmentRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"vendorId\": 0,\n \"scheduledStart\": \"2026-01-01T00:00:00Z\",\n \"scheduledEnd\": \"2026-01-01T00:00:00Z\",\n \"estimatedArrivalAt\": \"2026-01-01T00:00:00Z\",\n \"etaManualOverride\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/VendorAssignmentRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "VendorPortal", + "item": [ + { + "name": "GET /api/vendor-portal/dispatches", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches?status=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", "dispatches" ], "query": [ { - "key": "page", - "value": "1" - }, - { - "key": "pageSize", - "value": "25" + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false } ] }, - "description": "Paged list of dispatches (page 1, pageSize 25)." + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: query status (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." }, "event": [ { @@ -278,16 +10336,9 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Body is valid JSON\", function () {", - " pm.expect(function () { pm.response.json(); }).to.not.throw();", + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", "});" ] } @@ -295,21 +10346,30 @@ ] }, { - "name": "Dropdown options", + "name": "GET /api/vendor-portal/dispatches/{id}", "request": { "method": "GET", "header": [], "url": { - "raw": "{{baseUrl}}/api/DropdownOptions", + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id", "host": [ "{{baseUrl}}" ], "path": [ "api", - "DropdownOptions" + "vendor-portal", + "dispatches", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } ] }, - "description": "Dropdown option data used by UI pickers." + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." }, "event": [ { @@ -317,16 +10377,9 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Body is valid JSON\", function () {", - " pm.expect(function () { pm.response.json(); }).to.not.throw();", + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", "});" ] } @@ -334,7 +10387,5303 @@ ] }, { - "name": "Work orders - Dispatcher lookups", + "name": "GET /api/vendor-portal/dispatches/{id}/completion-documents/{documentId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/completion-documents/:documentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "completion-documents", + ":documentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-portal/dispatches/{id}/documents/{documentId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/documents/:documentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "documents", + ":documentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-portal/dispatches/{id}/documents/{documentId}/status", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/documents/:documentId/status", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "documents", + ":documentId", + "status" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendor-portal/session", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/session", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "session" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/dispatches", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches?status=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches" + ], + "query": [ + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: query status (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/dispatches/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/dispatches/{id}/completion-documents/{documentId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/completion-documents/:documentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "completion-documents", + ":documentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/dispatches/{id}/documents/{documentId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/documents/:documentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "documents", + ":documentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/dispatches/{id}/documents/{documentId}/status", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/documents/:documentId/status", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "documents", + ":documentId", + "status" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "documentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path documentId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/vendorportal/session", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/session", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "session" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/accept", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/accept", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "accept" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/checklist/{itemId}", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/checklist/:itemId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "checklist", + ":itemId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "itemId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path itemId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChecklistUpdateRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"isCompleted\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChecklistUpdateRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/comments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CommentRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"commentText\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CommentRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/completion-documents", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/completion-documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "completion-documents" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "replacesDocumentId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "purpose", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/documents", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "documents" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "replacesDocumentId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "purpose", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/refuse", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/refuse", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "refuse" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RefuseRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RefuseRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/request-cancel", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/request-cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "request-cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RequestCancelRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RequestCancelRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/signoff", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/signoff", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "signoff" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/SignoffRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"signature\": \"\",\n \"signatureMethod\": \"\",\n \"signoffType\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/SignoffRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/status", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/status", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChangeStatusRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChangeStatusRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/uplift-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/uplift-request", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "uplift-request" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"requestedNTE\": 0,\n \"reason\": \"\",\n \"requestKey\": \"\",\n \"evidenceDocumentId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/uplift-request/{requestId}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/uplift-request/:requestId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/uplift-request/{requestId}/revise", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/uplift-request/:requestId/revise", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "revise" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"requestedNTE\": 0,\n \"reason\": \"\",\n \"requestKey\": \"\",\n \"evidenceDocumentId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendor-portal/dispatches/{id}/uplift-request/{requestId}/withdraw", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id/uplift-request/:requestId/withdraw", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendor-portal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "withdraw" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/accept", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/accept", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "accept" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/checklist/{itemId}", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/checklist/:itemId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "checklist", + ":itemId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "itemId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path itemId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChecklistUpdateRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"isCompleted\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChecklistUpdateRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/comments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CommentRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"commentText\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CommentRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/completion-documents", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/completion-documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "completion-documents" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "replacesDocumentId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "purpose", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/documents", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "documents" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "replacesDocumentId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "purpose", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/refuse", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/refuse", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "refuse" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RefuseRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RefuseRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/request-cancel", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/request-cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "request-cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RequestCancelRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RequestCancelRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/signoff", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/signoff", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "signoff" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/SignoffRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"signature\": \"\",\n \"signatureMethod\": \"\",\n \"signoffType\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/SignoffRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/status", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/status", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "status" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChangeStatusRequest; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChangeStatusRequest; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/uplift-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/uplift-request", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "uplift-request" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"requestedNTE\": 0,\n \"reason\": \"\",\n \"requestKey\": \"\",\n \"evidenceDocumentId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/uplift-request/{requestId}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/uplift-request/:requestId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/uplift-request/{requestId}/revise", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/uplift-request/:requestId/revise", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "revise" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"requestedNTE\": 0,\n \"reason\": \"\",\n \"requestKey\": \"\",\n \"evidenceDocumentId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpliftRequestBody; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/vendorportal/dispatches/{id}/uplift-request/{requestId}/withdraw", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/vendorportal/dispatches/:id/uplift-request/:requestId/withdraw", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "vendorportal", + "dispatches", + ":id", + "uplift-request", + ":requestId", + "withdraw" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "requestId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): VendorPortal\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path requestId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrder", + "item": [ + { + "name": "DELETE /api/WorkOrder/DeleteWorkorder", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/DeleteWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "DeleteWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditWorkorder_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"workerOrderNumber\": \"\",\n \"workerOrderTitle\": \"\",\n \"description\": \"\",\n \"po\": \"\",\n \"tt\": \"\",\n \"assignTo\": \"\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"priority\": 1,\n \"status\": 1,\n \"locationId\": 0,\n \"problem\": \"\",\n \"trade\": \"\",\n \"subTrade\": \"\",\n \"vendorNTE\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"source\": \"\",\n \"attachments\": [\n \"\"\n ],\n \"beforPhotoIssue\": \"\",\n \"beforPhotoAttachment\": \"\",\n \"afterPhotoIssue\": \"\",\n \"afterPhotoAttachment\": \"\",\n \"signOffName\": \"\",\n \"signOffAttachment\": \"\",\n \"signOffSignature\": \"\",\n \"contactIds\": [\n 0\n ],\n \"categoryIds\": [\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditWorkorder_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/workorders/DeleteWorkorder", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/DeleteWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "DeleteWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/EditWorkorder_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"workerOrderNumber\": \"\",\n \"workerOrderTitle\": \"\",\n \"description\": \"\",\n \"po\": \"\",\n \"tt\": \"\",\n \"assignTo\": \"\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"priority\": 1,\n \"status\": 1,\n \"locationId\": 0,\n \"problem\": \"\",\n \"trade\": \"\",\n \"subTrade\": \"\",\n \"vendorNTE\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"source\": \"\",\n \"attachments\": [\n \"\"\n ],\n \"beforPhotoIssue\": \"\",\n \"beforPhotoAttachment\": \"\",\n \"afterPhotoIssue\": \"\",\n \"afterPhotoAttachment\": \"\",\n \"signOffName\": \"\",\n \"signOffAttachment\": \"\",\n \"signOffSignature\": \"\",\n \"contactIds\": [\n 0\n ],\n \"categoryIds\": [\n 0\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/EditWorkorder_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetComments", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetComments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetComments" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetCommentsByWorkorderId", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetCommentsByWorkorderId?woid=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetCommentsByWorkorderId" + ], + "query": [ + { + "key": "woid", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query woid (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetFilteredWorkorder", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetFilteredWorkorder?assignto=&location=&priority=&status=&duedate=&search=&sort=&sortby=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetFilteredWorkorder" + ], + "query": [ + { + "key": "assignto", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "location", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "priority", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "duedate", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sort", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortby", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query assignto (optional, array); query location (optional, array); query priority (optional, array); query status (optional, array); query duedate (optional, array); query search (optional, string); query sort (optional, string); query sortby (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetFilteredWorkorder2", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetFilteredWorkorder2?assignto=&location=&priority=&status=&duedate=&search=&sort=&sortby=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetFilteredWorkorder2" + ], + "query": [ + { + "key": "assignto", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "location", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "priority", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "duedate", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sort", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortby", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query assignto (optional, array); query location (optional, array); query priority (optional, array); query status (optional, array); query duedate (optional, array); query search (optional, string); query sort (optional, string); query sortby (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetWorkorderById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetWorkorderById", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetWorkorderById" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetWorkOrderList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetWorkOrderList?search=&page=0&pageSize=0&sortBy=&sortDir=&status=&assignee=&locationId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetWorkOrderList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "sortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortDir", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "assignee", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32); query sortBy (optional, string); query sortDir (optional, string); query status (optional, string); query assignee (optional, string); query locationId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/Getworkorders", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/Getworkorders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "Getworkorders" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetworkordersDD", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetworkordersDD", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetworkordersDD" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetComments", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetComments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetComments" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetCommentsByWorkorderId", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetCommentsByWorkorderId?woid=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetCommentsByWorkorderId" + ], + "query": [ + { + "key": "woid", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query woid (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetFilteredWorkorder", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetFilteredWorkorder?assignto=&location=&priority=&status=&duedate=&search=&sort=&sortby=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetFilteredWorkorder" + ], + "query": [ + { + "key": "assignto", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "location", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "priority", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "duedate", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sort", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortby", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query assignto (optional, array); query location (optional, array); query priority (optional, array); query status (optional, array); query duedate (optional, array); query search (optional, string); query sort (optional, string); query sortby (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetFilteredWorkorder2", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetFilteredWorkorder2?assignto=&location=&priority=&status=&duedate=&search=&sort=&sortby=&page=0&pageSize=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetFilteredWorkorder2" + ], + "query": [ + { + "key": "assignto", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "location", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "priority", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "duedate", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sort", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortby", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query assignto (optional, array); query location (optional, array); query priority (optional, array); query status (optional, array); query duedate (optional, array); query search (optional, string); query sort (optional, string); query sortby (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetWorkorderById", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetWorkorderById", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetWorkorderById" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetWorkOrderList", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetWorkOrderList?search=&page=0&pageSize=0&sortBy=&sortDir=&status=&assignee=&locationId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetWorkOrderList" + ], + "query": [ + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "pageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "sortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "sortDir", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "assignee", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "locationId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query search (optional, string); query page (optional, integer/int32); query pageSize (optional, integer/int32); query sortBy (optional, string); query sortDir (optional, string); query status (optional, string); query assignee (optional, string); query locationId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/Getworkorders", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/Getworkorders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "Getworkorders" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetworkordersDD", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetworkordersDD", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetworkordersDD" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddComment", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddComment", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddComment" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Text", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Document", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "WorkorderId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "CreatedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "UserId", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "CommentType", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddCommentJson", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddCommentJson", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddCommentJson" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Comments_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\",\n \"document\": \"\",\n \"workorderId\": 0,\n \"createdDate\": \"2026-01-01T00:00:00Z\",\n \"userId\": \"\",\n \"commentType\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Comments_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddWorkorder", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "istemplate", + "type": "text", + "value": "false", + "description": "Optional; boolean" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "Customer", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/ChangeAssignment", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/ChangeAssignment?id=0&assignTo=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "ChangeAssignment" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "assignTo", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32); query assignTo (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/ChangeStatus", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/ChangeStatus?id=0&status=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "ChangeStatus" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32); query status (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/EditWorkorder", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/EditWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "EditWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Id", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "Status", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderStatus" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "Problem", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Trade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SubTrade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "VendorNTE", + "type": "text", + "value": "0", + "description": "Optional; number/double" + }, + { + "key": "ScheduledDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "CompletedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Source", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddComment", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddComment", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddComment" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Text", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Document", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "WorkorderId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "CreatedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "UserId", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "CommentType", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddCommentJson", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddCommentJson", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddCommentJson" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Comments_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\",\n \"document\": \"\",\n \"workorderId\": 0,\n \"createdDate\": \"2026-01-01T00:00:00Z\",\n \"userId\": \"\",\n \"commentType\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Comments_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddWorkorder", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "istemplate", + "type": "text", + "value": "false", + "description": "Optional; boolean" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "Customer", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/ChangeAssignment", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/ChangeAssignment?id=0&assignTo=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "ChangeAssignment" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "assignTo", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32); query assignTo (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/ChangeStatus", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/ChangeStatus?id=0&status=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "ChangeStatus" + ], + "query": [ + { + "key": "id", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "status", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: query id (optional, integer/int32); query status (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/EditWorkorder", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/EditWorkorder", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "EditWorkorder" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: none\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Id", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "Status", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderStatus" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "Problem", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Trade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SubTrade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "VendorNTE", + "type": "text", + "value": "0", + "description": "Optional; number/double" + }, + { + "key": "ScheduledDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "CompletedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Source", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/WorkOrder/{id}", + "request": { + "method": "PUT", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Required; string" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: path id (required, string)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Id", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "Status", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderStatus" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "Problem", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Trade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SubTrade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "VendorNTE", + "type": "text", + "value": "0", + "description": "Optional; number/double" + }, + { + "key": "ScheduledDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "CompletedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Source", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/workorders/{id}", + "request": { + "method": "PUT", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "Required; string" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrder\nOperation ID: not specified\n\nParameters: path id (required, string)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "Id", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "WorkerOrderNumber", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "WorkerOrderTitle", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Description", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "PO", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "TT", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AssignTo", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "DueDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Priority", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderPriority" + }, + { + "key": "Status", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderStatus" + }, + { + "key": "LocationId", + "type": "text", + "value": "0", + "description": "Optional; integer/int32" + }, + { + "key": "Problem", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Trade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SubTrade", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "VendorNTE", + "type": "text", + "value": "0", + "description": "Optional; number/double" + }, + { + "key": "ScheduledDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "CompletedDate", + "type": "text", + "value": "2026-01-01T00:00:00Z", + "description": "Optional; string/date-time" + }, + { + "key": "Source", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Attachments", + "type": "text", + "value": "", + "description": "Optional; array" + }, + { + "key": "BeforPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "BeforPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "AfterPhotoIssue", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "AfterPhotoAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "SignOffAttachment", + "type": "file", + "src": "", + "description": "Optional; string/binary" + }, + { + "key": "SignOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContactIds", + "type": "text", + "value": "0", + "description": "Optional; array" + }, + { + "key": "CategoryIds", + "type": "text", + "value": "0", + "description": "Optional; array" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderBoard", + "item": [ + { + "name": "GET /api/WorkOrder/board", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/board?weekStart=&weekEnd=&dispatchers=&myWorkOrders=false&types=&overdue=false&search=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "board" + ], + "query": [ + { + "key": "weekStart", + "value": "", + "description": "Required; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "weekEnd", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "dispatchers", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "myWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "types", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "overdue", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: query weekStart (required, #/components/schemas/DateOnly); query weekEnd (optional, #/components/schemas/DateOnly); query dispatchers (optional, array); query myWorkOrders (optional, boolean); query types (optional, array); query overdue (optional, boolean); query search (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/board/search", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/board/search?Page=0&PageSize=0&Search=&DatePreset=&DateFrom=&DateTo=&Sites=&Types=&Overdue=false&Dispatchers=&Statuses=&PmTypes=&VendorIds=&DocStatuses=&Severities=&Rescheduled=false&CarriedOver=false&AddOn=false&AvetaOnly=false&FlagColors=&InternalOnly=false&HasUplift=false&UpliftStatuses=&MyWorkOrders=false&SortBy=&SortDir=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "board", + "search" + ], + "query": [ + { + "key": "Page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "PageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "Search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "DatePreset", + "value": "", + "description": "Optional; #/components/schemas/WorkOrderAdvancedSearchDatePreset", + "disabled": false + }, + { + "key": "DateFrom", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "DateTo", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "Sites", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Types", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Overdue", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "Dispatchers", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Statuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "PmTypes", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "VendorIds", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "DocStatuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Severities", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Rescheduled", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "CarriedOver", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "AddOn", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "AvetaOnly", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "FlagColors", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "InternalOnly", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "HasUplift", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "UpliftStatuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "MyWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "SortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "SortDir", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: query Page (optional, integer/int32); query PageSize (optional, integer/int32); query Search (optional, string); query DatePreset (optional, #/components/schemas/WorkOrderAdvancedSearchDatePreset); query DateFrom (optional, #/components/schemas/DateOnly); query DateTo (optional, #/components/schemas/DateOnly); query Sites (optional, array); query Types (optional, array); query Overdue (optional, boolean); query Dispatchers (optional, array); query Statuses (optional, array); query PmTypes (optional, array); query VendorIds (optional, array); query DocStatuses (optional, array); query Severities (optional, array); query Rescheduled (optional, boolean); query CarriedOver (optional, boolean); query AddOn (optional, boolean); query AvetaOnly (optional, boolean); query FlagColors (optional, array); query InternalOnly (optional, boolean); query HasUplift (optional, boolean); query UpliftStatuses (optional, array); query MyWorkOrders (optional, boolean); query SortBy (optional, string); query SortDir (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/lookups/dispatchers", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/lookups/dispatchers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "lookups", + "dispatchers" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/board", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/board?weekStart=&weekEnd=&dispatchers=&myWorkOrders=false&types=&overdue=false&search=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "board" + ], + "query": [ + { + "key": "weekStart", + "value": "", + "description": "Required; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "weekEnd", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "dispatchers", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "myWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "types", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "overdue", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "search", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: query weekStart (required, #/components/schemas/DateOnly); query weekEnd (optional, #/components/schemas/DateOnly); query dispatchers (optional, array); query myWorkOrders (optional, boolean); query types (optional, array); query overdue (optional, boolean); query search (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/board/search", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/board/search?Page=0&PageSize=0&Search=&DatePreset=&DateFrom=&DateTo=&Sites=&Types=&Overdue=false&Dispatchers=&Statuses=&PmTypes=&VendorIds=&DocStatuses=&Severities=&Rescheduled=false&CarriedOver=false&AddOn=false&AvetaOnly=false&FlagColors=&InternalOnly=false&HasUplift=false&UpliftStatuses=&MyWorkOrders=false&SortBy=&SortDir=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "board", + "search" + ], + "query": [ + { + "key": "Page", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "PageSize", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + }, + { + "key": "Search", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "DatePreset", + "value": "", + "description": "Optional; #/components/schemas/WorkOrderAdvancedSearchDatePreset", + "disabled": false + }, + { + "key": "DateFrom", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "DateTo", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + }, + { + "key": "Sites", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Types", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Overdue", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "Dispatchers", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Statuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "PmTypes", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "VendorIds", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "DocStatuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Severities", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "Rescheduled", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "CarriedOver", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "AddOn", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "AvetaOnly", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "FlagColors", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "InternalOnly", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "HasUplift", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "UpliftStatuses", + "value": "", + "description": "Optional; array", + "disabled": false + }, + { + "key": "MyWorkOrders", + "value": "false", + "description": "Optional; boolean", + "disabled": false + }, + { + "key": "SortBy", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "SortDir", + "value": "", + "description": "Optional; string", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: query Page (optional, integer/int32); query PageSize (optional, integer/int32); query Search (optional, string); query DatePreset (optional, #/components/schemas/WorkOrderAdvancedSearchDatePreset); query DateFrom (optional, #/components/schemas/DateOnly); query DateTo (optional, #/components/schemas/DateOnly); query Sites (optional, array); query Types (optional, array); query Overdue (optional, boolean); query Dispatchers (optional, array); query Statuses (optional, array); query PmTypes (optional, array); query VendorIds (optional, array); query DocStatuses (optional, array); query Severities (optional, array); query Rescheduled (optional, boolean); query CarriedOver (optional, boolean); query AddOn (optional, boolean); query AvetaOnly (optional, boolean); query FlagColors (optional, array); query InternalOnly (optional, boolean); query HasUplift (optional, boolean); query UpliftStatuses (optional, array); query MyWorkOrders (optional, boolean); query SortBy (optional, string); query SortDir (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/lookups/dispatchers", "request": { "method": "GET", "header": [], @@ -350,7 +15699,7 @@ "dispatchers" ] }, - "description": "Dispatcher lookup data for work orders." + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." }, "event": [ { @@ -358,16 +15707,3601 @@ "script": { "type": "text/javascript", "exec": [ - "pm.test(\"Responded 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Responded with JSON\", function () {", - " pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");", - "});", - "", - "pm.test(\"Body is valid JSON\", function () {", - " pm.expect(function () { pm.response.json(); }).to.not.throw();", + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/WorkOrder/{id}/board", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/board", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "board" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderBoardPatchRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"field\": \"\",\n \"value\": \"\",\n \"workOrderVersion\": \"\",\n \"dispatchVersion\": \"\",\n \"primaryDispatchId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderBoardPatchRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/workorders/{id}/board", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/board", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "board" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderBoardPatchRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"field\": \"\",\n \"value\": \"\",\n \"workOrderVersion\": \"\",\n \"dispatchVersion\": \"\",\n \"primaryDispatchId\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderBoardPatchRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/board", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/board", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "board" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderBoardCreateRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"woNumber\": \"\",\n \"workOrderType\": 1,\n \"isAddOn\": false,\n \"siteCode\": \"\",\n \"customer\": \"\",\n \"description\": \"\",\n \"trade\": \"\",\n \"primaryService\": \"\",\n \"extraServices\": [\n \"\"\n ],\n \"serviceNotes\": \"\",\n \"avetaRequired\": false,\n \"locationId\": 0,\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"assignTo\": \"\",\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"targetWeek\": {\n \"year\": 0,\n \"month\": 0,\n \"day\": 0,\n \"dayOfWeek\": 0,\n \"dayOfYear\": 0,\n \"dayNumber\": 0\n },\n \"scheduleWeekOnly\": false,\n \"docStatus\": 1,\n \"lifecycleStatus\": 1,\n \"vendorId\": 0,\n \"apptDate\": \"2026-01-01T00:00:00Z\",\n \"apptTime\": \"\",\n \"pocContactId\": 0,\n \"pocName\": \"\",\n \"pocPhone\": \"\",\n \"pocNotes\": \"\",\n \"additionalContacts\": [\n {\n \"name\": \"\",\n \"phone\": \"\",\n \"notes\": \"\"\n }\n ],\n \"techPhone\": \"\",\n \"vendorNotes\": \"\",\n \"severity\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderBoardCreateRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/board", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/board", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "board" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderBoard\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderBoardCreateRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"woNumber\": \"\",\n \"workOrderType\": 1,\n \"isAddOn\": false,\n \"siteCode\": \"\",\n \"customer\": \"\",\n \"description\": \"\",\n \"trade\": \"\",\n \"primaryService\": \"\",\n \"extraServices\": [\n \"\"\n ],\n \"serviceNotes\": \"\",\n \"avetaRequired\": false,\n \"locationId\": 0,\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"assignTo\": \"\",\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"targetWeek\": {\n \"year\": 0,\n \"month\": 0,\n \"day\": 0,\n \"dayOfWeek\": 0,\n \"dayOfYear\": 0,\n \"dayNumber\": 0\n },\n \"scheduleWeekOnly\": false,\n \"docStatus\": 1,\n \"lifecycleStatus\": 1,\n \"vendorId\": 0,\n \"apptDate\": \"2026-01-01T00:00:00Z\",\n \"apptTime\": \"\",\n \"pocContactId\": 0,\n \"pocName\": \"\",\n \"pocPhone\": \"\",\n \"pocNotes\": \"\",\n \"additionalContacts\": [\n {\n \"name\": \"\",\n \"phone\": \"\",\n \"notes\": \"\"\n }\n ],\n \"techPhone\": \"\",\n \"vendorNotes\": \"\",\n \"severity\": 0\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderBoardCreateRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderCompletion", + "item": [ + { + "name": "DELETE /api/WorkOrder/completion-templates/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/workorders/completion-templates/{id}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/completion-templates", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/completion-templates?serviceKey=&workOrderType=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "completion-templates" + ], + "query": [ + { + "key": "serviceKey", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "workOrderType", + "value": "", + "description": "Optional; #/components/schemas/WorkOrderType", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: query serviceKey (optional, string); query workOrderType (optional, #/components/schemas/WorkOrderType)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/completion-templates/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/completion-templates", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/completion-templates?serviceKey=&workOrderType=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "completion-templates" + ], + "query": [ + { + "key": "serviceKey", + "value": "", + "description": "Optional; string", + "disabled": false + }, + { + "key": "workOrderType", + "value": "", + "description": "Optional; #/components/schemas/WorkOrderType", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: query serviceKey (optional, string); query workOrderType (optional, #/components/schemas/WorkOrderType)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/completion-templates/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/completion-doc", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/completion-doc", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "completion-doc" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "signOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "signOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "workOrderVersion", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/completion-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/completion-templates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "completion-templates" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"serviceKey\": \"\",\n \"workOrderType\": 1,\n \"templateUrl\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/completion-doc", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/completion-doc", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "completion-doc" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "signOffName", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "signOffSignature", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "workOrderVersion", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/completion-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/completion-templates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "completion-templates" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"serviceKey\": \"\",\n \"workOrderType\": 1,\n \"templateUrl\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/WorkOrder/completion-templates/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"serviceKey\": \"\",\n \"workOrderType\": 1,\n \"templateUrl\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PUT /api/workorders/completion-templates/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/completion-templates/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "completion-templates", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderCompletion\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"serviceKey\": \"\",\n \"workOrderType\": 1,\n \"templateUrl\": \"\",\n \"isActive\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CompletionDocTemplateCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderDetail", + "item": [ + { + "name": "GET /api/WorkOrder/{id}/audit", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/audit?limit=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "audit" + ], + "query": [ + { + "key": "limit", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query limit (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}/comments", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}/detail", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/detail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "detail" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}/uplifts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/uplifts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "uplifts" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/audit", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/audit?limit=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "audit" + ], + "query": [ + { + "key": "limit", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); query limit (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/comments", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/detail", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/detail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "detail" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/uplifts", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/uplifts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "uplifts" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/WorkOrder/{id}/comments/{commentId}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/comments/:commentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "comments", + ":commentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "commentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path commentId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/workorders/{id}/comments/{commentId}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/comments/:commentId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "comments", + ":commentId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "commentId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path commentId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/comments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/uplifts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/uplifts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "uplifts" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CreateWorkOrderUpliftRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"amount\": 0,\n \"notes\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CreateWorkOrderUpliftRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/uplifts/{upliftId}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/uplifts/:upliftId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "uplifts", + ":upliftId", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "upliftId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path upliftId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/uplifts/{upliftId}/revoke", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/uplifts/:upliftId/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "uplifts", + ":upliftId", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "upliftId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path upliftId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RevokeWorkOrderUpliftRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RevokeWorkOrderUpliftRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/comments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/comments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "comments" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"text\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderCommentCreateDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/uplifts", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/uplifts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "uplifts" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/CreateWorkOrderUpliftRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"amount\": 0,\n \"notes\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/CreateWorkOrderUpliftRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/uplifts/{upliftId}/cancel", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/uplifts/:upliftId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "uplifts", + ":upliftId", + "cancel" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "upliftId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path upliftId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/uplifts/{upliftId}/revoke", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/uplifts/:upliftId/revoke", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "uplifts", + ":upliftId", + "revoke" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "upliftId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDetail\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path upliftId (required, integer/int32)\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/RevokeWorkOrderUpliftRequestDto; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"reason\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/RevokeWorkOrderUpliftRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderDispatch", + "item": [ + { + "name": "GET /api/WorkOrder/GetDispatch/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetDispatch/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetDispatch", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/GetDispatches/{workOrderId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/GetDispatches/:workOrderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "GetDispatches", + ":workOrderId" + ], + "variable": [ + { + "key": "workOrderId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: path workOrderId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetDispatch/{id}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetDispatch/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetDispatch", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/GetDispatches/{workOrderId}", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/GetDispatches/:workOrderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "GetDispatches", + ":workOrderId" + ], + "variable": [ + { + "key": "workOrderId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: path workOrderId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddChecklistItem", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddChecklistItem", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddChecklistItem" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddChecklistItem_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"workOrderId\": 0,\n \"itemText\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddChecklistItem_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddDispatchComment", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddDispatchComment", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddDispatchComment" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DispatchComment_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"text\": \"\",\n \"sendEmail\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DispatchComment_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/AddDispatchSignoff", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/AddDispatchSignoff", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "AddDispatchSignoff" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DispatchSignoff_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"signoffType\": \"\",\n \"name\": \"\",\n \"signature\": \"\",\n \"signatureMethod\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DispatchSignoff_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/DispatchToVendor", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/DispatchToVendor", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "DispatchToVendor" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Dispatch_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"workOrderIds\": [\n 0\n ],\n \"vendorIds\": [\n 0\n ],\n \"nteAmount\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"estimatedArrivalAt\": \"2026-01-01T00:00:00Z\",\n \"etaManualOverride\": false,\n \"description\": \"\",\n \"taskListTemplateId\": 0,\n \"customChecklistItems\": [\n \"\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Dispatch_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/UpdateChecklistItem", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/UpdateChecklistItem", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "UpdateChecklistItem" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChecklistItemUpdate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"isCompleted\": false,\n \"completedBy\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChecklistItemUpdate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/UpdateDispatch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/UpdateDispatch", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "UpdateDispatch" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpdateDispatch_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"status\": \"\",\n \"nteAmount\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"estimatedArrivalAt\": \"2026-01-01T00:00:00Z\",\n \"etaManualOverride\": false,\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"description\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpdateDispatch_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/VerifyDispatch", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/VerifyDispatch?dispatchId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + "VerifyDispatch" + ], + "query": [ + { + "key": "dispatchId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: query dispatchId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddChecklistItem", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddChecklistItem", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddChecklistItem" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/AddChecklistItem_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"workOrderId\": 0,\n \"itemText\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/AddChecklistItem_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddDispatchComment", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddDispatchComment", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddDispatchComment" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DispatchComment_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"text\": \"\",\n \"sendEmail\": false\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DispatchComment_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/AddDispatchSignoff", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/AddDispatchSignoff", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "AddDispatchSignoff" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/DispatchSignoff_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"dispatchId\": 0,\n \"signoffType\": \"\",\n \"name\": \"\",\n \"signature\": \"\",\n \"signatureMethod\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/DispatchSignoff_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/DispatchToVendor", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/DispatchToVendor", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "DispatchToVendor" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/Dispatch_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"workOrderIds\": [\n 0\n ],\n \"vendorIds\": [\n 0\n ],\n \"nteAmount\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"estimatedArrivalAt\": \"2026-01-01T00:00:00Z\",\n \"etaManualOverride\": false,\n \"description\": \"\",\n \"taskListTemplateId\": 0,\n \"customChecklistItems\": [\n \"\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/Dispatch_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/UpdateChecklistItem", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/UpdateChecklistItem", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "UpdateChecklistItem" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/ChecklistItemUpdate_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"isCompleted\": false,\n \"completedBy\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/ChecklistItemUpdate_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/UpdateDispatch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/UpdateDispatch", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "UpdateDispatch" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/UpdateDispatch_DTO; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"id\": 0,\n \"status\": \"\",\n \"nteAmount\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"estimatedArrivalAt\": \"2026-01-01T00:00:00Z\",\n \"etaManualOverride\": false,\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"description\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/UpdateDispatch_DTO; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/VerifyDispatch", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/VerifyDispatch?dispatchId=0", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "VerifyDispatch" + ], + "query": [ + { + "key": "dispatchId", + "value": "0", + "description": "Optional; integer/int32", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderDispatch\nOperation ID: not specified\n\nParameters: query dispatchId (optional, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderIngest", + "item": [ + { + "name": "POST /api/workorders/ingest", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/workorders/ingest", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "ingest" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderIngest\nOperation ID: not specified\n\nParameters: none\nRequest body: application/json, text/json, application/*+json; Illustrative placeholder generated from #/components/schemas/WorkOrderIngestBatchRequestDto; replace placeholder values before sending.\nDocumented response codes: 200 (text/plain, application/json, text/json)\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "raw", + "raw": "{\n \"items\": [\n {\n \"externalWorkOrderId\": \"\",\n \"description\": \"\",\n \"woStatus\": \"\",\n \"severity\": \"\",\n \"customer\": \"\",\n \"siteCode\": \"\",\n \"building\": \"\",\n \"address\": \"\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"dateReported\": \"2026-01-01T00:00:00Z\",\n \"scheduledStart\": \"2026-01-01T00:00:00Z\",\n \"sourceEmailS3Key\": \"\",\n \"createdAt\": \"2026-01-01T00:00:00Z\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + }, + "description": "Illustrative placeholder generated from #/components/schemas/WorkOrderIngestBatchRequestDto; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderJobs", + "item": [ + { + "name": "POST /api/workorders/jobs/past-due-cache", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/jobs/past-due-cache", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "jobs", + "past-due-cache" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderJobs\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200 (text/plain, application/json, text/json)\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/jobs/week-rolled", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/jobs/week-rolled?sourceWeekStart=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "jobs", + "week-rolled" + ], + "query": [ + { + "key": "sourceWeekStart", + "value": "", + "description": "Optional; #/components/schemas/DateOnly", + "disabled": false + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderJobs\nOperation ID: not specified\n\nParameters: query sourceWeekStart (optional, #/components/schemas/DateOnly)\nRequest body: none documented\nDocumented response codes: 200 (text/plain, application/json, text/json)\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderMedia", + "item": [ + { + "name": "DELETE /api/WorkOrder/{id}/media/{mediaId}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/media/:mediaId?workOrderVersion=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "media", + ":mediaId" + ], + "query": [ + { + "key": "workOrderVersion", + "value": "", + "description": "Optional; string", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32); query workOrderVersion (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "DELETE /api/workorders/{id}/media/{mediaId}", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/media/:mediaId?workOrderVersion=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "media", + ":mediaId" + ], + "query": [ + { + "key": "workOrderVersion", + "value": "", + "description": "Optional; string", + "disabled": false + } + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32); query workOrderVersion (optional, string)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}/media", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/media", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "media" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/WorkOrder/{id}/media/{mediaId}/content", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/media/:mediaId/content", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "media", + ":mediaId", + "content" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/media", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/media", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "media" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "GET /api/workorders/{id}/media/{mediaId}/content", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/media/:mediaId/content", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "media", + ":mediaId", + "content" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32)\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/WorkOrder/{id}/media/{mediaId}", + "request": { + "method": "PATCH", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/media/:mediaId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "media", + ":mediaId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "category", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderMediaCategory" + }, + { + "key": "workOrderVersion", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "PATCH /api/workorders/{id}/media/{mediaId}", + "request": { + "method": "PATCH", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/media/:mediaId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "media", + ":mediaId" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + }, + { + "key": "mediaId", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32); path mediaId (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "category", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderMediaCategory" + }, + { + "key": "workOrderVersion", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/WorkOrder/{id}/media", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/WorkOrder/:id/media", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "WorkOrder", + ":id", + "media" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "category", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderMediaCategory" + }, + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/workorders/{id}/media", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/:id/media", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + ":id", + "media" + ], + "variable": [ + { + "key": "id", + "value": "0", + "description": "Required; integer/int32" + } + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderMedia\nOperation ID: not specified\n\nParameters: path id (required, integer/int32)\nRequest body: multipart/form-data; Illustrative placeholder generated from object; replace placeholder values before sending.\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + "body": { + "mode": "formdata", + "formdata": [ + { + "key": "category", + "type": "text", + "value": "1", + "description": "Optional; #/components/schemas/WorkOrderMediaCategory" + }, + { + "key": "ContentType", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "ContentDisposition", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "Headers", + "type": "text", + "value": "[object Object]", + "description": "Optional; object" + }, + { + "key": "Length", + "type": "text", + "value": "0", + "description": "Optional; integer/int64" + }, + { + "key": "Name", + "type": "text", + "value": "", + "description": "Optional; string" + }, + { + "key": "FileName", + "type": "text", + "value": "", + "description": "Optional; string" + } + ], + "description": "Illustrative placeholder generated from object; replace placeholder values before sending." + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderOps", + "item": [ + { + "name": "GET /api/workorders/ops/health", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/workorders/ops/health", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "workorders", + "ops", + "health" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderOps\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200 (text/plain, application/json, text/json)\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderReconciliation", + "item": [ + { + "name": "GET /api/admin/work-order-reconciliation", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/admin/work-order-reconciliation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "admin", + "work-order-reconciliation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderReconciliation\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + }, + { + "name": "POST /api/admin/work-order-reconciliation", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/admin/work-order-reconciliation", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "admin", + "work-order-reconciliation" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderReconciliation\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});" + ] + } + } + ] + } + ] + }, + { + "name": "WorkOrderWebhook", + "item": [ + { + "name": "POST /api/webhooks/work-orders", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{baseUrl}}/api/webhooks/work-orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "webhooks", + "work-orders" + ] + }, + "description": "Source: https://api.dev.seahaven.com/swagger/v1/swagger.json\nTag(s): WorkOrderWebhook\nOperation ID: not specified\n\nParameters: none\nRequest body: none documented\nDocumented response codes: 200\n\nBody values and parameter values are safe illustrative placeholders; review them against the target record before sending." + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "const documented = [200];", + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", "});" ] } diff --git a/scripts/generate-postman-collection.mjs b/scripts/generate-postman-collection.mjs new file mode 100644 index 0000000..39f0d60 --- /dev/null +++ b/scripts/generate-postman-collection.mjs @@ -0,0 +1,375 @@ +#!/usr/bin/env node + +import fs from "node:fs/promises"; +import path from "node:path"; +import process from "node:process"; + +const DEFAULT_SOURCE = "https://api.dev.seahaven.com/swagger/v1/swagger.json"; +const ROOT = path.resolve(new URL("..", import.meta.url).pathname); +const COLLECTION_PATH = path.join(ROOT, "postman", "SeaHaven-Dev.postman_collection.json"); +const ENVIRONMENT_PATH = path.join(ROOT, "postman", "SeaHaven-Dev.postman_environment.json"); +const METHODS = ["get", "post", "put", "patch", "delete", "options", "head", "trace"]; + +const sourceArg = process.argv.find((arg) => arg.startsWith("--source=")); +const inputArg = process.argv.find((arg) => arg.startsWith("--input=")); +const sourceUrl = sourceArg ? sourceArg.slice("--source=".length) : DEFAULT_SOURCE; +const checkOnly = process.argv.includes("--check"); + +function operationEntries(document) { + return Object.entries(document.paths ?? {}).flatMap(([route, pathItem]) => + METHODS.filter((method) => pathItem?.[method]).map((method) => ({ + route, + method, + operation: pathItem[method], + pathParameters: pathItem.parameters ?? [], + })), + ); +} + +function schemaRefName(ref) { + return typeof ref === "string" ? ref.split("/").pop() : undefined; +} + +function resolveSchema(schema, document) { + if (!schema) return undefined; + if (schema.$ref) return document.components?.schemas?.[schemaRefName(schema.$ref)] ?? schema; + return schema; +} + +function safeSample(schema, document, name = "value", depth = 0, seen = new Set()) { + const resolved = resolveSchema(schema, document) ?? {}; + if (depth > 4) return ""; + if (resolved.$ref) { + if (seen.has(resolved.$ref)) return ""; + seen.add(resolved.$ref); + } + if (resolved.enum?.length) return resolved.enum[0]; + if (resolved.oneOf?.length) return safeSample(resolved.oneOf[0], document, name, depth + 1, seen); + if (resolved.anyOf?.length) return safeSample(resolved.anyOf[0], document, name, depth + 1, seen); + if (resolved.allOf?.length) { + return resolved.allOf.reduce((acc, part) => { + const value = safeSample(part, document, name, depth + 1, seen); + return typeof value === "object" && value && !Array.isArray(value) ? { ...acc, ...value } : value; + }, {}); + } + if (resolved.type === "array" || resolved.items) { + return [safeSample(resolved.items ?? {}, document, `${name}Item`, depth + 1, seen)]; + } + if (resolved.type === "object" || resolved.properties || resolved.additionalProperties) { + const object = {}; + for (const [property, propertySchema] of Object.entries(resolved.properties ?? {})) { + object[property] = safeSample(propertySchema, document, property, depth + 1, seen); + } + return object; + } + switch (resolved.format) { + case "date-time": return "2026-01-01T00:00:00Z"; + case "date": return "2026-01-01"; + case "uuid": return "00000000-0000-0000-0000-000000000000"; + case "email": return "user@example.com"; + case "uri": return "https://example.com/resource"; + case "binary": return ""; + default: break; + } + switch (resolved.type) { + case "integer": + case "number": return 0; + case "boolean": return false; + case "null": return null; + default: return ""; + } +} + +function schemaHint(schema) { + if (!schema) return "schema unspecified"; + if (schema.$ref) return schema.$ref; + const bits = [schema.type, schema.format].filter(Boolean); + if (schema.enum?.length) bits.push(`enum: ${schema.enum.join(", ")}`); + return bits.join("/") || "schema"; +} + +function parameterValue(parameter, document) { + const schema = parameter.schema ?? {}; + if (schema.enum?.length) return String(schema.enum[0]); + if (parameter.example !== undefined) return String(parameter.example); + if (schema.type === "boolean") return "false"; + if (["integer", "number"].includes(schema.type)) return "0"; + if (schema.type === "array") return ""; + return ""; +} + +function mergeParameters(entry) { + const parameters = [...entry.pathParameters, ...(entry.operation.parameters ?? [])]; + const seen = new Set(); + return parameters.filter((parameter) => { + const key = `${parameter.in}:${parameter.name}`; + if (seen.has(key)) return false; + seen.add(key); + return ["path", "query", "header"].includes(parameter.in); + }); +} + +function urlFor(entry, parameters) { + const pathParameters = parameters.filter((p) => p.in === "path"); + const queryParameters = parameters.filter((p) => p.in === "query"); + const headerParameters = parameters.filter((p) => p.in === "header"); + const postmanPath = entry.route.replaceAll(/\{([^}]+)\}/g, ":$1"); + const query = queryParameters.map((p) => ({ + key: p.name, + value: parameterValue(p), + description: `${p.required ? "Required" : "Optional"}; ${schemaHint(p.schema)}`, + disabled: false, + })); + const raw = `{{baseUrl}}${postmanPath}${query.length ? `?${query.map((p) => `${p.key}=${p.value}`).join("&")}` : ""}`; + return { + raw, + host: ["{{baseUrl}}"], + path: postmanPath.split("/").filter(Boolean), + ...(query.length ? { query } : {}), + ...(pathParameters.length ? { + variable: pathParameters.map((p) => ({ + key: p.name, + value: parameterValue(p), + description: `${p.required ? "Required" : "Optional"}; ${schemaHint(p.schema)}`, + })), + } : {}), + }; +} + +function bodyFor(entry, document) { + const content = entry.operation.requestBody?.content ?? {}; + const mediaTypes = Object.keys(content); + const jsonType = mediaTypes.find((type) => type === "application/json" || type === "text/json" || type.includes("+json")); + const type = jsonType ?? mediaTypes.find((value) => value === "multipart/form-data") ?? mediaTypes[0]; + if (!type) return undefined; + const schema = content[type]?.schema; + const description = `Illustrative placeholder generated from ${schemaHint(schema)}; replace placeholder values before sending.`; + if (type === "multipart/form-data") { + const resolved = resolveSchema(schema, document) ?? {}; + const formdata = Object.entries(resolved.properties ?? {}).map(([key, propertySchema]) => ({ + key, + type: propertySchema.format === "binary" ? "file" : "text", + ...(propertySchema.format === "binary" ? { src: "" } : { value: String(safeSample(propertySchema, document, key)) }), + description: `${resolved.required?.includes(key) ? "Required" : "Optional"}; ${schemaHint(propertySchema)}`, + })); + return { mode: "formdata", formdata, description }; + } + if (type === "application/octet-stream") return { mode: "file", file: { src: "" }, description }; + if (type.startsWith("text/")) return { mode: "raw", raw: "", options: { raw: { language: "text" } }, description }; + return { mode: "raw", raw: JSON.stringify(safeSample(schema, document), null, 2), options: { raw: { language: "json" } }, description }; +} + +function operationDescription(entry, document, parameters, body) { + const operation = entry.operation; + const responses = Object.entries(operation.responses ?? {}) + .sort(([a], [b]) => a.localeCompare(b)) + .map(([code, response]) => { + const mediaTypes = Object.keys(response.content ?? {}); + return `${code}${mediaTypes.length ? ` (${mediaTypes.join(", ")})` : ""}`; + }) + .join(", ") || "not documented"; + const requestMediaTypes = Object.keys(operation.requestBody?.content ?? {}); + const lines = [ + `Source: ${sourceUrl}`, + `Tag(s): ${(operation.tags ?? ["Other"]).join(", ")}`, + `Operation ID: ${operation.operationId ?? "not specified"}`, + "", + operation.summary ?? "", + operation.description ?? "", + "", + `Parameters: ${parameters.length ? parameters.map((p) => `${p.in} ${p.name} (${p.required ? "required" : "optional"}, ${schemaHint(p.schema)})`).join("; ") : "none"}`, + `Request body: ${body ? `${requestMediaTypes.join(", ") || "media type unspecified"}; ${body.description}` : "none documented"}`, + `Documented response codes: ${responses}`, + "", + "Body values and parameter values are safe illustrative placeholders; review them against the target record before sending.", + ]; + return lines.filter((line, index) => !(line === "" && lines[index - 1] === "")).join("\n").trim(); +} + +function testEvent(operation) { + const codes = Object.keys(operation.responses ?? {}).filter((key) => /^\d{3}$/.test(key)).map(Number); + if (!codes.length) return []; + return [{ + listen: "test", + script: { + type: "text/javascript", + exec: [ + `const documented = [${codes.join(", ")}];`, + "pm.test(\"Response status is documented by OpenAPI\", function () {", + " pm.expect(documented).to.include(pm.response.code);", + "});", + ], + }, + }]; +} + +function requestItem(entry, document) { + const parameters = mergeParameters(entry); + const body = bodyFor(entry, document); + const headers = parameters.filter((p) => p.in === "header").map((p) => ({ + key: p.name, + value: parameterValue(p), + description: `${p.required ? "Required" : "Optional"}; ${schemaHint(p.schema)}`, + })); + if (body?.mode === "raw" && body.options?.raw?.language === "json") headers.push({ key: "Content-Type", value: "application/json" }); + if (body?.mode === "raw" && body.options?.raw?.language === "text") headers.push({ key: "Content-Type", value: "text/plain" }); + const item = { + name: `${entry.method.toUpperCase()} ${entry.route}`, + request: { + method: entry.method.toUpperCase(), + header: headers, + url: urlFor(entry, parameters), + description: operationDescription(entry, document, parameters, body), + ...(body ? { body } : {}), + }, + event: testEvent(entry.operation), + }; + return item; +} + +function setupItems(document) { + const login = operationEntries(document).find((entry) => entry.route.toLowerCase() === "/api/authentication/login" && entry.method === "post"); + const loginSchema = login?.operation.requestBody?.content?.["application/json"]?.schema; + return [ + { + name: "Swagger - OpenAPI document", + request: { + auth: { type: "noauth" }, method: "GET", header: [], + url: { raw: "{{baseUrl}}/swagger/v1/swagger.json", host: ["{{baseUrl}}"], path: ["swagger", "v1", "swagger.json"] }, + description: `Live OpenAPI contract for dev (${sourceUrl}). Import this URL when you need the latest server surface. No auth required.`, + }, + event: [{ listen: "test", script: { type: "text/javascript", exec: [ + "pm.test(\"OpenAPI document responded 200\", function () { pm.response.to.have.status(200); });", + "pm.test(\"OpenAPI document is JSON\", function () { pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\"); });", + "pm.test(\"OpenAPI document has paths\", function () { pm.expect(pm.response.json()).to.have.property(\"paths\"); });", + ] } }], + }, + { + name: "Authentication - Login", + request: { + auth: { type: "noauth" }, method: "POST", header: [{ key: "Content-Type", value: "application/json" }], + body: { mode: "raw", raw: JSON.stringify({ username: "{{username}}", password: "{{password}}" }, null, 2), options: { raw: { language: "json" } }, description: "Credentials are read from the selected secret environment and are never logged." }, + url: { raw: "{{baseUrl}}/api/Authentication/login", host: ["{{baseUrl}}"], path: ["api", "Authentication", "login"] }, + description: `Authentication login from ${sourceUrl}. A successful response stores only the non-empty token in the selected environment. Schema: ${schemaHint(loginSchema)}.`, + }, + event: [ + { listen: "prerequest", script: { type: "text/javascript", exec: [ + "pm.environment.set(\"token\", \"\");", + "const username = pm.environment.get(\"username\");", + "const password = pm.environment.get(\"password\");", + "if (!username || !password) {", + " pm.execution.skipRequest();", + " throw new Error(\"Select the SeaHaven - Dev environment and set username and password before logging in.\");", + "}", + ] } }, + { listen: "test", script: { type: "text/javascript", exec: [ + "pm.test(\"Login responded 200\", function () { pm.response.to.have.status(200); });", + "let body;", + "pm.test(\"Login responded with JSON\", function () { pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\"); body = pm.response.json(); });", + "const token = body && body.token;", + "pm.test(\"Login response contained a non-empty token\", function () { pm.expect(token, \"expected a non-empty token field\").to.be.a(\"string\").and.not.empty; });", + "if (typeof token === \"string\" && token.length > 0) pm.environment.set(\"token\", token);", + ] } }, + ], + }, + ]; +} + +function buildCollection(document) { + const entries = operationEntries(document); + const loginEntry = entries.find((entry) => entry.route.toLowerCase() === "/api/authentication/login" && entry.method === "post"); + const folders = new Map(); + for (const entry of entries) { + if (entry === loginEntry) continue; + const tag = [...(entry.operation.tags ?? ["Other"])].sort()[0] ?? "Other"; + if (!folders.has(tag)) folders.set(tag, []); + folders.get(tag).push(requestItem(entry, document)); + } + const generatedFolders = [...folders.entries()].sort(([a], [b]) => a.localeCompare(b)).map(([name, items]) => ({ + name, + item: items.sort((a, b) => a.name.localeCompare(b.name)), + })); + return { + info: { + name: "SeaHaven - Dev API (OpenAPI generated)", + _postman_id: "a1f0514a-5e9f-41bd-a145-7163671b94db", + description: `Complete Postman collection generated from ${sourceUrl}. It contains every OpenAPI operation in the published dev contract. Dev only. Replace illustrative placeholders before sending requests.`, + schema: "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + }, + auth: { type: "bearer", bearer: [{ key: "token", value: "{{token}}", type: "string" }] }, + variable: [{ key: "baseUrl", value: "https://api.dev.seahaven.com", type: "string" }], + item: [{ name: "Setup", item: setupItems(document) }, ...generatedFolders], + }; +} + +function flattenCollectionItems(items, folder = "") { + return items.flatMap((item) => item.item ? flattenCollectionItems(item.item, `${folder}${item.name}/`) : [{ ...item, folder }]); +} + +function validate(document, collection) { + const sourceEntries = operationEntries(document); + const allItems = flattenCollectionItems(collection.item); + const generated = allItems.filter((item) => !item.folder.startsWith("Setup/")); + const setupLogin = allItems.find((item) => item.name === "Authentication - Login"); + const sourceKeys = new Set(sourceEntries.map((entry) => `${entry.method.toUpperCase()} ${entry.route}`)); + const requestKey = (item) => `${item.request.method} ${item.request.url.raw.replace("{{baseUrl}}", "").replace(/\?.*$/, "").replaceAll(/:([^/]+)/g, "{$1}")}`; + const representedItems = [...generated, setupLogin].filter(Boolean); + const representedKeys = new Set(representedItems.map(requestKey)); + const bodyCount = sourceEntries.filter((entry) => entry.operation.requestBody).length; + const generatedBodyCount = representedItems.filter((item) => item.request.body).length; + const authFailures = generated.filter((item) => item.request.auth?.type === "noauth"); + const authConfig = collection.auth?.type === "bearer" && collection.auth.bearer?.some((entry) => entry.key === "token" && entry.value === "{{token}}"); + const missingKeys = [...sourceKeys].filter((key) => !representedKeys.has(key)); + const extraKeys = [...representedKeys].filter((key) => !sourceKeys.has(key)); + const checks = [ + ["operation count", representedKeys.size, sourceEntries.length], + ["unique operation keys", missingKeys.length + extraKeys.length, 0], + ["request-body coverage", generatedBodyCount, bodyCount], + ["protected operations inherit collection auth", authFailures.length, 0], + ["collection bearer token auth", authConfig, true], + ["login is explicitly noauth", setupLogin?.request?.auth?.type, "noauth"], + ]; + const failures = checks.filter(([, actual, expected]) => actual !== expected); + if (failures.length) { + for (const [label, actual, expected] of failures) console.error(`FAIL ${label}: expected ${expected}, observed ${actual}`); + process.exitCode = 1; + return false; + } + for (const [label, actual, expected] of checks) console.log(`PASS ${label}: ${actual}`); + if (missingKeys.length || extraKeys.length) { + console.error(`Operation key mismatch. Missing: ${missingKeys.join(", ")}; extra: ${extraKeys.join(", ")}`); + process.exitCode = 1; + return false; + } + return true; +} + +async function loadDocument() { + if (inputArg) return JSON.parse(await fs.readFile(inputArg.slice("--input=".length), "utf8")); + const response = await fetch(sourceUrl, { headers: { accept: "application/json" } }); + if (!response.ok) throw new Error(`OpenAPI fetch failed: HTTP ${response.status}`); + const contentType = response.headers.get("content-type") ?? ""; + if (!contentType.includes("json")) throw new Error(`OpenAPI fetch returned non-JSON content type: ${contentType}`); + return response.json(); +} + +const document = await loadDocument(); +const collection = buildCollection(document); +if (checkOnly) { + const existing = JSON.parse(await fs.readFile(COLLECTION_PATH, "utf8")); + validate(document, existing); +} else { + await fs.writeFile(COLLECTION_PATH, `${JSON.stringify(collection, null, 2)}\n`); + await fs.writeFile(ENVIRONMENT_PATH, `${JSON.stringify({ + name: "SeaHaven - Dev", + values: [ + { key: "baseUrl", value: "https://api.dev.seahaven.com", type: "default", enabled: true }, + { key: "username", value: "", type: "secret", enabled: true }, + { key: "password", value: "", type: "secret", enabled: true }, + { key: "token", value: "", type: "secret", enabled: true }, + ], + _postman_variable_scope: "environment", + }, null, 2)}\n`); + console.log(`Generated ${operationEntries(document).length} operations at ${COLLECTION_PATH}`); + validate(document, collection); +}