{"info":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","description":"<html><head></head><body><p>The Trelica REST API provides access to a wide range of endpoints that allow you to interact programmatically with your Trelica environment.</p>\n<p>These endpoints enable integration with external systems, automation of tasks, and data retrieval for reporting or analysis.</p>\n<p>To begin using the API, you must first log in to Trelica with an administrator account. Once logged in, navigate to <strong>Settings</strong> &gt; <strong>API applications</strong> to create a new application.</p>\n<p>This process will generate the necessary client credentials, such as a client ID and secret, and allow you to assign the appropriate scopes that control access to specific API functionality.</p>\n<p><a href=\"https://\">https://help.trelica.com/hc/en-us/sections/7739034184093-API</a></p>\n<p>Contact Support:<br>Email: <a href=\"https://\">support@trelica.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12223689","collectionId":"c6be1a3b-ddcf-4344-a922-66983e01cf24","publishedId":"2s9Y5bNfUK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-08-30T04:08:12.000Z"},"item":[{"name":"scim","item":[{"name":"List users","id":"85308d1b-270d-4ab5-8bbc-68b34c41add9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Read</code> scope if authenticating via OAuth. If using a SCIM Bearer token, then scopes are automatically set.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","scim","v2","Users",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"2466512d-0877-45d3-b1c5-81ca90482e45","name":"List users","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalResults\": 2,\n    \"itemsPerPage\": 100,\n    \"startIndex\": 1,\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"Resources\": [\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:User\"\n            ],\n            \"userName\": \"erika.mustermann@example.com\",\n            \"name\": {\n                \"formatted\": \"Erika Mustermann\",\n                \"familyName\": \"Mustermann\",\n                \"givenName\": \"Erika\"\n            },\n            \"displayName\": \"Erika Mustermann\",\n            \"preferredLanguage\": \"en-GB\",\n            \"locale\": \"en-GB\",\n            \"active\": true,\n            \"emails\": [\n                {\n                    \"primary\": true,\n                    \"type\": \"work\",\n                    \"value\": \"erika.mustermann@example.com\"\n                }\n            ],\n            \"roles\": [\n                {\n                    \"value\": \"Admin\",\n                    \"display\": \"Admin\",\n                    \"primary\": false\n                }\n            ],\n            \"id\": \"8089ac9b31841227d4aee4f0adecd81f\",\n            \"meta\": {\n                \"created\": \"2019-01-01T00:00:00\",\n                \"lastModified\": \"2024-12-06T14:58:12.92118\",\n                \"resourceType\": \"User\"\n            }\n        },\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:User\"\n            ],\n            \"userName\": \"steve.cross@example.com\",\n            \"name\": {\n                \"formatted\": \"Steve Cross\",\n                \"familyName\": \"Cross\",\n                \"givenName\": \"Steve\"\n            },\n            \"displayName\": \"Steve Cross\",\n            \"preferredLanguage\": \"en-GB\",\n            \"locale\": \"en-GB\",\n            \"active\": true,\n            \"emails\": [\n                {\n                    \"primary\": true,\n                    \"type\": \"work\",\n                    \"value\": \"steve.cross@example.com\"\n                }\n            ],\n           \"roles\": [\n                {\n                    \"value\": \"App catalog\",\n                    \"display\": \"App catalog\",\n                    \"primary\": false\n                },\n                {\n                    \"value\": \"App management\",\n                    \"display\": \"App management\",\n                    \"primary\": false\n                }\n            ],\n            \"id\": \"946ee47103256da4e1e2c5a9f46b7b17\",\n            \"meta\": {\n                \"created\": \"2023-02-20T14:28:00.770258\",\n                \"lastModified\": \"2025-06-13T14:34:54.335951\",\n                \"resourceType\": \"User\"\n            }\n        }\n    ]\n}"}],"_postman_id":"85308d1b-270d-4ab5-8bbc-68b34c41add9"},{"name":"List users (SCIM token)","id":"2ed0c488-e410-4db1-8048-440de7d2daf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Read</code> scope if authenticating via OAuth. If using a SCIM Bearer token, then scopes are automatically set.</p>\n","urlObject":{"path":["api","scim","v2","Users"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"dcfbe783-b1e8-4e41-b400-5454f4103b2c","name":"List users (SCIM token)","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalResults\": 2,\n    \"itemsPerPage\": 100,\n    \"startIndex\": 1,\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n    ],\n    \"Resources\": [\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:User\"\n            ],\n            \"userName\": \"erika.mustermann@example.com\",\n            \"name\": {\n                \"formatted\": \"Erika Mustermann\",\n                \"familyName\": \"Mustermann\",\n                \"givenName\": \"Erika\"\n            },\n            \"displayName\": \"Erika Mustermann\",\n            \"preferredLanguage\": \"en-GB\",\n            \"locale\": \"en-GB\",\n            \"active\": true,\n            \"emails\": [\n                {\n                    \"primary\": true,\n                    \"type\": \"work\",\n                    \"value\": \"erika.mustermann@example.com\"\n                }\n            ],\n            \"roles\": [\n                {\n                    \"value\": \"Admin\",\n                    \"display\": \"Admin\",\n                    \"primary\": false\n                }\n            ],\n            \"id\": \"8089ac9b31841227d4aee4f0adecd81f\",\n            \"meta\": {\n                \"created\": \"2019-01-01T00:00:00\",\n                \"lastModified\": \"2024-12-06T14:58:12.92118\",\n                \"resourceType\": \"User\"\n            }\n        },\n        {\n            \"schemas\": [\n                \"urn:ietf:params:scim:schemas:core:2.0:User\"\n            ],\n            \"userName\": \"steve.cross@example.com\",\n            \"name\": {\n                \"formatted\": \"Steve Cross\",\n                \"familyName\": \"Cross\",\n                \"givenName\": \"Steve\"\n            },\n            \"displayName\": \"Steve Cross\",\n            \"preferredLanguage\": \"en-GB\",\n            \"locale\": \"en-GB\",\n            \"active\": true,\n            \"emails\": [\n                {\n                    \"primary\": true,\n                    \"type\": \"work\",\n                    \"value\": \"steve.cross@example.com\"\n                }\n            ],\n           \"roles\": [\n                {\n                    \"value\": \"App catalog\",\n                    \"display\": \"App catalog\",\n                    \"primary\": false\n                },\n                {\n                    \"value\": \"App management\",\n                    \"display\": \"App management\",\n                    \"primary\": false\n                }\n            ],\n            \"id\": \"946ee47103256da4e1e2c5a9f46b7b17\",\n            \"meta\": {\n                \"created\": \"2023-02-20T14:28:00.770258\",\n                \"lastModified\": \"2025-06-13T14:34:54.335951\",\n                \"resourceType\": \"User\"\n            }\n        }\n    ]\n}"}],"_postman_id":"2ed0c488-e410-4db1-8048-440de7d2daf5"},{"name":"List user","id":"ba980334-123c-4ed8-a3fb-3118fc6c7761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","scim","v2","Users",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"df85682a-a143-40a5-9a4b-da7b693c5c48","name":"Get single user","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/{userId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"judy.smith@example.com\",\n    \"name\": {\n        \"formatted\": \"Judy Smith\",\n        \"familyName\": \"Smith\",\n        \"givenName\": \"Judy\"\n    },\n    \"displayName\": \"Judy Smith\",\n    \"active\": false,\n    \"emails\": [\n        {\n            \"primary\": true,\n            \"type\": \"work\",\n            \"value\": \"judy.smith@example.com\"\n        }\n    ],\n    \"roles\": [\n        {\n            \"value\": \"App hub\",\n            \"primary\": false\n        },\n        {\n            \"value\": \"Admin\",\n            \"primary\": false\n        }\n    ],\n    \"id\": \"8278fa7b53e149e39f225032e8e9e7e5\",\n    \"meta\": {\n        \"created\": \"2024-03-31T13:48:30.83541\",\n        \"lastModified\": \"2024-03-31T13:48:30.844178\",\n        \"resourceType\": \"User\"\n    }\n}"}],"_postman_id":"ba980334-123c-4ed8-a3fb-3118fc6c7761"},{"name":"Create user","id":"f89292ab-82dc-45cf-bd68-5c030d19e99e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"wendy.appleseed@example.com\",\n    \"name\": {\n        \"givenName\": \"Wendy\",\n        \"familyName\": \"Appleseed\"\n    },\n    \"displayName\": \"Wendy Appleseed\",\n    \"active\": true,\n    \"emails\": [\n        {\n            \"value\": \"wendy.appleseed@example.com\",\n            \"type\": \"work\",\n            \"primary\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","scim","v2","Users",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"8302ab30-c2fe-4e36-9f90-573fee59eb59","name":"Create user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\":[\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\":\"wendy.appleseed@example.com\",\n    \"name\":{\n        \"givenName\":\"Wendy\",\n        \"familyName\":\"Appleseed\"\n    },\n    \"displayName\":\"Wendy Appleseed\",\n    \"active\":true,\n    \"emails\":[\n        {\n            \"value\":\"wendy.appleseed@example.com\",\n            \"type\":\"work\",\n            \"primary\":true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/scim+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"wendy.appleseed@example.com\",\n    \"name\": {\n        \"formatted\": \"Wendy Appleseed\",\n        \"familyName\": \"Appleseed\",\n        \"givenName\": \"Wendy\"\n    },\n    \"displayName\": \"Wendy Appleseed\",\n    \"active\": true,\n    \"emails\": [\n        {\n            \"primary\": true,\n            \"type\": \"work\",\n            \"value\": \"wendy.appleseed@example.com\"\n        }\n    ],\n    \"roles\": [\n        {\n            \"value\": \"App catalog\",\n            \"display\": \"App catalog\",\n            \"primary\": false\n        }\n    ],\n    \"id\": \"23254692b17ceab67c330e63e6ad49c3\",\n    \"meta\": {\n        \"created\": \"2025-08-13T11:32:17.3592244Z\",\n        \"lastModified\": \"2025-08-13T11:32:17.3764663Z\",\n        \"resourceType\": \"User\"\n    }\n}"},{"id":"85e303e3-7675-473f-903e-c96a0c5d803b","name":"Error: unverified domain","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\":[\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\":\"wendy.appleseed@example.com\",\n    \"name\":{\n        \"givenName\":\"Wendy\",\n        \"familyName\":\"Appleseed\"\n    },\n    \"displayName\":\"Wendy Appleseed\",\n    \"active\":true,\n    \"emails\":[\n        {\n            \"value\":\"wendy.appleseed@example.com\",\n            \"type\":\"work\",\n            \"primary\":true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:Error\"\n    ],\n    \"scimType\": \"sensitive\",\n    \"detail\": \"The user name value 'wendy.appleseed@example.com' must belong to a domain that is verified for your Trelica organization\",\n    \"status\": \"400\"\n}"}],"_postman_id":"f89292ab-82dc-45cf-bd68-5c030d19e99e"},{"name":"Create user (SCIM token)","id":"aebad439-8dd7-445f-938c-5a400ccf0fb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"rob.doe@example.com\",\n    \"name\": {\n        \"givenName\": \"Robert\",\n        \"familyName\": \"Doe\",\n        \"formatted\": \"Rob Doe\"\n    },\n    \"emails\": [\n        {\n            \"value\": \"rob.doe@example.com\",\n            \"type\": \"work\",\n            \"primary\": true\n        }\n    ],\n    \"roles\": [\n        {\n            \"value\": \"Admin\",\n            \"primary\": false\n        },\n        {\n            \"value\": \"App hub\",\n            \"primary\": false\n        }\n    ],\n    \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Write</code> scope if authenticating via OAuth. If using a SCIM Bearer token, then scopes are automatically set.</p>\n","urlObject":{"path":["api","scim","v2","Users",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"6b714a00-9523-426b-a748-6e70bc405e2d","name":"Error: unverified domain","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\":[\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\":\"wendy.appleseed@example.com\",\n    \"name\":{\n        \"givenName\":\"Wendy\",\n        \"familyName\":\"Appleseed\"\n    },\n    \"displayName\":\"Wendy Appleseed\",\n    \"active\":true,\n    \"emails\":[\n        {\n            \"value\":\"wendy.appleseed@example.com\",\n            \"type\":\"work\",\n            \"primary\":true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:api:messages:2.0:Error\"\n    ],\n    \"scimType\": \"sensitive\",\n    \"detail\": \"The user name value 'wendy.appleseed@example.com' must belong to a domain that is verified for your Trelica organization\",\n    \"status\": \"400\"\n}"},{"id":"7af4e43d-1e3e-4fa6-aed7-17b26349a1dc","name":"Create user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\":[\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\":\"wendy.appleseed@example.com\",\n    \"name\":{\n        \"givenName\":\"Wendy\",\n        \"familyName\":\"Appleseed\"\n    },\n    \"displayName\":\"Wendy Appleseed\",\n    \"active\":true,\n    \"emails\":[\n        {\n            \"value\":\"wendy.appleseed@example.com\",\n            \"type\":\"work\",\n            \"primary\":true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/scim+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"wendy.appleseed@example.com\",\n    \"name\": {\n        \"formatted\": \"Wendy Appleseed\",\n        \"familyName\": \"Appleseed\",\n        \"givenName\": \"Wendy\"\n    },\n    \"displayName\": \"Wendy Appleseed\",\n    \"active\": true,\n    \"emails\": [\n        {\n            \"primary\": true,\n            \"type\": \"work\",\n            \"value\": \"wendy.appleseed@example.com\"\n        }\n    ],\n    \"roles\": [\n        {\n            \"value\": \"App catalog\",\n            \"display\": \"App catalog\",\n            \"primary\": false\n        }\n    ],\n    \"id\": \"23254692b17ceab67c330e63e6ad49c3\",\n    \"meta\": {\n        \"created\": \"2025-08-13T11:32:17.3592244Z\",\n        \"lastModified\": \"2025-08-13T11:32:17.3764663Z\",\n        \"resourceType\": \"User\"\n    }\n}"}],"_postman_id":"aebad439-8dd7-445f-938c-5a400ccf0fb9"},{"name":"Update user (SCIM token)","id":"66d01b8e-bc73-41e4-ae53-059836d19564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"schemas\": [\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],\n  \"Operations\": [\n    {\n      \"op\": \"replace\",\n      \"path\": \"active\",\n      \"value\": false\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/{userId}","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Write</code> scope if authenticating via OAuth. If using a SCIM Bearer token, then scopes are automatically set.</p>\n","urlObject":{"path":["api","scim","v2","Users","{userId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"aa79f3b3-9a01-4be7-9fbd-0b3636f4f635","name":"Deactivate user","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"schemas\":[\n        \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n    ],\n    \"Operations\":[\n        {\n            \"op\":\"replace\",\n            \"path\":\"active\",\n            \"value\":false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/scim/v2/Users/{userId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/scim+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:User\"\n    ],\n    \"userName\": \"judy.smith@example.com\",\n    \"name\": {\n        \"formatted\": \"Judy Smith\",\n        \"familyName\": \"Smith\",\n        \"givenName\": \"Judy\"\n    },\n    \"displayName\": \"Judy Smith\",\n    \"active\": false,\n    \"emails\": [\n        {\n            \"primary\": true,\n            \"type\": \"work\",\n            \"value\": \"judy.smith@example.com\"\n        }\n    ],\n    \"roles\": [\n        {\n            \"value\": \"App hub\",\n            \"primary\": false\n        },\n        {\n            \"value\": \"Admin\",\n            \"primary\": false\n        }\n    ],\n    \"id\": \"8278fa7b53e149e39f225032e8e9e7e5\",\n    \"meta\": {\n        \"created\": \"2024-03-31T13:48:30.83541\",\n        \"lastModified\": \"2024-03-31T13:48:30.844178\",\n        \"resourceType\": \"User\"\n    }\n}"}],"_postman_id":"66d01b8e-bc73-41e4-ae53-059836d19564"},{"name":"Delete user (SCIM token)","id":"78b72f6a-7ef9-46ea-a352-f9d392c729a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://app.trelica.com/api/scim/v2/Users/{userId}","description":"<p>User data is managed using the SCIM protocol which provides a standard way for applications to request and manage user data in other tools.</p>\n<p>Requires the <code>Users.Write</code> scope if authenticating via OAuth. If using a SCIM Bearer token, then scopes are automatically set.</p>\n","urlObject":{"path":["api","scim","v2","Users","{userId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"78b72f6a-7ef9-46ea-a352-f9d392c729a0"}],"id":"ebf38918-08b0-498f-9889-f242db6127b7","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/users\">https://trelica.gitbook.io/trelica-api/readme/users</a></p>\n<p>Authentication is either via OAuth Client Credentials or Bearer token.</p>\n<p>Go to <strong>Admin</strong> &gt; <strong>Settings</strong> &gt; <strong>Users</strong> &gt; <strong>Single Sign-On (SSO)</strong> &gt; <strong>SCIM</strong> to enable SCIM access.</p>\n","_postman_id":"ebf38918-08b0-498f-9889-f242db6127b7","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"audit","item":[{"name":"List audit log entries","id":"94bc549c-cf8c-4996-8e76-19a18b01db64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/audit/v1/logs","description":"<p>Requires the <code>AuditLog.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","audit","v1","logs"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"61e52aa6-699a-43c7-abce-bf4a0782a7e3","name":"List audit log entries","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/audit/v1/logs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Link","value":"https://app.trelica.com/api/audit/v1/logs?after=BAAAAGeEFwEAAAAAbiT2hKN43Ag%3d&limit=100; rel=\"next\""}],"cookie":[],"responseTime":null,"body":"{\n    \"next\": \"https://app.trelica.com/api/audit/v1/logs?after=BAAAAGeEFwEAAAAAbiT2hKN43Ag%3d&limit=100\",\n    \"results\": [\n        {\n            \"id\": 18318050,\n            \"published\": \"2024-05-21T18:15:31.957017\",\n            \"eventType\": \"employee_login_success\",\n            \"actor\": {\n                \"id\": \"123e4567-e89b-12d3-a456-426614174000\",\n                \"type\": \"User\",\n                \"displayName\": \"John Doe\",\n                \"alternateId\": \"john.doe@example.com\"\n            },\n            \"client\": {\n                \"ipAddress\": \"81.4.2.1\"\n            },\n            \"target\": [\n                {\n                    \"id\": \"123e4567-e89b-12d3-a456-426614174000\",\n                    \"type\": \"User\",\n                    \"displayName\": \"John Doe\",\n                    \"alternateId\": \"john.doe@example.com\"\n                }\n            ],\n            \"details\": {\n                \"method\": null\n            }\n        },\n        {\n            \"id\": 18311783,\n            \"published\": \"2024-05-21T01:02:30.545503\",\n            \"eventType\": \"app_license_modified\",\n            \"actor\": {\n                \"id\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"type\": \"User\",\n                \"displayName\": \"System\",\n                \"alternateId\": \"admin@trelica.com\"\n            },\n            \"target\": [\n                {\n                    \"id\": \"646fcb48b829ba9df2a93e45\",\n                    \"type\": \"CustomerAppLicense\",\n                    \"displayName\": \"Zoom - Business\"\n                }\n            ],\n            \"details\": [\n                {\n                    \"fieldName\": \"ProcurementDate\",\n                    \"oldValue\": \"2024-02-19T00:00:00Z\",\n                    \"newValue\": \"2024-02-20T00:00:00Z\"\n                },\n                {\n                    \"fieldName\": \"RenewalDate\",\n                    \"oldValue\": \"2025-02-19T00:00:00Z\",\n                    \"newValue\": \"2025-02-20T00:00:00Z\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"94bc549c-cf8c-4996-8e76-19a18b01db64"}],"id":"3ab15ab0-4207-4f98-9b52-bcc7f04783db","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/audit\">https://trelica.gitbook.io/trelica-api/readme/audit</a></p>\n<p>Requires the <code>AuditLog.Read</code> scope.</p>\n","_postman_id":"3ab15ab0-4207-4f98-9b52-bcc7f04783db","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"apps","item":[{"name":"List apps","id":"7447d541-4d74-4969-a68f-de5d348622df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1","description":"<p>Requires the <code>Apps.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"26ab3502-6e5c-45dd-a7c9-e377c1491c66","name":"List apps","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Link","value":"https://app.trelica.com/api/apps/v1?after=EAAAABg2M2NmOTQyMjg1NzJlYjUxMWY3MTY1YTI%3d&limit=3; rel=\"next\"","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"next\": \"https://app.trelica.com/api/apps/v1?after=EAAAABg2M2NmOTQyMjg1NzJlYjUxMWY3MTY1YTI%3d&limit=3\",\n    \"results\": [\n        {\n            \"id\": \"9425963fcd38ed972d209b49\",\n            \"name\": \"Asana\",\n            \"status\": \"New\",\n            \"riskLevel\": \"High\",\n            \"vendor\": {\n                \"id\": \"f7f213984a1a225358c21c71\",\n                \"name\": \"Asana, Inc.\"\n            },\n            \"licenses\": [\n                {\n                    \"name\": \"Premium\",\n                    \"licensePlanId\": \"PREMIUM\",\n                    \"startDate\": \"2024-07-22T00:00:00Z\",\n                    \"renewalDate\": \"2025-07-22T00:00:00Z\",\n                    \"terminatedDate\": \"2025-10-22T00:00:00Z\",\n                    \"lastModifiedDtm\": \"2024-11-27T16:00:20.895Z\"\n                },\n                {\n                    \"name\": \"Business\",\n                    \"licensePlanId\": \"BUSINESS\",\n                    \"startDate\": \"2021-06-22T00:00:00Z\",\n                    \"renewalDate\": \"2022-06-22T00:00:00Z\",\n                    \"lastModifiedDtm\": \"2023-05-15T12:28:57.137Z\"\n                }\n            ],\n            \"customFields\": {\n                \"user_area\": \"support\",\n                \"user_vcc\": \"corp_support\"\n            },\n            \"createdBy\": {\n                \"userId\": \"6767d9bd5a63c2cac4f271b9e4f30e63\",\n                \"name\": \"Lisa Cho\",\n                \"email\": \"lisa.cho@example.com\"\n            },\n            \"createdDtm\": \"2023-01-17T08:13:05.513Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2025-08-12T16:01:39.832Z\",\n            \"roles\": [\n                {\n                    \"name\": \"IT admin\",\n                    \"members\": [\n                        {\n                            \"userId\": \"20fcf665630fc6562182578cb7f19f1e\",\n                            \"name\": \"Eduardo Wilson\",\n                            \"email\": \"eduardo.wilson@example.com\"\n                        }\n                    ]\n                },\n                {\n                    \"name\": \"App owner\",\n                    \"members\": [\n                        {\n                            \"userId\": \"0372c6f6fc51bc128389337de1146143\",\n                            \"name\": \"Eduardo Jung\",\n                            \"email\": \"eduardo.jung@example.com\"\n                        }\n                    ]\n                }\n            ],\n            \"isGlobal\": false,\n            \"mainCategory\": {\n                \"id\": \"03823a9d2e817efcce22f52e\",\n                \"name\": \"Project Management\"\n            },\n            \"otherCategories\": [\n                {\n                    \"id\": \"cab66910ac7cc93acdcc0338\",\n                    \"name\": \"Project Management & Tracking\"\n                },\n                {\n                    \"id\": \"22d0532b27e33b61e53a6fc5\",\n                    \"name\": \"Team Coordination & Comms\"\n                },\n                {\n                    \"id\": \"74e38311e5ad68ef2ab9dbb2\",\n                    \"name\": \"Task Management\"\n                },\n                {\n                    \"id\": \"647f989733cabe67ae22fdea\",\n                    \"name\": \"Process Automation / Workflow Builder\"\n                },\n                {\n                    \"id\": \"4e522ba78a80241303766699\",\n                    \"name\": \"Resource Management\"\n                }\n            ],\n            \"logoUrl\": \"https://app-files.trelica.com/public/4ad42e9e68cf46e3bc59cb8eab35886c\",\n            \"links\": {\n                \"application\": \"https://app.asana.com/\"\n            }\n        },\n        {\n            \"id\": \"d7b1f1d5b30fcf708a2c98dd\",\n            \"name\": \"SignNow\",\n            \"status\": \"New\",\n            \"vendor\": {\n                \"id\": \"3abd5f6779abd5c4e0138c93\",\n                \"name\": \"airSlate Inc\"\n            },\n            \"licenses\": [],\n            \"customFields\": {},\n            \"createdBy\": {\n                \"userId\": \"a4a9455ed04994615caea31a849768b1\",\n                \"name\": \"Elizabeth Ito\",\n                \"email\": \"elizabeth.ito@example.com\"\n            },\n            \"createdDtm\": \"2023-01-20T09:36:06.327Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2023-05-25T16:00:42.66Z\",\n            \"isGlobal\": false,\n            \"mainCategory\": {\n                \"id\": \"196a42ad1d637665a51fd322\",\n                \"name\": \"Operations & Business Management\"\n            },\n            \"otherCategories\": [\n                {\n                    \"id\": \"1f2430ff7cb1ae8157b353bd\",\n                    \"name\": \"Electronic Signature\"\n                }\n            ],\n            \"logoUrl\": \"https://app-files.trelica.com/public/c678b0d1baba46359599907e06b7ba69\"\n        },\n        {\n            \"id\": \"5975723a3d36053eca9e9317\",\n            \"name\": \"Okta\",\n            \"status\": \"Managed\",\n            \"vendor\": {\n                \"id\": \"d0c0094445d1f3d81f0ea973\",\n                \"name\": \"Okta, Inc.\"\n            },\n            \"licenses\": [],\n            \"customFields\": {},\n            \"createdBy\": {\n                \"userId\": \"a4a9455ed04994615caea31a849768b1\",\n                \"name\": \"Teresa Ito\",\n                \"email\": \"teresa.ito@example.com\"\n            },\n            \"createdDtm\": \"2023-01-24T08:17:38.375Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2025-08-12T16:00:12.615Z\",\n            \"roles\": [\n                {\n                    \"name\": \"App owner\",\n                    \"members\": [\n                        {\n                            \"userId\": \"d8c331576e184bca830b6e4e3d11bc1f\",\n                            \"name\": \"Carmen Hernandez\",\n                            \"email\": \"carmen.hernandez@example.com\"\n                        },\n                        {\n                            \"userId\": \"8dfd8ec37292e2d55758a93db3069547\",\n                            \"name\": \"Kevin Ito\",\n                            \"email\": \"kevin.ito@example.com\"\n                        }\n                    ]\n                },\n                {\n                    \"name\": \"IT admin\",\n                    \"members\": [\n                        {\n                            \"userId\": \"a4a9455ed04994615caea31a849768b1\",\n                            \"name\": \"Helmut Hoffmann\",\n                            \"email\": \"helmut.hoffmann@example.com\"\n                        }\n                    ]\n                }\n            ],\n            \"isGlobal\": false,\n            \"mainCategory\": {\n                \"id\": \"4b4f8ac40b516aa32793db84\",\n                \"name\": \"IT Security\"\n            },\n            \"otherCategories\": [\n                {\n                    \"id\": \"fad7c7fc7779d27df8730291\",\n                    \"name\": \"Identity & Access Management\"\n                }\n            ],\n            \"logoUrl\": \"https://app-files.trelica.com/public/5e1a8b4bd6b54954986829b0ee102ce1\",\n            \"links\": {\n                \"application\": \"https://dev-123456-admin.okta.com/\"\n            }\n        }\n    ]\n}"}],"_postman_id":"7447d541-4d74-4969-a68f-de5d348622df"},{"name":"Get an app","id":"3c4edb42-4f1c-454e-b88a-a6b52347e26c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/{appId}","description":"<p>Requires the <code>Apps.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1","{appId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"7a337c0c-2ab8-49b2-895b-f19b4b42aca6","name":"Get an app","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/{appId}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"a63896af50a3c78ce50f523d\",\n            \"name\": \"Asana\",\n            \"status\": \"New\",\n            \"riskLevel\": \"High\",\n            \"vendor\": {\n                \"id\": \"ce1c07068b65ac61ed9e1919\",\n                \"name\": \"Asana, Inc.\"\n            },\n            \"licenses\": [\n                {\n                    \"name\": \"Premium\",\n                    \"licensePlanId\": \"PREMIUM\",\n                    \"startDate\": \"2024-07-22T00:00:00Z\",\n                    \"renewalDate\": \"2025-07-22T00:00:00Z\",\n                    \"lastModifiedDtm\": \"2024-11-27T16:00:20.895Z\"\n                },\n                {\n                    \"name\": \"Business\",\n                    \"licensePlanId\": \"BUSINESS\",\n                    \"startDate\": \"2021-06-22T00:00:00Z\",\n                    \"renewalDate\": \"2022-06-22T00:00:00Z\",\n                    \"lastModifiedDtm\": \"2023-05-15T12:28:57.137Z\"\n                }\n            ],\n            \"customFields\": {},\n            \"createdBy\": {\n                \"userId\": \"4e837d9fefbd698930e5986ce5dd49f0\",\n                \"name\": \"Dieter Hoang\",\n                \"email\": \"dieter.hoang@example.com\"\n            },\n            \"createdDtm\": \"2023-01-17T08:13:05.513Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2025-08-12T16:01:39.832Z\",\n            \"roles\": [\n                {\n                    \"name\": \"IT admin\",\n                    \"members\": [\n                        {\n                            \"userId\": \"f0a8348f354aa54f9f40e72b2d3bcd9c\",\n                            \"name\": \"Wei Smith\",\n                            \"email\": \"wei.smith@example.com\"\n                        }\n                    ]\n                },\n                {\n                    \"name\": \"App owner\",\n                    \"members\": [\n                        {\n                            \"userId\": \"d54d176e262af4e8d6b874533b3c67a1\",\n                            \"name\": \"Jose Gutierrez\",\n                            \"email\": \"jose.gutierrez@example.com\"\n                        }\n                    ]\n                }\n            ],\n            \"isGlobal\": false,\n            \"mainCategory\": {\n                \"id\": \"18862a1e2bbe030d25e600c6\",\n                \"name\": \"Project Management\"\n            },\n            \"otherCategories\": [\n                {\n                    \"id\": \"dd025f40ed4055aafcf5b369\",\n                    \"name\": \"Project Management & Tracking\"\n                },\n                {\n                    \"id\": \"d2393b3dc3274f55ad05766a\",\n                    \"name\": \"Team Coordination & Comms\"\n                },\n                {\n                    \"id\": \"0f4cd25b4ed1e2855ec8206a\",\n                    \"name\": \"Task Management\"\n                },\n                {\n                    \"id\": \"720432e42fd51e8a0e25d880\",\n                    \"name\": \"Process Automation / Workflow Builder\"\n                },\n                {\n                    \"id\": \"eec83df2f32c80058f315117\",\n                    \"name\": \"Resource Management\"\n                }\n            ],\n            \"logoUrl\": \"https://app-files.trelica.com/public/4ad42e9e68cf46e3bc59cb8eab35886c\",\n            \"links\": {\n                \"application\": \"https://app.asana.com/\"\n            }\n        }\n    ]\n}"}],"_postman_id":"3c4edb42-4f1c-454e-b88a-a6b52347e26c"},{"name":"Update app","id":"8a3ad0e4-bae0-467f-8440-fb586901b830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"New\",\n    \"customFields\": {\n        \"user_area\": \"finance\"\n    },\n    \"roles\": [\n        {\n            \"name\": \"App owner\",\n            \"members\": [\n                {\n                    \"email\": \"francisco.allen@example.com\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/apps/v1/68ffc923261ac6785c6cfa6e","description":"<p>Requires the <code>Apps.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1","68ffc923261ac6785c6cfa6e"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"9a502860-5f13-406c-aa9a-721313222e36","name":"Update app","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/{appId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"65fc971ca836a1c1000baa69\",\n            \"name\": \"Calendly\",\n            \"status\": \"Managed\",\n            \"riskLevel\": \"Low\",\n            \"vendor\": {\n                \"id\": \"5d89e637497b440001871455\",\n                \"name\": \"Calendly, LLC\"\n            },\n            \"licenses\": [\n                {\n                    \"name\": \"Teams\",\n                    \"startDate\": \"2024-01-31T00:00:00Z\",\n                    \"renewalDate\": \"2025-01-31T00:00:00Z\",\n                    \"lastModifiedDtm\": \"2024-03-31T13:53:08.79Z\"\n                }\n            ],\n            \"createdBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2024-03-21T20:22:52.887Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2024-03-31T13:53:16.303Z\",\n            \"roles\": [\n                {\n                    \"name\": \"App owner\",\n                    \"members\": [\n                        {\n                            \"userId\": \"930636765c254ac7b2bf91e05fe79b3d\",\n                            \"name\": \"Jane Doe\",\n                            \"email\": \"jane.doe@latwerk.com\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"8a3ad0e4-bae0-467f-8440-fb586901b830"},{"name":"Create app","id":"49f65ebe-adb5-4c1d-8a8a-100319d6d497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"globalAppName\": \"Zoom\",\n    \"instanceName\": \"Sales team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/apps/v1/","description":"<p>Requires the <code>Apps.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"5f4b3425-da4c-4d42-a310-4fc003c42004","name":"Create app","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"globalAppName\": \"Zoom\",\n    \"instanceName\": \"Sales team\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/apps/v1/"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3b2e711948168a3b61f3972f\",\n    \"name\": \"Zoom\",\n    \"instanceName\": \"Sales team\",\n    \"status\": \"New\",\n    \"vendor\": {\n        \"id\": \"5b069b2c4ef54837d8c16f3e\",\n        \"name\": \"Zoom Video Communications, Inc.\"\n    },\n    \"licenses\": [],\n    \"customFields\": {},\n    \"createdBy\": {\n        \"userId\": \"426d1c1b7fa0dd3b79c0aec3db9f4f2c\",\n        \"name\": \"Dorothy Ito\",\n        \"email\": \"dorothy.ito@example.com\"\n    },\n    \"createdDtm\": \"2025-10-27T19:33:55.7829323Z\",\n    \"deleted\": false,\n    \"lastModifiedDtm\": \"2025-10-27T19:33:55.7829323Z\",\n    \"isGlobal\": true,\n    \"mainCategory\": {\n        \"id\": \"0aab07631120d9a4e907c4bd\",\n        \"name\": \"Communications\"\n    },\n    \"otherCategories\": [\n        {\n            \"id\": \"40cce423fba3d87fd0270807\",\n            \"name\": \"Cloud Phone System\"\n        },\n        {\n            \"id\": \"235466087ec58cfe735d804d\",\n            \"name\": \"Video Conferencing\"\n        },\n        {\n            \"id\": \"8c1d1e58c6ee7dbbcc32272d\",\n            \"name\": \"Instant Messaging\"\n        },\n        {\n            \"id\": \"6f7c6ade601f91e23580356b\",\n            \"name\": \"Web Conferencing / Webcasting\"\n        },\n        {\n            \"id\": \"9415c08f9bd56389c47dbf91\",\n            \"name\": \"Event Management & Ticketing\"\n        },\n        {\n            \"id\": \"8f75ca2cdd63fdc9911087c1\",\n            \"name\": \"Contact Center\"\n        },\n        {\n            \"id\": \"8e48c8b697663a9087444a63\",\n            \"name\": \"Interactive Voice Response (IVR)\"\n        }\n    ],\n    \"domains\": [\n        \"zoom.us\",\n        \"zoomgov.com\",\n        \"zoom.com\"\n    ],\n    \"logoUrl\": \"https://app-files.trelica.com/public/431df5eb4af548a8a07da6ecc04cf773\",\n    \"links\": {\n        \"application\": \"https://zoom.us/signin#/login\",\n        \"blog\": \"https://www.zoom.com/en/blog/\",\n        \"help\": \"https://support.zoom.com/hc/en/\",\n        \"homePage\": \"https://www.zoom.com/\",\n        \"pricing\": \"https://zoom.us/pricing\",\n        \"privacyPolicy\": \"https://www.zoom.com/en/trust/privacy/\",\n        \"security\": \"https://www.zoom.com/en/trust/legal-compliance/\",\n        \"signUp\": \"https://zoom.us/signup#/signup\",\n        \"termsOfService\": \"https://www.zoom.com/en/trust/terms/\"\n    }\n}"},{"id":"75c5ddd7-c419-46a2-ae4c-79f2ec8e5f68","name":"HTTP 409 - duplicate","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"globalAppName\": \"Zoom\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/apps/v1/"},"status":"Conflict","code":409,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/problem+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.10\",\n    \"title\": \"Conflict\",\n    \"status\": 409,\n    \"extensions\": {\n        \"traceId\": \"00-e59de88bee44f56d2ee8667d2ce08d5c-6506e962113b1584-01\"\n    }\n}"}],"_postman_id":"49f65ebe-adb5-4c1d-8a8a-100319d6d497"},{"name":"Get custom fields","id":"560c869a-37b6-48de-8f8e-8a11d9aa40cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/customfields","description":"<p>Requires the <code>Apps.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1","customfields"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"f3e91fb6-a2c1-4832-a306-4751dd63cc81","name":"Get custom fields","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/customfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"e1ae0ed502f5eae0f3dfc0a1\",\n            \"name\": \"Risk level\",\n            \"lookupKey\": \"user_risk_level\",\n            \"type\": \"Option\",\n            \"options\": [\n                {\n                    \"id\": \"high\",\n                    \"label\": \"High\"\n                },\n                {\n                    \"id\": \"medium\",\n                    \"label\": \"Medium\"\n                },\n                {\n                    \"id\": \"low\",\n                    \"label\": \"Low\"\n                }\n            ],\n            \"showInAppHub\": true,\n            \"showInReporting\": true\n        },\n        {\n            \"id\": \"7259e0e52e40c9f699390208\",\n            \"name\": \"Authorization\",\n            \"lookupKey\": \"user_authorization\",\n            \"type\": \"Option\",\n            \"options\": [\n                {\n                    \"id\": \"oauth\",\n                    \"label\": \"OAuth\"\n                },\n                {\n                    \"id\": \"password\",\n                    \"label\": \"Password\"\n                },\n                {\n                    \"id\": \"saml2\",\n                    \"label\": \"SAML2\"\n                },\n                {\n                    \"id\": \"password__mfa\",\n                    \"label\": \"Password + MFA\"\n                }\n            ],\n            \"showInAppHub\": false\n        },\n        {\n            \"id\": \"8a5a59259f364d1208940b3d\",\n            \"name\": \"Sensitive data handling\",\n            \"lookupKey\": \"user_sensitive_data_handling\",\n            \"type\": \"Text\",\n            \"showInAppHub\": true\n        }\n    ]\n}"}],"_postman_id":"560c869a-37b6-48de-8f8e-8a11d9aa40cb"},{"name":"List app users","id":"4cf3443d-63c8-43da-bd52-d5ff1610cdbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/{appId}/users","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/apps/users\">https://trelica.gitbook.io/trelica-api/readme/apps/users</a></p>\n<p>Requires the <code>Apps.Users.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","apps","v1","{appId}","users"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"8b9ed547-0ab1-4a0a-b879-34a83ae068b6","name":"Example app users","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/apps/v1/{appId}/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"65fc9737a836a1c1000baac4\",\n            \"name\": \"Earnest Worker\",\n            \"email\": \"earnest.worker@latwerk.com\",\n            \"status\": \"Active\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2024-03-31T01:25:09.351Z\"\n        },\n        {\n            \"id\": \"65fc9737a836a1c1000baad7\",\n            \"name\": \"Jane Doe\",\n            \"email\": \"jane.doe@latwerk.com\",\n            \"status\": \"Active\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2024-03-31T01:25:09.363Z\"\n        }\n    ]\n}"}],"_postman_id":"4cf3443d-63c8-43da-bd52-d5ff1610cdbc"}],"id":"5da25481-d9d6-4ffb-92c9-e95b6a392ec6","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/apps\">https://trelica.gitbook.io/trelica-api/readme/apps</a></p>\n","_postman_id":"5da25481-d9d6-4ffb-92c9-e95b6a392ec6","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"workflows","item":[{"name":"List workflows","id":"fe22aaab-8355-4703-b18c-705921944d63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1","description":"<p>Requires the <code>Workflows.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","workflows","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"573d17eb-44dd-45d4-be3e-118810e89446","name":"List workflows","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"b7288c2c64f779e28024ea0e\",\n            \"name\": \"Offboarding\",\n            \"enabled\": true,\n            \"createdDtm\": \"2023-06-22T14:02:36.136Z\",\n            \"deleted\": false,\n            \"lastModifiedBy\": {\n                \"userId\": \"b2c3d4e5-f678-90ab-cdef-1234567890ab\",\n                \"name\": \"Priya Patel\",\n                \"email\": \"priya.patel@example.com\"\n            },\n            \"lastModifiedDtm\": \"2023-06-22T20:28:35.846Z\",\n            \"trigger\": {\n                \"id\": \"c3d4e5f6-7890-abcd-ef12-34567890abcd\",\n                \"name\": \"Person leaves\",\n                \"type\": \"PersonLeaves\",\n                \"startDate\": \"2023-06-22T00:00:00Z\",\n                \"hour\": 17,\n                \"period\": \"Day\",\n                \"everyNPeriods\": 1\n            },\n            \"steps\": [\n                {\n                    \"id\": \"4f2f9f6850fb2ce64a8ffb04\",\n                    \"name\": \"Create task\",\n                    \"type\": \"CreateTask\"\n                },\n                {\n                    \"id\": \"f82c5f04e4b54a96f20ff8b5\",\n                    \"name\": \"Create Jira (Cloud) ticket\",\n                    \"type\": \"CreateExternalTask\"\n                },\n                {\n                    \"id\": \"f9bff20456884e0f2c2f65ab\",\n                    \"name\": \"Offboard person from apps\",\n                    \"type\": \"OffboardPersonApps\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"fe22aaab-8355-4703-b18c-705921944d63"},{"name":"Get a workflow","id":"cb5c82ca-19ea-4090-85d3-f3ce274cd971","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1/{workflowId}","description":"<p>Requires the <code>Workflows.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","workflows","v1","{workflowId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"d1caa650-d912-4cb8-af96-f262bca014e3","name":"Example workflow","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"b7288c2c64f779e28024ea0e\",\n            \"name\": \"Offboarding\",\n            \"enabled\": true,\n            \"createdDtm\": \"2023-06-22T14:02:36.136Z\",\n            \"deleted\": false,\n            \"lastModifiedBy\": {\n                \"userId\": \"b2c3d4e5-f678-90ab-cdef-1234567890ab\",\n                \"name\": \"Priya Patel\",\n                \"email\": \"priya.patel@example.com\"\n            },\n            \"lastModifiedDtm\": \"2023-06-22T20:28:35.846Z\",\n            \"trigger\": {\n                \"id\": \"c3d4e5f6-7890-abcd-ef12-34567890abcd\",\n                \"name\": \"Person leaves\",\n                \"type\": \"PersonLeaves\",\n                \"startDate\": \"2023-06-22T00:00:00Z\",\n                \"hour\": 17,\n                \"period\": \"Day\",\n                \"everyNPeriods\": 1\n            },\n            \"steps\": [\n                {\n                    \"id\": \"4f2f9f6850fb2ce64a8ffb04\",\n                    \"name\": \"Create task\",\n                    \"type\": \"CreateTask\"\n                },\n                {\n                    \"id\": \"f82c5f04e4b54a96f20ff8b5\",\n                    \"name\": \"Create Jira (Cloud) ticket\",\n                    \"type\": \"CreateExternalTask\"\n                },\n                {\n                    \"id\": \"f9bff20456884e0f2c2f65ab\",\n                    \"name\": \"Offboard person from apps\",\n                    \"type\": \"OffboardPersonApps\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"cb5c82ca-19ea-4090-85d3-f3ce274cd971"},{"name":"List workflow runs","id":"5ef61112-90c4-416f-a10f-ff66ed91a66d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1/{workflowId}/runs","description":"<p>Requires the <code>Workflows.Runs.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","workflows","v1","{workflowId}","runs"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"7b798bc4-993e-43d9-b43b-eaa7e05d1de7","name":"Example runs","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/workflows/v1//runs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"649454cc391d7e83ae7a0aa5\",\n            \"name\": \"Shirley Lane\",\n            \"status\": \"Completed\",\n            \"createdBy\": {\n                \"userId\": \"a9b8c7d6e5f4g3h2i1j0k9l8m7n6o5p4\",\n                \"name\": \"Samira Johnson\",\n                \"email\": \"samira.johnson@example.com\"\n            },\n            \"createdDtm\": \"2023-06-22T14:03:56.248Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2023-06-22T14:04:16.157Z\",\n            \"context\": {\n                \"person\": {\n                    \"id\": \"67aa6cdf421044b49ad1d6dfded7bf21\",\n                    \"name\": \"Shirley Lane\",\n                    \"firstName\": \"Shirley\",\n                    \"lastName\": \"Lane\",\n                    \"email\": \"shirley.lane@example.com\",\n                    \"employeeId\": \"E001529\",\n                    \"location\": \"Cambridge, UK\",\n                    \"jobTitle\": \"Content Lead\",\n                    \"team\": \"Web site\",\n                    \"leavingDate\": \"2023-05-25T00:00:00Z\",\n                    \"customFields\": {\n                        \"personalemail\": null\n                    }\n                }\n            },\n            \"trigger\": {\n                \"id\": \"54d9783a47e694183a270549\",\n                \"status\": \"Completed\",\n                \"completed\": {\n                    \"dtm\": \"2023-06-22T14:04:15.021Z\",\n                    \"nextStepIds\": [\n                        \"54d9783a47e694183a270549\"\n                    ],\n                    \"newContext\": {\n                        \"person\": {\n                            \"id\": \"67aa6cdf421044b49ad1d6dfded7bf21\",\n                            \"name\": \"Shirley Lane\",\n                            \"firstName\": \"Shirley\",\n                            \"lastName\": \"Lane\",\n                            \"email\": \"shirley.lane@example.com\",\n                            \"employeeId\": \"E001529\",\n                            \"location\": \"Cambridge, UK\",\n                            \"jobTitle\": \"Content Lead\",\n                            \"team\": \"Web site\",\n                            \"leavingDate\": \"2023-05-25T00:00:00Z\",\n                            \"customFields\": {\n                                \"personalemail\": null\n                            }\n                        }\n                    }\n                }\n            },\n            \"steps\": [\n                {\n                    \"id\": \"54d9783a47e694183a270549\",\n                    \"type\": \"OffboardPersonApps\",\n                    \"name\": \"Offboard person from apps\",\n                    \"status\": \"Completed\",\n                    \"completed\": {\n                        \"dtm\": \"2023-06-22T14:04:16.149Z\",\n                        \"nextStepIds\": []\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": \"662a8c11f07ba0af9a25c860\",\n            \"name\": \"Stephanie Mason\",\n            \"status\": \"Waiting\",\n            \"createdBy\": {\n                \"userId\": \"7cbf8b34a3213f04c8f275b41e30b14\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2024-04-25T17:00:01.207Z\",\n            \"deleted\": false,\n            \"lastModifiedDtm\": \"2024-04-25T17:00:01.375Z\",\n            \"context\": {\n                \"person\": {\n                    \"id\": \"0ad0090d2f27407ba1312883e805b123\",\n                    \"name\": \"Stephanie Mason\",\n                    \"firstName\": \"Stephanie\",\n                    \"lastName\": \"Mason\",\n                    \"email\": \"stephanie.mason@example.com\",\n                    \"employeeId\": \"E001557\",\n                    \"location\": \"Palo Alto, CA\",\n                    \"jobTitle\": \"Accounts Receivable Executive\",\n                    \"team\": \"Accounts Receivable\",\n                    \"startDate\": \"2022-06-04T00:00:00Z\",\n                    \"leavingDate\": \"2024-04-07T00:00:00Z\",\n                    \"customFields\": {\n                        \"personalemail\": null\n                    }\n                }\n            },\n            \"trigger\": {\n                \"id\": \"54d9783a47e694183a270549\",\n                \"status\": \"Waiting\",\n                \"waiting\": {\n                    \"dtm\": \"2024-04-25T17:00:01.326Z\"\n                }\n            },\n            \"steps\": []\n        }\n    ]\n}"}],"_postman_id":"5ef61112-90c4-416f-a10f-ff66ed91a66d"}],"id":"87514fc5-f621-4a44-b8bf-8b0a35a2d734","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/workflows\">https://trelica.gitbook.io/trelica-api/readme/workflows</a></p>\n","_postman_id":"87514fc5-f621-4a44-b8bf-8b0a35a2d734","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"people","item":[{"name":"teams","item":[{"name":"Teams as tree","id":"aaa04d7a-9eca-4af6-8bb5-25192b2595c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/teams/tree","description":"<p>Requires the <code>People.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","teams","tree"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"2cc57201-b3bd-484a-8c78-dc5796db5c0e","name":"Get teams","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/teams/tree"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/problem+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"65207c3ffa0d2abb07955307\",\n    \"name\": \"Engineering\",\n    \"children\": [\n      {\n        \"id\": \"65207c3ffa0d2abb07955309\",\n        \"name\": \"Development\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb07955308\",\n        \"name\": \"DevOps\"\n      }\n    ]\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530a\",\n    \"name\": \"Finance\",\n    \"children\": [\n      {\n        \"id\": \"65207c3ffa0d2abb0795530b\",\n        \"name\": \"Accounts Payable\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb0795530c\",\n        \"name\": \"Accounts Receivable\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb0795530d\",\n        \"name\": \"FP&A\"\n      }\n    ]\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530e\",\n    \"name\": \"HR\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530f\",\n    \"name\": \"Marketing\",\n    \"children\": [\n      {\n        \"id\": \"65207c3ffa0d2abb07955310\",\n        \"name\": \"Events\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb07955311\",\n        \"name\": \"PR\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb07955312\",\n        \"name\": \"Web site\"\n      }\n    ]\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955313\",\n    \"name\": \"Sales\",\n    \"children\": [\n      {\n        \"id\": \"65207c3ffa0d2abb07955314\",\n        \"name\": \"Technical Pre-sales\"\n      }\n    ]\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955315\",\n    \"name\": \"Support\",\n    \"children\": [\n      {\n        \"id\": \"65207c3ffa0d2abb07955316\",\n        \"name\": \"Customer Success\"\n      },\n      {\n        \"id\": \"65207c3ffa0d2abb07955317\",\n        \"name\": \"Technical Support\"\n      }\n    ]\n  }\n]\n"}],"_postman_id":"aaa04d7a-9eca-4af6-8bb5-25192b2595c8"},{"name":"Teams as list","id":"367e232c-758e-4f18-93ae-4a08654f8757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/teams/list","description":"<p>Requires the <code>People.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","teams","list"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"a32a5ff2-af07-45aa-8e5e-2d66a868c5ce","name":"Get list","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/teams/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/problem+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"65207c3ffa0d2abb07955307\",\n    \"name\": \"Engineering\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955309\",\n    \"name\": \"Development\",\n    \"parentId\": \"65207c3ffa0d2abb07955307\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955308\",\n    \"name\": \"DevOps\",\n    \"parentId\": \"65207c3ffa0d2abb07955307\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530a\",\n    \"name\": \"Finance\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530b\",\n    \"name\": \"Accounts Payable\",\n    \"parentId\": \"65207c3ffa0d2abb0795530a\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530c\",\n    \"name\": \"Accounts Receivable\",\n    \"parentId\": \"65207c3ffa0d2abb0795530a\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530d\",\n    \"name\": \"FP&A\",\n    \"parentId\": \"65207c3ffa0d2abb0795530a\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530e\",\n    \"name\": \"HR\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb0795530f\",\n    \"name\": \"Marketing\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955310\",\n    \"name\": \"Events\",\n    \"parentId\": \"65207c3ffa0d2abb0795530f\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955311\",\n    \"name\": \"PR\",\n    \"parentId\": \"65207c3ffa0d2abb0795530f\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955312\",\n    \"name\": \"Web site\",\n    \"parentId\": \"65207c3ffa0d2abb0795530f\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955313\",\n    \"name\": \"Sales\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955314\",\n    \"name\": \"Technical Pre-sales\",\n    \"parentId\": \"65207c3ffa0d2abb07955313\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955315\",\n    \"name\": \"Support\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955316\",\n    \"name\": \"Customer Success\",\n    \"parentId\": \"65207c3ffa0d2abb07955315\"\n  },\n  {\n    \"id\": \"65207c3ffa0d2abb07955317\",\n    \"name\": \"Technical Support\",\n    \"parentId\": \"65207c3ffa0d2abb07955315\"\n  }\n]"}],"_postman_id":"367e232c-758e-4f18-93ae-4a08654f8757"},{"name":"Delete team","id":"2a0dadad-60c7-4142-9f07-3ee3ff97945a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://app.trelica.com/api/people/v1/teams/{teamId}","description":"<p>Requires the <code>People.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","teams","{teamId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"4ea45aa3-c053-4f0f-b57a-f121b5ac1602","name":"Delete team","originalRequest":{"method":"DELETE","header":[],"url":"https://app.trelica.com/api/people/v1/teams/{teamId}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2a0dadad-60c7-4142-9f07-3ee3ff97945a"},{"name":"Create or update a team","id":"40620709-cccd-4fc6-a28a-44511e979a03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"parentId\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"name\": \"Sub-contractors\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/teams","description":"<p>Requires the <code>People.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","teams"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"33388252-3b64-427f-80f8-162f73c4831e","name":"Create or update a team","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"parentId\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"name\": \"Sub-contractors\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/teams"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{ \n    \"id\": \"321e7654-f98a-32c1-b654-661417442000\",\n    \"parentId\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"name\": \"Sub-contractors\"\n}"}],"_postman_id":"40620709-cccd-4fc6-a28a-44511e979a03"}],"id":"1bba4f2b-f5da-480d-953b-15b374fcd58e","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/people/teams\">https://trelica.gitbook.io/trelica-api/readme/people/teams</a></p>\n<p>Requires the <code>People.Read</code> scope.</p>\n","_postman_id":"1bba4f2b-f5da-480d-953b-15b374fcd58e","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"List people","id":"496e9616-4eec-4516-ace7-e69d3a768e1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1","description":"<p>Requires the <code>People.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"04d7e66c-cf80-4526-87d4-5ae71dbfb7ba","name":"List people","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"0120c3c28a484c82a3521c242c11cfb7\",\n            \"personType\": \"Employee\",\n            \"aliases\": [],\n            \"firstName\": \"Vincent\",\n            \"lastName\": \"Dunn\",\n            \"email\": \"vincent.dunn@example.com\",\n            \"jobTitle\": \"Event Manager\",\n            \"locationId\": \"65207c40fa0d2abb0795531c\",\n            \"location\": \"Brentwood, TN\",\n            \"costCenterId\": \"65fd5da5eb3c916effa1d653\",\n            \"costCenter\": \"C00EVE1\",\n            \"employeeId\": \"E001555\",\n            \"status\": \"Active\",\n            \"teams\": [\n                {\n                    \"id\": \"65207c3ffa0d2abb07955310\",\n                    \"name\": \"Events\"\n                }\n            ],\n            \"customFields\": {},\n            \"startDate\": \"2021-09-26T00:00:00Z\",\n            \"createdBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-10-06T21:29:36.452Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:02:17.181Z\"\n        },\n        {\n            \"id\": \"0154c8075b4f477ab977fc24c64278f8\",\n            \"personType\": \"Employee\",\n            \"aliases\": [],\n            \"firstName\": \"Theresa\",\n            \"lastName\": \"Hicks\",\n            \"email\": \"theresa.hicks@example.com\",\n            \"jobTitle\": \"Treasury Analyst\",\n            \"locationId\": \"65207c40fa0d2abb0795531c\",\n            \"location\": \"Brentwood, TN\",\n            \"costCenterId\": \"65fd5da5eb3c916effa1d64a\",\n            \"costCenter\": \"C00FIN1\",\n            \"employeeId\": \"E001537\",\n            \"status\": \"Active\",\n            \"teams\": [\n                {\n                    \"id\": \"65207c3ffa0d2abb0795530a\",\n                    \"name\": \"Finance\"\n                }\n            ],\n            \"customFields\": {},\n            \"startDate\": \"2020-08-11T00:00:00Z\",\n            \"createdBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-10-06T21:29:36.418Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:02:17.177Z\"\n        },\n        {\n            \"id\": \"0ad0090d2f27407ba1312883e805b123\",\n            \"personType\": \"Employee\",\n            \"aliases\": [],\n            \"firstName\": \"Stephanie\",\n            \"lastName\": \"Mason\",\n            \"email\": \"stephanie.mason@example.com\",\n            \"jobTitle\": \"Accounts Receivable Executive\",\n            \"locationId\": \"65207c40fa0d2abb0795531a\",\n            \"location\": \"Palo Alto, CA\",\n            \"costCenterId\": \"65ff35b4a006ab4d69c4f9d9\",\n            \"costCenter\": \"ACC1\",\n            \"employeeId\": \"E001557\",\n            \"status\": \"Terminated\",\n            \"teams\": [\n                {\n                    \"id\": \"65207c3ffa0d2abb0795530c\",\n                    \"name\": \"Accounts Receivable\"\n                }\n            ],\n            \"customFields\": {},\n            \"startDate\": \"2022-07-01T00:00:00Z\",\n            \"leavingDate\": \"2024-05-09T00:00:00Z\",\n            \"createdBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-10-06T21:29:36.456Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"1bfa2c7b14c130bf0834278e4f5b3c81\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:02:17.181Z\"\n        }\n    ]\n}\n"}],"_postman_id":"496e9616-4eec-4516-ace7-e69d3a768e1d"},{"name":"Get person","id":"61db4895-bf56-457b-8913-f27525800efc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/{personId}","description":"<p>Requires the <code>People.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","{personId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"cf856148-5ffe-4b50-9b83-f97193e4730e","name":"Get a person","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/{personId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"john.doe@example.com\",\n        \"john@example.com\",\n        \"j.doe@example.com\",\n        \"johnny.d@example.com\"\n    ],\n    \"userName\": \"johndoe123\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"organizationalUnit\": \"/\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"status\": \"Active\",\n    \"lineManager\": {\n        \"id\": \"765e4321-b98e-21d3-b456-426614174000\",\n        \"personType\": \"User\",\n        \"name\": \"Jane Smith\",\n        \"email\": \"jane.smith@example.com\"\n    },\n    \"teams\": [\n        {\n            \"id\": \"890a1234-c56d-78f9-0123-456789abcdef\",\n            \"name\": \"Customer Success\"\n        }\n    ],\n    \"createdBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"createdDtm\": \"2020-03-09T06:09:26Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"lastModifiedDtm\": \"2024-05-26T01:01:43.374Z\"\n}"}],"_postman_id":"61db4895-bf56-457b-8913-f27525800efc"},{"name":"List apps for a person","id":"0750bccf-13dd-4f73-bf76-6522bc8576da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/{personId}/apps","description":"<p>Requires the <code>People.Read</code> and <code>Apps.Read</code> scopes.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","{personId}","apps"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"5de74098-cae2-473a-b6a1-51b7660e3562","name":"List apps for a person","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/people/v1/{personId}/apps"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"next\": \"https://app.trelica.com/api/people/v1/2b5e70ccb3e4fd25021ac6b5013/apps?after=EAAAABg2MjI3MmMxYjRhNTI5ZTMzNWZjODg3ZmI%3d&limit=100\",\n    \"results\": [\n        {\n            \"id\": \"5e70ccb3e4fd250001a43513\",\n            \"name\": \"draw.io\",\n            \"status\": \"Ignored\",\n            \"appUser\": {\n                \"id\": \"5eec0e4825a514039e0f9102\",\n                \"name\": \"J Doe\",\n                \"email\": \"john.doe@example.com\",\n                \"status\": \"Deleted\",\n                \"deleted\": false,\n                \"lastModifiedDtm\": \"2022-04-12T01:04:47.39Z\"\n            }\n        },\n        {\n            \"id\": \"5e70ccd2e4fd250001a4355e\",\n            \"name\": \"Zoom\",\n            \"status\": \"Managed\",\n            \"appUser\": {\n                \"id\": \"5eec0e4825a514039e0f9106\",\n                \"name\": \"John Doe\",\n                \"email\": \"john.doe@example.com\",\n                \"status\": \"Active\",\n                \"lastLoginDtm\": \"2024-05-15T00:00:00Z\",\n                \"deleted\": false,\n                \"lastModifiedDtm\": \"2024-05-26T03:41:46.706Z\"\n            }\n        }\n    ]\n}"}],"_postman_id":"0750bccf-13dd-4f73-bf76-6522bc8576da"},{"name":"Create or update a person","id":"2b4296f5-139a-4483-a8be-c0e215bd9fec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://app.trelica.com/api/people/v1/","description":"<p>Requires the <code>People.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1",""],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"d7fe4e7c-b17b-4331-9ea9-b3c6a93d1b19","name":"Create a person (teamIds)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"john.doe@example.com\",\n        \"john@example.com\",\n        \"j.doe@example.com\",\n        \"johnny.d@example.com\"\n    ],\n    \"userName\": \"johndoe123\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"status\": \"Active\",\n    \"lineManagerEmail\": \"jane.smith@example.com\",\n    \"teamIds\": [\"890a1234-c56d-78f9-0123-456789abcdef\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"john.doe@example.com\",\n        \"john@example.com\",\n        \"j.doe@example.com\",\n        \"johnny.d@example.com\"\n    ],\n    \"userName\": \"johndoe123\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"status\": \"Active\",\n    \"lineManagerEmail\": \"jane.smith@example.com\",\n    \"teams\": [\n        {\n            \"id\": \"890a1234-c56d-78f9-0123-456789abcdef\",\n            \"name\": \"Customer Success\"\n        }\n    ],\n    \"createdBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"createdDtm\": \"2020-03-09T06:09:26Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"lastModifiedDtm\": \"2024-05-26T01:01:43.374Z\"\n}"},{"id":"0684c321-ffa2-4da9-80cc-46c4c6669e19","name":"Create a person (teams)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"john.doe@example.com\",\n        \"john@example.com\",\n        \"j.doe@example.com\",\n        \"johnny.d@example.com\"\n    ],\n    \"userName\": \"johndoe123\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"status\": \"Active\",\n    \"lineManagerEmail\": \"jane.smith@example.com\",\n    \"teams\":[\n        {\n            \"name\": \"Customer Success\"\n        }\n    ],\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"john.doe@example.com\",\n        \"john@example.com\",\n        \"j.doe@example.com\",\n        \"johnny.d@example.com\"\n    ],\n    \"userName\": \"johndoe123\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"status\": \"Active\",\n    \"lineManagerEmail\": \"jane.smith@example.com\",\n    \"teams\": [\n        {\n            \"id\": \"890a1234-c56d-78f9-0123-456789abcdef\",\n            \"name\": \"Customer Success\"\n        }\n    ],\n    \"createdBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"createdDtm\": \"2020-03-09T06:09:26Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"321cba98-765e-4321-0d3b-456789abcdef\",\n        \"name\": \"System\",\n        \"email\": \"admin@example.com\"\n    },\n    \"lastModifiedDtm\": \"2024-05-26T01:01:43.374Z\"\n}"},{"id":"78f9dbb8-67a4-4e34-8362-5ec780c8c7cf","name":"Email address in use","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"employeeType\": \"Part-time\",\n    \"personType\": \"Employee\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john.doe2@example.com\",\n    \"jobTitle\": \"Customer Success Manager\",\n    \"loginName\": \"johndoe\",\n    \"employeeId\": \"123\",\n    \"teams\": [\n        {\n            \"id\": \"66603d310b4470b8c142d2fc\",\n            \"name\": \"Sub-contractors (ENG)\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The email address john.doe2@example.com is already in use by the person with id a5bb5dc680d2465c8c827d1bd56ca1ab\"\n}"}],"_postman_id":"2b4296f5-139a-4483-a8be-c0e215bd9fec"},{"name":"Update a person","id":"533479b6-0688-4cbd-86b5-1a3fb26583b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"leavingDate\": \"2022-03-02\",\r\n    \"personType\": \"Employee\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/people/v1/{personId}","description":"<p>Requires the <code>People.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","people","v1","{personId}"],"host":["https://app.trelica.com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e14d45d9-a85f-45e1-8dda-13c301ed1e8f","name":"Set leaving date and person type","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"leavingDate\": \"2024-03-02\",\r\n    \"personType\": \"Employee\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.trelica.com/api/people/v1/{personId}","host":["https://app.trelica.com"],"path":["api","people","v1","{personId}"],"query":[{"key":"","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1dd947dc7cf94cbc840a8957454b3ffd\",\n    \"personType\": \"Employee\",\n    \"aliases\": [\n        \"alexis.jackson@latwerk.com.test-google-a.com\"\n    ],\n    \"firstName\": \"Alexis\",\n    \"lastName\": \"Jackson\",\n    \"email\": \"alexis.jackson@latwerk.com\",\n    \"locationId\": \"65fc958beb3c916effa1d5a5\",\n    \"location\": \"Sydney\",\n    \"organizationalUnit\": \"/\",\n    \"employeeId\": \"E00001\",\n    \"leavingDate\": \"2024-03-02\",\n    \"status\": \"Terminated\",\n    \"lineManager\": {\n        \"id\": \"9506a01a27f74b41979353a0b5b8a3d9\",\n        \"personType\": \"Contact\",\n        \"name\": \"Margaret Ayers\",\n        \"email\": \"margaret.ayers@latwerk.com\"\n    },\n    \"teams\": [],\n    \"startDate\": \"2023-08-31T00:00:00Z\",\n    \"createdBy\": {\n        \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n        \"name\": \"System\",\n        \"email\": \"admin@trelica.com\"\n    },\n    \"createdDtm\": \"2024-03-21T20:16:11.749Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-03-31T13:46:44.8084966Z\"\n}"}],"_postman_id":"533479b6-0688-4cbd-86b5-1a3fb26583b0"}],"id":"abfc2bdc-7b75-4b09-acce-4bf4dc474822","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/people\">https://trelica.gitbook.io/trelica-api/readme/people</a></p>\n","_postman_id":"abfc2bdc-7b75-4b09-acce-4bf4dc474822","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"contracts","item":[{"name":"Create or update a contract","id":"548fe2ba-0b88-4b81-90fe-a5f211382dbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"externalId\": \"EXT123451\",\r\n    \"ref\": \"PO-12345-00\",\r\n    \"type\": \"PurchaseOrder\",\r\n    \"vendorName\": \"Github, Inc.\",\r\n    \"agreementDate\": \"2022-04-01\",\r\n    \"renewalDate\": \"2023-04-01\",\r\n    \"terminationNoticeDays\": 90,\r\n    \"isAutomaticRenewal\": false,\r\n    \"notes\": \"Annual Github renewal negotiated by Rachele in procurement\",\r\n    \"paymentMethod\": \"Invoice\",\r\n    \"businessOwnerEmail\": \"jane.doe@example.org\",\r\n    \"lineItems\": [{\r\n        \"externalId\": \"1\",\r\n        \"description\": \"Github Enterprise annual\",\r\n        \"notes\": \"For source control\",\r\n        \"unitCount\": 50,\r\n        \"amount\": 210,\r\n        \"currency\": \"USD\",\r\n        \"startDate\": \"2022-04-06\",\r\n        \"endDate\": \"2023-04-06\"\r\n    }, {\r\n        \"externalId\": \"2\",\r\n        \"description\": \"Github Advanced Security\",\r\n        \"notes\": \"Secret scanning etc\",\r\n        \"unitCount\": 11,\r\n        \"amount\": 250,\r\n        \"currency\": \"EUR\",\r\n        \"startDate\": \"2022-04-06\",\r\n        \"endDate\": \"2023-04-06\"\r\n    }],\r\n    \"documents\": [{\r\n        \"linkUrl\": \"https://github.com/pricing/updated\",\r\n        \"description\": \"Github website\"\r\n    }]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/contracts/v1/{contractId}","description":"<p>Requires the <code>Contracts.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","contracts","v1","{contractId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"8eeaa367-5ca9-4972-93bb-653823daed13","name":"Example with line items","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"6261cc72807575eb68f563ba\",\r\n    \"externalId\": \"EXT1235\",\r\n    \"ref\": \"PO-12345-00\",\r\n    \"type\": \"PurchaseOrder\",\r\n    \"vendorName\": \"Githhub, Inc.\",\r\n    \"agreementDate\": \"2022-04-01T00:00:00Z\",\r\n    \"renewalDate\": \"2023-04-01T00:00:00Z\",\r\n    \"terminationNoticeDays\": 90,\r\n    \"isAutomaticRenewal\": false,\r\n    \"notes\": \"Annual Github renewal negotiated by Rachele in procurement\",\r\n    \"paymentMethod\": \"Invoice\",\r\n    \"businessOwnerEmail\": \"jane.doe@example.org\",\r\n    \"lineItems\": [\r\n        {\r\n            \"externalId\": \"1\",\r\n            \"description\": \"Github Enterprise annual\",\r\n            \"notes\": \"For source control\",\r\n            \"unitCount\": 50,\r\n            \"amount\": 210.0,\r\n            \"currency\": \"USD\",\r\n            \"startDate\": \"2022-04-06T00:00:00Z\",\r\n            \"endDate\": \"2023-04-06T00:00:00Z\"\r\n        },\r\n        {\r\n            \"externalId\": \"2\",\r\n            \"description\": \"Github Advanced Security\",\r\n            \"notes\": \"Secret scanning etc\",\r\n            \"unitCount\": 10,\r\n            \"amount\": 250.0,\r\n            \"currency\": \"USD\",\r\n            \"startDate\": \"2022-04-06T00:00:00Z\",\r\n            \"endDate\": \"2023-04-06T00:00:00Z\"\r\n        }\r\n    ],\r\n    \"documents\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/contracts/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6609682bdb3cf6ec72b95839\",\n    \"externalId\": \"EXT1235\",\n    \"ref\": \"PO-12345-00\",\n    \"type\": \"PurchaseOrder\",\n    \"vendorName\": \"Githhub, Inc.\",\n    \"agreementDate\": \"2022-04-01T00:00:00Z\",\n    \"renewalDate\": \"2023-04-01T00:00:00Z\",\n    \"terminationNoticeDays\": 90,\n    \"isAutomaticRenewal\": false,\n    \"notes\": \"Annual Github renewal negotiated by Rachele in procurement\",\n    \"paymentMethod\": \"Invoice\",\n    \"businessOwnerEmail\": \"jane.doe@example.org\",\n    \"lineItems\": [\n        {\n            \"externalId\": \"1\",\n            \"description\": \"Github Enterprise annual\",\n            \"notes\": \"For source control\",\n            \"unitCount\": 50,\n            \"amount\": 210,\n            \"currency\": \"USD\",\n            \"baseAmount\": 210,\n            \"baseCurrency\": \"USD\",\n            \"startDate\": \"2022-04-06T00:00:00Z\",\n            \"endDate\": \"2023-04-06T00:00:00Z\"\n        },\n        {\n            \"externalId\": \"2\",\n            \"description\": \"Github Advanced Security\",\n            \"notes\": \"Secret scanning etc\",\n            \"unitCount\": 10,\n            \"amount\": 250,\n            \"currency\": \"USD\",\n            \"baseAmount\": 250,\n            \"baseCurrency\": \"USD\",\n            \"startDate\": \"2022-04-06T00:00:00Z\",\n            \"endDate\": \"2023-04-06T00:00:00Z\"\n        }\n    ],\n    \"documents\": [],\n    \"createdBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"createdDtm\": \"2024-03-31T13:42:03.608Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-03-31T13:42:03.608Z\"\n}"}],"_postman_id":"548fe2ba-0b88-4b81-90fe-a5f211382dbb"},{"name":"Delete a contract","id":"85cb8ab0-c4b8-4047-91f8-cda787031e44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"externalId\": \"EXT123451\",\r\n    \"ref\": \"PO-12345-00\",\r\n    \"type\": \"PurchaseOrder\",\r\n    \"vendorName\": \"Github, Inc.\",\r\n    \"agreementDate\": \"2022-04-01\",\r\n    \"renewalDate\": \"2023-04-01\",\r\n    \"terminationNoticeDays\": 90,\r\n    \"isAutomaticRenewal\": false,\r\n    \"notes\": \"Annual Github renewal negotiated by Rachele in procurement\",\r\n    \"paymentMethod\": \"Invoice\",\r\n    \"businessOwnerEmail\": \"jane.doe@example.org\",\r\n    \"lineItems\": [{\r\n        \"externalId\": \"1\",\r\n        \"description\": \"Github Enterprise annual\",\r\n        \"notes\": \"For source control\",\r\n        \"unitCount\": 50,\r\n        \"amount\": 210,\r\n        \"currency\": \"USD\",\r\n        \"startDate\": \"2022-04-06\",\r\n        \"endDate\": \"2023-04-06\"\r\n    }, {\r\n        \"externalId\": \"2\",\r\n        \"description\": \"Github Advanced Security\",\r\n        \"notes\": \"Secret scanning etc\",\r\n        \"unitCount\": 11,\r\n        \"amount\": 250,\r\n        \"currency\": \"EUR\",\r\n        \"startDate\": \"2022-04-06\",\r\n        \"endDate\": \"2023-04-06\"\r\n    }],\r\n    \"documents\": [{\r\n        \"linkUrl\": \"https://github.com/pricing/updated\",\r\n        \"description\": \"Github website\"\r\n    }]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/contracts/v1/{contractId}","description":"<p>Requires the <code>Contracts.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","contracts","v1","{contractId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"85cb8ab0-c4b8-4047-91f8-cda787031e44"},{"name":"List contracts","id":"11afee4f-0dc3-43c5-8c4c-3c6e163cae5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/contracts/v1","description":"<p>Requires the <code>Contracts.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","contracts","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"11afee4f-0dc3-43c5-8c4c-3c6e163cae5a"},{"name":"Get a contract","id":"bd7327eb-ee8f-4e1f-acc8-f6e1fac1a75e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/contracts/v1/{contractId}","description":"<p>Requires the <code>Contracts.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","contracts","v1","{contractId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"cd6ef205-efd2-4a7a-8397-35d7bd9bf9da","name":"Example contract","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/contracts/v1/{contractId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6609682bdb3cf6ec72b95839\",\n    \"externalId\": \"EXT1235\",\n    \"ref\": \"PO-12345-00\",\n    \"type\": \"PurchaseOrder\",\n    \"vendorName\": \"Githhub, Inc.\",\n    \"agreementDate\": \"2022-04-01T00:00:00Z\",\n    \"renewalDate\": \"2023-04-01T00:00:00Z\",\n    \"terminationNoticeDays\": 90,\n    \"isAutomaticRenewal\": false,\n    \"notes\": \"Annual Github renewal negotiated by Rachele in procurement\",\n    \"paymentMethod\": \"Invoice\",\n    \"businessOwnerEmail\": \"jane.doe@example.org\",\n    \"lineItems\": [\n        {\n            \"externalId\": \"1\",\n            \"description\": \"Github Enterprise annual\",\n            \"notes\": \"For source control\",\n            \"unitCount\": 50,\n            \"amount\": 210,\n            \"currency\": \"USD\",\n            \"baseAmount\": 210,\n            \"baseCurrency\": \"USD\",\n            \"startDate\": \"2022-04-06T00:00:00Z\",\n            \"endDate\": \"2023-04-06T00:00:00Z\"\n        },\n        {\n            \"externalId\": \"2\",\n            \"description\": \"Github Advanced Security\",\n            \"notes\": \"Secret scanning etc\",\n            \"unitCount\": 10,\n            \"amount\": 250,\n            \"currency\": \"USD\",\n            \"baseAmount\": 250,\n            \"baseCurrency\": \"USD\",\n            \"startDate\": \"2022-04-06T00:00:00Z\",\n            \"endDate\": \"2023-04-06T00:00:00Z\"\n        }\n    ],\n    \"documents\": [],\n    \"createdBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"createdDtm\": \"2024-03-31T13:42:03.608Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-03-31T13:42:03.608Z\"\n}"}],"_postman_id":"bd7327eb-ee8f-4e1f-acc8-f6e1fac1a75e"}],"id":"7e5bd1cf-5f7c-4a76-ada5-dad651d27225","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/contracts\">https://trelica.gitbook.io/trelica-api/readme/contracts</a></p>\n","_postman_id":"7e5bd1cf-5f7c-4a76-ada5-dad651d27225","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}},{"name":"assets","item":[{"name":"List assets","id":"868d8e1c-94f4-4b34-a6de-0aad6ca7f126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1","description":"<p>Requires the <code>Assets.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"072a1417-cf3c-411d-a781-50f30188bff7","name":"List assets","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"646fcb4fb829ba9df2a94471\",\n            \"status\": \"Deployed\",\n            \"hardwareVendor\": \"Apple Inc.\",\n            \"modelName\": \"MacBook Pro (16-inch, 2021)\",\n            \"serialNumber\": \"KOGITG04P5\",\n            \"assetTag\": \"A0000002\",\n            \"purchasedDate\": \"2016-03-06T00:00:00Z\",\n            \"warrantyExpirationDate\": \"2017-03-06T00:00:00Z\",\n            \"lifespanExpirationDate\": \"2019-03-06T00:00:00Z\",\n            \"assignedTo\": {\n                \"userId\": \"6a127db661b442c1afdd77611ad99824\",\n                \"name\": \"Joshua Burns\",\n                \"email\": \"joshua.burns@example.com\"\n            },\n            \"assignedToEmail\": \"joshua.burns@example.com\",\n            \"netPrice\": 1615,\n            \"netPriceCurrency\": \"USD\",\n            \"platform\": \"Mac\",\n            \"isEncrypted\": false,\n            \"customFields\": {\n                \"user_custom_dropdown\": \"show\",\n                \"user_other_price\": {\n                    \"value\": 44,\n                    \"currency\": \"USD\"\n                }\n            },\n            \"createdBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-05-25T20:55:43.048Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:03:26.679Z\"\n        },\n        {\n            \"id\": \"646fcb4fb829ba9df2a94473\",\n            \"status\": \"Deployed\",\n            \"hardwareVendor\": \"Philips\",\n            \"modelName\": \"275S1AE\",\n            \"serialNumber\": \"SS5BONE3N0\",\n            \"assetTag\": \"A0000003\",\n            \"purchasedDate\": \"2016-05-24T00:00:00Z\",\n            \"warrantyExpirationDate\": \"2017-05-24T00:00:00Z\",\n            \"lifespanExpirationDate\": \"2019-05-24T00:00:00Z\",\n            \"assignedTo\": {\n                \"userId\": \"174cd1a0a8254c51a9c2b7c31a0b9c18\",\n                \"name\": \"Kathleen Alvarez\",\n                \"email\": \"kathleen.alvarez@example.com\"\n            },\n            \"assignedToEmail\": \"kathleen.alvarez@example.com\",\n            \"netPrice\": 340,\n            \"netPriceCurrency\": \"USD\",\n            \"isEncrypted\": false,\n            \"customFields\": {},\n            \"createdBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-05-25T20:55:43.064Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:03:26.689Z\"\n        },\n        {\n            \"id\": \"646fcb4fb829ba9df2a94474\",\n            \"status\": \"Deployed\",\n            \"hardwareVendor\": \"Dell Inc.\",\n            \"modelName\": \"Latitude 5520\",\n            \"serialNumber\": \"E6GWTPSEP8\",\n            \"assetTag\": \"A0000004\",\n            \"purchasedDate\": \"2016-05-24T00:00:00Z\",\n            \"warrantyExpirationDate\": \"2017-05-24T00:00:00Z\",\n            \"lifespanExpirationDate\": \"2019-05-24T00:00:00Z\",\n            \"assignedTo\": {\n                \"userId\": \"174cd1a0a8254c51a9c2b7c31a0b9c18\",\n                \"name\": \"Kathleen Alvarez\",\n                \"email\": \"kathleen.alvarez@example.com\"\n            },\n            \"assignedToEmail\": \"kathleen.alvarez@example.com\",\n            \"netPrice\": 935,\n            \"netPriceCurrency\": \"USD\",\n            \"platform\": \"Mac\",\n            \"isEncrypted\": false,\n            \"customFields\": {},\n            \"createdBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"createdDtm\": \"2023-05-25T20:55:43.078Z\",\n            \"lastModifiedBy\": {\n                \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n                \"name\": \"System\",\n                \"email\": \"admin@trelica.com\"\n            },\n            \"lastModifiedDtm\": \"2024-05-27T01:03:26.699Z\"\n        }\n    ]\n}"}],"_postman_id":"868d8e1c-94f4-4b34-a6de-0aad6ca7f126"},{"name":"Get asset","id":"373d8857-3035-4f83-a7a5-5b6284812920","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1/{assetId}","description":"<p>Requires the <code>Assets.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1","{assetId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"ec4b1a74-94e9-47ca-966a-9f58f2dc92db","name":"Example of asset","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1/{assetId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 26 May 2024 19:00:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store,no-cache"},{"key":"Content-Encoding","value":"br"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"content-security-policy","value":"default-src 'none'; script-src 'unsafe-eval' 'unsafe-inline' 'self' dev-static.trelica.com https://*.commandbar.com; style-src 'unsafe-inline' 'self' dev-static.trelica.com fonts.gstatic.com fonts.googleapis.com https://*.commandbar.com; font-src 'self' dev-static.trelica.com fonts.gstatic.com fonts.googleapis.com; img-src 'self' blob: data: https://help.trelica.com https://vendeqhelpfiles.blob.core.windows.net dev-static.trelica.com vendeqdevfiles.blob.core.windows.net https://*.commandbar.com; media-src 'self' dev-static.trelica.com vendeqdevfiles.blob.core.windows.net https://*.commandbar.com; child-src 'self' blob: data:; connect-src 'self' apm-eu.trelica.com vendeqdevfiles.blob.core.windows.net vendeqdevlogstorage.blob.core.windows.net sdr.totango.com https://*.commandbar.com; object-src 'self' vendeqdevfiles.blob.core.windows.net; frame-src 'self' vendeqdevfiles.blob.core.windows.net https://*.commandbar.com https://www.loom.com https://demo.arcade.software;"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Permissions-Policy","value":"accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(self), gyroscope=(), legacy-image-formats=(), magnetometer=(), midi=(), oversized-images=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), sync-xhr=(), unoptimized-images=(), unsized-media=(), usb=(), wake-lock=(), xr-spatial-tracking=()"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"646fcb4fb829ba9df2a94471\",\n    \"status\": \"Deployed\",\n    \"hardwareVendor\": \"Apple Inc.\",\n    \"modelName\": \"MacBook Pro (16-inch, 2021)\",\n    \"serialNumber\": \"KOGITG04P5\",\n    \"assetTag\": \"A0000002\",\n    \"purchasedDate\": \"2016-03-06T00:00:00Z\",\n    \"warrantyExpirationDate\": \"2017-03-06T00:00:00Z\",\n    \"lifespanExpirationDate\": \"2019-03-06T00:00:00Z\",\n    \"assignedTo\": {\n        \"userId\": \"6a127db661b442c1afdd77611ad99824\",\n        \"name\": \"Joshua Burns\",\n        \"email\": \"joshua.burns@example.com\"\n    },\n    \"assignedToEmail\": \"joshua.burns@example.com\",\n    \"netPrice\": 1615,\n    \"netPriceCurrency\": \"USD\",\n    \"platform\": \"Mac\",\n    \"isEncrypted\": false,\n    \"customFields\": {},\n    \"createdBy\": {\n        \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n        \"name\": \"System\",\n        \"email\": \"admin@trelica.com\"\n    },\n    \"createdDtm\": \"2023-05-25T20:55:43.048Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n        \"name\": \"System\",\n        \"email\": \"admin@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-05-26T01:03:25.464Z\"\n}"}],"_postman_id":"373d8857-3035-4f83-a7a5-5b6284812920"},{"name":"Update an asset","id":"57680fb1-f1a0-44bd-b99f-26905687aa55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"customFields\": {\n        \"user_custom_dropdown\": \"show\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/assets/v1/{assetId}","description":"<p>Requires the <code>Assets.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1","{assetId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"7724e8fe-9c09-49ea-b61c-b08d912517da","name":"Update an asset","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"customFields\": {\n        \"user_custom_dropdown\": \"show\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/assets/v1/{assetId}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"646fcb4fb829ba9df2a94471\",\n    \"status\": \"Deployed\",\n    \"hardwareVendor\": \"Apple Inc.\",\n    \"modelName\": \"MacBook Pro (16-inch, 2021)\",\n    \"serialNumber\": \"KOGITG04P5\",\n    \"assetTag\": \"A0000002\",\n    \"purchasedDate\": \"2016-03-06T00:00:00Z\",\n    \"warrantyExpirationDate\": \"2017-03-06T00:00:00Z\",\n    \"lifespanExpirationDate\": \"2019-03-06T00:00:00Z\",\n    \"assignedTo\": {\n        \"userId\": \"6a127db661b442c1afdd77611ad99824\",\n        \"name\": \"Joshua Burns\",\n        \"email\": \"joshua.burns@example.com\"\n    },\n    \"assignedToEmail\": \"joshua.burns@example.com\",\n    \"netPrice\": 1615,\n    \"netPriceCurrency\": \"USD\",\n    \"platform\": \"Mac\",\n    \"isEncrypted\": false,\n    \"customFields\": {\n        \"user_custom_dropdown\": \"show\",\n        \"user_other_price\": {\n            \"value\": 44,\n            \"currency\": \"USD\"\n        }\n    },\n    \"createdBy\": {\n        \"userId\": \"b1fb51a7c13f4cbf832b304348c8270e\",\n        \"name\": \"System\",\n        \"email\": \"admin@trelica.com\"\n    },\n    \"createdDtm\": \"2023-05-25T20:55:43.048Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"9aeb0b0b6f014e6fa354730109e9d6bd\",\n        \"name\": \"Trelica\",\n        \"email\": \"HgN0Iy0kpslaqEPlCg8hkSVFdkylkRQZpy1LQeCizk63@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-05-27T08:03:12.4021461Z\"\n}"}],"_postman_id":"57680fb1-f1a0-44bd-b99f-26905687aa55"},{"name":"Create an asset","id":"fc8522c7-1f77-4575-aaf9-138dd21a539c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"externalId\": \"LL123456\",\n    \"deviceName\": \"Jane's Macbook Air\",\n    \"modelName\": \"MacBook Air (M2, 2022)\",\n    \"hardwareVendor\": \"Apple\",\n    \"serialNumber\": \"S2VH3JKL5A\",\n    \"assetTag\": \"LAPT0000513\",\n    \"assignedToEmail\": \"jane.doe@example.org\",\n    \"notes\": \"Apple Care not yet purchased\",\n    \"purchasedDate\": \"2022-08-04\",\n    \"netPrice\": 1402,\n    \"netPriceCurrency\": \"USD\",\n    \"warrantyExpirationDate\": \"2023-08-04\",\n    \"lifespanExpirationDate\": \"2028-08-04\",\n    \"status\": \"Deployed\",\n    \"assetType\": \"Laptop\",\n    \"enrolledDtm\": \"2022-08-12T14:02:12Z\",\n    \"lastSyncDtm\": \"2022-08-23T23:01:00Z\",\n    \"platform\": \"Mac\",\n    \"osVersion\": \"12.5.1\",\n    \"isEncrypted\": true,\n    \"customFieldValues\": {\n        \"user_memory_gb\": {\n            \"numberValue\": 24\n        },\n        \"user_specurl\": {\n            \"linkValue\": {\n                \"href\": \"https://www.apple.com/macbook-air-m2/specs/\",\n                \"description\": \"Specification link\"\n            }\n        },\n        \"user_resale_value\": {\n            \"value\": 1000,\n            \"currency\": \"USD\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/assets/v1","description":"<p>Requires the <code>Assets.Write</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"d4a6f643-8184-4594-9ae8-026e3745fe41","name":"Example with custom fields","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"deviceName\": \"Jane's Macbook Air\",\n    \"modelName\": \"MacBook Air (M2, 2022)\",\n    \"hardwareVendor\": \"Apple\",\n    \"serialNumber\": \"S2VH3JKL5A\",\n    \"assetTag\": \"LAPT0000513\",\n    \"assignedToEmail\": \"jane.doe@example.org\",\n    \"notes\": \"Apple Care not yet purchased\",\n    \"purchasedDate\": \"2022-08-04\",\n    \"netPrice\": 1402,\n    \"netPriceCurrency\": \"USD\",\n    \"warrantyExpirationDate\": \"2023-08-04\",\n    \"lifespanExpirationDate\": \"2028-08-04\",\n    \"status\": \"Deployed\",\n    \"assetType\": \"Laptop\",\n    \"enrolledDtm\": \"2022-08-12T14:02:12Z\",\n    \"lastSyncDtm\": \"2022-08-23T23:01:00Z\",\n    \"platform\": \"Mac\",\n    \"osVersion\": \"12.5.1\",\n    \"isEncrypted\": true,\n    \"customFieldValues\": {\n        \"user_memory_gb\": {\n            \"numberValue\": 24\n        },\n        \"user_specurl\": {\n            \"linkValue\": {\n                \"href\": \"https://www.apple.com/macbook-air-m2/specs/\",\n                \"description\": \"Specification link\"\n            }\n        },\n        \"user_resale_value\": {\n            \"value\": 1000,\n            \"currency\": \"USD\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.trelica.com/api/assets/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"660967d8db3cf6ec72b95836\",\n    \"status\": \"Deployed\",\n    \"hardwareVendor\": \"Apple Inc.\",\n    \"modelName\": \"MacBook Air (M2, 2022)\",\n    \"serialNumber\": \"S2VH3JKL5A\",\n    \"assetTag\": \"LAPT0000513\",\n    \"purchasedDate\": \"2022-08-04T00:00:00Z\",\n    \"warrantyExpirationDate\": \"2023-08-04T00:00:00Z\",\n    \"lifespanExpirationDate\": \"2028-08-04T00:00:00Z\",\n    \"notes\": \"Apple Care not yet purchased\",\n    \"netPrice\": 1402,\n    \"netPriceCurrency\": \"USD\",\n    \"enrolledDtm\": \"2022-08-12T14:02:12Z\",\n    \"platform\": \"Mac\",\n    \"osVersion\": \"12.5.1\",\n    \"isEncrypted\": true,\n    \"customFields\": {\n        \"user_memory_gb\": {\n            \"numberValue\": 24\n        },\n        \"user_specurl\": {\n            \"linkValue\": {\n                \"href\": \"https://www.apple.com/macbook-air-m2/specs/\",\n                \"description\": \"Specification link\"\n            }\n        },\n        \"user_resale_value\": {\n            \"value\": 1000,\n            \"currency\": \"USD\"\n        }\n    },\n    \"createdBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"createdDtm\": \"2024-03-31T13:40:40.6962395Z\",\n    \"lastModifiedBy\": {\n        \"userId\": \"110e3dd8077945c2a60d33770eb74b97\",\n        \"name\": \"test2\",\n        \"email\": \"Jn4yFFPWyfkdpZkFDXzlKyVKDReANK63J58UnaVtRlu0@trelica.com\"\n    },\n    \"lastModifiedDtm\": \"2024-03-31T13:40:40.6962395Z\"\n}"}],"_postman_id":"fc8522c7-1f77-4575-aaf9-138dd21a539c"},{"name":"Delete an asset","id":"d934c8a2-2fee-4326-8b4a-7a400fcffe5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://app.trelica.com/api/assets/v1/{assetId}","description":"<p>Requires the <code>Assets.Delete</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1","{assetId}"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d934c8a2-2fee-4326-8b4a-7a400fcffe5f"},{"name":"List custom fields","id":"f8c5aea2-5a62-4d72-a4d4-402bdde6d21f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1/customfields","description":"<p>Requires the <code>Assets.Read</code> scope.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}},"urlObject":{"path":["api","assets","v1","customfields"],"host":["https://app.trelica.com"],"query":[],"variable":[]}},"response":[{"id":"fb28b1b9-77d0-4ede-bb1f-1e4c0c4427cd","name":"Example custom fields","originalRequest":{"method":"GET","header":[],"url":"https://app.trelica.com/api/assets/v1/customfields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"id\": \"65fc9739a836a1c1000baae9\",\n            \"providerId\": \"GSuite\",\n            \"name\": \"Ownership\",\n            \"lookupKey\": \"GSuite_ownership\",\n            \"type\": \"Option\",\n            \"options\": [\n                {\n                    \"id\": \"company\",\n                    \"label\": \"Company\"\n                },\n                {\n                    \"id\": \"personal\",\n                    \"label\": \"Personal\"\n                },\n                {\n                    \"id\": \"unknown\",\n                    \"label\": \"Unknown\"\n                }\n            ]\n        },\n        {\n            \"id\": \"65fc9739a836a1c1000baaea\",\n            \"providerId\": \"GSuite\",\n            \"name\": \"Managed?\",\n            \"lookupKey\": \"GSuite_is_managed\",\n            \"type\": \"Option\",\n            \"options\": [\n                {\n                    \"id\": \"managed\",\n                    \"label\": \"Managed\"\n                },\n                {\n                    \"id\": \"unmanaged\",\n                    \"label\": \"Unmanaged\"\n                }\n            ]\n        },\n        {\n            \"id\": \"660966bddb3cf6ec72b95831\",\n            \"name\": \"Test\",\n            \"lookupKey\": \"user_test\",\n            \"type\": \"Text\"\n        },\n        {\n            \"id\": \"66096771db3cf6ec72b95832\",\n            \"name\": \"specUrl\",\n            \"lookupKey\": \"user_specurl\",\n            \"type\": \"Link\"\n        },\n        {\n            \"id\": \"66096793db3cf6ec72b95833\",\n            \"name\": \"Memory (GB)\",\n            \"lookupKey\": \"user_memory_gb\",\n            \"type\": \"Text\"\n        },\n        {\n            \"id\": \"660967b0db3cf6ec72b95834\",\n            \"name\": \"Resale value\",\n            \"lookupKey\": \"user_resale_value\",\n            \"type\": \"Currency\"\n        }\n    ]\n}"}],"_postman_id":"f8c5aea2-5a62-4d72-a4d4-402bdde6d21f"}],"id":"74d3b1f4-12c0-4fd7-b8e9-4bc58fa83611","description":"<p>See <a href=\"https://trelica.gitbook.io/trelica-api/readme/assets\">https://trelica.gitbook.io/trelica-api/readme/assets</a></p>\n","_postman_id":"74d3b1f4-12c0-4fd7-b8e9-4bc58fa83611","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","id":"c6be1a3b-ddcf-4344-a922-66983e01cf24","name":"Trelica REST API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"grant_type","value":"<grant_type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"scope","value":"<scope>"},{"key":"state","value":"<state>"},{"key":"clientId","value":""},{"key":"clientSecret","value":""},{"key":"tokenName","value":"<token-name>"},{"key":"useBrowser","value":"<use-browser>"}]}},"event":[{"listen":"prerequest","script":{"id":"9f8022bd-06cf-4bf6-852d-7c49dbe89496","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2fbe14e1-4b30-47c7-9685-c7776c54cf34","type":"text/javascript","exec":[""]}}],"variable":[{"id":"e8ffc359-36cf-4f1c-a34c-41f5f7334692","key":"baseUrl","value":"https://app.trelica.com"},{"id":"f51c08b2-2c33-4f4b-923f-e884e8c99381","key":"clientId","value":""},{"id":"47ce1703-cc0f-446f-bbaf-9e78d0f30f4e","key":"clientSecret","value":""},{"id":"51932673-6c33-4b27-bb9b-2cb79e21bc45","key":"appId","value":"{appId}"},{"id":"f5ae1456-fc9f-4e79-96c7-90685bb55d8f","key":"personId","value":"{personId}"},{"id":"b2b50df0-867c-4011-b60b-dbd42878128b","key":"teamId","value":"{teamId}"},{"id":"42ef778d-06e0-47bc-b862-81a6a7b8c45a","key":"contractId","value":"{contractId}"},{"id":"ac590098-7224-4711-bae6-274cf3fbe8a1","key":"workflowId","value":"{workflowId}"},{"id":"1d8e8e61-8e9f-4983-8a16-99149965202d","key":"assetId","value":"{assetId}"},{"id":"a559d942-8852-4790-9212-85667bf45d9a","key":"userId","value":"{userId}"},{"id":"13514413-1df7-4fcc-9ed1-1d9543f81075","key":"scimToken","value":""}]}