{ "info": { "_postman_id": "6276b967-aa97-4e95-9867-69255c452079", "name": "Agave API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "18870082", "_collection_link": "https://agave-api.postman.co/workspace/Agave-API~015f76b0-3328-47e1-ba17-e7774871b77c/collection/18870082-6276b967-aa97-4e95-9867-69255c452079?action=share&source=collection_link&creator=18870082" }, "item": [ { "name": "Common", "item": [ { "name": "Toggle Source Data", "item": [ { "name": "Enable", "event": [ { "listen": "prerequest", "script": { "exec": [ "postman.setGlobalVariable(\"include_source_data\", true);" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{domain}}/ping", "host": [ "{{domain}}" ], "path": [ "ping" ] } } }, { "name": "Disable", "event": [ { "listen": "prerequest", "script": { "exec": [ "postman.setGlobalVariable(\"include_source_data\", false);" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{domain}}/ping", "host": [ "{{domain}}" ], "path": [ "ping" ] } } } ] }, { "name": "Link", "item": [ { "name": "Token", "item": [ { "name": "Create", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/token/create", "host": [ "{{domain}}" ], "path": [ "link", "token", "create" ] } } }, { "name": "Exchange", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"public_token\": \"iaZytJMCQnfkEfOfHXL1eNAdRbor2UjoBQFt8x6U\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/token/exchange", "host": [ "{{domain}}" ], "path": [ "link", "token", "exchange" ] } } } ] }, { "name": "Session", "item": [ { "name": "Create (Mode)", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"test session\",\n \"ttl\": \"21600\",\n \"mode\": \"file-picker\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/sessions", "host": [ "{{domain}}" ], "path": [ "link", "sessions" ] } } }, { "name": "Create (Scopes)", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"test session\",\n \"ttl\": \"1800\",\n \"scopes\": [\n \"link:read\",\n \"projects:read\",\n \"documents:read\",\n \"drawings:read\",\n \"specification-sections:read\"\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/sessions", "host": [ "{{domain}}" ], "path": [ "link", "sessions" ] } } }, { "name": "List", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/sessions", "host": [ "{{domain}}" ], "path": [ "link", "sessions" ] } } }, { "name": "Extend", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/sessions/xxx/extend", "host": [ "{{domain}}" ], "path": [ "link", "sessions", "xxx", "extend" ] } } }, { "name": "Expire", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/sessions/xxx/expire", "host": [ "{{domain}}" ], "path": [ "link", "sessions", "xxx", "expire" ] } } } ] }, { "name": "Linked Account", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/account", "host": [ "{{domain}}" ], "path": [ "link", "account" ] } } }, { "name": "Edit Link", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/edit", "host": [ "{{domain}}" ], "path": [ "link", "edit" ] } } }, { "name": "Source System", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/source-system", "host": [ "{{domain}}" ], "path": [ "link", "source-system" ] } } }, { "name": "Source Systems", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/source-systems", "host": [ "{{domain}}" ], "path": [ "link", "source-systems" ] } } }, { "name": "Connection", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "type": "text" } ], "url": { "raw": "{{domain}}/link/connection", "host": [ "{{domain}}" ], "path": [ "link", "connection" ] } } }, { "name": "Rate Limits", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/rate-limits", "host": [ "{{domain}}" ], "path": [ "link", "rate-limits" ] } } }, { "name": "Linked Company", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/company", "host": [ "{{domain}}" ], "path": [ "link", "company" ] } } }, { "name": "List All Companies", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/companies", "host": [ "{{domain}}" ], "path": [ "link", "companies" ] } } }, { "name": "Linked User", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/user", "host": [ "{{domain}}" ], "path": [ "link", "user" ] } } }, { "name": "Create OAuth2 Account", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"xxxxx-from-postman\",\n \"source_system\": \"pipedrive\",\n \"connection\": {\n \"type\" :\"oauth2\",\n \"properties\": {\n \"grant_type\": \"authorization_code\",\n \"code\": \"xxxxxxxx\"\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/account/create", "host": [ "{{domain}}" ], "path": [ "link", "account", "create" ] } } }, { "name": "Create Debug Session", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"xxx-ref\",\n \"source_system\": \"foundation-hosted\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/link/debug/session", "host": [ "{{domain}}" ], "path": [ "link", "debug", "session" ] } } }, { "name": "Revoke All Tokens", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/link/revoke-tokens", "host": [ "{{domain}}" ], "path": [ "link", "revoke-tokens" ] } } } ] }, { "name": "Async Requests", "item": [ { "name": "Get Async Request", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/async-requests/{{async_request_id}}", "host": [ "{{domain}}" ], "path": [ "async-requests", "{{async_request_id}}" ] } } } ] }, { "name": "Admin", "item": [ { "name": "One Account", "item": [ { "name": "Show Account", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts/734f163a-247f-4fb4-8b28-86d41aee12bd", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "734f163a-247f-4fb4-8b28-86d41aee12bd" ] } } }, { "name": "List Account Sessions", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts/734f163a-247f-4fb4-8b28-86d41aee12bd/sessions", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "734f163a-247f-4fb4-8b28-86d41aee12bd", "sessions" ] } } }, { "name": "List Account Events", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts/734f163a-247f-4fb4-8b28-86d41aee12bd/events", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "734f163a-247f-4fb4-8b28-86d41aee12bd", "events" ] } } }, { "name": "List Account Requests", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts/734f163a-247f-4fb4-8b28-86d41aee12bd/requests", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "734f163a-247f-4fb4-8b28-86d41aee12bd", "requests" ] } } }, { "name": "List Account Errors", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts/734f163a-247f-4fb4-8b28-86d41aee12bd/requests", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "734f163a-247f-4fb4-8b28-86d41aee12bd", "requests" ] } } } ] }, { "name": "List Accounts", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/accounts", "host": [ "{{domain}}" ], "path": [ "admin", "accounts" ] } } }, { "name": "Link Tokens", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"reference_id\": \"user-12345\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/admin/link-tokens", "host": [ "{{domain}}" ], "path": [ "admin", "link-tokens" ] } } }, { "name": "Revoke All Tokens For Account", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/admin/accounts/89a21885-da85-4c0e-8bba-f650a1c6751b/revoke-tokens", "host": [ "{{domain}}" ], "path": [ "admin", "accounts", "89a21885-da85-4c0e-8bba-f650a1c6751b", "revoke-tokens" ] } } }, { "name": "Cache", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('cache_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "url": { "raw": "{{domain}}/cache/repopulate?type=Project", "host": [ "{{domain}}" ], "path": [ "cache", "repopulate" ], "query": [ { "key": "type", "value": "Project" } ] } } }, { "name": "Cache Status", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/cache/{{cache_id}}", "host": [ "{{domain}}" ], "path": [ "cache", "{{cache_id}}" ] } } }, { "name": "Cache Latest Status", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/cache/repopulate/latest?type=vendor", "host": [ "{{domain}}" ], "path": [ "cache", "repopulate", "latest" ], "query": [ { "key": "type", "value": "vendor" } ] } } } ] } ] }, { "name": "Financials Management", "item": [ { "name": "Assets", "item": [ { "name": "List Assets", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/assets", "host": [ "{{domain}}" ], "path": [ "assets" ] } } }, { "name": "Show Asset", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/assets/{{asset_id}}", "host": [ "{{domain}}" ], "path": [ "assets", "{{asset_id}}" ] } } }, { "name": "Update Asset", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"category\": \"EQUIPMENT\",\n \"current_location_id\": \"*\",\n \"default_location_id\": \"001-NY\",\n \"description\": \"Ford F250 Pickup Truck\",\n \"make\": \"Ford\",\n \"manufacturer\": null,\n \"model\": \"F250\",\n \"name\": \"FORD F250 PICKUP\",\n \"number\": \"1000245\",\n \"ownership_type\": null,\n \"serial_number\": \"S8XEE769789\",\n \"status\": \"Active\",\n \"type\": \"1000\",\n \"source_data\": {\n \"EmeHomelocName\": \"New York Yard / Warehouse\",\n \"EmeBulkEquipmentFlag\": \"Y\",\n \"EmeAutoChargeoutFlag\": \"Y\",\n \"EmeEqpHier\": \"999\",\n \"EmeBillRateRequiredFlag\": \"N\",\n \"EmeFloatFlag\": \"N\",\n \"EmeFixedAssetsFlag\": \"Y\",\n \"EmeDepreciationFlag\": \"N\",\n \"EmeUseMeterReadingFlag\": \"N\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/assets/{{asset_id}}", "host": [ "{{domain}}" ], "path": [ "assets", "{{asset_id}}" ] } } }, { "name": "New Asset", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('asset_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"category\": \"EQUIPMENT\",\n \"current_location_id\": \"*\",\n \"default_location_id\": \"001-NY\",\n \"description\": \"Ford F250 Pickup Truck\",\n \"make\": \"Ford\",\n \"manufacturer\": null,\n \"model\": \"F250\",\n \"name\": \"FORD F250 PICKUP Test\",\n \"number\": \"100024696\",\n \"ownership_type\": null,\n \"serial_number\": \"S8XEE906\",\n \"status\": \"Active\",\n \"type\": \"1000\",\n \"vendor_id\": \"00a46e09-d013-5818-9bb6-871f0953148f\",\n \"source_data\": {\n \"EmeHomelocName\": \"New York Yard / Warehouse\",\n \"EmeBulkEquipmentFlag\": \"Y\",\n \"EmeAutoChargeoutFlag\": \"Y\",\n \"EmeEqpHier\": \"A126\",\n \"EmeBillRateRequiredFlag\": \"N\", \n \"EmeFixedAssetsFlag\": \"Y\",\n \"EmeDepreciationFlag\": \"N\",\n \"EmeUseMeterReadingFlag\": \"N\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/assets", "host": [ "{{domain}}" ], "path": [ "assets" ] } } } ] }, { "name": "AP Invoice", "item": [ { "name": "Header", "item": [ { "name": "List AP Invoices", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" }, { "key": "Async-Request", "value": "1", "disabled": true }, { "key": "Should-Write-To-Cache", "value": "1", "disabled": true }, { "key": "Should-Read-From-Cache", "value": "1", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"order_by\": [\n// {\n// \"field\": \"due_date\", \n// \"dir\": \"DESC\"\n// }\n// ]\n// }\n\n// {\n// \"filters\": [\n// {\n// \"field\": \"number\",\n// \"operator\": \"=\",\n// \"value\": \"xxx\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-invoices", "host": [ "{{domain}}" ], "path": [ "ap-invoices" ] } } }, { "name": "Show AP Invoice", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}" ] } } }, { "name": "New AP Invoice", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ap_invoice_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"Voucher\",\n \"issue_date\": \"2024-03-02\",\n \"vendor_id\": \"{{vendor_id}}\",\n \"contract\": {\n \"id\": \"{{subcontract_id}}\",\n \"type\": \"subcontract\"\n },\n \"number\": \"sz-001\",\n \"line_items\": [\n {\n \"amount\": \"10\",\n \"quantity\": \"0\",\n \"contract\": {\n \"id\": \"{{subcontract_id}}\",\n \"line_item_id\": \"{{subcontract_line_item_id}}\"\n }\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-invoices", "host": [ "{{domain}}" ], "path": [ "ap-invoices" ] } } }, { "name": "New AP Invoice (form-data)", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ap_invoice_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "attachments[0]", "type": "file", "src": "/Users/pooriaazimi/Downloads/dummy.pdf" }, { "key": "attachments[1]", "type": "file", "src": "/Users/pooriaazimi/Downloads/test.pdf" }, { "key": "description", "value": "Test {{$randomBsNoun}}", "type": "text" }, { "key": "discount_amount", "value": "12.20", "type": "text" }, { "key": "discount_date", "value": "2023-08-25", "type": "text" }, { "key": "batch", "value": "003", "type": "text" }, { "key": "due_date", "value": "2023-09-30", "type": "text" }, { "key": "issue_date", "value": "2023-08-20", "type": "text" }, { "key": "number", "value": "TST-FORM-{{$randomInt}}", "type": "text" }, { "key": "status", "value": "Unapproved", "type": "text" }, { "key": "subtotal_amount", "value": "225.00", "type": "text" }, { "key": "tax_amount", "value": "25.00", "type": "text" }, { "key": "vendor_id", "value": "{{vendor_id}}", "type": "text" }, { "key": "line_items[0][amount]", "value": "120.00", "type": "text" }, { "key": "line_items[0][cost_code_id]", "value": "source_id:0010", "type": "text" }, { "key": "line_items[0][cost_type_id]", "value": "source_id:L", "type": "text" }, { "key": "line_items[0][description]", "value": "Test Line {{$randomInt}}", "type": "text" }, { "key": "line_items[0][item_id]", "value": "{{item_id}}", "type": "text" }, { "key": "line_items[0][ledger_account_id]", "value": "source_id:2050", "type": "text" }, { "key": "line_items[0][project_id]", "value": "{{project_id}}", "type": "text" }, { "key": "line_items[0][quantity]", "value": "4.00", "type": "text" }, { "key": "line_items[0][tax_code_id]", "value": "{{tax_code_id}}", "type": "text" }, { "key": "line_items[0][unit_cost]", "value": "30.00", "type": "text" }, { "key": "line_items[1][amount]", "value": "105.00", "type": "text" }, { "key": "line_items[1][cost_code_id]", "value": "source_id:0100", "type": "text" }, { "key": "line_items[1][cost_type_id]", "value": "source_id:L", "type": "text" }, { "key": "line_items[1][description]", "value": "Test Line {{$randomInt}}", "type": "text" }, { "key": "line_items[1][ledger_account_id]", "value": "source_id:2050", "type": "text" }, { "key": "line_items[1][project_id]", "value": "{{project_id}}", "type": "text" }, { "key": "line_items[1][unit_of_measure]", "value": "EA", "type": "text" }, { "key": "source_data[Cost_Center]", "value": "1010", "type": "text", "disabled": true }, { "key": "source_data[Bank_Account_Code]", "value": "VENDRIX", "type": "text", "disabled": true }, { "key": "source_data[Payment_Status]", "value": "C", "type": "text", "disabled": true } ] }, "url": { "raw": "{{domain}}/ap-invoices", "host": [ "{{domain}}" ], "path": [ "ap-invoices" ] } } }, { "name": "Update AP Invoice", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"apple\",\n \"due_date\": \"2023-05-11\",\n \"issue_date\": \"2023-04-11\",\n \"number\": \"3\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}" ] } } }, { "name": "Delete AP Invoice", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List AP Invoice Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}", "line-items" ] } } }, { "name": "Show AP Invoice Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}/line-items/{{ap_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}", "line-items", "{{ap_invoice_line_item_id}}" ] } } }, { "name": "New AP Invoice Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ap_invoice_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"1.3\",\n \"description\": \"test item\",\n \"quantity\": \"1.0\",\n \"unit_cost\": \"1.3\",\n \"type\": \"AccountBasedExpenseLineDetail\",\n \"customer_id\": \"{{customer_id}}\",\n \"status\": \"NotBillable\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}", "line-items" ] } } }, { "name": "Update AP Invoice Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"discount_amount\": \"{{$randomInt}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}/line-items/{{ap_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}", "line-items", "{{ap_invoice_line_item_id}}" ] } } }, { "name": "Delete AP Invoice Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-invoices/{{ap_invoice_id}}/line-items/{{ap_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ap-invoices", "{{ap_invoice_id}}", "line-items", "{{ap_invoice_line_item_id}}" ] } } } ] } ] }, { "name": "AP Payment", "item": [ { "name": "Header", "item": [ { "name": "List AP Payments", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true }, { "key": "Async-Request", "value": "1", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"source_data.Vendor\",\n// \"operator\": \"=\",\n// \"value\": \"5\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-payments", "host": [ "{{domain}}" ], "path": [ "ap-payments" ] } } }, { "name": "Show AP Payment", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}" ] } } }, { "name": "New AP Payment", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ap_payment_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"bank_account_id\": \"source_id:35\",\n \"description\": \"Test AP Payment\",\n \"number\": \"PA-013-PAY\",\n \"payment_date\": \"2024-01-01\",\n \"payment_method\": \"Check\",\n \"total_amount\": \"10.00\",\n \"vendor_id\": \"source_id:10\",\n \"line_items\": [\n {\n \"ap_invoice_id\": \"{{ap_invoice_id}}\",\n \"discount_taken_amount\": null,\n \"total_amount\": \"5.00\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-payments", "host": [ "{{domain}}" ], "path": [ "ap-payments" ] } } }, { "name": "Update AP Payment", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"apple\",\n \"due_date\": \"2/2/22\",\n \"issue_date\": \"1/1/11\",\n \"number\": \"3\",\n \"vendor_id\": \"82be2b68-5e42-5e04-b54d-4ceafc8eea92\",\n \"line_items\": [\n {\n \"amount\": 103,\n \"description\": \"newnew2\",\n \"quantity\": 203,\n \"status\": \"Billable\",\n \"type\": \"AccountBasedExpenseLineDetail\",\n \"unit_cost\": 303,\n \"account_id\": \"e6254e11-d683-5b14-95ba-47bd37aefa17\",\n \"item_id\": \"bdbb5e32-502e-525b-a98d-d6e461a0fad2\",\n \"customer_id\": \"9e46c938-6ffc-5841-b37d-b2589ce437fb\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}" ] } } }, { "name": "Delete AP Payment", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List AP Payment Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}", "line-items" ] } } }, { "name": "Show AP Payment Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}/line-items/{{ap_payment_line_item_id}}?contract_id=c343804e-db6a-5ac7-b639-cd10f0caafcd&contract_type=subcontract", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}", "line-items", "{{ap_payment_line_item_id}}" ], "query": [ { "key": "contract_id", "value": "c343804e-db6a-5ac7-b639-cd10f0caafcd" }, { "key": "contract_type", "value": "subcontract" } ] } } }, { "name": "New AP Payment Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ap_invoice_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": " {\n \"ap_invoice_id\": \"source_id:454800\",\n \"total_amount\": \"600.00\"\n }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}", "line-items" ] } } }, { "name": "Update AP Payment Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": 100,\n \"description\": \"Two tons of cement!\",\n \"quantity\": null,\n \"status\": \"Billable\",\n \"type\": \"AccountBasedExpenseLineDetail\",\n \"unit_cost\": null,\n \"ledger_account_id\": \"c0d61b50-1e58-5844-86aa-c4f42a601808\",\n \"item_id\": null,\n \"customer_id\": \"693f8cb6-f10e-5c6b-a4c8-6e2dbe738d8c\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}/line-items/{{ap_payment_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}", "line-items", "{{ap_payment_line_item_id}}" ] } } }, { "name": "Delete AP Payment Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ap-payments/{{ap_payment_id}}/line-items/{{ap_payment_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ap-payments", "{{ap_payment_id}}", "line-items", "{{ap_payment_line_item_id}}" ] } } } ] } ] }, { "name": "AR Invoices", "item": [ { "name": "Header", "item": [ { "name": "List AR Invoices", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"source_create_time\",\n// \"operator\": \">=\",\n// \"value\": \"2024-08-15T00:00:00Z\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices", "host": [ "{{domain}}" ], "path": [ "ar-invoices" ], "query": [ { "key": "filters[]", "value": "{\"field\":\"amount_due\",\"operator\":\"=\",\"value\":\"0\"}", "disabled": true }, { "key": "filters[]", "value": "{\"field\":\"amount_due\",\"operator\":\">\",\"value\":\"1\"}", "disabled": true }, { "key": "filters[]", "value": "{\"field\":\"status\",\"operator\":\"=\",\"value\":\"Paid\"}", "disabled": true }, { "key": "status", "value": "Paid", "disabled": true }, { "key": "type", "value": "Progress Bill", "disabled": true } ] } } }, { "name": "Show AR Invoice", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}" ] } } }, { "name": "New AR Invoice", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ar_invoice_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"batch\": \"10916\",\n \"customer_id\": \"source_id:3507331\",\n \"issue_date\": \"2024-08-05\",\n \"number\": \"357\",\n \"tax_code_id\": \"source_id:1900\",\n \"department_id\": \"source_id:1\",\n \"line_items\": {\n \"amount\": [\"50\"]\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices", "host": [ "{{domain}}" ], "path": [ "ar-invoices" ] } } }, { "name": "Update AR Invoice", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ar_invoice_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"due_date\": \"2023-05-12\",\n \"issue_date\": \"2023-04-11\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}" ] } } }, { "name": "Delete AR Invoice", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List AR Invoice Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}", "line-items" ] } } }, { "name": "Show AR Invoice Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}/line-items/{{ar_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}", "line-items", "{{ar_invoice_line_item_id}}" ] } } }, { "name": "New AR Invoice Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ar_invoice_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\",\n \"source_data\":{\n \"ScschVenCode\": \"3456\",\n \"ScschChgCode\": \"000\",\n \"ScschCatCode\": \"M\",\n \"ScschTaskCode\": \"1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}", "line-items" ] } } }, { "name": "Update AR Invoice Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}/line-items/{{ar_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}", "line-items", "{{ar_invoice_line_item_id}}" ] } } }, { "name": "Delete AR Invoice Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-invoices/{{ar_invoice_id}}/line-items/{{ar_invoice_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-invoices", "{{ar_invoice_id}}", "line-items", "{{ar_invoice_line_item_id}}" ] } } } ] } ] }, { "name": "AR Payments", "item": [ { "name": "Header", "item": [ { "name": "List AR Payments", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/", "host": [ "{{domain}}" ], "path": [ "ar-payments", "" ] } } }, { "name": "Show AR Payment", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}" ] } } }, { "name": "New AR Payment", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ar_payment_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": 25,\n \"batch\": \"1\",\n \"number\": \"abcdef245\",\n \"customer_id\": \"{{customer_id}}\",\n \"type\": \"AR PAYMENTS\",\n \"line_items\": [\n {\n \"amount\": 25,\n \"ar_invoice_id\": \"{{ar_invoice_id}}\",\n \"type\": \"Invoice\",\n \"discount_taken_amount\": 1\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments", "host": [ "{{domain}}" ], "path": [ "ar-payments" ] } } }, { "name": "Update AR Payment", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": 123,\n \"customer_id\": \"{{customer_id}}\",\n \"memo\": \"some memo\",\n \"transaction_date\": \"1/1/11\",\n \"line_items\": [\n {\n \"amount\": 123,\n \"ar_invoice_id\": \"{{invoice_id}}\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}" ] } } }, { "name": "Delete AR Payment", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List AR Payment Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}", "line-items" ] } } }, { "name": "Show AR Payment Line Item", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}/line-items/{{ar_payment_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}", "line-items", "{{ar_payment_line_item_id}}" ] } } }, { "name": "New AR Payment Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('subcontract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\",\n \"source_data\":{\n \"ScschVenCode\": \"3456\",\n \"ScschChgCode\": \"000\",\n \"ScschCatCode\": \"M\",\n \"ScschTaskCode\": \"1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}", "line-items" ] } } }, { "name": "Update AR Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}/line-items/{{ar_payment_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}", "line-items", "{{ar_payment_line_item_id}}" ] } } }, { "name": "Delete AR Payment Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ar-payments/{{ar_payment_id}}/line-items/{{ar_payment_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ar-payments", "{{ar_payment_id}}", "line-items", "{{ar_payment_line_item_id}}" ] } } } ] } ] }, { "name": "Bank Accounts", "item": [ { "name": "List Bank Accounts", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/bank-accounts", "host": [ "{{domain}}" ], "path": [ "bank-accounts" ] } } }, { "name": "Show Bank Account", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/bank-accounts/{{bank_account_id}}", "host": [ "{{domain}}" ], "path": [ "bank-accounts", "{{bank_account_id}}" ] } } } ] }, { "name": "Batch", "item": [ { "name": "List Batches", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\"field\": \"type\", \"operator\": \"=\", \"value\": \"Ledger Journal Entry\"}\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/batches", "host": [ "{{domain}}" ], "path": [ "batches" ] } } }, { "name": "Show Batch", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/batches/{{batch_id}}", "host": [ "{{domain}}" ], "path": [ "batches", "{{batch_id}}" ] } } }, { "name": "Update Batch", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"Posted\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/batches/{{batch_id}}", "host": [ "{{domain}}" ], "path": [ "batches", "{{batch_id}}" ] } } }, { "name": "New Batch", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('batch_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"Timecard Entry\",\n \"source_data\": {\n \"Mth\": \"2024-01-01 00:00:00\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/batches", "host": [ "{{domain}}" ], "path": [ "batches" ] } } } ] }, { "name": "Budget Line Items", "item": [ { "name": "List Budget Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "{{project_id}}" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "url": { "raw": "{{domain}}/budget-line-items", "host": [ "{{domain}}" ], "path": [ "budget-line-items" ] } } }, { "name": "Show Budget Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-line-items/{{budget_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "budget-line-items", "{{budget_line_item_id}}" ] } } }, { "name": "New Budget Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_type_id\": \"source_id:Labor\",\n \"cost_code_id\": \"source_id:02\",\n \"quantity\": \"1\",\n \"unit_cost\": \"1250\",\n \"original_amount\": \"1250\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-line-items", "host": [ "{{domain}}" ], "path": [ "budget-line-items" ] } } }, { "name": "Update Budget Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_type_id\": \"source_id:520793\",\n \"cost_code_id\": \"source_id:61\",\n \"quantity\": \"10\",\n \"unit_cost\": \"1300\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-line-items/{{budget_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "budget-line-items", "{{budget_line_item_id}}" ] } } }, { "name": "Delete Budget Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-line-items/{{budget_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "budget-line-items", "{{budget_line_item_id}}" ] } } }, { "name": "Bulk Write Budget Line Items", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PATCH", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"creates\": [\n {\n \"cost_code_id\": \"source_id: 1000\",\n \"cost_type_id\": \"source_id: 8\",\n \"original_amount\": \"100\",\n \"quantity\": \"13\",\n \"sub_job_id\": \"source_id: 1000\",\n \"unit_of_measure\": \"lb\"\n },\n {\n \"cost_code_id\": \"source_id: 1000\",\n \"cost_type_id\": \"source_id: 8\",\n \"original_amount\": \"10\",\n \"quantity\": \"10\",\n \"sub_job_id\": \"source_id: 1\",\n \"unit_of_measure\": \"ea\"\n },\n {\n \"cost_code_id\": \"source_id: 2070\",\n \"cost_type_id\": \"source_id: 7\",\n \"sub_job_id\": \"source_id: 1000\",\n \"unit_of_measure\": \"conflict 1\"\n },\n {\n \"cost_code_id\": \"source_id: 2070\",\n \"cost_type_id\": \"source_id: 8\",\n \"sub_job_id\": \"source_id: 1000\",\n \"unit_of_measure\": \"conflict 2\"\n },\n {\n \"cost_code_id\": \"source_id: 1000\",\n \"cost_type_id\": \"source_id: 7\",\n \"sub_job_id\": \"source_id: 1000\"\n },\n {\n \"cost_code_id\": \"source_id: 1000\",\n \"cost_type_id\": \"source_id: 0\",\n \"sub_job_id\": \"source_id: 1000\"\n }\n ],\n \"updates\": [\n {\n \"id\": \"source_id:cost_code_no= 1000|cost_class_no= 7|phase_no= 1000\",\n \"original_amount\": \"200\",\n \"quantity\": \"26\",\n \"unit_of_measure\": \"lb\"\n },\n {\n \"id\": \"source_id:cost_code_no= 1|cost_class_no= 1|phase_no= 1000\",\n \"original_amount\": \"20\",\n \"quantity\": \"20\",\n \"unit_of_measure\": \"ea\"\n },\n {\n \"id\": \"cost_code_no= 2070|cost_class_no= 2|phase_no= 2000\",\n \"unit_of_measure\": \"conflict 3\"\n },\n {\n \"id\": \"source_id:cost_code_no= 1000|cost_class_no= 8|phase_no= 1000\"\n }\n ]\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-line-items", "host": [ "{{domain}}" ], "path": [ "budget-line-items" ] } } } ] }, { "name": "Budget Transfers", "item": [ { "name": "Header", "item": [ { "name": "List Budget Transfers", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-transfers?expand=true", "host": [ "{{domain}}" ], "path": [ "budget-transfers" ], "query": [ { "key": "expand", "value": "true" } ] } } }, { "name": "Show Budget Transfer", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-transfers/{{budget_transfer_id}}", "host": [ "{{domain}}" ], "path": [ "budget-transfers", "{{budget_transfer_id}}" ] } } }, { "name": "New Budget Transfer", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('budget_transfer_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Budget Transfer via API #3\",\n \"line_items\": [\n {\n \"origin_budget_line_item\": {\n \"id\": \"source_id:Phase=012168-30-1021|CostType=1\",\n \"amount\": \"-1500.00\",\n \"quantity\": \"3.0\",\n \"unit_cost\": \"-500\"\n },\n \"target_budget_line_item\": {\n \"id\": \"source_id:Phase=012516-05-1015|CostType=5\",\n \"amount\": \"1500.00\",\n \"quantity\": \"1.000\",\n \"unit_cost\": \"1500.00000\"\n }\n }\n ],\n \"source_data\": {\n \"ApprovalDate\": \"2024-02-22 00:00:00\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-transfers", "host": [ "{{domain}}" ], "path": [ "budget-transfers" ] } } }, { "name": "Delete Budget Transfer", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-transfers/{{budget_transfer_id}}", "host": [ "{{domain}}" ], "path": [ "budget-transfers", "{{budget_transfer_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "Show Budget Transfer Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/budget-transfers/{{budget_transfer_id}}/line-items/{{budget_transfer_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "budget-transfers", "{{budget_transfer_id}}", "line-items", "{{budget_transfer_line_item_id}}" ] } } }, { "name": "List Budget Transfer Line Items", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/budget-transfers/{{budget_transfer_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "budget-transfers", "{{budget_transfer_id}}", "line-items" ] } } } ] } ] }, { "name": "Cost Projections", "item": [ { "name": "List Cost Projections", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "{{project_id}}" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "url": { "raw": "{{domain}}/cost-projections", "host": [ "{{domain}}" ], "path": [ "cost-projections" ] } } }, { "name": "Show Cost Projections", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/cost-projections/{{cost_projection_id}}", "host": [ "{{domain}}" ], "path": [ "cost-projections", "{{cost_projection_id}}" ] } } }, { "name": "New Cost Projection", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('cost_projection_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"source_id:10100\",\n \"cost_type_id\": \"source_id:AC\",\n \"date\": \"2024-06-12\",\n \"cost_at_completion\": \"21000\"\n\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-projections", "host": [ "{{domain}}" ], "path": [ "cost-projections" ] } } }, { "name": "Update Cost Projection", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-projections/{{cost_projection_id}}", "host": [ "{{domain}}" ], "path": [ "cost-projections", "{{cost_projection_id}}" ] } } }, { "name": "Delete Cost Projection", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/cost-projections/{{cost_projection_id}}", "host": [ "{{domain}}" ], "path": [ "cost-projections", "{{cost_projection_id}}" ] } } } ] }, { "name": "Budget Production Quantities", "item": [ { "name": "List Budget Production Quantities", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-production-quantities", "host": [ "{{domain}}" ], "path": [ "budget-production-quantities" ] } } }, { "name": "Show Budget Production Quantity", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-production-quantities/{{budget_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "budget-production-quantities", "{{budget_production_quantity_id}}" ] } } }, { "name": "New Budget Production Quantity", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_production_quantity_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"{{cost_code_id}}\",\n \"quantity\": \"12.0\",\n \"unit_of_measure\": \"ea\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-production-quantities", "host": [ "{{domain}}" ], "path": [ "budget-production-quantities" ] } } }, { "name": "Update Budget Production Quantity", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"test name\",\n \"cost_type_id\": \"source_id:B\",\n \"cost_code_id\": \"2e9e19e8-3d31-5e01-bdef-8f8eb3bf1353\",\n \"quantity\": \"12\",\n \"unit_cost\": \"2\",\n \"unit_of_measure\": \"dollars\",\n \"original_amount\": \"100\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/budget-production-quantities/{{budget_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "budget-production-quantities", "{{budget_production_quantity_id}}" ] } } }, { "name": "Delete Budget Production Quantity", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/budget-production-quantities/{{budget_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "budget-production-quantities", "{{budget_production_quantity_id}}" ] } } } ] }, { "name": "Actual Production Quantities", "item": [ { "name": "List Actual Production Quantities", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/actual-production-quantities", "host": [ "{{domain}}" ], "path": [ "actual-production-quantities" ] } } }, { "name": "Show Actual Production Quantity", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/actual-production-quantities/{{actual_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "actual-production-quantities", "{{actual_production_quantity_id}}" ] } } }, { "name": "New Actual Production Quantity", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('actual_production_quantity_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"source_id:562950234240870\",\n \"date\": \"2024-04-23\",\n \"quantity\": \"3.1\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/actual-production-quantities", "host": [ "{{domain}}" ], "path": [ "actual-production-quantities" ] } } }, { "name": "Update Actual Production Quantity", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"quantity\": \"5.2\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/actual-production-quantities/{{actual_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "actual-production-quantities", "{{actual_production_quantity_id}}" ] } } }, { "name": "Delete Actual Production Quantity", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/actual-production-quantities/{{actual_production_quantity_id}}", "host": [ "{{domain}}" ], "path": [ "actual-production-quantities", "{{actual_production_quantity_id}}" ] } } } ] }, { "name": "Change Orders", "item": [ { "name": "Header", "item": [ { "name": "List Change Orders", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"IN\",\n// \"value\": [\"Approved\",\"Cost Rev\"]\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders?contract_type=prime_contract", "host": [ "{{domain}}" ], "path": [ "change-orders" ], "query": [ { "key": "contract_type", "value": "prime_contract" } ] } } }, { "name": "List Change Orders For One Subcontract", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/change-orders", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "change-orders" ] } } }, { "name": "List Change Orders For Prime Contract", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/change-orders", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "change-orders" ] } } }, { "name": "Show Change Order", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}" ] } } }, { "name": "New Change Order", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"batch_id\": \"source_id:Mth=2024-06-01 00:00:00|BatchId=91\",\n \"issue_date\": \"2023-06-15\",\n \"name\": \"Test POCO from Postman - {{$randomNoun}}\", \n \"number\": \"15\",\n \"contract\": {\n \"id\": \"source_id:PO-809\",\n \"type\": \"purchase_order\"\n },\n \"line_items\": [\n {\n // \"amount\": \"20\",\n \"unit_cost\": \"12.44\",\n // \"quantity\": \"5\",\n \"contract\": {\n \"id\": \"source_id:PO-809\",\n \"line_item_id\": \"source_id:2\", // EA\n \"type\": \"purchase_order\"\n }\n }\n ],\n \"source_data\": {\n \"Mth\": \"2024-06-01 00:00:00\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders", "host": [ "{{domain}}" ], "path": [ "change-orders" ] } } }, { "name": "Bulk Write Change Orders", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PATCH", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"creates\": [\n {\n \"approval_date\": \"2024-03-01\",\n \"contract\": {\n \"id\": \"source_id:SC-L1\",\n \"type\": \"subcontract\"\n },\n \"line_items\": [\n {\n \"contract\": {\n \"line_item_id\": \"source_id:1\"\n },\n \"amount\": \"50\",\n \"description\": \"SCO description 1\"\n },\n {\n \"contract\": {\n \"line_item_id\": \"source_id:1\"\n },\n \"amount\": \"51\",\n \"description\": \"This is a duplicate\"\n },\n {\n \"contract\": {\n \"line_item_id\": \"source_id:2\"\n },\n \"amount\": \"100\",\n \"description\": \"SCO description 2\"\n },\n {\n \"amount\": \"75\",\n \"cost_code_id\": \"source_id:1-045\",\n \"cost_type_id\": \"source_id:E\",\n \"description\": \"New SC Line Item\"\n }\n ],\n \"number\": \"SCO4\",\n \"issue_date\": \"2024-02-01\",\n \"name\": \"Test Subcontract CO\",\n \"status\": \"Approved\",\n \"type\": \"Special\"\n },\n {\n \"approval_date\": \"2024-03-02\",\n \"contract\": {\n \"id\": \"source_id:PO-L1\",\n \"type\": \"purchase_order\"\n },\n \"line_items\": [\n {\n \"contract\": {\n \"line_item_id\": \"source_id:1\"\n },\n \"amount\": \"150\",\n \"description\": \"POCO description 1\"\n },\n {\n \"contract\": {\n \"line_item_id\": \"source_id:1\"\n },\n \"amount\": \"151\",\n \"description\": \"Another duplicate\"\n },\n {\n \"contract\": {\n \"line_item_id\": \"source_id:2\"\n },\n \"amount\": \"200\",\n \"description\": \"POCO description 2\"\n },\n {\n \"cost_code_id\": \"source_id:1-040\",\n \"cost_type_id\": \"source_id:L\",\n \"description\": \"New PO Line Item\",\n \"unit_cost\": \"175\",\n \"unit_of_measure\": \"ea\",\n \"quantity\": \"10\"\n }\n ],\n \"number\": \"PCO4\",\n \"issue_date\": \"2024-02-02\",\n \"name\": \"Test Purchase Order CO\",\n \"status\": \"Approved\",\n \"type\": \"Special\"\n }\n ]\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders", "host": [ "{{domain}}" ], "path": [ "change-orders" ] } } }, { "name": "Update Change Order", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"{{$randomNoun}} Updated Line\",\n \"name\": \"{{$randomCatchPhraseNoun}} - Updated\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}" ] } } }, { "name": "Delete Change Order", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Change Order Lines Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}", "line-items" ] } } }, { "name": "Show Change Order Line Item", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}/line-items/{{change_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}", "line-items", "{{change_order_line_item_id}}" ] } } }, { "name": "New Change Order Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"contract\": {\n \"type\": \"subcontract\",\n \"id\": \"{{subcontract_id}}\",\n \"line_item_id\": \"{{subcontract_line_item_id}}\"\n },\n \"description\": \"{{$randomBsNoun}} Line\",\n \"quantity\": \"{{$randomInt}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}", "line-items" ] } } }, { "name": "Update Change Order Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"quantity\": \"444\",\n \"cost_type_id\": \"{{cost_type_id}}\",\n \"unit_cost\": \"91\",\n \"unit_of_measure\": \"EACH\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}/line-items/{{change_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}", "line-items", "{{change_order_line_item_id}}" ] } } }, { "name": "Delete Change Order Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Custom Clad\",\n \"quantity\": \"44\",\n \"cost_type_id\": \"{{cost_type_id}}\",\n \"unit_cost\": \"91\",\n \"unit_of_measure\": \"EACH\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-orders/{{change_order_id}}/line-items/{{change_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-orders", "{{change_order_id}}", "line-items", "{{change_order_line_item_id}}" ] } } } ] } ] }, { "name": "Change Events", "item": [ { "name": "Header", "item": [ { "name": "List Change Events", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-events?page=1&per_page=25", "host": [ "{{domain}}" ], "path": [ "change-events" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "25" } ] } } }, { "name": "Show Change Event", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-events/{{change_event_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}" ] } } }, { "name": "New Change Event", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_event_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Change Event\",\n \"name\": \"CE test from postman\",\n \"scope\": \"out_of_scope\",\n \"status\": \"Open\",\n \"type\": \"Allowance\",\n \"line_items\": [\n {\n \"amount\": \"105.5\",\n \"contract\": {\n \"id\": \"{{purchase_order_id}}\",\n \"type\": \"purchase_order\"\n },\n \"description\": \"line 1 - wbs with purchase order\",\n \"quantity\": \"10\",\n \"unit_cost\": \"10.55\",\n \"unit_of_measure\": \"HRS\",\n \"vendor_id\": \"{{vendor_id}}\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-events", "host": [ "{{domain}}" ], "path": [ "change-events" ] } } }, { "name": "Update Change Event", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Description updated in Postman\",\n \"name\": \"Name changed in postman\",\n \"number\": \"020059\",\n \"scope\": \"tbd\",\n \"status\": \"Closed\",\n \"type\": \"Contingency\",\n \"source_data\": {\n \"change_reason\": {\n \"id\": 598134325510442\n }\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-events/{{change_event_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}" ] } } }, { "name": "Delete Change Event", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-events/{{change_event_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}" ] } } }, { "name": "Attach to Change Event", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "contents", "type": "file", "src": "/Users/pooriaazimi/Downloads/halper-function-equals.png" }, { "key": "name", "value": "image.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" } ] }, "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/attachments", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "attachments" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Change Event Lines Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "line-items" ] } } }, { "name": "Show Change Event Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/line-items/{{change_event_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "line-items", "{{change_event_line_item_id}}" ] } } }, { "name": "New Change Event Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_event_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"105.5\",\n \"contract\": {\n \"id\": \"9d726039-3804-55cf-84a0-b6c798505dbd\",\n \"type\": \"purchase_order\"\n },\n \"description\": \"new change event line\",\n \"quantity\": \"10\",\n \"unit_cost\": \"10.55\",\n \"unit_of_measure\": \"HRS\",\n \"vendor_id\": \"5fa88540-d37d-5dd7-9a7a-6646b81fbabb\",\n \"wbs_id\": \"4416d8ee-5637-567d-a862-6d0717b8d000\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "line-items" ] } } }, { "name": "Delete Change Event Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Custom Clad\",\n \"quantity\": \"44\",\n \"cost_type_id\": \"{{cost_type_id}}\",\n \"unit_cost\": \"91\",\n \"unit_of_measure\": \"EACH\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/line-items/{{change_event_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "line-items", "{{change_event_line_item_id}}" ] } } }, { "name": "Update Change Event Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"quantity\": \"444\",\n \"cost_type_id\": \"{{cost_type_id}}\",\n \"unit_cost\": \"91\",\n \"unit_of_measure\": \"EACH\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/change-events/{{change_event_id}}/line-items/{{change_event_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "change-events", "{{change_event_id}}", "line-items", "{{change_event_line_item_id}}" ] } } } ] } ] }, { "name": "Cost Codes", "item": [ { "name": "List Cost Codes", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "{{domain}}/cost-codes", "host": [ "{{domain}}" ], "path": [ "cost-codes" ] } } }, { "name": "Show Cost Code", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "651bcc3e-4df6-5437-9be8-6b0b90669700", "type": "text" } ], "url": { "raw": "{{domain}}/cost-codes/{{cost_code_id}}", "host": [ "{{domain}}" ], "path": [ "cost-codes", "{{cost_code_id}}" ] } } }, { "name": "New Cost Code", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('cost_code_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"00SZ\",\n \"name\": \"Test SZ\"\n // \"parent_id\": \"source_id:00SZ\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-codes", "host": [ "{{domain}}" ], "path": [ "cost-codes" ] } } }, { "name": "Update Cost Code", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"renamed\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-codes/{{cost_code_id}}", "host": [ "{{domain}}" ], "path": [ "cost-codes", "{{cost_code_id}}" ] } } }, { "name": "Delete Cost Code", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-codes/{{cost_code_id}}", "host": [ "{{domain}}" ], "path": [ "cost-codes", "{{cost_code_id}}" ] } } } ] }, { "name": "Cost Types", "item": [ { "name": "List Cost Types", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/cost-types", "host": [ "{{domain}}" ], "path": [ "cost-types" ] } } }, { "name": "New Cost Type", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('cost_type_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"SpaceMaterials\",\n \"name\": \"SpaceMaterials...\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-types", "host": [ "{{domain}}" ], "path": [ "cost-types" ] } } }, { "name": "Update Cost Type", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"SUB\",\n \"name\": \"Subcontracts\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-types/{{cost_type_id}}", "host": [ "{{domain}}" ], "path": [ "cost-types", "{{cost_type_id}}" ] } } }, { "name": "Show Cost Type", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/cost-types/{{cost_type_id}}", "host": [ "{{domain}}" ], "path": [ "cost-types", "{{cost_type_id}}" ] } } }, { "name": "Delete Cost Type", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/cost-types/{{cost_type_id}}", "host": [ "{{domain}}" ], "path": [ "cost-types", "{{cost_type_id}}" ] } } } ] }, { "name": "Sub-Jobs", "item": [ { "name": "List Sub-Jobs", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/sub-jobs?page=1&per_page=25", "host": [ "{{domain}}" ], "path": [ "sub-jobs" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "25" } ] } } }, { "name": "Show Sub-Job", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/sub-jobs/{{sub_job_id}}", "host": [ "{{domain}}" ], "path": [ "sub-jobs", "{{sub_job_id}}" ] } } } ] }, { "name": "Vendor Compliances", "item": [ { "name": "List Vendor Compliances (All Vendors)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/vendors/compliances", "host": [ "{{domain}}" ], "path": [ "vendors", "compliances" ] } } }, { "name": "List Vendor Compliances (One Vendor)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "compliances" ] } } }, { "name": "Show Vendor Compliance", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/compliances/{{vendor_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "compliances", "{{vendor_compliance_id}}" ] } } }, { "name": "New Vendor Compliance", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('vendor_compliance_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"This confirms we received the MSDS for the vendor\",\n \"status\": \"Compliant\",\n \"type\": \"Material Safety Data Sheets\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "compliances" ] } } }, { "name": "Update Vendor Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"updated description\",\n \"status\": \"Non-Compliant\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/compliances/{{vendor_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "compliances", "{{vendor_compliance_id}}" ] } } }, { "name": "Delete Vendor Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/compliances/{{vendor_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "compliances", "{{vendor_compliance_id}}" ] } } } ] }, { "name": "Subcontract Compliances", "item": [ { "name": "List Subcontract Compliances (All Subcontracts)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/subcontracts/compliances", "host": [ "{{domain}}" ], "path": [ "subcontracts", "compliances" ] } } }, { "name": "List Subcontract Compliances (One Subcontract)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "compliances" ] } } }, { "name": "Show Subcontract Compliance", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/compliances/{{subcontract_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "compliances", "{{subcontract_compliance_id}}" ] } } }, { "name": "New Subcontract Compliance", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('subcontract_compliance_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"1000002\",\n \"effective_date\": \"2022-01-01\",\n \"expiration_date\": \"2023-01-01\",\n \"policy_number\": \"123 45 6789\",\n \"provider_name\": \"PRO\",\n \"status\": \"Compliant\",\n \"type\": \"INS\",\n \"vendor_id\": \"source_id:FEDEX\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "compliances" ] } } }, { "name": "Update Subcontract Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"updated description\",\n \"status\": \"Non-Compliant\",\n \"receive_date\": \"2023-01-01\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/compliances/{{subcontract_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "compliances", "{{subcontract_compliance_id}}" ] } } }, { "name": "Delete Subcontract Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/compliances/{{subcontract_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "compliances", "{{subcontract_compliance_id}}" ] } } } ] }, { "name": "Purchase Order Compliances", "item": [ { "name": "List Purchase Order Compliances (All Purchase Ordes)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/purchase-orders/compliances", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "compliances" ] } } }, { "name": "List Purchase Order Compliances (One Purchase Order)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "compliances" ] } } }, { "name": "Show Purchase Order Compliance", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/compliances/{{purchase_order_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "compliances", "{{purchase_order_compliance_id}}" ] } } }, { "name": "New Purchase Order Compliance", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('purchase_order_compliance_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Expires in the future\",\n \"expiration_date\": \"2024-06-18\",\n \"type\": \"Certified Payroll\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/compliances", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "compliances" ] } } }, { "name": "Update Purchase Order Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"expiration_date\": \"2022-11-11\",\n \"description\": \"expired\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/compliances/{{purchase_order_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "compliances", "{{purchase_order_compliance_id}}" ] } } }, { "name": "Delete Purchase Order Compliance", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/compliances/{{purchase_order_compliance_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "compliances", "{{purchase_order_compliance_id}}" ] } } } ] }, { "name": "Employees", "item": [ { "name": "List Employees", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"first_name\",\n// \"operator\": \"!=\",\n// \"value\": \"Test\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/employees", "host": [ "{{domain}}" ], "path": [ "employees" ] } } }, { "name": "Show Employee", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/employees/{{employee_id}}", "host": [ "{{domain}}" ], "path": [ "employees", "{{employee_id}}" ] } } }, { "name": "New Employee", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('employee_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"San Clemente\",\n \"postal_code\": \"92672\",\n \"state\": \"CA\",\n \"street_1\": \"240 Avenida Vista Montana\",\n \"street_2\": \"C/O Foreman\"\n },\n \"code\": \"253\",\n \"email\": \"ds@aol.com\",\n \"first_name\": \"Dan\",\n \"gender\": \"Male\",\n \"hire_date\": \"1989-08-14\",\n \"industry\": \"Laborer\",\n \"last_name\": \"Simmons\",\n \"phone\": \"2169875623\",\n \"termination_date\": \"2024-01-02\",\n \"source_data\": {\n \"fed_filing_status\": \"S\",\n \"tax_state\": \"CA\",\n \"state_filing_status\": \"S\",\n \"pay_periods_per_year\": \"26\",\n \"middle_initial\": \"L\",\n \"minority_no\": \"BLK\",\n \"pay_rate\": \"14.00000\",\n \"earn_type_no\": \"REG\",\n \"cost_code_no\": \"LAB\",\n \"wc_state\": \"CA\",\n \"pension\": \"N\",\n \"veteran\": \"N\",\n \"pay_period_no\": \"W\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/employees", "host": [ "{{domain}}" ], "path": [ "employees" ] } } }, { "name": "Update Employee", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n // \"address\": {\n // \"country\": \"CA\"\n // },\n \"first_name\":\"Bob\",\n \"last_name\":\"Joe\",\n \"job_title\":\"General Contractor\",\n \"company\": \"Test Company 2\",\n \"hire_date\": \"2023-10-26\",\n \"status\": \"Inactive\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/employees/{{employee_id}}", "host": [ "{{domain}}" ], "path": [ "employees", "{{employee_id}}" ] } } }, { "name": "Delete Employee", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/employees/{{employee_id}}", "host": [ "{{domain}}" ], "path": [ "employees", "{{employee_id}}" ] } } } ] }, { "name": "Estimates", "item": [ { "name": "Header", "item": [ { "name": "List Estimates", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"filters\": [\n {\"field\": \"number\", \"operator\": \"=\", \"value\": \"Original\"}\n // {\"field\": \"customer_id\", \"operator\": \"=\", \"value\": \"6f2973d4-e858-5502-ad63-12d1ac9dff29\"}\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates", "host": [ "{{domain}}" ], "path": [ "estimates" ] } } }, { "name": "Show Estimate", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('estimate_line_item_id', pm.response.json().line_items[0].id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/estimates/{{estimate_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}" ] } } }, { "name": "New Estimate", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('estimate_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"AnyTown\",\n \"country\": \"USA\",\n \"postal_code\": \"19703\",\n \"state\": \"CA\",\n \"street_1\": \"123 Main Street\",\n \"street_2\": \"Unit 12\"\n },\n \"customer_id\": \"{{customer_id}}\",\n \"due_date\": \"2023-02-07\",\n \"line_items\": [\n {\n \"amount\": \"8.00\",\n \"description\": \"Painting\",\n \"item_id\": \"{{item_id}}\",\n \"quantity\": \"2\",\n \"unit_price\": \"4.00\"\n },\n {\n \"amount\": \"15.00\",\n \"description\": \"Cleanup & Restoration\",\n \"item_id\": \"{{item_id}}\",\n \"quantity\": \"5\",\n \"unit_price\": \"3.00\"\n }\n ],\n \"name\": \"test memo\",\n \"status\": \"Active\",\n \"transaction_date\": \"2023-02-07\",\n \"type\": null\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates", "host": [ "{{domain}}" ], "path": [ "estimates" ] } } }, { "name": "Update Estimate", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"AnyTown2\",\n \"country\": \"USA\",\n \"postal_code\": \"19704\",\n \"state\": \"NV\",\n \"street_1\": \"123 Main Street 2\",\n \"street_2\": \"Unit 122\"\n },\n \"customer_id\": \"{{customer_id}}\",\n \"due_date\": \"2023-02-09\",\n \"name\": \"test memo 2\",\n \"status\": \"Active\",\n \"transaction_date\": \"2023-02-02\",\n \"type\": \"Labor Costs\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}" ] } } }, { "name": "Delete Estimate", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"delivery_address\": {\n \"city\" : \"TEST City\",\n \"country\" : \"TEST Country\",\n \"postal_code\" : \"TEST Code\",\n \"state\" : \"TEST State\",\n \"street_1\" : \"TEST St1\",\n \"street_2\" : \"TEST St2\"\n },\n \"name\": \"test name\",\n \"number\": \"test number\",\n \"order_date\": \"2022-04-04\",\n \"ship_via\": \"test ship_via\",\n \"status\": \"Open\",\n \"terms\": \"test terms\",\n \"vendor_id\": \"094b57f7-7362-5448-b113-152076379737\",\n \"type\": \"test type\",\n \"ledger_account_id\": \"341fdd21-aee8-5517-bfc7-fa0731d76a0d\",\n \"line_items\": [\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\",\n \"status\": \"Billable\",\n \"customer_id\": \"693f8cb6-f10e-5c6b-a4c8-6e2dbe738d8c\"\n },\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\"\n },\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Estimate Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}", "line-items" ] } } }, { "name": "Show Estimate Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}/line-items/{{estimate_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}", "line-items", "{{estimate_line_item_id}}" ] } } }, { "name": "New Estimate Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('estimate_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"4.00\",\n \"description\": \"Painting 2\",\n \"item_id\": \"{{item_id}}\",\n \"quantity\": \"23\",\n \"unit_price\": \"1.00\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}", "line-items" ] } } }, { "name": "Update Estimate Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"43.00\",\n \"description\": \"Painting 23\",\n \"item_id\": \"{{item_id}}\",\n \"quantity\": \"233\",\n \"unit_price\": \"13.00\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/estimates/{{estimate_id}}/line-items/{{estimate_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}", "line-items", "{{estimate_line_item_id}}" ] } } }, { "name": "Delete Estimate Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/estimates/{{estimate_id}}/line-items/{{estimate_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "estimates", "{{estimate_id}}", "line-items", "{{estimate_line_item_id}}" ] } } } ] } ] }, { "name": "Expenses", "item": [ { "name": "Header", "item": [ { "name": "List Expenses", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/expenses?per_page=500&page=1", "host": [ "{{domain}}" ], "path": [ "expenses" ], "query": [ { "key": "per_page", "value": "500" }, { "key": "page", "value": "1" } ] } } }, { "name": "Show Expense", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('expense_line_item_id', pm.response.json().line_items[0].id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/expenses/{{expense_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}" ] } } }, { "name": "New Expense", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('estimate_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"bank_account_id\": \"source_id:35\",\n \"description\": \"Test description\",\n \"number\": \"577\",\n \"payment_date\": \"2023-01-01\",\n \"payment_method\": \"Check\",\n \"status\": \"Paid\",\n \"vendor_id\": \"source_id:35\",\n \"line_items\": [\n {\n \"amount\": \"10\",\n \"customer_id\": \"source_id:96892\",\n \"description\": \"Test Account Line Item\",\n \"ledger_account_id\": \"source_id:13\",\n \"status\": \"NotBillable\",\n \"type\": \"Revenue - Job\"\n },\n {\n \"amount\": \"6\",\n \"customer_id\": \"source_id:96892\",\n \"description\": \"Test Item Line Item\",\n \"item_id\": \"source_id:3\",\n \"status\": \"Billable\",\n \"unit_cost\": \"6\",\n \"quantity\": \"1\",\n \"type\": \"Revenue - Job\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses", "host": [ "{{domain}}" ], "path": [ "expenses" ] } } }, { "name": "Update Expense", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"New expense from Postman, updated\",\n \"number\": \"3105\",\n \"payment_date\": \"2022-12-24\",\n \"vendor_id\": \"{{vendor_id}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses/{{expense_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}" ] } } }, { "name": "Delete Expense", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"delivery_address\": {\n \"city\" : \"TEST City\",\n \"country\" : \"TEST Country\",\n \"postal_code\" : \"TEST Code\",\n \"state\" : \"TEST State\",\n \"street_1\" : \"TEST St1\",\n \"street_2\" : \"TEST St2\"\n },\n \"name\": \"test name\",\n \"number\": \"test number\",\n \"order_date\": \"2022-04-04\",\n \"ship_via\": \"test ship_via\",\n \"status\": \"Open\",\n \"terms\": \"test terms\",\n \"vendor_id\": \"094b57f7-7362-5448-b113-152076379737\",\n \"type\": \"test type\",\n \"ledger_account_id\": \"341fdd21-aee8-5517-bfc7-fa0731d76a0d\",\n \"line_items\": [\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\",\n \"status\": \"Billable\",\n \"customer_id\": \"693f8cb6-f10e-5c6b-a4c8-6e2dbe738d8c\"\n },\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\"\n },\n {\n \"amount\": \"102\",\n \"description\": \"My line item\",\n \"ledger_account_id\": \"d4c2281f-6210-5894-99bb-9aa98180216c\",\n \"type\": \"AccountBasedExpenseLineDetail\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses/{{expense_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Expense Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/expenses/{{expense_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}", "line-items" ] } } }, { "name": "Show Expense Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses/{{expense_id}}/line-items/{{expense_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}", "line-items", "{{expense_line_item_id}}" ] } } }, { "name": "New Expense Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('estimate_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"100.00\",\n \"description\": \"Two tons of cement.\",\n \"quantity\": \"2.0\",\n \"type\": \"Subcontract\",\n \"unit_cost\": \"50.00000\",\n \"contract\": {\n \"id\": \"source_id:SC-100\",\n \"line_item_id\":\"source_id:2\",\n \"type\":\"subcontract\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses/{{expense_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}", "line-items" ] } } }, { "name": "Update Expense Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"43.00\",\n \"description\": \"test\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/expenses/{{expense_id}}/line-items/{{expense_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}", "line-items", "{{expense_line_item_id}}" ] } } }, { "name": "Delete Expense Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/expenses/{{expense_id}}/line-items/{{expense_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "expenses", "{{expense_id}}", "line-items", "{{expense_line_item_id}}" ] } } } ] } ] }, { "name": "Items", "item": [ { "name": "List Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/items?type=Service", "host": [ "{{domain}}" ], "path": [ "items" ], "query": [ { "key": "type", "value": "Service" } ] } } }, { "name": "Show Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/items/{{item_id}}", "host": [ "{{domain}}" ], "path": [ "items", "{{item_id}}" ] } } }, { "name": "New Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"expense_account_id\": \"{{expense_account_id}}\",\n \"income_account_id\": \"{{income_account_id}}\",\n \"asset_account_id\": \"{{asset_account_id}}\",\n \"name\": \"Test Child Item\",\n \"status\": \"Active\",\n \"type\": \"Service\",\n \"unit_cost\": \"1.33\",\n \"unit_price\": \"2.33\"\n \n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/items", "host": [ "{{domain}}" ], "path": [ "items" ] } } }, { "name": "Update Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"account_id\": \"b6cc53c8-ae13-5b9c-96e9-2287229b6a54\",\n \"description\": \"Concrete for fountain installation\",\n \"name\": \"Concrete 6\",\n \"status\": \"Active\",\n \"unit_price\": \"12\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/items/{{item_id}}", "host": [ "{{domain}}" ], "path": [ "items", "{{item_id}}" ] } } }, { "name": "Delete Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/items/{{item_id}}", "host": [ "{{domain}}" ], "path": [ "items", "{{item_id}}" ] } } } ] }, { "name": "Item Receipt", "item": [ { "name": "Header", "item": [ { "name": "List Item Receipts", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts", "host": [ "{{domain}}" ], "path": [ "item-receipts" ] } } }, { "name": "Show Item Receipt", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}" ] } } }, { "name": "New Item Receipt", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('item_receipt_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"contract\": {\n \"id\": \"source_id:3507375001\",\n \"type\": \"purchase_order\"\n },\n \"delivery_date\": \"2024-09-05\",\n \"number\": \"00000000000002\",\n \"description\": \"9/5 Testing\",\n \"line_items\": [\n {\n \"contract\": {\n \"id\": \"source_id:3507375001\",\n \"type\": \"purchase_order\",\n \"line_item_id\": \"source_id:001\"\n },\n \"item_id\": \"source_id:20W193\",\n \"quantity\": \"1\"\n }\n // {\n // \"contract\": {\n // \"id\": \"source_id:10002\",\n // \"line_item_id\": \"source_id:002\"\n // },\n // \"item_id\": \"source_id:10W193\",\n // \"quantity\": \"1\"\n // }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts", "host": [ "{{domain}}" ], "path": [ "item-receipts" ] } } }, { "name": "Update Item Receipt", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('item_receipt_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"test123\",\n \"delivery_date\": \"2024-09-01\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}" ] } } }, { "name": "Delete Item Receipt", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Item Receipt Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}", "line-items" ] } } }, { "name": "Show Item Receipt Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}/line-items/{{item_receipt_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}", "line-items", "{{item_receipt_line_item_id}}" ] } } }, { "name": "New Item Receipt Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"contract\": {\n \"id\": \"2f1e91bc-1c62-55b9-ad9f-2aa3bf3d8391\",\n \"line_item_id\": \"cff41e0d-46e1-5d19-8dc5-a59eb4cef8aa\"\n },\n \"item_id\": \"f64f0ceb-cd77-5400-b4b1-a3e6da0c98ae\",\n \"quantity\": \"1\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}/line-items/", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}", "line-items", "" ] } } }, { "name": "Update Item Receipt Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"contract\": {\n \"id\": \"2f1e91bc-1c62-55b9-ad9f-2aa3bf3d8391\",\n \"line_item_id\": \"cff41e0d-46e1-5d19-8dc5-a59eb4cef8aa\"\n },\n \"item_id\": \"f64f0ceb-cd77-5400-b4b1-a3e6da0c98ae\",\n \"quantity\": \"0.2\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}/line-items/{{item_receipt_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}", "line-items", "{{item_receipt_line_item_id}}" ] } } }, { "name": "Delete Item Receipt Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/item-receipts/{{item_receipt_id}}/line-items/{{item_receipt_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "item-receipts", "{{item_receipt_id}}", "line-items", "{{item_receipt_line_item_id}}" ] } } } ] } ] }, { "name": "Job Costs", "item": [ { "name": "List Job Costs", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "c51493cb-558a-5937-b3d2-2b3b943cc6a0" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/job-costs", "host": [ "{{domain}}" ], "path": [ "job-costs" ] } } }, { "name": "Show Job Cost", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/job-costs/{{job_cost_id}}", "host": [ "{{domain}}" ], "path": [ "job-costs", "{{job_cost_id}}" ] } } }, { "name": "New Job Cost", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{$randomProductName}}\",\n \"number\": \"{{$randomInt}}{{$randomAlphaNumeric}}\",\n \"actual_amount\": \"20\",\n \"actual_quantity\": \"2\",\n \"actual_unit_cost\": \"10\",\n \"actual_unit_of_measure\": \"ea\",\n \"cost_code_id\": \"8715d4a1-e638-5f83-be64-c509383ddf89\",\n \"cost_type_id\": \"75d963ad-dcc7-50f3-a4ab-def6370ad909\",\n \"description\": \"{{$randomJobDescriptor}}\",\n \"source_data\": {\n \"supplierName\": \"The Malcolm Company, Inc.\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/job-costs", "host": [ "{{domain}}" ], "path": [ "job-costs" ] } } }, { "name": "Update Job Cost", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/job-costs/{{job_cost_id}}", "host": [ "{{domain}}" ], "path": [ "job-costs", "{{job_cost_id}}" ] } } }, { "name": "Delete Job Cost", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/job-costs/{{job_cost_id}}", "host": [ "{{domain}}" ], "path": [ "job-costs", "{{job_cost_id}}" ] } } } ] }, { "name": "Ledger Accounts", "item": [ { "name": "List Ledger Accounts", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"type\",\n// \"operator\": \"=\",\n// \"value\": \"BenTestCustomer\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-accounts", "host": [ "{{domain}}" ], "path": [ "ledger-accounts" ] } } }, { "name": "Show Ledger Account", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/ledger-accounts/{{ledger_account_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-accounts", "{{ledger_account_id}}" ] } } }, { "name": "New Ledger Account", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Test New Ledger Account\",\n \"status\": \"Active\",\n \"source_data\": {\n \"BaseCurrency\": \"USD\",\n \"TimeZone\": \"(UTC-08:00) Pacific Time (US & Canada)\",\n \"DisplayId\":\"105091\",\n \"Language\":\"En\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-accounts/", "host": [ "{{domain}}" ], "path": [ "ledger-accounts", "" ] } } }, { "name": "Update Ledger Account", "request": { "method": "PUT", "header": [], "url": { "raw": "{{domain}}/ledger-accounts/{{ledger_account_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-accounts", "{{ledger_account_id}}" ] } } } ] }, { "name": "Ledger Journals", "item": [ { "name": "List Ledger Journals", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journals", "host": [ "{{domain}}" ], "path": [ "ledger-journals" ] } } }, { "name": "Show Ledger Journal", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/ledger-journals/{{ledger_journal_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journals", "{{ledger_journal_id}}" ] } } }, { "name": "New Ledger Journal", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"\",\n \"name\": \"\",\n \"type\": \"\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journals/{{ledger_journal_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journals", "{{ledger_journal_id}}" ] } } }, { "name": "Update Ledger Journal", "request": { "method": "PUT", "header": [], "url": { "raw": "{{domain}}/ledger-journals/{{ledger_journal_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journals", "{{ledger_journal_id}}" ] } } } ] }, { "name": "Ledger Jounrnal Entries", "item": [ { "name": "Header", "item": [ { "name": "List Ledger Journal Entries", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"filters\": [\n // {\n // \"field\": \"date\",\n // \"operator\": \"=\",\n // \"value\": \"2023-11-13\"\n // }\n // {\n // \"field\": \"type\",\n // \"operator\": \"=\",\n // \"value\": \"Equipment Regular Hours\"\n // }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries?expand=true&status=Open", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries" ], "query": [ { "key": "page", "value": "1", "disabled": true }, { "key": "per_page", "value": "1", "disabled": true }, { "key": "expand", "value": "true" }, { "key": "status", "value": "Open" } ] } } }, { "name": "Show Ledger Journal Entry", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}" ] } } }, { "name": "New Ledger Journal Entry", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ledger_journal_entry_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"post_date\": \"2023-12-01\",\n \"line_items\": [\n {\n \"credit_amount\": \"0.00\",\n \"debit_amount\": \"75.00\",\n \"reference\": \"ref-001\",\n \"ledger_account_id\": \"b59f821f-d8ad-591c-b319-92b945df8b14\",\n \"ledger_journal_id\": \"293b2785-84bb-51ee-9af4-ccfad1f5d6ca\"\n },\n {\n \"credit_amount\": \"50.00\",\n \"debit_amount\": \"0.00\",\n \"reference\": \"ref-001\",\n \"ledger_account_id\": \"554b526f-89a1-563c-ad04-08ec53059f3d\",\n \"ledger_journal_id\": \"293b2785-84bb-51ee-9af4-ccfad1f5d6ca\"\n },\n {\n \"credit_amount\": \"25.00\",\n \"debit_amount\": \"0.00\",\n \"reference\": \"ref-001\",\n \"ledger_account_id\": \"77187b17-2fbc-5f4a-ab18-85bcf45ef0ea\",\n \"ledger_journal_id\": \"293b2785-84bb-51ee-9af4-ccfad1f5d6ca\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries" ] } } }, { "name": "Update Ledger Journal Entry", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"status\":\"Posted\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}" ] } } }, { "name": "Delete Ledger Journal Entry", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Ledger Journal Entry Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}", "line-items" ] } } }, { "name": "Show Ledger Journal Entry Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}/line-items/{{ledger_journal_entry_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}", "line-items", "{{ledger_journal_entry_line_item_id}}" ] } } }, { "name": "New Ledger Journal Entry Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('ledger_journal_entry_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"credit_amount\": \"0.00\",\n \"debit_amount\": \"95.00\",\n \"reference\": \"ref-002\",\n \"ledger_account_id\": \"50a3b77e-a8f2-5a95-920b-5ac0cc324934\",\n \"ledger_journal_id\": \"e826b32d-6b53-597c-b4ee-b7a2f657f15d\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}", "line-items" ] } } }, { "name": "Update Ledger Journal Entry Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"credit_amount\": \"0.00\",\n \"debit_amount\": \"11.00\",\n \"reference\": \"ref-001\",\n \"ledger_account_id\": \"b59f821f-d8ad-591c-b319-92b945df8b14\",\n \"ledger_journal_id\": \"293b2785-84bb-51ee-9af4-ccfad1f5d6ca\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}/line-items/{{ledger_journal_entry_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}", "line-items", "{{ledger_journal_entry_line_item_id}}" ] } } }, { "name": "Delete Ledger Journal Entry Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/ledger-journal-entries/{{ledger_journal_entry_id}}/line-items/{{ledger_journal_entry_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "ledger-journal-entries", "{{ledger_journal_entry_id}}", "line-items", "{{ledger_journal_entry_line_item_id}}" ] } } } ] } ] }, { "name": "Purchase Orders", "item": [ { "name": "Header", "item": [ { "name": "List Purchase Orders", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" }, { "key": "Should-Read-From-Cache", "value": "1", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\"field\": \"\", \"operator\": \"\", \"value\": \"\"}\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders", "host": [ "{{domain}}" ], "path": [ "purchase-orders" ], "query": [ { "key": "status", "value": "Posted", "disabled": true } ] } } }, { "name": "Show Purchase Order", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('purchase_order_line_item_id', pm.response.json().line_items[0].id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}" ] } } }, { "name": "New Purchase Order", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('purchase_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"delivery_address\": {\n \"street_1\": \"123 Main Street\",\n \"street_2\": \"Unit B\",\n \"city\": \"AnyTown\",\n \"state\": \"CA\",\n \"country\": \"US\",\n \"postal_code\": \"19703\"\n },\n \"delivery_date\": \"2022-01-02\",\n \"name\": \"Initial Cement Order\",\n \"number\": \"12019\",\n \"order_date\": \"2022-01-01\",\n \"status\": \"PM\",\n \"terms\": \"Net 90 days\",\n \"type\": \"Purchase Order\",\n \"vendor_id\": \"source_id:21\",\n \"line_items\": [\n {\n \"cost_code_id\": \"source_id:030000-00-0000\",\n \"cost_type_id\": \"source_id:2\",\n \"description\": \"1/4 PEA GRAVEL\",\n \"item_id\": \"source_id:3\",\n \"quantity\": \"10.0\",\n \"status\": \"Non-Interfaced\",\n \"tax_code_id\": \"source_id:CA\",\n \"unit_cost\": \"7.75000\",\n \"unit_of_measure\": \"TON\"\n },\n {\n \"cost_code_id\": \"source_id:030000-00-0000\",\n \"cost_type_id\": \"source_id:2\",\n \"description\": \"1/4 PEA GRAVEL\",\n \"item_id\": \"source_id:3\",\n \"quantity\": \"10.0\",\n \"status\": \"Non-Interfaced\",\n \"tax_code_id\": \"source_id:CA\",\n \"unit_cost\": \"7.75000\",\n \"unit_of_measure\": \"TON\"\n }\n ]\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders", "host": [ "{{domain}}" ], "path": [ "purchase-orders" ] } } }, { "name": "Update Purchase Order", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"delivery_address\": {\n \"street_1\": \"123 Main Street\",\n \"street_2\": \"Unit B\",\n \"city\": \"AnyTown\",\n \"state\": \"CA\",\n \"country\": \"US\",\n \"postal_code\": \"19703\"\n },\n \"delivery_date\": \"2022-01-02\",\n \"name\": \"Initial Cement Order\",\n \"number\": \"12010\",\n \"order_date\": \"2022-01-01\",\n \"project_id\": \"source_id:A123- C\",\n \"status\": \"PM\",\n \"terms\": \"Net 90 days\",\n \"type\": \"PO\",\n \"vendor_id\": \"source_id:10\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}" ] } } }, { "name": "Delete Purchase Order", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}" ] } } }, { "name": "Bulk Write Purchase Orders", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PATCH", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"creates\": [\n {\n \"approval_date\": \"2024-01-01\",\n \"delivery_address\": {\n \"street_1\": \"1 Main Street\",\n \"street_2\": \"Unit A\",\n \"city\": \"A Town\",\n \"state\": \"CA\",\n \"postal_code\": \"11111\"\n },\n \"delivery_date\": \"2024-01-02\",\n \"description\": \"Great Description 1\",\n \"issue_date\": \"2024-01-03\",\n \"name\": \"First Cement Order\",\n \"number\": \"17116\",\n \"order_date\": \"2024-01-04\",\n \"ship_via\": \"Shipper 1\",\n \"status\": \"Printed\",\n \"terms\": \"Net 30 days\",\n \"vendor_id\": \"{{vendor_id}}\",\n \"line_items\": [\n {\n \"cost_code_id\": \"source_id:1-040\",\n \"cost_type_id\": \"source_id:E\",\n \"description\": \"PO1 Item 1\",\n \"quantity\": \"10.0\",\n \"tax_code_id\": \"source_id:MET\",\n \"unit_cost\": \"7.7500\",\n \"unit_of_measure\": \"ea\"\n },\n {\n \"cost_code_id\": \"source_id:bad\",\n \"cost_type_id\": \"source_id:2\",\n \"description\": \"Won't get written\",\n \"amount\": \"11\"\n },\n {\n \"cost_code_id\": \"source_id:1-045\",\n \"cost_type_id\": \"source_id:L\",\n \"description\": \"PO1 Item 2\",\n \"amount\": \"100\",\n \"tax_code_id\": \"source_id:OR\"\n }\n ]\n },\n {\n \"number\": \"17111\",\n \"description\": \"A duplicate\",\n \"vendor_id\": \"{{vendor_id}}\",\n \"line_items\": [\n {\n \"cost_code_id\": \"source_id:NA\",\n \"amount\": \"100\",\n \"description\": \"Doesn't matter\"\n }\n ]\n },\n {\n \"approval_date\": \"2024-02-01\",\n \"delivery_address\": {\n \"street_1\": \"2 Main Street\",\n \"street_2\": \"Unit B\",\n \"city\": \"B Town\",\n \"state\": \"CA\",\n \"postal_code\": \"22222\"\n },\n \"delivery_date\": \"2024-02-02\",\n \"description\": \"Great Description 2\",\n \"issue_date\": \"2024-02-03\",\n \"name\": \"Second Cement Order\",\n \"number\": \"17226\",\n \"order_date\": \"2024-02-04\",\n \"ship_via\": \"Shipper 2\",\n \"status\": \"Printed\",\n \"terms\": \"Net 60 days\",\n \"vendor_id\": \"{{vendor_id}}\",\n \"line_items\": [\n {\n \"cost_code_id\": \"source_id:2-010\",\n \"cost_type_id\": \"source_id:E\",\n \"description\": \"PO2 Item 1\",\n \"quantity\": \"20.0\",\n \"unit_cost\": \"5.7500\",\n \"unit_of_measure\": \"lb\"\n },\n {\n \"cost_code_id\": \"source_id:bad\",\n \"cost_type_id\": \"source_id:2\",\n \"description\": \"Won't get written\",\n \"amount\": \"22\"\n },\n {\n \"cost_code_id\": \"source_id:2-050\",\n \"cost_type_id\": \"source_id:L\",\n \"description\": \"PO2 Item 2\",\n \"amount\": \"200\"\n }\n ]\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders", "host": [ "{{domain}}" ], "path": [ "purchase-orders" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Purchase Order Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "line-items" ] } } }, { "name": "Show Purchase Order Line Item", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"actual_completion_date\": \"2022-08-25\",\n \"contractor_id\": \"{{vendor_id}}\",\n \"defects_expiry_date\": \"2022-08-27\",\n \"defects_period\": \"\",\n \"description\": \"Contract by Pooria via Agave 5\",\n \"estimated_completion_date\": \"2022-08-27\",\n \"execution_date\": \"2022-05-27\",\n \"full_release_date\": \"2022-02-27\",\n \"half_release_date\": \"2022-08-27\",\n \"is_executed\": true,\n \"retainage_percent\": 25,\n \"retention_based_on\": \"Unknown\",\n \"sent_date\": \"2022-01-01\",\n \"start_date\": \"2022-01-02\",\n \"total_amount\": \"\",\n \"type\": \"Lump Sum\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/line-items/{{purchase_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "line-items", "{{purchase_order_line_item_id}}" ] } } }, { "name": "New Purchase Order Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('purchase_order_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"source_id:030000-00-0000\",\n \"cost_type_id\": \"source_id:2\",\n \"description\": \"1/4 PEA GRAVEL\",\n \"item_id\": \"source_id:3\",\n \"quantity\": \"10.0\",\n \"status\": \"Non-Interfaced\",\n \"tax_code_id\": \"source_id:CA\",\n \"unit_cost\": \"7.75000\",\n \"unit_of_measure\": \"TON\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "line-items" ] } } }, { "name": "Update Purchase Order Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/line-items/{{purchase_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "line-items", "{{purchase_order_line_item_id}}" ] } } }, { "name": "Delete Purchase Order Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/purchase-orders/{{purchase_order_id}}/line-items/{{purchase_order_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "purchase-orders", "{{purchase_order_id}}", "line-items", "{{purchase_order_line_item_id}}" ] } } } ] } ] }, { "name": "Prime Contracts", "item": [ { "name": "Header", "item": [ { "name": "List Prime Contracts", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts", "host": [ "{{domain}}" ], "path": [ "prime-contracts" ], "query": [ { "key": "page", "value": "3", "disabled": true }, { "key": "per_page", "value": "10", "disabled": true } ] } } }, { "name": "Show Prime Contract", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}" ] } } }, { "name": "New Prime Contract", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('prime_contract_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{$randomFullName}}\",\n \"number\": \"{{$randomAlphaNumeric}}-{{$randomInt}}\",\n \"actual_completion_date\": \"2023-12-23\",\n \"contact_id\": \"{{contact_id}}\",\n \"description\": \"{{$randomStreetName}}\",\n \"estimated_completion_date\": \"2023-12-23\",\n \"execution_date\": \"2023-12-23\",\n \"start_date\": \"2023-12-23\",\n \"status\": \"Executed\",\n \"type\": \"Cost Plus\",\n \"vendor_id\": \"{{vendor_id}}\",\n \"retention_percent\": \"5\",\n \"line_items\": [\n {\n \"amount\": \"{{$randomInt}}\",\n \"description\": \"{{$randomLastName}}\",\n \"quantity\": \"{{$randomInt}}\",\n \"unit_cost\": \"{{$randomPrice}}\",\n \"unit_of_measure\": \"{{$randomCurrencyCode}}\",\n \"number\": \"{{$randomAlphaNumeric}}-{{$randomInt}}\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/prime-contracts", "host": [ "{{domain}}" ], "path": [ "prime-contracts" ] } } }, { "name": "Update Prime Contract", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"{{$randomFullName}}\",\n \"number\": \"{{$randomAlphaNumeric}}-{{$randomInt}}\",\n \"actual_completion_date\": \"2023-12-23\",\n \"contact_id\": \"{{contact_id}}\",\n \"description\": \"{{$randomStreetName}}\",\n \"estimated_completion_date\": \"2023-12-23\",\n \"execution_date\": \"2023-12-23\",\n \"start_date\": \"2023-12-23\",\n \"status\": \"Executed\",\n \"type\": \"Fixed Price\",\n \"vendor_id\": \"{{vendor_id}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}" ] } } }, { "name": "Delete Prime Contract", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Prime Contract Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "line-items" ] } } }, { "name": "Show Prime Contract Line Item", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/line-items/{{prime_contract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "line-items", "{{prime_contract_line_item_id}}" ] } } }, { "name": "New Prime Contract Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('prime_contract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"{{$randomInt}}\",\n \"description\": \"{{$randomLastName}}\",\n \"quantity\": \"{{$randomInt}}\",\n \"unit_cost\": \"{{$randomPrice}}\",\n \"unit_of_measure\": \"{{$randomCurrencyCode}}\",\n \"number\": \"{{$randomAlphaNumeric}}-{{$randomInt}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "line-items" ] } } }, { "name": "Update Prime Contract Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('prime_contract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": \"{{$randomInt}}\",\n \"description\": \"{{$randomLastName}}\",\n \"quantity\": \"{{$randomInt}}\",\n \"unit_cost\": \"{{$randomPrice}}\",\n \"unit_of_measure\": \"{{$randomCurrencyCode}}\",\n \"number\": \"{{$randomAlphaNumeric}}-{{$randomInt}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/line-items/{{prime_contract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "line-items", "{{prime_contract_line_item_id}}" ] } } }, { "name": "Delete Prime Contract Line Item", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('prime_contract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/prime-contracts/{{prime_contract_id}}/line-items/{{prime_contract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "prime-contracts", "{{prime_contract_id}}", "line-items", "{{prime_contract_line_item_id}}" ] } } } ] } ] }, { "name": "Subcontracts", "item": [ { "name": "Header", "item": [ { "name": "List Subcontracts", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\"field\": \"source_update_time\", \"operator\": \">=\", \"value\": \"2024-04-21\"}\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts", "host": [ "{{domain}}" ], "path": [ "subcontracts" ] } } }, { "name": "Show Subcontract", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}" ] } } }, { "name": "New Subcontract", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('subcontract_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"SZ - SubBase Test\",\n \"number\": \"98-0007.983\",\n \"status\": \"Pending\",\n \"type\": \"SUBCONTRACT\", // already in there\n \"vendor_id\": \"cb698787-2d43-5c7c-85ed-e54daa99c671\",\n \"line_items\": [\n {\n \"amount\": \"1\",\n \"cost_code_id\": \"718d547f-6901-5ed4-a298-9dd0ae964b2b\",\n \"cost_type_id\": \"5480462c-ce0f-5df8-9821-77cd0f26e096\",\n \"description\": \"Util - Sewer Service\",\n \"unit_of_measure\": \"$\",\n \"source_data\": {\n \"ScschJobCode\": \"98-0007-A\"\n }\n }\n ],\n \"source_data\": {\n \"ScmstBankDept\": \"00\",\n \"ScmstContactCode\": \"SS\", // Vendor Contact\n \"ScmstRecipientEmail\": \"sschlender0955@gmail.com\", // Contact Email\n \"ScmstSenderEmail\": null, // Sender Email, no shown in our UI\n \"ScmstDefaultTaxesFlag\": \"Y\", // Default Taxes, not setup in our instance for that vendor\n \"ScmstTermCode\": \"NET30\" // Term Code\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts", "host": [ "{{domain}}" ], "path": [ "subcontracts" ] } } }, { "name": "Update Subcontract", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Test Changre Order to Post 2 XYZ1234\",\n \"number\": \"16-001.027\",\n \"status\": \"PENDING\",\n \"vendor_id\": \"59339f48-6d8e-5cf8-ad34-a9d1ac06fe3d\",\n \"source_data\":{\n \n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}" ] } } }, { "name": "Delete Subcontract", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Subcontract Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/line-items?sub=1", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "line-items" ], "query": [ { "key": "sub", "value": "1" } ] } } }, { "name": "Show Subcontract Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/line-items/{{subcontract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "line-items", "{{subcontract_line_item_id}}" ] } } }, { "name": "New Subcontract Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('subcontract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"8c9ba3ae-5932-5c5e-8b43-129661be6369\",\n \"cost_type_id\": \"1fced983-dba5-538a-8a24-9bcf8749cd08\",\n \"unit_of_measure\": \"each\",\n \"amount\": \"10.2\",\n \"quantity\": \"21\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "line-items" ] } } }, { "name": "Update Subcontract Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"5b0066ea-b9e8-5d47-8c7a-dc48b0b7c1b9\",\n \"amount\": \"9.12\",\n \"quantity\": \"11\",\n \"unit_of_measure\": \"hrs\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/line-items/{{subcontract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "line-items", "{{subcontract_line_item_id}}" ] } } }, { "name": "Delete Subcontract Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontracts/{{subcontract_id}}/line-items/{{subcontract_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontracts", "{{subcontract_id}}", "line-items", "{{subcontract_line_item_id}}" ] } } } ] } ] }, { "name": "Subcontract Claim", "item": [ { "name": "Header", "item": [ { "name": "List Subcontract Claims", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontract-claims?expand=1", "host": [ "{{domain}}" ], "path": [ "subcontract-claims" ], "query": [ { "key": "expand", "value": "1" } ] } } }, { "name": "Show Subcontract Claim", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}" ] } } }, { "name": "New Subcontract Claim", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('subcontract_claim_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"ap_invoice_date\": \"2023-06-14\",\n \"ap_invoice_number\": \"SubClaim3\",\n \"approval_date\": \"2023-06-16\",\n \"approval_retention_amount\": \"13.50\",\n \"claim_date\": \"2023-12-10\",\n \"claim_number\": \"5\",\n \"contract\": {\n \"id\": \"966042ef-ca36-5bfa-8ca9-7a7a84686252\",\n \"type\": \"subcontract\"\n },\n \"description\": \"Test Subcontract Claim 5\",\n \"due_date\": \"2023-07-16\",\n \"status\": \"Certified\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims", "host": [ "{{domain}}" ], "path": [ "subcontract-claims" ] } } }, { "name": "Update Subcontract Claim", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Updated\",\n \"status\": \"Pending\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}" ] } } }, { "name": "Delete Subcontract Claim", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}" ] } } } ] }, { "name": "Line Items", "item": [ { "name": "List Subcontract Claim Line Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}", "line-items" ] } } }, { "name": "Show Subcontract Claim Line Item", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}/line-items/{{subcontract_claim_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}", "line-items", "{{subcontract_claim_line_item_id}}" ] } } }, { "name": "New Subcontract Claim Line Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('subcontract_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"cost_code_id\": \"337db147-8267-56de-8d84-8785fb789069\",\n \"unit_of_measure\": \"$\",\n \"source_data\":{\n \"ScschVenCode\": \"3456\",\n \"ScschChgCode\": \"000\",\n \"ScschCatCode\": \"M\",\n \"ScschTaskCode\": \"1\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}/line-items", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}", "line-items" ] } } }, { "name": "Update Subcontract Claim Line Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"approval_amount\": \"100.00\",\n \"approval_quantity\": \"10.000\",\n \"approval_retention_amount\": \"1.00\",\n \"claim_amount\": \"200.00\",\n \"claim_quantity\": \"20.000\",\n \"description\": \"Updated description\",\n \"unit_cost\": \"10.00000\",\n \"unit_of_measure\": \"HRS\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}/line-items/{{subcontract_claim_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}", "line-items", "{{subcontract_claim_line_item_id}}" ] } } }, { "name": "Delete Subcontract Claim Line Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/subcontract-claims/{{subcontract_claim_id}}/line-items/{{subcontract_claim_line_item_id}}", "host": [ "{{domain}}" ], "path": [ "subcontract-claims", "{{subcontract_claim_id}}", "line-items", "{{subcontract_claim_line_item_id}}" ] } } } ] } ] }, { "name": "Tax Codes", "item": [ { "name": "List Tax Codes", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/tax-codes", "host": [ "{{domain}}" ], "path": [ "tax-codes" ] } } }, { "name": "Show Tax Code", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/tax-codes/{{tax_code_id}}", "host": [ "{{domain}}" ], "path": [ "tax-codes", "{{tax_code_id}}" ] } } }, { "name": "New Tax Code", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('tax_code_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"SpaceMaterials\",\n \"name\": \"SpaceMaterials...\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/tax-codes", "host": [ "{{domain}}" ], "path": [ "tax-codes" ] } } }, { "name": "Delete Tax Code", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/tax-codes/{{tax_code_id}}", "host": [ "{{domain}}" ], "path": [ "tax-codes", "{{tax_code_id}}" ] } } }, { "name": "Update Tax Code", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('budget_line_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"SpaceMaterials\",\n \"name\": \"SpaceMaterials...\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/tax-codes/{{tax_code_id}}", "host": [ "{{domain}}" ], "path": [ "tax-codes", "{{tax_code_id}}" ] } } } ] }, { "name": "Timecard Entries", "item": [ { "name": "List Timecard Entries", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/timecard-entries", "host": [ "{{domain}}" ], "path": [ "timecard-entries" ] } } }, { "name": "Show Timecard Entry", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/timecard-entries/{{timecard_entry_id}}", "host": [ "{{domain}}" ], "path": [ "timecard-entries", "{{timecard_entry_id}}" ] } } }, { "name": "New Timecard Entry", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('timecard_entry_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"batch\": \"20240728\",\n \"cost_code_id\": \"source_id:10000\",\n \"cost_type_id\": \"source_id:LA\",\n \"date\": \"2024-01-15\",\n \"description\": \"JC Timecard from Postman 1\",\n \"earnings_type\": \"Sick\",\n \"employee_id\": \"{{employee_id}}\",\n \"hours\": \"10\",\n \"payment_rate\": \"20.4\",\n \"source_data\": {\n \"Reference_1\": \"pcor-123\",\n \"GL_Debit_Account\": \"5050\",\n \"GL_Credit_Account\": \"5400\",\n \"Cost_Center_Credit\": \"1010\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/timecard-entries", "host": [ "{{domain}}" ], "path": [ "timecard-entries" ] } } }, { "name": "Update Timecard Entry", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"Sample timerard for {{$randomFullName}}\",\n \"date\": \"2023-06-03\",\n \"hours\": \"89\",\n \"status\":\"Draft\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/timecard-entries/{{timecard_entry_id}}", "host": [ "{{domain}}" ], "path": [ "timecard-entries", "{{timecard_entry_id}}" ] } } }, { "name": "Delete Timecard Entry", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/timecard-entries/{{timecard_entry_id}}", "host": [ "{{domain}}" ], "path": [ "timecard-entries", "{{timecard_entry_id}}" ] } } } ] }, { "name": "WBS", "item": [ { "name": "List WBS", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs", "host": [ "{{domain}}" ], "path": [ "wbs" ] } } }, { "name": "Show WBS", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/wbs/{{wbs_id}}", "host": [ "{{domain}}" ], "path": [ "wbs", "{{wbs_id}}" ] } } }, { "name": "New WBS", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('wbs_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"01-000000.L\",\n \"name\": \"Test WBS\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs", "host": [ "{{domain}}" ], "path": [ "wbs" ] } } } ] }, { "name": "WBS Segments", "item": [ { "name": "Items", "item": [ { "name": "New WBS Segment Item", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('wbs_segment_item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"01-01-005\",\n \"name\": \"Project Executive\",\n \"parent_id\": \"{{wbs_segment_item_id}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}/items", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}", "items" ] } } }, { "name": "Update WBS Segment Item", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"code\": \"129\",\n \"name\": \"test segment Value _renamed_\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}/items/{{wbs_segment_item_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}", "items", "{{wbs_segment_item_id}}" ] } } }, { "name": "List WBS Segment Items", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}/items", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}", "items" ] } } }, { "name": "Show WBS Segment Item", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}/items/{{wbs_segment_item_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}", "items", "{{wbs_segment_item_id}}" ] } } }, { "name": "Delete WBS Segment Item", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}/items/{{wbs_segment_item_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}", "items", "{{wbs_segment_item_id}}" ] } } } ] }, { "name": "List WBS Segments", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/wbs-segments", "host": [ "{{domain}}" ], "path": [ "wbs-segments" ] } } }, { "name": "Show WBS Segment", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}" ] } } }, { "name": "Delete WBS Segment", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}" ] } } }, { "name": "Update WBS Segment", "event": [ { "listen": "prerequest", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('wbs_segment_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"delimiter\": \"hyphen\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments/{{wbs_segment_id}}", "host": [ "{{domain}}" ], "path": [ "wbs-segments", "{{wbs_segment_id}}" ] } } }, { "name": "New WBS Segment", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if(pm.response.code === 200){", " pm.environment.set('wbs_segment_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"TestType3\",\n \"source_data\": {\n \"structure\": \"flat\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/wbs-segments", "host": [ "{{domain}}" ], "path": [ "wbs-segments" ] } } } ] }, { "name": "Units of Measure", "item": [ { "name": "List Units of Measure", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\"field\": \"type\", \"operator\": \"=\", \"value\": \"Ledger Journal Entry\"}\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/units-of-measure", "host": [ "{{domain}}" ], "path": [ "units-of-measure" ] } } }, { "name": "Show Unit of Measure", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" } ], "url": { "raw": "{{domain}}/units-of-measure/{{unit_of_measure_id}}", "host": [ "{{domain}}" ], "path": [ "units-of-measure", "{{unit_of_measure_id}}" ] } } } ] }, { "name": "Inventory Location", "item": [ { "name": "List Inventory Locations", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/inventory-locations", "host": [ "{{domain}}" ], "path": [ "inventory-locations" ] } } }, { "name": "Show Inventory Location", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "url": { "raw": "{{domain}}/inventory-locations/{{inventory_location_id}}", "host": [ "{{domain}}" ], "path": [ "inventory-locations", "{{inventory_location_id}}" ] } } }, { "name": "New Inventory Location", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('item_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"expense_account_id\": \"{{expense_account_id}}\",\n \"income_account_id\": \"{{income_account_id}}\",\n \"asset_account_id\": \"{{asset_account_id}}\",\n \"name\": \"Test Child Item\",\n \"status\": \"Active\",\n \"type\": \"Service\",\n \"unit_cost\": \"1.33\",\n \"unit_price\": \"2.33\"\n \n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/inventory-locations", "host": [ "{{domain}}" ], "path": [ "inventory-locations" ] } } }, { "name": "Update Inventory Location", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "body": { "mode": "raw", "raw": "{\n \"account_id\": \"b6cc53c8-ae13-5b9c-96e9-2287229b6a54\",\n \"description\": \"Concrete for fountain installation\",\n \"name\": \"Concrete 6\",\n \"status\": \"Active\",\n \"unit_price\": \"12\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/inventory-locations/{{inventory_location_id}}", "host": [ "{{domain}}" ], "path": [ "inventory-locations", "{{inventory_location_id}}" ] } } }, { "name": "Delete Inventory Location", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}" } ], "url": { "raw": "{{domain}}/inventory-locations/{{inventory_location_id}}", "host": [ "{{domain}}" ], "path": [ "inventory-locations", "{{inventory_location_id}}" ] } } } ] }, { "name": "Departments", "item": [ { "name": "List Departments", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "body": { "mode": "raw", "raw": "// {\n// \"filters\": [\n// {\n// \"field\": \"status\",\n// \"operator\": \"=\",\n// \"value\": \"Archived\"\n// }\n// ]\n// }", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/departments?type=Cost Center", "host": [ "{{domain}}" ], "path": [ "departments" ], "query": [ { "key": "type", "value": "Cost Center" } ] } } }, { "name": "Show Department", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "url": { "raw": "{{domain}}/departments/{{department_id}}", "host": [ "{{domain}}" ], "path": [ "departments", "{{department_id}}" ] } } } ] } ] }, { "name": "Project Management", "item": [ { "name": "Projects", "item": [ { "name": "List Projects", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/projects", "host": [ "{{domain}}" ], "path": [ "projects" ] } } }, { "name": "Show Project", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/projects/{{project_id}}", "host": [ "{{domain}}" ], "path": [ "projects", "{{project_id}}" ] } } }, { "name": "New Project", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('project_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"street_1\": \"123 Main Street\",\n \"street_2\": \"Unit B\",\n \"city\": \"AnyTown\",\n \"state\": \"CA\",\n \"postal_code\": \"19703\"\n },\n \"amount\": \"500000.00\",\n \"completion_date\": \"2025-01-01\",\n \"name\": \"AnyCompany dredging Project\",\n \"number\": \"JZ-102\",\n \"start_date\": \"2022-01-01\",\n \"status\": \"Active\",\n \"type\": \"Fixed Price\",\n \"source_data\": {\n \"Taxable_Flag\": \"Y\",\n \"Cost_Center\": \"1010\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/projects", "host": [ "{{domain}}" ], "path": [ "projects" ] } } }, { "name": "Update Project", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('project_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Test update 2\",\n \"number\": \"PA-001\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/projects/{{project_id}}", "host": [ "{{domain}}" ], "path": [ "projects", "{{project_id}}" ] } } }, { "name": "Delete Project", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/projects/{{project_id}}", "host": [ "{{domain}}" ], "path": [ "projects", "{{project_id}}" ] } } } ] }, { "name": "Checklists", "item": [ { "name": "List Checklists", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript", "packages": [] } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "source_id:80a1236b-b0cc-47d9-8242-dcfe547551b9", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/checklists", "host": [ "{{domain}}" ], "path": [ "checklists" ], "query": [ { "key": "page", "value": "2", "disabled": true }, { "key": "per_page", "value": "2", "disabled": true } ] } } }, { "name": "Show Checklist", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/checklists/{{checklist_id}}", "host": [ "{{domain}}" ], "path": [ "checklists", "{{checklist_id}}" ] } } } ] }, { "name": "Checklist Templates", "item": [ { "name": "List Checklist Templates", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"filters\": [\n {\"field\": \"type\", \"operator\": \"=\", \"value\": \"Punch List\"}\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/checklist-templates?page=2&per_page=2", "host": [ "{{domain}}" ], "path": [ "checklist-templates" ], "query": [ { "key": "page", "value": "2" }, { "key": "per_page", "value": "2" } ] } } }, { "name": "Show Checklist Template", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/checklist-templates/{{checklist_template_id}}", "host": [ "{{domain}}" ], "path": [ "checklist-templates", "{{checklist_template_id}}" ] } } } ] }, { "name": "Contacts", "item": [ { "name": "List Contacts (Company)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/contacts", "host": [ "{{domain}}" ], "path": [ "contacts" ] } } }, { "name": "List Contacts (Project)", "event": [ { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/contacts", "host": [ "{{domain}}" ], "path": [ "contacts" ] } } }, { "name": "List Contacts (Vendor)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/contacts", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "contacts" ] } } }, { "name": "List Contacts (Customer)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/customers/{{customer_id}}/contacts", "host": [ "{{domain}}" ], "path": [ "customers", "{{customer_id}}", "contacts" ] } } }, { "name": "Show Contact (Company)", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "contacts", "{{contact_id}}" ] } } }, { "name": "Show Contact (Project)", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "contacts", "{{contact_id}}" ] } } }, { "name": "Show Contact (Vendor)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}", "contacts", "{{contact_id}}" ] } } }, { "name": "Show Contact (Customer)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/customers/{{customer_id}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "customers", "{{customer_id}}", "contacts", "{{contact_id}}" ] } } }, { "name": "New Contact (Company)", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('contact_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"San Francisco2\",\n \"country\": \"USA2\",\n \"postal_code\": \"6666667\",\n \"state\": \"CA2\",\n \"street_1\": \"street3\"\n },\n \"customer_id\": null,\n \"email\": \"email223@email.com\",\n \"first_name\": \"name6\",\n \"image_url\": \"test.com/logo.png\",\n \"job_title\": \"Salesperson\",\n \"last_name\": \"lastname\",\n \"phone\": \"1-666-666-6668\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/contacts", "host": [ "{{domain}}" ], "path": [ "contacts" ] } } }, { "name": "New Contact (Customer)", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('contact_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"email\": \"test-1@agaveapitest.com\",\n \"full_name\": \"Test {{$randomFullName}}\",\n \"job_title\": \"Salesperson\",\n \"mobile_phone\": \"1235550101\",\n \"phone\": \"1235550102\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/customers/{{customer_id}}/contacts", "host": [ "{{domain}}" ], "path": [ "customers", "{{customer_id}}", "contacts" ] } } }, { "name": "Update Contact (Company)", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"San Francisco2\",\n \"country\": \"USA2\",\n \"postal_code\": \"6666667\",\n \"state\": \"CA2\",\n \"street_1\": \"street3\"\n },\n \"customer_id\": null,\n \"email\": \"email223@email.com\",\n \"first_name\": \"name6\",\n \"image_url\": \"test.com/logo.png\",\n \"job_title\": \"Salesperson\",\n \"last_name\": \"lastname\",\n \"phone\": \"1-666-666-6668\"\n}\n ", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "contacts", "{{contact_id}}" ] } } }, { "name": "Update Contact (Customer)", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"city\": \"San Francisco2\",\n \"country\": \"USA2\",\n \"postal_code\": \"6666667\",\n \"state\": \"CA2\",\n \"street_1\": \"street3\"\n },\n \"customer_id\": null,\n \"email\": \"email223@email.com\",\n \"first_name\": \"name6\",\n \"image_url\": \"test.com/logo.png\",\n \"job_title\": \"Salesperson\",\n \"last_name\": \"lastname\",\n \"phone\": \"1-666-666-6668\"\n}\n ", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/customers/{{customer_id}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "customers", "{{customer_id}}", "contacts", "{{contact_id}}" ] } } }, { "name": "Delete Contact (Company)", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "contacts", "{{contact_id}}" ] } } }, { "name": "Delete Contact (Customer)", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "url": { "raw": "{{domain}}/customers/{{customer_id}}/contacts/{{contact_id}}", "host": [ "{{domain}}" ], "path": [ "customers", "{{customer_id}}", "contacts", "{{contact_id}}" ] } } } ] }, { "name": "Coordination Issues", "item": [ { "name": "List Coordination Issues", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/coordination-issues", "host": [ "{{domain}}" ], "path": [ "coordination-issues" ] } } }, { "name": "New Coordination Issue", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('coordination_issue_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "assignee_id", "value": "84a6b72f-b6a4-591f-ac5b-cbaaee4d6c6d", "type": "text", "disabled": true }, { "key": "attachments[]", "type": "file", "src": "/Users/pooriaazimi/Downloads/aconex_mail_developer_guide_august_2020(2).pdf", "disabled": true }, { "key": "attachments[]", "type": "file", "src": "/Users/pooriaazimi/Downloads/Information Security Roles and Responsibilities v1.0.1.pdf", "disabled": true }, { "key": "description", "value": "Test new description from Postman.\nNew line.", "type": "text" }, { "key": "due_date", "value": "2022-10-22", "type": "text" }, { "key": "status", "value": "open", "type": "text" }, { "key": "name", "value": "New Issue", "type": "text" }, { "key": "type", "value": "clash", "type": "text" }, { "key": "viewpoints[0][image]", "type": "file", "src": "/Users/johnzucchi/Desktop/logo.png" }, { "key": "viewpoints[0][viewpoint]", "value": "{\n\"coordination_issue_file_id\": 3413, \n\"name\": \"test viewpoint\",\n \"camera_data\": \"{\\\"Type\\\":\\\"Camera\\\",\\\"Scale\\\":1,\\\"Up\\\":[0,0,1],\\\"Front\\\":[0,1,2.22],\\\"Right\\\":[1,0,0],\\\"Position\\\":[36.48,22.38,68.27],\\\"View\\\":[-0.11,-0.14,-0.98]}\",\n \"redlines_data\": \"{\\\"Type\\\":\\\"RedlineCollection\\\",\\\"Values\\\":[{\\\"Type\\\":\\\"RedlineEllipse\\\",\\\"Thickness\\\":3,\\\"Color\\\":[1,0,0],\\\"MinPoint\\\":[-0.131,0.202],\\\"MaxPoint\\\":[0.144,0.024]}]}\",\n \"sections_data\": \"{\\\"Type\\\":\\\"ClipPlaneSet\\\",\\\"Version\\\":1}\"\n}", "type": "text" }, { "key": "viewpoints[1][viewpoint]", "value": "{\n \"coordination_issue_file_id\": 3413,\n \"name\": \"test viewpoint\",\n \"camera_data\": \"{\\\"Type\\\":\\\"Camera\\\",\\\"Scale\\\":1,\\\"Up\\\":[0,0,1],\\\"Front\\\":[0,1,2.22],\\\"Right\\\":[1,0,0],\\\"Position\\\":[36.48,22.38,68.27],\\\"View\\\":[-0.11,-0.14,-0.98]}\",\n \"redlines_data\": \"{\\\"Type\\\":\\\"RedlineCollection\\\",\\\"Values\\\":[{\\\"Type\\\":\\\"RedlineEllipse\\\",\\\"Thickness\\\":3,\\\"Color\\\":[1,0,0],\\\"MinPoint\\\":[-0.131,0.202],\\\"MaxPoint\\\":[0.144,0.024]}]}\",\n \"sections_data\": \"{\\\"Type\\\":\\\"ClipPlaneSet\\\",\\\"Version\\\":1}\"\n}", "type": "text", "disabled": true } ] }, "url": { "raw": "{{domain}}/coordination-issues", "host": [ "{{domain}}" ], "path": [ "coordination-issues" ] } } }, { "name": "Show Coordination Issue", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/coordination-issues/{{coordination_issue_id}}", "host": [ "{{domain}}" ], "path": [ "coordination-issues", "{{coordination_issue_id}}" ] } } }, { "name": "Update Coordination Issue", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"assignee_id\": \"{{contact_id}}\",\n \"description\": \"Updated Description\",\n \"due_date\": \"2022-12-25\",\n \"name\": \"Updated Title 2\",\n \"status\": \"Open\",\n \"type\": \"Issue\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/coordination-issues/{{coordination_issue_id}}", "host": [ "{{domain}}" ], "path": [ "coordination-issues", "{{coordination_issue_id}}" ] } } }, { "name": "Delete Coordination Issue", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "assignee_id", "value": "{{contact_id}}", "type": "text" }, { "key": "description", "value": "Test description from Postman.\nNew line.", "type": "text" }, { "key": "due_date", "value": "2022-10-22", "type": "text" }, { "key": "status", "value": "Draft", "type": "text" }, { "key": "title", "value": "Postman Test Issue", "type": "text" }, { "key": "type", "value": "Issue", "type": "text" }, { "key": "viewpoints[0][viewpoint]", "value": "{ \"ViewType\": \"None\" }", "type": "text" }, { "key": "viewpoints[1][viewpoint]", "value": "{\n \"ViewType\": \"TwoD\",\n \"PerspectiveCamera\":\n {\n \"CameraPosition\":\n {\n \"X\": -11.98274230957031,\n \"Y\": 42.51033020019531,\n \"Z\": -31.29631805419922\n },\n \"CameraDirection\":\n {\n \"X\": 0.2273502588272095,\n \"Y\": 0.2273502588272095,\n \"Z\": -0.2273502588272095\n },\n \"CameraUpVector\":\n {\n \"X\": 0.6282483053207397,\n \"Y\": 0.2482483053207395,\n \"Z\": 0.1264966106414795\n },\n \"FieldOfView\": 0.7853981633974483\n },\n \"ViewToWorldScale\": 0\n}", "type": "text" }, { "key": "viewpoints[1][image]", "value": "", "type": "text" }, { "key": "viewpoints[2][viewpoint]", "value": "{\n \"ViewType\": \"ThreeD\",\n \"PerspectiveCamera\":\n {\n \"CameraPosition\":\n {\n \"X\": -101.29631805419922,\n \"Y\": -52.98274230957031,\n \"Z\": 101.51033020019531\n },\n \"CameraDirection\":\n {\n \"X\": 0.5773502588272095,\n \"Y\": 0.5773502588272095,\n \"Z\": -0.5773502588272095\n },\n \"CameraUpVector\":\n {\n \"X\": 0.40824830532073975,\n \"Y\": 0.40824830532073975,\n \"Z\": 0.8164966106414795\n },\n \"FieldOfView\": 0.7853981633974483\n },\n \"Pinpoint\":\n {\n \"Name\": null,\n \"Position\":\n {\n \"X\": -8.8768310546875,\n \"Y\": -6.022407531738281,\n \"Z\": 9.04999828338623\n },\n \"Element1\": null,\n \"Element2\": null\n },\n \"Source\": \"ThreeDViewer\",\n \"ViewName\": null,\n \"ModelName\": null,\n \"Comments\":\n [],\n \"ViewUniqueId\": null,\n \"WasCreatedFromSheetInstance\": false,\n \"ViewStateSummary\": null\n}", "type": "text" }, { "key": "viewpoints[3][viewpoint]", "value": "{\n \"ViewType\": \"TwoD\",\n \"PerspectiveCamera\":\n {\n \"CameraPosition\":\n {\n \"X\": -11.98274230957031,\n \"Y\": 42.51033020019531,\n \"Z\": -31.29631805419922\n },\n \"CameraDirection\":\n {\n \"X\": 0.2273502588272095,\n \"Y\": 0.2273502588272095,\n \"Z\": -0.2273502588272095\n },\n \"CameraUpVector\":\n {\n \"X\": 0.6282483053207397,\n \"Y\": 0.2482483053207395,\n \"Z\": 0.1264966106414795\n },\n \"FieldOfView\": 0.7853981633974483\n },\n \"ViewToWorldScale\": 0\n}", "type": "text" }, { "key": "viewpoints[3][image]", "value": "", "type": "text" } ] }, "url": { "raw": "{{domain}}/coordination-issues/{{coordination_issue_id}}", "host": [ "{{domain}}" ], "path": [ "coordination-issues", "{{coordination_issue_id}}" ] } } }, { "name": "New Attachment", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "sample-file-999.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/johnzucchi/Desktop/agaveapi.png" } ] }, "url": { "raw": "{{domain}}/coordination-issues/{{coordination_issue_id}}/attachments", "host": [ "{{domain}}" ], "path": [ "coordination-issues", "{{coordination_issue_id}}", "attachments" ] } } }, { "name": "New Viewpoint", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "viewpoint", "value": "{\n \"ViewType\": \"TwoD\",\n \"PerspectiveCamera\":\n {\n \"CameraPosition\":\n {\n \"X\": -11.98274230957031,\n \"Y\": 42.51033020019531,\n \"Z\": -31.29631805419922\n },\n \"CameraDirection\":\n {\n \"X\": 0.2273502588272095,\n \"Y\": 0.2273502588272095,\n \"Z\": -0.2273502588272095\n },\n \"CameraUpVector\":\n {\n \"X\": 0.6282483053207397,\n \"Y\": 0.2482483053207395,\n \"Z\": 0.1264966106414795\n },\n \"FieldOfView\": 0.7853981633974483\n },\n \"ViewToWorldScale\": 0\n}", "type": "text" }, { "key": "image", "type": "file", "src": "/Users/pooriaazimi/Downloads/Screen Shot 2022-08-08 at 7.20.05 PM.png" } ] }, "url": { "raw": "{{domain}}/coordination-issues/{{coordination_issue_id}}/viewpoints", "host": [ "{{domain}}" ], "path": [ "coordination-issues", "{{coordination_issue_id}}", "viewpoints" ] } } } ] }, { "name": "Drawings", "item": [ { "name": "List Drawings", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawings", "host": [ "{{domain}}" ], "path": [ "drawings" ] } } }, { "name": "Filter Drawings", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawings?discipline=Architectural&drawing_area_id={{drawing_area_id}}", "host": [ "{{domain}}" ], "path": [ "drawings" ], "query": [ { "key": "discipline", "value": "Architectural" }, { "key": "drawing_area_id", "value": "{{drawing_area_id}}" } ] } } }, { "name": "Show Drawing", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawings/{{drawing_id}}", "host": [ "{{domain}}" ], "path": [ "drawings", "{{drawing_id}}" ] } } } ] }, { "name": "Drawing Versions", "item": [ { "name": "List Drawing Versions", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawings/{{drawing_id}}/versions", "host": [ "{{domain}}" ], "path": [ "drawings", "{{drawing_id}}", "versions" ] } } }, { "name": "Show Drawing Version", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawings/{{drawing_id}}/versions/{{drawing_version_id}}", "host": [ "{{domain}}" ], "path": [ "drawings", "{{drawing_id}}", "versions", "{{drawing_version_id}}" ] } } } ] }, { "name": "Drawing Areas", "item": [ { "name": "List Drawing Areas", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawing-areas", "host": [ "{{domain}}" ], "path": [ "drawing-areas" ] } } }, { "name": "Show Drawing Folder", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/drawing-areas/{{drawing_area_id}}", "host": [ "{{domain}}" ], "path": [ "drawing-areas", "{{drawing_area_id}}" ] } } } ] }, { "name": "Issues", "item": [ { "name": "List Issues", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/issues", "host": [ "{{domain}}" ], "path": [ "issues" ] } } }, { "name": "Show Issue", "request": { "method": "GET", "header": [] } } ] }, { "name": "Locations", "item": [ { "name": "List Locations", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/locations", "host": [ "{{domain}}" ], "path": [ "locations" ] } } }, { "name": "Show Location", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/locations/{{location_id}}", "host": [ "{{domain}}" ], "path": [ "locations", "{{location_id}}" ] } } } ] }, { "name": "Observations", "item": [ { "name": "List Observations", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/observations", "host": [ "{{domain}}" ], "path": [ "observations" ] } } }, { "name": "Show Observation", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/observations/{{observation_id}}", "host": [ "{{domain}}" ], "path": [ "observations", "{{observation_id}}" ] } } }, { "name": "Update Observation", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"assignee_id\": \"{{user_id}}\",\n \"description\": \"pooria test description\",\n \"due_date\": \"2022-03-25\",\n \"name\": \"pooria test observation 2\",\n \"location_id\": \"{{location_id}}\",\n \"root_cause\": \"Communication\",\n \"status\": \"closed\",\n \"type\": \"Commissioning\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/observations/{{observation_id}}", "host": [ "{{domain}}" ], "path": [ "observations", "{{observation_id}}" ] } } }, { "name": "New Observation", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"assignee_id\": \"{{user_id}}\",\n \"description\": \"austin test description\",\n \"due_date\": \"2022-03-25\",\n \"name\": \"austin test observation 2\",\n \"location_id\": \"{{location_id}}\",\n \"root_cause\": \"Communication\",\n \"status\": \"initiated\",\n \"type\": \"Commissioning\",\n \"source_data\": {\n \"priority\": \"Medium\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/observations", "host": [ "{{domain}}" ], "path": [ "observations" ] } } }, { "name": "Delete Observation", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/observations/{{observation_id}}", "host": [ "{{domain}}" ], "path": [ "observations", "{{observation_id}}" ] } } }, { "name": "New Attachment", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "sample-file-999.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/pooriaazimi/Downloads/Screen Shot 2022-08-08 at 7.20.05 PM.png" } ] }, "url": { "raw": "{{domain}}/observations/{{observation_id}}/attachments", "host": [ "{{domain}}" ], "path": [ "observations", "{{observation_id}}", "attachments" ] } } } ] }, { "name": "RFIs", "item": [ { "name": "List RFIs", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/rfis?expand=true", "host": [ "{{domain}}" ], "path": [ "rfis" ], "query": [ { "key": "expand", "value": "true" } ] } } }, { "name": "Show RFI", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/rfis/{{rfi_id}}", "host": [ "{{domain}}" ], "path": [ "rfis", "{{rfi_id}}" ] } } }, { "name": "New RFI", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('rfi_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"subject\": \"Unexpected pipe near side window\",\n \"creator_id\": \"{{user_id}}\",\n \"cost_impact\" : {\n \"code\": \"USD\",\n \"amount\": \"1240.60\"\n },\n \"assignee_ids\": [\n \"{{user_id}}\"\n ],\n \"question\": \"see title\",\n \"number\": \"R-{{$randomInt}}\",\n \"due_date\": \"2022-09-07\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/rfis", "host": [ "{{domain}}" ], "path": [ "rfis" ] } } }, { "name": "New Attachment", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('rfi_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "agaveapi.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/johnzucchi/Desktop/agaveapi.png" } ] }, "url": { "raw": "{{domain}}/rfis/{{rfi_id}}/attachments", "host": [ "{{domain}}" ], "path": [ "rfis", "{{rfi_id}}", "attachments" ] } } }, { "name": "New RFI Response", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"creator_id\": \"{{user_id}}\",\n \"text\": \"on the third floor!!\",\n \"is_official\": true\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/rfis/{{rfi_id}}/responses", "host": [ "{{domain}}" ], "path": [ "rfis", "{{rfi_id}}", "responses" ] } } } ] }, { "name": "Specification Sections", "item": [ { "name": "List Specification Sections", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/specification-sections", "host": [ "{{domain}}" ], "path": [ "specification-sections" ] } } }, { "name": "Show Specification Section", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/specification-sections/{{specification_section_id}}", "host": [ "{{domain}}" ], "path": [ "specification-sections", "{{specification_section_id}}" ] } } } ] }, { "name": "Specification Section Versions", "item": [ { "name": "List Specification Section Versions", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/specification-sections/{{specification_section_id}}/versions", "host": [ "{{domain}}" ], "path": [ "specification-sections", "{{specification_section_id}}", "versions" ] } } }, { "name": "Show Specification Section Version", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/specification-sections/{{specification_section_id}}/versions/{{specification_section_version_id}}", "host": [ "{{domain}}" ], "path": [ "specification-sections", "{{specification_section_id}}", "versions", "{{specification_section_version_id}}" ] } } } ] }, { "name": "Submittals", "item": [ { "name": "List Submittals", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/submittals", "host": [ "{{domain}}" ], "path": [ "submittals" ] } } }, { "name": "Show Submittal", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/submittals/{{submittal_id}}", "host": [ "{{domain}}" ], "path": [ "submittals", "{{submittal_id}}" ] } } }, { "name": "Update Submittal", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"number\": \"12345\",\n \"name\": \"pooria update name\",\n \"reviewers\": [\n [\n {\n \"id\": \"73b5249c-cd07-5818-9e94-129de83940ba\",\n \"review_status\": \"Revise and Resubmit\"\n }\n ]\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/submittals/{{submittal_id}}", "host": [ "{{domain}}" ], "path": [ "submittals", "{{submittal_id}}" ] } } }, { "name": "Attach to Submittal", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "agaveapi.png", "type": "text" }, { "key": "content_type", "value": "application/object", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/johnzucchi/Desktop/agaveapi.png" } ] }, "url": { "raw": "{{domain}}/submittals/{{submittal_id}}/attachments", "host": [ "{{domain}}" ], "path": [ "submittals", "{{submittal_id}}", "attachments" ] } } }, { "name": "Attach to Submittal Reviewer", "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "agaveapi.png", "type": "text" }, { "key": "content_type", "value": "application/object", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/johnzucchi/Desktop/agaveapi.png" }, { "key": "review_status", "value": "closed", "type": "text", "disabled": true } ] }, "url": { "raw": "{{domain}}/submittals/{{submittal_id}}/submittal-reviewers/7b7ca87d-8689-5e54-81c2-a8a4dc301277/attachments", "host": [ "{{domain}}" ], "path": [ "submittals", "{{submittal_id}}", "submittal-reviewers", "7b7ca87d-8689-5e54-81c2-a8a4dc301277", "attachments" ] } } }, { "name": "New Submittal", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('submittal_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"austin test description\",\n \"distribution_contacts\": [\n \"{{contact_id}}\"\n ],\n \"name\": \"pooria test name\",\n \"number\": \"12345\",\n \"package_id\": \"{{submittal_package_id}}\",\n \"reviewers\": [\n [\n {\n \"role\": \"Submitter\",\n \"contact_id\": \"{{contact_id}}\"\n },\n {\n \"role\": \"Approver\",\n \"contact_id\": \"{{contact_id}}\",\n \"due_date\": \"2022-12-30\"\n }\n ],\n [\n {\n \"role\": \"Approver\",\n \"contact_id\": \"{{contact_id}}\",\n \"due_date\": \"2022-12-31\"\n }\n ],\n [\n {\n \"role\": \"Submitter\",\n \"contact_id\": \"{{contact_id}}\",\n \"due_date\": \"2022-12-31\"\n }\n ]\n ],\n \"status\": \"Draft\",\n \"type\": \"pooria test type\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/submittals", "host": [ "{{domain}}" ], "path": [ "submittals" ] } } }, { "name": "Delete Submittal", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/submittals/e65983fe-fe2e-5fa1-b74c-af5744da5a29", "host": [ "{{domain}}" ], "path": [ "submittals", "e65983fe-fe2e-5fa1-b74c-af5744da5a29" ] } } } ] }, { "name": "Submittal Packages", "item": [ { "name": "List Submittal Packages", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/submittal-packages", "host": [ "{{domain}}" ], "path": [ "submittal-packages" ] } } }, { "name": "Show Submittal Package", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/submittal-packages/{{submittal_package_id}}", "host": [ "{{domain}}" ], "path": [ "submittal-packages", "{{submittal_package_id}}" ] } } }, { "name": "Update Submittal Package", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"austin test description\",\n \"name\": \"austin test name\",\n \"number\": \"12345\",\n \"submittal_ids\": [ \"{{submittal_id}}\" ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/submittal-packages/{{submittal_package_id}}", "host": [ "{{domain}}" ], "path": [ "submittal-packages", "{{submittal_package_id}}" ] } } }, { "name": "New Submittal Package", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('submittal_package_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"austin test description\",\n \"name\": \"austin test name\",\n \"number\": \"12345\",\n \"submittal_ids\": []\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/submittal-packages", "host": [ "{{domain}}" ], "path": [ "submittal-packages" ] } } }, { "name": "Delete Submittal Package", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/submittal-packages/9ad1009b-d32a-5be7-8127-69ece4ad4dec", "host": [ "{{domain}}" ], "path": [ "submittal-packages", "9ad1009b-d32a-5be7-8127-69ece4ad4dec" ] } } } ] }, { "name": "Transmittals", "item": [ { "name": "List Transmittals", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "8ed4d0c6-c1a7-5ad4-b3ae-a7e334e3bfc6", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"filters\": [\n {\n \"field\": \"sent_date\",\n \"operator\": \">=\",\n \"value\": \"2022-07-20\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/transmittals?page=1&per_page=25", "host": [ "{{domain}}" ], "path": [ "transmittals" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "25" } ] } } }, { "name": "Show Transmittal", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/transmittals/{{transmittal_id}}", "host": [ "{{domain}}" ], "path": [ "transmittals", "{{transmittal_id}}" ] } } } ] }, { "name": "Vendors", "item": [ { "name": "List Vendors (Company)", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text", "disabled": true }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/vendors", "host": [ "{{domain}}" ], "path": [ "vendors" ] } } }, { "name": "List Vendors (Project)", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/vendors", "host": [ "{{domain}}" ], "path": [ "vendors" ] } } }, { "name": "Show Vendor", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}" ] } } }, { "name": "New Vendor", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('vendor_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"address\": {\n \"street_1\": \"{{$randomStreetName}}\",\n \"city\": \"{{$randomCity}}\",\n \"state\": \"CA\",\n \"postal_code\": \"89434\"\n },\n \"phone\": \"{{$randomPhoneNumber}}\",\n \"name\": \"PA {{$randomCompanyName}}\",\n \"website\": \"{{$randomUrl}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors", "host": [ "{{domain}}" ], "path": [ "vendors" ] } } }, { "name": "Update Vendor", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)" }, { "key": "Project-Id", "value": "{{project_id}}", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Vendor from Brazil (updated)\",\n \"source_data\": {\n \"BpvenPayContactName\": \"Vendor from Brazil (updated)\",\n \"BpvenShpinstDesc\": \"Vendor from Brazil (updated)\"\n }\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors/source_id:3404938", "host": [ "{{domain}}" ], "path": [ "vendors", "source_id:3404938" ] } } }, { "name": "Delete Project Vendor", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}" ] } } }, { "name": "Delete Company Vendor", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/vendors/{{vendor_id}}", "host": [ "{{domain}}" ], "path": [ "vendors", "{{vendor_id}}" ] } } }, { "name": "Bulk Write Vendors", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('change_order_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript", "packages": [] } } ], "request": { "method": "PATCH", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"creates\": [\n {\n \"address\": {\n \"street_1\": \"Fave Street 1\",\n \"country\": \"US\",\n \"city\": \"San Francisco 1\",\n \"postal_code\": \"11111\"\n },\n \"alternate_name\": \"Test 1\",\n \"email\": \"email2@email.com\",\n \"fax\": \"1-111-111-1111\",\n \"name\": \"Liam Test 1\",\n \"phone\": \"1-111-222-1111\",\n \"tax_number\": \"111111111\",\n \"website\": \"https://www.liamtest1.com\",\n \"source_data\":{\n \"business_register\": {\n \"type\": \"ein\"\n }\n }\n },\n {\n \"name\": \"Liam vendor that should fail\",\n \"source_data\": {\n \"business_phone\": \"asdfasdfasdfasdfasdf\"\n }\n },\n {\n \"address\": {\n \"street_1\": \"Fave Street 2\",\n \"country\": \"US\",\n \"city\": \"San Francisco 2\",\n \"postal_code\": \"22222\"\n },\n \"alternate_name\": \"Test 2\",\n \"email\": \"email2@email.com\",\n \"fax\": \"1-222-222-22222\",\n \"name\": \"Liam Test 1\",\n \"phone\": \"1-222-111-22222\",\n \"tax_number\": \"222222222\",\n \"website\": \"https://www.liamtest2.com\",\n \"source_data\":{\n \"business_register\": {\n \"type\": \"ein\"\n }\n }\n }\n ],\n \"updates\": [\n {\n \"id\": \"source_id:234128\",\n \"email\": \"contact+edited1@agaveapi.com\"\n },\n {\n \"id\": \"source_id:123123123123123\",\n \"name\": \"Update should Fail\"\n },\n {\n \"id\": \"source_id:234210\",\n \"email\": \"contact+edited2@agaveapi.com\"\n }\n ]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/vendors", "host": [ "{{domain}}" ], "path": [ "vendors" ] } } } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }, { "name": "Work Logs", "item": [ { "name": "List Work Logs", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/work-logs?page=1&per_page=2", "host": [ "{{domain}}" ], "path": [ "work-logs" ], "query": [ { "key": "page", "value": "1" }, { "key": "per_page", "value": "2" } ] } } } ] } ] }, { "name": "File Management", "item": [ { "name": "Folders", "item": [ { "name": "Show Root Folder", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/root-folder", "host": [ "{{domain}}" ], "path": [ "root-folder" ] } } }, { "name": "Show Folder", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/folders/{{folder_id}}", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}" ] } } }, { "name": "Update Folder", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"test rename\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/folders/{{folder_id}}", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}" ] } } }, { "name": "New Folder", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('folder_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" }, { "key": "Ignore-Prohibited-Fields", "value": "true", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"01 Design Files\",\n \"parent_id\": \"{{folder_id}}\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/folders", "host": [ "{{domain}}" ], "path": [ "folders" ] } } }, { "name": "Delete Folder", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('folder_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" }, { "key": "Ignore-Prohibited-Fields", "value": "true", "type": "text", "disabled": true } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "Test 123", "type": "text" }, { "key": "parent_id", "value": "{{folder_id}}", "type": "text" } ] }, "url": { "raw": "{{domain}}/folders/{{folder_id}}", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}" ] } } } ] }, { "name": "Files", "item": [ { "name": "List Files in Folder", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/folders/{{folder_id}}/files", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}", "files" ] } } }, { "name": "Show File", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/files/{{file_id}}", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}" ] } } }, { "name": "Update File", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"new-name.pdf\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/files/{{file_id}}", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}" ] } } }, { "name": "Upload File", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('file_id', pm.response.json().id)", " pm.environment.set('file_version_id', pm.response.json().file_version_id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "test-001.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/pooriaazimi/Downloads/Screenshot 2023-10-12 at 12.31.19 PM.png" } ] }, "url": { "raw": "{{domain}}/folders/{{folder_id}}/files", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}", "files" ] } } }, { "name": "Delete File", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/files/{{file_id}}", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}" ] } } }, { "name": "Transfer To New File", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('file_transfer_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"source\" : {\n \"url\": \"https://dc-lidar-2018.s3.amazonaws.com/Classified_LAS/2007.las\"\n },\n \"target\": {\n \"name\": \"132421.las\",\n \"content_type\": \"application/object\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/folders/{{folder_id}}/transfer", "host": [ "{{domain}}" ], "path": [ "folders", "{{folder_id}}", "transfer" ] } } }, { "name": "Transfer To Existing File", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('file_transfer_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"source\" : {\n \"url\": \"https://www.agaveapi.com/assets/img/link/logo-square-dropbox.png\"\n },\n \"target\": {\n \"name\": \"random file.png\",\n \"content_type\": \"image/png\"\n }\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/files/{{file_id}}/transfer", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}", "transfer" ] } } }, { "name": "Transfer File Status", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/file-transfers/{{file_transfer_id}}", "host": [ "{{domain}}" ], "path": [ "file-transfers", "{{file_transfer_id}}" ] } } } ] }, { "name": "File Versions", "item": [ { "name": "List File Versions", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/files/{{file_id}}/versions", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}", "versions" ] } } }, { "name": "Show File Version", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/files/{{file_id}}/versions/{{file_version_id}}", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}", "versions", "{{file_version_id}}" ] } } }, { "name": "Upload File Version", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('file_version_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "name", "value": "test-version-002.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": [] } ] }, "url": { "raw": "{{domain}}/files/{{file_id}}/versions", "host": [ "{{domain}}" ], "path": [ "files", "{{file_id}}", "versions" ] } } } ] }, { "name": "Photos", "item": [ { "name": "List Photos", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/photos", "host": [ "{{domain}}" ], "path": [ "photos" ] } } }, { "name": "Show Photo", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/photos/{{photo_id}}", "host": [ "{{domain}}" ], "path": [ "photos", "{{photo_id}}" ] } } }, { "name": "Upload Photo", "event": [ { "listen": "test", "script": { "exec": [ "", "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('photo_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "formdata", "formdata": [ { "key": "description", "value": "test photo uploaded via postman", "type": "text" }, { "key": "name", "value": "logo.png", "type": "text" }, { "key": "content_type", "value": "image/png", "type": "text" }, { "key": "contents", "type": "file", "src": "/Users/johnzucchi/Desktop/logo.png" } ] }, "url": { "raw": "{{domain}}/photos", "host": [ "{{domain}}" ], "path": [ "photos" ] } } }, { "name": "Update Photo", "request": { "method": "PUT", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"updated description\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{domain}}/photos/{{photo_id}}", "host": [ "{{domain}}" ], "path": [ "photos", "{{photo_id}}" ] } } }, { "name": "Delete Photo", "request": { "method": "DELETE", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "description": "(Optional) Project Id", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" } ], "url": { "raw": "{{domain}}/photos/{{photo_id}}", "host": [ "{{domain}}" ], "path": [ "photos", "{{photo_id}}" ] } } } ] } ] }, { "name": "Customer Management", "item": [ { "name": "Activities", "item": [ { "name": "List Activities", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/activities?type=note", "host": [ "{{domain}}" ], "path": [ "activities" ], "query": [ { "key": "type", "value": "note" } ] } } }, { "name": "Show Activity", "request": { "method": "GET", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "url": { "raw": "{{domain}}/activities/{{activity_id}}", "host": [ "{{domain}}" ], "path": [ "activities", "{{activity_id}}" ] } } }, { "name": "New Activity", "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Update ID', () => {", " if (pm.response.code === 200) {", " pm.environment.set('activity_id', pm.response.json().id)", " }", "})" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "API-Version", "value": "{{api_version}}", "description": "The API version you are using", "type": "text" }, { "key": "Client-Id", "value": "{{client_id}}", "description": "Your client identifier, which is always a UUID", "type": "text" }, { "key": "Client-Secret", "value": "{{client_secret}}", "description": "Your client secret", "type": "text" }, { "key": "Account-Token", "value": "{{account_token}}", "description": "The unique account token associated with your customer", "type": "text" }, { "key": "Include-Source-Data", "value": "{{include_source_data}}", "description": "If set true, Agave will include the raw data from the source system", "type": "text" }, { "key": "XDEBUG_SESSION", "value": "{{xdebug}}", "description": "(Used for internal debugging by Agave)", "type": "text" }, { "key": "Project-Id", "value": "{{project_id}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"
test