mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 09:33:13 +00:00
* docs: add dev Postman starter collection * docs: generate complete dev Postman API collection
19314 lines
751 KiB
JSON
19314 lines
751 KiB
JSON
{
|
|
"info": {
|
|
"name": "SeaHaven - Dev API (OpenAPI generated)",
|
|
"_postman_id": "a1f0514a-5e9f-41bd-a145-7163671b94db",
|
|
"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": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"variable": [
|
|
{
|
|
"key": "baseUrl",
|
|
"value": "https://api.dev.seahaven.com",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"item": [
|
|
{
|
|
"name": "Setup",
|
|
"item": [
|
|
{
|
|
"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 (https://api.dev.seahaven.com/swagger/v1/swagger.json). 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": "{\n \"username\": \"{{username}}\",\n \"password\": \"{{password}}\"\n}",
|
|
"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 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": [
|
|
{
|
|
"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);"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Account",
|
|
"item": [
|
|
{
|
|
"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\": \"<string>\",\n \"type\": \"<string>\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"<string>\",\n \"about\": \"<string>\",\n \"tags\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"industryId\": 0,\n \"timeZone\": \"<string>\",\n \"website\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"serviceInstructions\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\"\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\": \"<string>\",\n \"type\": \"<string>\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"<string>\",\n \"about\": \"<string>\",\n \"tags\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"industryId\": 0,\n \"timeZone\": \"<string>\",\n \"website\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"serviceInstructions\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"type\": \"<string>\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"<string>\",\n \"about\": \"<string>\",\n \"tags\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"industryId\": 0,\n \"timeZone\": \"<string>\",\n \"website\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"serviceInstructions\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\"\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\": \"<string>\",\n \"type\": \"<string>\",\n \"importance\": 0,\n \"territoryId\": 0,\n \"ownerEmployeeId\": 0,\n \"privacySetting\": \"<string>\",\n \"about\": \"<string>\",\n \"tags\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"industryId\": 0,\n \"timeZone\": \"<string>\",\n \"website\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"serviceInstructions\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\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\": \"<string>\",\n \"newpassword\": \"<string>\",\n \"confirmpassword\": \"<string>\"\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\": \"<string>\",\n \"password\": \"<string>\",\n \"code\": \"<string>\"\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Email",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Contact",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Role",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"recordID\": 0,\n \"recordName\": \"<string>\",\n \"recordTargetType\": \"<string>\",\n \"reminderMinutes\": 0,\n \"eventColor\": \"<string>\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"startTime\": \"<string>\",\n \"endDate\": \"2026-01-01T00:00:00Z\",\n \"endTime\": \"<string>\",\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\": \"<string>\",\n \"description\": \"<string>\",\n \"location\": \"<string>\",\n \"recordID\": 0,\n \"recordName\": \"<string>\",\n \"recordTargetType\": \"<string>\",\n \"reminderMinutes\": 0,\n \"eventColor\": \"<string>\",\n \"startDate\": \"2026-01-01T00:00:00Z\",\n \"startTime\": \"<string>\",\n \"endDate\": \"2026-01-01T00:00:00Z\",\n \"endTime\": \"<string>\",\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\": \"<string>\",\n \"owner\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"contactType\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"email\": \"<string>\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"owner\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"contactType\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"email\": \"<string>\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"owner\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"contactType\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"email\": \"<string>\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"owner\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"contactType\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"email\": \"<string>\",\n \"address1\": \"<string>\",\n \"address2\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"facebookUrl\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"twitterUrl\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"value\": \"<string>\",\n \"parentValue\": \"<string>\",\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\": \"<string>\",\n \"value\": \"<string>\",\n \"parentValue\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\n \"lastName\": \"<string>\",\n \"jobTitleId\": 0,\n \"permissionGroupId\": 0,\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"phoneExtension\": \"<string>\",\n \"status\": \"<string>\",\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\": \"<string>\",\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\": \"<string>\",\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\": \"<string>\",\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\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"name\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zipCode\": \"<string>\",\n \"phone\": \"<string>\",\n \"contact\": \"<string>\",\n \"contactEmail\": \"<string>\",\n \"status\": \"<string>\",\n \"accountId\": \"<string>\"\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\": \"<string>\",\n \"frequency\": \"<string>\",\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\": \"<string>\",\n \"frequency\": \"<string>\",\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\": \"<string>\",\n \"date\": \"<string>\",\n \"tt\": \"<string>\",\n \"po\": \"<string>\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"<string>\",\n \"siteName\": \"<string>\",\n \"siteId\": \"<string>\",\n \"billingAddress\": \"<string>\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"<string>\"\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\": \"<string>\",\n \"date\": \"<string>\",\n \"tt\": \"<string>\",\n \"po\": \"<string>\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"<string>\",\n \"siteName\": \"<string>\",\n \"siteId\": \"<string>\",\n \"billingAddress\": \"<string>\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"<string>\"\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\": \"<string>\",\n \"date\": \"<string>\",\n \"tt\": \"<string>\",\n \"po\": \"<string>\",\n \"contactId\": 0,\n \"workorderId\": 0,\n \"projectName\": \"<string>\",\n \"siteName\": \"<string>\",\n \"siteId\": \"<string>\",\n \"billingAddress\": \"<string>\",\n \"lineItems\": [\n {\n \"lineitemNumber\": 0,\n \"lineitem\": 0,\n \"descriptions\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"description\": \"<string>\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"<string>\",\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\": \"<string>\",\n \"description\": \"<string>\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"<string>\",\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\": \"<string>\",\n \"description\": \"<string>\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"<string>\",\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\": \"<string>\",\n \"description\": \"<string>\",\n \"isActive\": false,\n \"items\": [\n {\n \"itemText\": \"<string>\",\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"role\": \"<string>\",\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": [],
|
|
"url": {
|
|
"raw": "{{baseUrl}}/api/User/UserProfile",
|
|
"host": [
|
|
"{{baseUrl}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"User",
|
|
"UserProfile"
|
|
]
|
|
},
|
|
"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": "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\": \"<string>\",\n \"email\": \"<string>\",\n \"contact\": \"<string>\",\n \"role\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"role\": \"<string>\",\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/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}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"vendors",
|
|
"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": "POST /api/Vendor",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"url": {
|
|
"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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"notes\": \"<string>\"\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\": \"<string>\",\n \"companyId\": 0,\n \"contactName\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\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\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"notes\": \"<string>\"\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\": \"<string>\",\n \"addTechnicians\": [\n {\n \"id\": 0,\n \"contactName\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\n \"isActive\": false\n }\n ],\n \"companyFields\": {\n \"name\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"email\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\"\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\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"email\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\n \"technicians\": [\n {\n \"id\": 0,\n \"contactName\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"companyPhone\": \"<string>\",\n \"email\": \"<string>\",\n \"address\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"googleMapsUrl\": \"<string>\",\n \"notes\": \"<string>\",\n \"technicians\": [\n {\n \"id\": 0,\n \"contactName\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"preferredContact\": \"<string>\",\n \"tradeSpecialties\": \"<string>\",\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\": \"<string>\",\n \"paymentStatus\": \"<string>\",\n \"invoiceNumber\": \"<string>\"\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\": \"<string>\",\n \"rejectionReason\": \"<string>\"\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\": \"<string>\",\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\": \"<string>\"\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": "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/vendor-portal/dispatches/{id}",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "{{baseUrl}}/api/vendor-portal/dispatches/:id",
|
|
"host": [
|
|
"{{baseUrl}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"vendor-portal",
|
|
"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/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\": \"<string>\"\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "replacesDocumentId",
|
|
"type": "text",
|
|
"value": "0",
|
|
"description": "Optional; integer/int32"
|
|
},
|
|
{
|
|
"key": "purpose",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "replacesDocumentId",
|
|
"type": "text",
|
|
"value": "0",
|
|
"description": "Optional; integer/int32"
|
|
},
|
|
{
|
|
"key": "purpose",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"signature\": \"<string>\",\n \"signatureMethod\": \"<string>\",\n \"signoffType\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"requestKey\": \"<string>\",\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\": \"<string>\",\n \"requestKey\": \"<string>\",\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\": \"<string>\"\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "replacesDocumentId",
|
|
"type": "text",
|
|
"value": "0",
|
|
"description": "Optional; integer/int32"
|
|
},
|
|
{
|
|
"key": "purpose",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "replacesDocumentId",
|
|
"type": "text",
|
|
"value": "0",
|
|
"description": "Optional; integer/int32"
|
|
},
|
|
{
|
|
"key": "purpose",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"signature\": \"<string>\",\n \"signatureMethod\": \"<string>\",\n \"signoffType\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\n \"requestKey\": \"<string>\",\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\": \"<string>\",\n \"requestKey\": \"<string>\",\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\": \"<string>\",\n \"workerOrderTitle\": \"<string>\",\n \"description\": \"<string>\",\n \"po\": \"<string>\",\n \"tt\": \"<string>\",\n \"assignTo\": \"<string>\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"priority\": 1,\n \"status\": 1,\n \"locationId\": 0,\n \"problem\": \"<string>\",\n \"trade\": \"<string>\",\n \"subTrade\": \"<string>\",\n \"vendorNTE\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"source\": \"<string>\",\n \"attachments\": [\n \"<binary file>\"\n ],\n \"beforPhotoIssue\": \"<string>\",\n \"beforPhotoAttachment\": \"<binary file>\",\n \"afterPhotoIssue\": \"<string>\",\n \"afterPhotoAttachment\": \"<binary file>\",\n \"signOffName\": \"<string>\",\n \"signOffAttachment\": \"<binary file>\",\n \"signOffSignature\": \"<string>\",\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\": \"<string>\",\n \"workerOrderTitle\": \"<string>\",\n \"description\": \"<string>\",\n \"po\": \"<string>\",\n \"tt\": \"<string>\",\n \"assignTo\": \"<string>\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"priority\": 1,\n \"status\": 1,\n \"locationId\": 0,\n \"problem\": \"<string>\",\n \"trade\": \"<string>\",\n \"subTrade\": \"<string>\",\n \"vendorNTE\": 0,\n \"scheduledDate\": \"2026-01-01T00:00:00Z\",\n \"completedDate\": \"2026-01-01T00:00:00Z\",\n \"source\": \"<string>\",\n \"attachments\": [\n \"<binary file>\"\n ],\n \"beforPhotoIssue\": \"<string>\",\n \"beforPhotoAttachment\": \"<binary file>\",\n \"afterPhotoIssue\": \"<string>\",\n \"afterPhotoAttachment\": \"<binary file>\",\n \"signOffName\": \"<string>\",\n \"signOffAttachment\": \"<binary file>\",\n \"signOffSignature\": \"<string>\",\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": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "CommentType",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\",\n \"document\": \"<binary file>\",\n \"workorderId\": 0,\n \"createdDate\": \"2026-01-01T00:00:00Z\",\n \"userId\": \"<string>\",\n \"commentType\": \"<string>\"\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Trade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SubTrade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Attachments",
|
|
"type": "text",
|
|
"value": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "CommentType",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\",\n \"document\": \"<binary file>\",\n \"workorderId\": 0,\n \"createdDate\": \"2026-01-01T00:00:00Z\",\n \"userId\": \"<string>\",\n \"commentType\": \"<string>\"\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Trade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SubTrade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Attachments",
|
|
"type": "text",
|
|
"value": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Trade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SubTrade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Attachments",
|
|
"type": "text",
|
|
"value": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "WorkerOrderTitle",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Description",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "PO",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "TT",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AssignTo",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Trade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SubTrade",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "Attachments",
|
|
"type": "text",
|
|
"value": "<binary file>",
|
|
"description": "Optional; array"
|
|
},
|
|
{
|
|
"key": "BeforPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "BeforPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "AfterPhotoIssue",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "AfterPhotoAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "SignOffAttachment",
|
|
"type": "file",
|
|
"src": "",
|
|
"description": "Optional; string/binary"
|
|
},
|
|
{
|
|
"key": "SignOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": [],
|
|
"url": {
|
|
"raw": "{{baseUrl}}/api/workorders/lookups/dispatchers",
|
|
"host": [
|
|
"{{baseUrl}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"workorders",
|
|
"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": "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\": \"<string>\",\n \"value\": \"<string>\",\n \"workOrderVersion\": \"<string>\",\n \"dispatchVersion\": \"<string>\",\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\": \"<string>\",\n \"value\": \"<string>\",\n \"workOrderVersion\": \"<string>\",\n \"dispatchVersion\": \"<string>\",\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\": \"<string>\",\n \"workOrderType\": 1,\n \"isAddOn\": false,\n \"siteCode\": \"<string>\",\n \"customer\": \"<string>\",\n \"description\": \"<string>\",\n \"trade\": \"<string>\",\n \"primaryService\": \"<string>\",\n \"extraServices\": [\n \"<string>\"\n ],\n \"serviceNotes\": \"<string>\",\n \"avetaRequired\": false,\n \"locationId\": 0,\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"assignTo\": \"<string>\",\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\": \"<string>\",\n \"pocContactId\": 0,\n \"pocName\": \"<string>\",\n \"pocPhone\": \"<string>\",\n \"pocNotes\": \"<string>\",\n \"additionalContacts\": [\n {\n \"name\": \"<string>\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\"\n }\n ],\n \"techPhone\": \"<string>\",\n \"vendorNotes\": \"<string>\",\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\": \"<string>\",\n \"workOrderType\": 1,\n \"isAddOn\": false,\n \"siteCode\": \"<string>\",\n \"customer\": \"<string>\",\n \"description\": \"<string>\",\n \"trade\": \"<string>\",\n \"primaryService\": \"<string>\",\n \"extraServices\": [\n \"<string>\"\n ],\n \"serviceNotes\": \"<string>\",\n \"avetaRequired\": false,\n \"locationId\": 0,\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"assignTo\": \"<string>\",\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\": \"<string>\",\n \"pocContactId\": 0,\n \"pocName\": \"<string>\",\n \"pocPhone\": \"<string>\",\n \"pocNotes\": \"<string>\",\n \"additionalContacts\": [\n {\n \"name\": \"<string>\",\n \"phone\": \"<string>\",\n \"notes\": \"<string>\"\n }\n ],\n \"techPhone\": \"<string>\",\n \"vendorNotes\": \"<string>\",\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "signOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "signOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "workOrderVersion",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\",\n \"serviceKey\": \"<string>\",\n \"workOrderType\": 1,\n \"templateUrl\": \"<string>\",\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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "signOffName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "signOffSignature",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "workOrderVersion",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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\": \"<string>\",\n \"serviceKey\": \"<string>\",\n \"workOrderType\": 1,\n \"templateUrl\": \"<string>\",\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\": \"<string>\",\n \"serviceKey\": \"<string>\",\n \"workOrderType\": 1,\n \"templateUrl\": \"<string>\",\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\": \"<string>\",\n \"serviceKey\": \"<string>\",\n \"workOrderType\": 1,\n \"templateUrl\": \"<string>\",\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"signature\": \"<string>\",\n \"signatureMethod\": \"<string>\"\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\": \"<string>\",\n \"taskListTemplateId\": 0,\n \"customChecklistItems\": [\n \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\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\": \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\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\": \"<string>\",\n \"name\": \"<string>\",\n \"signature\": \"<string>\",\n \"signatureMethod\": \"<string>\"\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\": \"<string>\",\n \"taskListTemplateId\": 0,\n \"customChecklistItems\": [\n \"<string>\"\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\": \"<string>\"\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\": \"<string>\",\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\": \"<string>\"\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\": \"<string>\",\n \"description\": \"<string>\",\n \"woStatus\": \"<string>\",\n \"severity\": \"<string>\",\n \"customer\": \"<string>\",\n \"siteCode\": \"<string>\",\n \"building\": \"<string>\",\n \"address\": \"<string>\",\n \"dueDate\": \"2026-01-01T00:00:00Z\",\n \"dateReported\": \"2026-01-01T00:00:00Z\",\n \"scheduledStart\": \"2026-01-01T00:00:00Z\",\n \"sourceEmailS3Key\": \"<string>\",\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": "<string>",
|
|
"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": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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": "<string>",
|
|
"description": "Optional; string"
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"type": "text",
|
|
"value": "<string>",
|
|
"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);",
|
|
"});"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|