LicenseManagementAPI.json•316 kB
{
"info": {
"_postman_id": "e99de66e-c8c2-4622-91e5-5be6a1c6966e",
"name": "License Management API",
"description": "Requests to LicenseSpring Mangament API\n\nPlease refer to our official documentation if anything is unclear:\n\n[https://docs.licensespring.com/docs/management-api](https://docs.licensespring.com/docs/management-api)\n\nPlease select environment \"LicenseSpring - development\" and click on \"eye\" to view variables. \nFill fields:\n\napiKey\n\nsharedKey\n\nmanagementApiKey\n\nwhich are provided on your LS company under settings > keys.\n\nalso change under environment {{api_url}} to [https://saas.licensespring.com](https://saas.licensespring.com)\n\nStart making requests. \nRequests are divided in special folders, please always run first request which is \"List License,List Customers\"...in order to work.\n\nIf you desire to make your own request(eg. that is not last license, customer added) please look at example under each request or refer to our documentation or change named {{variable}} under environment to desired value.\n\nFirst request in folder have all data in response that can be included on other requests in that folder.\n\nVoila, you. are good 2 go.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "3956380"
},
"item": [
{
"name": "Licenses",
"item": [
{
"name": "Licenses operation",
"item": [
{
"name": "List licenses",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-Vulners-Api-Key",
"value": "IAYYN9Y9KS4ISW879YJI5FR854K123AOA0772TD8ATWEX7RVL8JFV49RG707WHTJ",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/licenses/?limit=100",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
""
],
"query": [
{
"key": "order_by",
"value": "-created_at",
"description": "Attribute to order the list by - ascending or descending params - created_at",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "id__in",
"value": "",
"description": "comma seperated list of ids to match against",
"disabled": true
},
{
"key": "license_key",
"value": "",
"description": "match one licenese key only",
"disabled": true
},
{
"key": "license_key__startswith",
"value": "",
"description": "substring of license key to match",
"disabled": true
},
{
"key": "license_key__icontains",
"value": "",
"disabled": true
},
{
"key": "order__store_id",
"value": "",
"disabled": true
},
{
"key": "order__store_id__startswith",
"value": "",
"disabled": true
},
{
"key": "order__store_id__icontains",
"value": "",
"disabled": true
},
{
"key": "company",
"value": "",
"disabled": true
},
{
"key": "customer_id",
"value": "",
"disabled": true
},
{
"key": "customer_email",
"value": "",
"disabled": true
},
{
"key": "customer_email__icontains",
"value": "",
"disabled": true
},
{
"key": "customer_company_name__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__reference__icontains",
"value": "",
"disabled": true
},
{
"key": "customer_name__icontains",
"value": "",
"disabled": true
},
{
"key": "product_id",
"value": "",
"disabled": true
},
{
"key": "product_name__icontains",
"value": "",
"disabled": true
},
{
"key": "note__icontains",
"value": "",
"disabled": true
},
{
"key": "license_users__id",
"value": "",
"disabled": true
},
{
"key": "license_users__true_email",
"value": "",
"disabled": true
},
{
"key": "license_users__true_email__icontains",
"value": "",
"disabled": true
},
{
"key": "license_key__isnull",
"value": "",
"disabled": true
},
{
"key": "is_any_floating",
"value": "",
"disabled": true
},
{
"key": "validity_period__gt",
"value": "",
"disabled": true
},
{
"key": "validity_period__gte",
"value": "",
"disabled": true
},
{
"key": "validity_period__lt",
"value": "",
"disabled": true
},
{
"key": "validity_period__lte",
"value": "",
"disabled": true
},
{
"key": "enabled",
"value": "",
"disabled": true
},
{
"key": "manager__true_email",
"value": "",
"disabled": true
},
{
"key": "manager__true_email__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__account",
"value": "",
"disabled": true
},
{
"key": "customer__account__name",
"value": "",
"disabled": true
},
{
"key": "customer__account__name__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__account__code",
"value": "",
"disabled": true
},
{
"key": "customer__account__code__icontains",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "100"
}
]
}
},
"response": [
{
"name": "List licenses",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.lcensespring.com/api/v1/licenses/?limit=100",
"protocol": "https",
"host": [
"saas",
"lcensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
""
],
"query": [
{
"key": "order_by",
"value": "-created_at",
"description": "Attribute to order the list by - ascending or descending params - created_at",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "id__in",
"value": "",
"description": "comma seperated list of ids to match against",
"disabled": true
},
{
"key": "license_key",
"value": "",
"description": "match one licenese key only",
"disabled": true
},
{
"key": "license_key__startswith",
"value": "",
"description": "substring of license key to match",
"disabled": true
},
{
"key": "license_key__icontains",
"value": "",
"disabled": true
},
{
"key": "order__store_id",
"value": "",
"disabled": true
},
{
"key": "order__store_id__startswith",
"value": "",
"disabled": true
},
{
"key": "order__store_id__icontains",
"value": "",
"disabled": true
},
{
"key": "company",
"value": "",
"disabled": true
},
{
"key": "customer_id",
"value": "",
"disabled": true
},
{
"key": "customer_email",
"value": "",
"disabled": true
},
{
"key": "customer_email__icontains",
"value": "",
"disabled": true
},
{
"key": "customer_company_name__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__reference__icontains",
"value": "",
"disabled": true
},
{
"key": "customer_name__icontains",
"value": "",
"disabled": true
},
{
"key": "product_id",
"value": "",
"disabled": true
},
{
"key": "product_name__icontains",
"value": "",
"disabled": true
},
{
"key": "note__icontains",
"value": "",
"disabled": true
},
{
"key": "license_users__id",
"value": "",
"disabled": true
},
{
"key": "license_users__true_email",
"value": "",
"disabled": true
},
{
"key": "license_users__true_email__icontains",
"value": "",
"disabled": true
},
{
"key": "license_key__isnull",
"value": "",
"disabled": true
},
{
"key": "is_any_floating",
"value": "",
"disabled": true
},
{
"key": "validity_period__gt",
"value": "",
"disabled": true
},
{
"key": "validity_period__gte",
"value": "",
"disabled": true
},
{
"key": "validity_period__lt",
"value": "",
"disabled": true
},
{
"key": "validity_period__lte",
"value": "",
"disabled": true
},
{
"key": "enabled",
"value": "",
"disabled": true
},
{
"key": "manager__true_email",
"value": "",
"disabled": true
},
{
"key": "manager__true_email__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__account",
"value": "",
"disabled": true
},
{
"key": "customer__account__name",
"value": "",
"disabled": true
},
{
"key": "customer__account__name__icontains",
"value": "",
"disabled": true
},
{
"key": "customer__account__code",
"value": "",
"disabled": true
},
{
"key": "customer__account__code__icontains",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "100"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show license",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<licenseId>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<licenseId>"
],
"query": [
{
"key": null,
"value": "",
"disabled": true
}
]
}
},
"response": [
{
"name": "Show license",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.lcensespring.com-api/v1/licenses/1591774919885639",
"protocol": "https",
"host": [
"saas",
"lcensespring",
"com-api"
],
"path": [
"v1",
"licenses",
"1591774919885639"
],
"query": [
{
"key": null,
"value": "",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update Licenses (bulk)",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n {\n \"id\": <licenseId>,\n \"is_trial\": 1\n },\n {\n \"id\": <licenseId1>,\n \"is_trial\": 1,\n \"enable_maintenance_period\": 1\n }\n]"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/bulk_update/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"bulk_update",
""
]
}
},
"response": [
{
"name": "Update Licenses (bulk)",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n {\n \"id\": 1591774919885639,\n \"is_trial\": 1\n },\n {\n \"id\": 1591775164521669,\n \"is_trial\": 1,\n \"enable_maintenance_period\": 1\n }\n]"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/bulk_update/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"bulk_update",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update License product features",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"product_features\": [\n {\n \"product_feature\": \"<product_feature_id>\",\n \"max_consumption\": 88,\n \"total_consumptions\": 0\n }\n ]\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<feature_license_id>/update_features/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<feature_license_id>",
"update_features",
""
]
}
},
"response": [
{
"name": "Update License product features",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"product_features\": [\n {\n \"product_feature\": \"321\"\n },\n {\n \"product_feature\": \"f7\",\n \"max_consumption\": 88,\n \"total_consumptions\": 0\n }\n ]\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1603358473708739/update_features/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1603358473708739",
"update_features",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Disable Single License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n<licenseId>,\n<licenseId1>\n]"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/disable_bulk/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"disable_bulk",
""
]
}
},
"response": [
{
"name": "Disable Single License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n1591774919885639,\n1591775164521669\n]"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/disable_bulk/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"disable_bulk",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Enable Single License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<licenseId>/enable/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<licenseId>",
"enable",
""
]
}
},
"response": [
{
"name": "Enable Single License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/enable/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"enable",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Disable Multiple Licenses",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n <licenseId>,\n <licenseId1>\n]"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/disable_bulk/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"disable_bulk",
""
]
}
},
"response": [
{
"name": "Disable Multiple Licenses",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "[\n 1591774919885639,\n 1591775164521669\n]"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/disable_bulk/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"disable_bulk",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Reset License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<licenseId>/reset/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<licenseId>",
"reset",
""
]
}
},
"response": [
{
"name": "Reset License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/reset/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"reset",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Reset consumptions on License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"total_consumptions\": 0\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<licenseId>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<licenseId>",
""
]
}
},
"response": [
{
"name": "Reset consumptions on License",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"total_consumptions\": 0\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Assign User to a License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"example@email.com\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"00385913109161\",\n \"is_manager\": false,\n \"password\": \"Santos123\",\n \"max_activations\": 500,\n \"total_activations\": 200\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<license_user_key>/assign_user/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<license_user_key>",
"assign_user",
""
]
}
},
"response": [
{
"name": "Assign User to a License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"example@email.com\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"00385913109161\",\n \"is_manager\": false,\n \"password\": \"Santos123\",\n \"max_activations\": 500,\n \"total_activations\": 200\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/assign_user/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"assign_user",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Assign users (bulk) to License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emails\": [\n {\n \"email\": \"<randomEmail>\",\n \"is_manager\": true\n },\n {\n \"email\": \"<randomEmail>\",\n \"is_manager\": false\n }\n ]\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<license_user_key>/assign_users/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<license_user_key>",
"assign_users",
""
]
}
},
"response": [
{
"name": "Assign users (bulk) to License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"emails\": [\n {\n \"email\": \"Tyshawn16@gmail.com\",\n \"is_manager\": true\n },\n {\n \"email\": \"Santos7@hotmail.com\",\n \"is_manager\": false\n }\n ]\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/assign_users/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"assign_users",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Unassign user from License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"license_user_id\": <license_user_id>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<license_user_key>/unassign_user/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<license_user_key>",
"unassign_user",
""
]
}
},
"response": [
{
"name": "Unassign user from License",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"license_user_id\": 1118\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/unassign_user/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"unassign_user",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Set Users activations",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"2448\": {\n \"max_activations\": 100\n },\n \"2449\": {\n \"reset_total_activations\": true\n },\n \"2450\": {\n \"max_activations\": 200,\n \"reset_total_activations\": true\n }\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<license_user_key>/set_users_activations/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<license_user_key>",
"set_users_activations",
""
]
}
},
"response": [
{
"name": "Set Users activations",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"2448\": {\n \"max_activations\": 100\n },\n \"2449\": {\n \"reset_total_activations\": true\n },\n \"2450\": {\n \"max_activations\": 200,\n \"reset_total_activations\": true\n }\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/set_users_activations/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
"set_users_activations",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Set User Password",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"password\": \"Santos123\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/license-users/<user_based_license_key>/set_password/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-users",
"<user_based_license_key>",
"set_password",
""
]
}
},
"response": [
{
"name": "Set User Password",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"password\": \"Santos123\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-users/1118/set_password/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-users",
"1118",
"set_password",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Set User Password by email",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"password\": \"Santos123\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/license-users/set_password/?email=<user_email>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-users",
"set_password",
""
],
"query": [
{
"key": "email",
"value": "<user_email>"
}
]
}
},
"response": [
{
"name": "Set User Password by email",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"password\": \"Santos123\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-users/set_password/?email=Tyshawn16@gmail.com",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-users",
"set_password",
""
],
"query": [
{
"key": "email",
"value": "Tyshawn16@gmail.com"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Generate License Key",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/orders/generate_license/?product=<product_code>&quantity=1",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"generate_license",
""
],
"query": [
{
"key": "product",
"value": "<product_code>"
},
{
"key": "quantity",
"value": "1"
}
]
}
},
"response": [
{
"name": "Generate License Key",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/generate_license/?product=1337&quantity=1",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"generate_license",
""
],
"query": [
{
"key": "product",
"value": "1337"
},
{
"key": "quantity",
"value": "1"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Count License transfers",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-activation-histories/transfer_count/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-activation-histories",
"transfer_count",
""
]
}
},
"response": [
{
"name": "Count License transfers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-activation-histories/transfer_count/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-activation-histories",
"transfer_count",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update license",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"max_activations\": 5\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<licenseId>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<licenseId>",
""
]
}
},
"response": [
{
"name": "Update license",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"max_activations\": 5\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Check License",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/check_license/?hardware_id=<hardware_id>&license_key=<license_key>&product=<product_code>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"check_license",
""
],
"query": [
{
"key": "hardware_id",
"value": "<hardware_id>"
},
{
"key": "license_key",
"value": "<license_key>"
},
{
"key": "product",
"value": "<product_code>"
}
]
}
},
"response": [
{
"name": "Check License",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/check_license/?hardware_id=3h4iy23h42h3ui2h34uh2i&license_key=46571883&product=1337",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"check_license",
""
],
"query": [
{
"key": "hardware_id",
"value": "3h4iy23h42h3ui2h34uh2i"
},
{
"key": "license_key",
"value": "46571883"
},
{
"key": "product",
"value": "1337"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "License users",
"item": [
{
"name": "List License users",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-users/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-users",
""
]
}
},
"response": [
{
"name": "List License users",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-users/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-users",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show License user",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-users/<license_users_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-users",
"<license_users_id>"
]
}
},
"response": [
{
"name": "Show License user",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-users/1118/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-users",
"1118",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update License user",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"first_name\": \"Harry\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/license-users/<license_users_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-users",
"<license_users_id>",
""
]
}
},
"response": [
{
"name": "Update License user",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"first_name\": \"Harry\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-users/1118/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-users",
"1118",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "License custom fields",
"item": [
{
"name": "List License custom fields",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-custom-fields/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-custom-fields",
""
]
}
},
"response": [
{
"name": "List License custom fields",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-custom-fields/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-custom-fields",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show License custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-custom-fields/<license_custom_field_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-custom-fields",
"<license_custom_field_id>",
""
]
}
},
"response": [
{
"name": "Show License custom field",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-custom-fields/118/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-custom-fields",
"118",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create License custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"23\",\n \"license\": <license_custom_field_license_id>,\n \"product_custom_field\": <product_custom_field>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/license-custom-fields/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-custom-fields",
""
]
}
},
"response": [
{
"name": "Create License custom field",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"23\",\n \"license\": 1612786782585359,\n \"product_custom_field\": 118\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-custom-fields/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-custom-fields",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update License custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"24\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/license-custom-fields/<license_custom_field_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-custom-fields",
"<license_custom_field_id>",
""
]
}
},
"response": [
{
"name": "Update License custom field",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"24\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-custom-fields/118/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-custom-fields",
"118",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete License custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/<license_custom_field_license_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"<license_custom_field_license_id>",
""
]
}
},
"response": [
{
"name": "Delete License custom field",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/1591774919885639/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"1591774919885639",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "License usage and history",
"item": [
{
"name": "List License activation histories",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-activation-histories/?limit=100",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-activation-histories",
""
],
"query": [
{
"key": "limit",
"value": "100"
}
]
}
},
"response": [
{
"name": "List License activation histories",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-activation-histories/?limit=1000",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-activation-histories",
""
],
"query": [
{
"key": "limit",
"value": "1000"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show License activation history",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-activation-histories/<license_activation_history_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-activation-histories",
"<license_activation_history_id>"
]
}
},
"response": [
{
"name": "Show License activation history",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-activation-histories/17",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-activation-histories",
"17"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List License usage histories",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-histories/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-histories",
""
]
}
},
"response": [
{
"name": "List License usage histories",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-histories/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-histories",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show License usage history",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-histories/<license_usage_history_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-histories",
"<license_usage_history_id>"
]
}
},
"response": [
{
"name": "Show License usage history",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-histories/81158",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-histories",
"81158"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Import license",
"item": [
{
"name": "Import Licenses from csv",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": []
}
]
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/import_from_csv/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"import_from_csv",
""
]
}
},
"response": [
{
"name": "Import Licenses from csv",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": "/Users/drazen/Desktop/import_licenses_from_csv.csv"
}
]
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/import_from_csv/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"import_from_csv",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Export Licenses History",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/export_history/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"export_history",
""
]
}
},
"response": [
{
"name": "Export Licenses History",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/export_history/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"export_history",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List Licenses import results",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses-import-results/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses-import-results",
""
]
}
},
"response": [
{
"name": "List Licenses import results",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses-import-results/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses-import-results",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Licenses import result",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/licenses-import-results/<license_import_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses-import-results",
"<license_import_id>"
]
}
},
"response": [
{
"name": "Show Licenses import result",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses-import-results/17",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses-import-results",
"17"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Import license features",
"item": [
{
"name": "Import License features from csv",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": []
}
]
},
"url": {
"raw": "{{api_url}}/api/v1/licenses/import_features_from_csv/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"licenses",
"import_features_from_csv",
""
]
}
},
"response": [
{
"name": "Import License features from csv",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": "/Users/drazen/Desktop/import_license_features.csv"
}
]
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/licenses/import_features_from_csv/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"licenses",
"import_features_from_csv",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List License features import results",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-features-import-results/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-features-import-results",
""
]
}
},
"response": [
{
"name": "List License features import results",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-features-import-results/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-features-import-results",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show License features import result",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/license-features-import-results/<license_features_import_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"license-features-import-results",
"<license_features_import_id>"
]
}
},
"response": [
{
"name": "Show License features import result",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/license-features-import-results/13",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"license-features-import-results",
"13"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/listing-licenses](https://licensespring.kwiki.io/docs/listing-licenses)"
},
{
"name": "Orders",
"item": [
{
"name": "List Orders",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/orders/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
""
],
"query": [
{
"key": "order_by",
"value": "-created_at",
"description": "Which attribute to order the list by, default is ascending can be made descending by appending - (prefix)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results",
"disabled": true
},
{
"key": "is_archived",
"value": "",
"description": "Filter by archive status",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code of order.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Orders",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
""
],
"query": [
{
"key": "order_by",
"value": "-created_at",
"description": "Which attribute to order the list by, default is ascending can be made descending by appending - (prefix)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results",
"disabled": true
},
{
"key": "is_archived",
"value": "",
"description": "Filter by archive status",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code of order.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Order",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>"
]
}
},
"response": [
{
"name": "Show Order",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update Order",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"store_id\": \"patched_store_id_<random_number>\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>"
]
}
},
"response": [
{
"name": "Update Order",
"originalRequest": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"store_id\": \"patched_store_id_1660301458659.9116\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Export Order",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "text"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>/export/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>",
"export",
""
]
}
},
"response": [
{
"name": "Export Order",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649/export/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649",
"export",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Export Orders",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/orders/export/?range=last30",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"export",
""
],
"query": [
{
"key": "range",
"value": "last30",
"description": "Orders created in last number of days specified. Valid values are: last30, last60, last80, last365"
},
{
"key": "from",
"value": "2022-01-01",
"description": "Orders created after the date specified. Format: yyyy-mm-dd",
"disabled": true
},
{
"key": "to",
"value": "",
"description": "Orders cretated before the date specified. Format: yyyy-mm-dd",
"disabled": true
}
]
},
"description": "Either **range** or both **from** and **to** are ***REQUIRED***"
},
"response": [
{
"name": "Export Orders",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/export/?range=last30",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"export",
""
],
"query": [
{
"key": "range",
"value": "last30",
"description": "Orders created in last number of days specified. Valid values are: last30, last60, last80, last365"
},
{
"key": "from",
"value": "2022-01-01",
"description": "Orders created after the date specified. Format: yyyy-mm-dd",
"disabled": true
},
{
"key": "to",
"value": "",
"description": "Orders cretated before the date specified. Format: yyyy-mm-dd",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create Order",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": \"id_1546606209296\",\n \"append\": true,\n \"is_test\": false,\n \"created\": \"2017-03-15 22:13:01\",\n \"order_type\": \"normal\",\n \"reference\": \"order_reference\",\n \"language\": \"en\",\n \"campaign_params\": \"cpg=web,src=google.com\",\n \"download_id\": \"someID33\",\n \"customer\": {\n \"email\": \"test@customer.com\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"company_name\": \"Acme Inc.\",\n \"phone\": \"+1656123123123\",\n \"reference\": \"ref_usr_321\"\n },\n \"items\": [\n {\n \"product_code\": \"<product_code1>\",\n \"licenses\": [\n {\n \"key\": \"<random_name>}\",\n \"users\": [\n { \n \"email\": \"end-user@gmail.com\",\n \"is_manager\": false\n }\n ],\n \"max_activations\": 3,\n \"license_type\": \"consumption\",\n \"max_consumptions\": 10000,\n \"valid_duration\": \"1y\",\n \"enable_maintenance_period\": true,\n \"maintenance_duration\": \"3d\",\n \"validity_period\": \"2019-10-15 00:00:00\",\n \"product_features\": [\n {\n \"code\": \"my_feature\",\n \"max_consumption\": 33\n }\n ],\n \"custom_fields\": [\n {\n \"name\": \"Custom Field 1\",\n \"value\": \"some text\"\n },\n {\n \"name\": \"Custom Field 2\",\n \"value\": 1\n }\n ],\n \"is_trial\": false\n }\n ]\n }\n ],\n \"prevent_vm\": false\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/orders/create_order/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"create_order",
""
]
}
},
"response": [
{
"name": "Create Order",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": \"id_1546606209296\",\n \"append\": true,\n \"is_test\": false,\n \"created\": \"2017-03-15 22:13:01\",\n \"order_type\": \"normal\",\n \"reference\": \"order_reference\",\n \"language\": \"en\",\n \"campaign_params\": \"cpg=web,src=google.com\",\n \"download_id\": \"someID33\",\n \"customer\": {\n \"email\": \"test@customer.com\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"company_name\": \"Acme Inc.\",\n \"phone\": \"+1656123123123\",\n \"reference\": \"ref_usr_321\"\n },\n \"items\": [\n {\n \"product_code\": \"TT\",\n \"licenses\": [\n {\n \"key\": \"{{random_name}}}\",\n \"users\": [\n { \n \"email\": \"end-user@gmail.com\",\n \"is_manager\": false\n }\n ],\n \"max_activations\": 3,\n \"license_type\": \"consumption\",\n \"max_consumptions\": 10000,\n \"valid_duration\": \"1y\",\n \"enable_maintenance_period\": true,\n \"maintenance_duration\": \"3d\",\n \"validity_period\": \"2019-10-15 00:00:00\",\n \"product_features\": [\n {\n \"code\": \"my_feature\",\n \"max_consumption\": 33\n }\n ],\n \"custom_fields\": [\n {\n \"name\": \"Custom Field 1\",\n \"value\": \"some text\"\n },\n {\n \"name\": \"Custom Field 2\",\n \"value\": 1\n }\n ],\n \"is_trial\": false\n }\n ]\n }\n ],\n \"prevent_vm\": false\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/create_order/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"create_order",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List managers on Order",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>/managers/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>",
"managers",
""
]
},
"description": "Lists all Order managers the requesting manager has access permissions to."
},
"response": [
{
"name": "List managers on Order",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649/managers/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649",
"managers",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add manager to Order",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"{{managerEmail}}\",\n \"password\": \"{{managerPassword}}\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>/add_manager/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>",
"add_manager",
""
]
},
"description": "Adds a order manager to a single Order if requesting manager has access permissions to it."
},
"response": [
{
"name": "Add manager to Order",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"Tyshawn16@gmail.com\",\n \"password\": \"slBrdYAe80vhqns\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649/add_manager/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649",
"add_manager",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Remove manager from Order",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"license_user_id\": <LicenseUserId>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/orders/<order_id>/remove_manager/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"orders",
"<order_id>",
"remove_manager",
""
]
}
},
"response": [
{
"name": "Remove manager from Order",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"license_user_id\": 1156\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/orders/1591774919885649/remove_manager/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"orders",
"1591774919885649",
"remove_manager",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/list-orders](https://licensespring.kwiki.io/docs/list-orders)"
},
{
"name": "Customers",
"item": [
{
"name": "List Customers",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/customers/?limit=100",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page. Default value is 20.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "label__in",
"value": "",
"disabled": true
},
{
"key": "email",
"value": "",
"disabled": true
},
{
"key": "email__icontains",
"value": "",
"disabled": true
},
{
"key": "email__startswith",
"value": "",
"disabled": true
},
{
"key": "company_name__icontains",
"value": "",
"disabled": true
},
{
"key": "first_name__icontains",
"value": "",
"disabled": true
},
{
"key": "last_name__icontains",
"value": "",
"disabled": true
},
{
"key": "phone__icontains",
"value": "",
"disabled": true
},
{
"key": "reference__exact",
"value": "",
"disabled": true
},
{
"key": "reference__icontains",
"value": "",
"disabled": true
},
{
"key": "reference__startswith",
"value": "",
"disabled": true
},
{
"key": "account",
"value": "",
"disabled": true
},
{
"key": "account__name",
"value": "",
"disabled": true
},
{
"key": "account__name__icontains",
"value": "",
"disabled": true
},
{
"key": "account__code",
"value": "",
"disabled": true
},
{
"key": "account__code__icontains",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "100"
}
]
},
"description": "Show all customers the requesting manager has access permissions to."
},
"response": [
{
"name": "List Customers",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/?limit=1000",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page. Default value is 20.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "label__in",
"value": "",
"disabled": true
},
{
"key": "email",
"value": "",
"disabled": true
},
{
"key": "email__icontains",
"value": "",
"disabled": true
},
{
"key": "email__startswith",
"value": "",
"disabled": true
},
{
"key": "company_name__icontains",
"value": "",
"disabled": true
},
{
"key": "first_name__icontains",
"value": "",
"disabled": true
},
{
"key": "last_name__icontains",
"value": "",
"disabled": true
},
{
"key": "phone__icontains",
"value": "",
"disabled": true
},
{
"key": "reference__exact",
"value": "",
"disabled": true
},
{
"key": "reference__icontains",
"value": "",
"disabled": true
},
{
"key": "reference__startswith",
"value": "",
"disabled": true
},
{
"key": "account",
"value": "",
"disabled": true
},
{
"key": "account__name",
"value": "",
"disabled": true
},
{
"key": "account__name__icontains",
"value": "",
"disabled": true
},
{
"key": "account__code",
"value": "",
"disabled": true
},
{
"key": "account__code__icontains",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "1000"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Customer",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/customers/<customer_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"<customer_id>",
""
]
},
"description": "Show a single customer information if requesting manager has access permissions to it."
},
"response": [
{
"name": "Show Customer",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/454",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"454"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create Customer",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"<randomEmail>\",\n \"first_name\": \"<randomFirstName>\",\n \"last_name\": \"<randomLastName>\",\n \"company_name\": \"<randomCompanyName>\",\n \"phone\": \"<randomPhoneNumber>\",\n \"reference\": \"ref123\",\n \"address\": \"<randomStreetAddress>\",\n \"postcode\": \"10000\",\n \"city\": \"{{$randomCity}}\",\n \"country\": \"{{$randomCountryCode}}\",\n \"state\": \"ZGB\",\n \"customer_account\": 1\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/customers/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
""
]
}
},
"response": [
{
"name": "Create Customer",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"Hyman86@gmail.com\",\n \"first_name\": \"Jordi\",\n \"last_name\": \"Gusikowski\",\n \"company_name\": \"Pacocha - O'\\''Reilly\",\n \"phone\": \"774-760-1463\",\n \"reference\": \"ref123\",\n \"address\": \"417 Marks Path\",\n \"postcode\": \"10000\",\n \"city\": \"South Bernadine\",\n \"country\": \"NR\",\n \"state\": \"ZGB\",\n \"customer_account\": 1\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Edit Customer",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"{{$randomEmail}}\",\n \"first_name\": \"{{$randomFirstName}}\",\n \"last_name\": \"{{$randomLastName}}\",\n \"company_name\": \"{{$randomCompanyName}}\",\n \"phone\": \"{{$randomPhoneNumber}}\",\n \"reference\": \"ref123\",\n \"address\": \"{{$randomStreetAddress}}\",\n \"postcode\": \"10000\",\n \"city\": \"{{$randomCity}}\",\n \"country\": \"{{$randomCountryCode}}\",\n \"state\": \"ZGB\",\n \"customer_account\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/customers/<customer_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"<customer_id>",
""
]
}
},
"response": [
{
"name": "Edit Customer",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"Nannie_Becker@yahoo.com\",\n \"first_name\": \"George\",\n \"last_name\": \"Gusikowski\",\n \"company_name\": \"Pollich, Mertz and Stokes\",\n \"phone\": \"648-815-3979\",\n \"reference\": \"ref123\",\n \"address\": \"1220 Claudie Ways\",\n \"postcode\": \"10000\",\n \"city\": \"Normaview\",\n \"country\": \"MT\",\n \"state\": \"ZGB\",\n \"customer_account\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/454/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"454",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Merge Customer",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"customer_to_merge_id\": <customer_merge_id>\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/customers/<customer_id>/merge/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"<customer_id>",
"merge",
""
]
}
},
"response": [
{
"name": "Merge Customer",
"originalRequest": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"customer_to_merge_id\": 1309339076\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/454/merge/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"454",
"merge",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Export Customer",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{api_url}}/api/v1/customers/export/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"export",
""
]
}
},
"response": [
{
"name": "Export Customer",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/export/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"export",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Import customers from CSV",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": []
}
]
},
"url": {
"raw": "{{api_url}}/api/v1/customers/import_from_csv/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"import_from_csv",
""
]
}
},
"response": [
{
"name": "Import customers from CSV",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": "/Users/drazen/Desktop/test_import.csv"
}
]
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/import_from_csv/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"import_from_csv",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List Customer import results",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/customers-import-results/?limit=30&status_iexact=success",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers-import-results",
""
],
"query": [
{
"key": "limit",
"value": "30",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "status_iexact",
"value": "success",
"description": "Status of import, values: pending, running, error, success."
}
]
}
},
"response": [
{
"name": "List Customer import results",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers-import-results/?limit=30&status_iexact=success",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers-import-results",
""
],
"query": [
{
"key": "limit",
"value": "30",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "",
"description": "The initial index from which to return the results.",
"disabled": true
},
{
"key": "status_iexact",
"value": "success",
"description": "Status of import, values: pending, running, error, success."
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Customer import results",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/customers-import-results/<import_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers-import-results",
"<import_id>",
""
]
}
},
"response": [
{
"name": "Show Customer import results",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers-import-results/13/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers-import-results",
"13",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List Customer labels",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/clabels/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"clabels",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Customer labels",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/clabels/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"clabels",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Customer label",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/clabels/<customer_label_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"clabels",
"<customer_label_id>",
""
]
}
},
"response": [
{
"name": "Show Customer label",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/clabels/95/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"clabels",
"95",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create Customer label",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"label\": \"<randomJobType>\",\n \"color\": \"<randomHexColor>\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/clabels/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"clabels",
""
]
}
},
"response": [
{
"name": "Create Customer label",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"label\": \"Consultant\",\n \"color\": \"#291909\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/clabels/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"clabels",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Edit Customer label",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"label\": \"<randomJobType>\",\n \"color\": \"<randomHexColor>\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/clabels/<customer_label_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"clabels",
"<customer_label_id>",
""
]
}
},
"response": [
{
"name": "Edit Customer label",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"label\": \"Director\",\n \"color\": \"#5f6e29\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/clabels/95/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"clabels",
"95",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add label to Customer",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"customer\": <customer_id>,\n \"customer_label\": <label_id>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/customerclabels/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customerclabels",
""
]
}
},
"response": [
{
"name": "Add label to Customer",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"customer\": 1012989,\n \"customer_label\": 64\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customerclabels/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customerclabels",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Remove Label from Customer",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 204\", function () {",
" pm.response.to.have.status(204);",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/customerclabels/<label_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customerclabels",
"<label_id>"
]
}
},
"response": [
{
"name": "Remove Label from Customer",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customerclabels/95/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customerclabels",
"95",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete Customer label",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/clabels/<delete_label_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"clabels",
"<delete_label_id>",
""
]
}
},
"response": [
{
"name": "Delete Customer label",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/clabels/75",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"clabels",
"75"
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete Customer",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/customers/<customer_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customers",
"<customer_id>",
""
]
}
},
"response": [
{
"name": "Delete Customer",
"originalRequest": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customers/454/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customers",
"454",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List Customer accounts",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{api_url}}/api/v1/customer-accounts/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customer-accounts",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Customer accounts",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customer-accounts",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customer-accounts"
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Customer account",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/customer-accounts/<account_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customer-accounts",
"<account_id>",
""
]
}
},
"response": [
{
"name": "Show Customer account",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customer-accounts/41/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customer-accounts",
"41",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create Customer account",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<randomCompanyName>\",\n \"code\": \"<randomBankAccountBic>\",\n \"description\": \"This is a test account.\",\n \"phone\": \"<randomPhoneNumber>\",\n \"address\": \"<randomStreetAddress>\",\n \"email\": \"<randomEmail>\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/customer-accounts/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customer-accounts",
""
]
}
},
"response": [
{
"name": "Create Customer account",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Mertz - Feeney\",\n \"code\": \"NMQATVC1\",\n \"description\": \"This is a test account.\",\n \"phone\": \"930-639-9391\",\n \"address\": \"576 Ariane Shores\",\n \"email\": \"Frederique.Gaylord@hotmail.com\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customer-accounts/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customer-accounts",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Edit Customer account",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"{{$randomCompanyName}}\",\n \"code\": \"{{$randomBankAccountBic}}\",\n \"description\": \"This is a test account.\",\n \"phone\": \"{{$randomPhoneNumber}}\",\n \"address\": \"{{$randomStreetAddress}}\",\n \"email\": \"{{$randomEmail}}\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/customer-accounts/<account_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customer-accounts",
"<account_id>",
""
]
}
},
"response": [
{
"name": "Edit Customer account",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Koss, Hoppe and Luettgen\",\n \"code\": \"KJXOAZZ1262\",\n \"description\": \"This is a test account.\",\n \"phone\": \"650-832-5710\",\n \"address\": \"98075 Kemmer Green\",\n \"email\": \"Marilie_Stiedemann@yahoo.com\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/customer-accounts/41/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customer-accounts",
"41",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete Customer account",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/customer-accounts/<account_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"customer-accounts",
"<account_id>",
""
]
}
},
"response": [
{
"name": "Delete Customer account",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/customer-accounts/41/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"customer-accounts",
"41",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/list-customers](https://licensespring.kwiki.io/docs/list-customers)"
},
{
"name": "Device",
"item": [
{
"name": "List Devices",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/devices/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "license",
"value": "",
"description": "Filter by license ID.",
"disabled": true
},
{
"key": "blacklisted",
"value": "",
"description": "Filter by blacklist status (true or false)",
"disabled": true
},
{
"key": "hostname",
"value": "",
"description": "Filter by hostname.",
"disabled": true
},
{
"key": "hardware_id",
"value": "",
"description": "Filter by Hardware ID.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Devices order by date created ascending",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/?order_by=created",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "created",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)"
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "license",
"value": "",
"description": "Filter by license ID.",
"disabled": true
},
{
"key": "blacklisted",
"value": "",
"description": "Filter by blacklist status (true or false)",
"disabled": true
},
{
"key": "hostname",
"value": "",
"description": "Filter by hostname.",
"disabled": true
},
{
"key": "hardware_id",
"value": "",
"description": "Filter by Hardware ID.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Devices limit by 20 start at 5th element",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)",
"disabled": true
},
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results."
},
{
"key": "license",
"value": "",
"description": "Filter by license ID.",
"disabled": true
},
{
"key": "blacklisted",
"value": "",
"description": "Filter by blacklist status (true or false)",
"disabled": true
},
{
"key": "hostname",
"value": "",
"description": "Filter by hostname.",
"disabled": true
},
{
"key": "hardware_id",
"value": "",
"description": "Filter by Hardware ID.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Devices filter by license ID",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/?license=20",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "license",
"value": "20",
"description": "Filter by license ID."
},
{
"key": "blacklisted",
"value": "",
"description": "Filter by blacklist status (true or false)",
"disabled": true
},
{
"key": "hostname",
"value": "",
"description": "Filter by hostname.",
"disabled": true
},
{
"key": "hardware_id",
"value": "",
"description": "Filter by Hardware ID.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Devices filter by blaclist status",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/?blacklisted=true",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "license",
"value": "",
"description": "Filter by license ID.",
"disabled": true
},
{
"key": "blacklisted",
"value": "true",
"description": "Filter by blacklist status (true or false)"
},
{
"key": "hostname",
"value": "",
"description": "Filter by hostname.",
"disabled": true
},
{
"key": "hardware_id",
"value": "",
"description": "Filter by Hardware ID.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Devices filter by hostname and hardware id",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/?hostname=localhost&hardware_id=454a-343d-45ga-3of0",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order by (default is ascending can be made descending by appending prefix -)",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "license",
"value": "",
"description": "Filter by license ID.",
"disabled": true
},
{
"key": "blacklisted",
"value": "",
"description": "Filter by blacklist status (true or false)",
"disabled": true
},
{
"key": "hostname",
"value": "localhost",
"description": "Filter by hostname."
},
{
"key": "hardware_id",
"value": "454a-343d-45ga-3of0",
"description": "Filter by Hardware ID."
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Show Device",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/devices/<device_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"devices",
"<device_id>",
""
]
}
},
"response": [
{
"name": "Show Device details",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/565/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
"565",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Reset Device",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/devices/<device_id>/reset/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"devices",
"<device_id>",
"reset",
""
]
}
},
"response": [
{
"name": "Reset Device",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/565/reset/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
"565",
"reset",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Blacklist Device",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/devices/<device_id>/blacklist/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"devices",
"<device_id>",
"blacklist",
""
]
}
},
"response": [
{
"name": "Blacklist Device",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/565/blacklist/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
"565",
"blacklist",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "List Device variables",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/device-variables/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"device-variables",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "device",
"value": "",
"description": "Filer by device id.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Device variables filter by device",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/device-variables/?device=565",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"device-variables",
""
],
"query": [
{
"key": "limit",
"value": null,
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": null,
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "device",
"value": "565",
"description": "Filer by device id."
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Device variables limit by 20 and start at 5th element",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/device-variables/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"device-variables",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results."
},
{
"key": "device",
"value": null,
"description": "Filer by device id.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Device variable",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var jsonData = pm.response.json();",
"let x = Date.now() + Math.random()",
"pm.globals.set('random',x)"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/device-variables/<variable_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"device-variables",
"<variable_id>",
""
]
}
},
"response": [
{
"name": "Show Device variable",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/device-variables/200/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"device-variables",
"200",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Update Device variable",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"variable\": \"var1\",\n \"value\": \"4\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/device-variables/<variable_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"device-variables",
"<variable_id>",
""
]
}
},
"response": [
{
"name": "Update Device variable",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"variable\": \"ggg\",\n \"value\": \"vggg\"\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/device-variables/1403/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"device-variables",
"1403",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete Device variable",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/device-variables/<variable_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"device-variables",
"<variable_id>",
""
]
}
},
"response": [
{
"name": "Delete Device variable",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/device-variables/1402/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"device-variables",
"1402",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Borrow device",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"borrowed_until\": \"2023-11-28T12:30:50\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/devices/<device_id_that_can_borrow>/borrow/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"devices",
"<device_id_that_can_borrow>",
"borrow",
""
]
}
},
"response": [
{
"name": "Borrow device",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "Borrow a single Device if requesting manager has access permissions to it.\n\n"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/devices/1603714837068629/borrow/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"devices",
"1603714837068629",
"borrow",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/list-devices](https://licensespring.kwiki.io/docs/list-devices)",
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Product",
"item": [
{
"name": "Product",
"item": [
{
"name": "List Products",
"event": [
{
"listen": "test",
"script": {
"exec": [
"",
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/products/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Products limit by 20 starting from 5th element",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results"
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products order by date created descending",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?order_by=-created",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "-created",
"description": "Which attribute to order the list by."
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by short code",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?short_code=EXTRM001",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "EXTRM001",
"description": "Filter by short code."
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by archival status",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?is_archived=true",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "true",
"description": "Filter by archive status: true or false"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Product",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/products/<product_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"products",
"<product_id>",
""
]
}
},
"response": [
{
"name": "Show Product details",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/1/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
"1",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List Products in a bundle",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/products/<bundle_id>/bundle/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"products",
"<bundle_id>",
"bundle",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Products limit by 20 starting from 5th element",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results"
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products order by date created descending",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?order_by=-created",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "-created",
"description": "Which attribute to order the list by."
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by short code",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?short_code=EXTRM001",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "EXTRM001",
"description": "Filter by short code."
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by archival status",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?is_archived=true",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "true",
"description": "Filter by archive status: true or false"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "List bundles for a Product",
"event": [
{
"listen": "test",
"script": {
"exec": [
"",
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/products/<product_id_in_bundle>/in_bundle/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"products",
"<product_id_in_bundle>",
"in_bundle",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Products limit by 20 starting from 5th element",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results"
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products order by date created descending",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?order_by=-created",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "-created",
"description": "Which attribute to order the list by."
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by short code",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?short_code=EXTRM001",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "EXTRM001",
"description": "Filter by short code."
},
{
"key": "is_archived",
"value": "false",
"description": "Filter by archive status: true or false",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Products filter by archival status",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/products/?is_archived=true",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"products",
""
],
"query": [
{
"key": "order_by",
"value": "",
"description": "Which attribute to order the list by.",
"disabled": true
},
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results",
"disabled": true
},
{
"key": "short_code",
"value": "",
"description": "Filter by short code.",
"disabled": true
},
{
"key": "is_archived",
"value": "true",
"description": "Filter by archive status: true or false"
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Installation files",
"item": [
{
"name": "List Installation files",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/installation-files/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"installation-files",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "",
"description": "Filter by product.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Installation files limit by 20 and start at 5th element",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/installation-files/?limit=20&offset=5",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"installation-files",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "5",
"description": "Initial index from which to return the results."
},
{
"key": "product",
"value": null,
"description": "Filter by product.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "List Installation files filter by product ID",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/installation-files/?product=12",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"installation-files",
""
],
"query": [
{
"key": "limit",
"value": null,
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": null,
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "12",
"description": "Filter by product."
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Create Installation file",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"environment\": \"MacOS\",\n \"hash_md5\": \"hash_md5\",\n \"full_link\": \"full_link\",\n \"product\": <product_code>,\n \"release_date\": \"20.04.2022\",\n \"version\": \"1.0\",\n \"release_notes_link\": \"RN\",\n \"eula_link\": \"link\",\n \"size\": \"size\",\n \"requires_version\": \"\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/installation-files/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"installation-files",
""
]
},
"description": "### Parameters\n\n***Bold and italic names*** are required fields.\n\n| **Name** | **Type** | **Values (Acceptable or Default)** | **Description** |\n| --- | --- | --- | --- |\n| ***environment*** | ***string*** | ***win, win32, win64. mac, linux, linux32. linux64*** | ***Environment where installation files are meant to be used.*** |\n| hash_md5 | string | \\- | MD5 hash of the installation file. If an non-md5 value is specified the request will return an error. |\n| full_link | string | \\- | Link to the installation file. |\n| ***product*** | ***integer*** | ***\\-*** | ***ID of the product meant to be used with installation file.*** |\n| release_date | Date | \\- | Format: yyyy-mm-dd (2020-12-21) |\n| version | string | \\- | Version of the installation file. |\n| release_notes_link | string | \\- | Link to the release notes |\n| eula_link | string | \\- | Link to the eula. |\n| size | string | | Digits only. |\n| requires_version | string | Will be set to oldest existing version if none specified. | Version of installation file required. |"
},
"response": [
{
"name": "Create Installation file",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"environment\": \"win64\",\n \"hash_md5\": \"\",\n \"full_link\": \"https://extreme.products.com/extrm_001.exe\",\n \"product\": 1,\n \"release_date\": \"2019-12-30\",\n \"version\": \"v2.35-minors\",\n \"release_notes_link\": \"https://extreme.products.com/extrm_001/release_notes.pdf\",\n \"eula_link\": \"https://extreme.products.com/extrm_001/eula.pdf\",\n \"size\": \"25647512369\",\n \"requires_version\": \"v2.0\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/installation-files/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"installation-files",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Show Installation file",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/installation-files/<installation_id>",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"installation-files",
"<installation_id>"
]
}
},
"response": [
{
"name": "Show Installation file",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/installation-files/126/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"installation-files",
"126",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
}
]
},
{
"name": "Product custom fields",
"item": [
{
"name": "List Product custom fields",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-custom-fields/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-custom-fields",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Product custom fields limit by 20",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-custom-fields/?limit=20",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-custom-fields",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Show Product custom field",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-custom-fields/<custom_field_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-custom-fields",
"<custom_field_id>",
""
]
}
},
"response": [
{
"name": "Show Product custom field details",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-custom-fields/20/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-custom-fields",
"20",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Create Product custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<randomProductName>\",\n \"data_type\": \"<productCustomFieldType>\",\n \"default_value\": \"\",\n \"description\": \"Some random description\",\n \"product\": <product_id>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/product-custom-fields",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-custom-fields"
]
},
"description": "### Parameters\n\n* `name`\n * string\n* `data_type`\n * string\n * choices: `number`, `text`, `date/time`\n* `default_value`\n * string\n* `description`\n * string"
},
"response": [
{
"name": "Create Product custom field",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Custom Field Name\",\n \"data_type\": \"string\",\n \"default_value\": \"Default Field Value\",\n \"description\": \"Description of custom field name\",\n \"product\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-custom-fields",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-custom-fields"
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Update Product custom field",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<randomProductName>\",\n \"data_type\": \"<productCustomFieldType>\",\n \"default_value\": \"\",\n \"description\": \"<randomText>\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/product-custom-fields/<productCustomField>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-custom-fields",
"<productCustomField>",
""
]
}
},
"response": [
{
"name": "Update Product custom field",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Updated custom field name\",\n \"data_type\": \"date/time\",\n \"default_value\": \"2020-01-01 12:00:00 UTC\",\n \"description\": \"New updated value of custom field\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-custom-fields/196/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-custom-fields",
"196",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Delete Product custom field",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-custom-fields/<productCustomField>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-custom-fields",
"<productCustomField>",
""
]
}
},
"response": [
{
"name": "Delete Product custom field",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-custom-fields/196/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-custom-fields",
"196",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
}
]
},
{
"name": "Product feature",
"item": [
{
"name": "List Product features",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-features/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-features",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "",
"description": "Filter by product id.",
"disabled": true
}
]
}
},
"response": [
{
"name": "List Product features all",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "",
"description": "Filter by product id.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Product features limit by 20",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/?limit=20",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
""
],
"query": [
{
"key": "limit",
"value": "20",
"description": "Number of results to return per page."
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "",
"description": "Filter by product id.",
"disabled": true
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
},
{
"name": "List Product features filter by product",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/?product=12",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
""
],
"query": [
{
"key": "limit",
"value": "",
"description": "Number of results to return per page.",
"disabled": true
},
{
"key": "offset",
"value": "",
"description": "Initial index from which to return the results.",
"disabled": true
},
{
"key": "product",
"value": "12",
"description": "Filter by product id."
}
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Show Product feature",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-features/<feature_id>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-features",
"<feature_id>",
""
]
}
},
"response": [
{
"name": "Show Product feature",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/1/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
"1",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Create Product feature",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<randomProductName>\",\n \"code\": \"<randomBankAccountBic>\",\n \"feature_type\": \"<randomFeatureType>\",\n \"max_consumption\": <randomInt>,\n \"allow_overages\": false,\n \"max_overages\": 0,\n \"reset_consumption\": false,\n \"consumption_period\": \"<randomConsumptionPeriod>\",\n \"product\": <product_id>\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/product-features/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-features",
""
]
}
},
"response": [
{
"name": "Create Product feature",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Extreme product version 1\",\n \"code\": \"EXTRM020\",\n \"feature_type\": \"activation\",\n \"max_consumption\": 0,\n \"allow_overages\": false,\n \"max_overages\": 0,\n \"reset_consumption\": false,\n \"consumption_period\": \"null\",\n \"product\": 1\n}"
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Update Product feature",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<randomProductName>\",\n \"code\": \"<randomBankAccountBic>\",\n \"feature_type\": \"<randomFeatureType>\",\n \"max_consumption\": <randomInt>,\n \"allow_overages\": false,\n \"max_overages\": 0,\n \"reset_consumption\": false,\n \"consumption_period\": \"<randomConsumptionPeriod>\"\n}"
},
"url": {
"raw": "{{api_url}}/api/v1/product-features/{{productFeatureId}}/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-features",
"{{productFeatureId}}",
""
]
}
},
"response": [
{
"name": "Update Product feature",
"originalRequest": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"New super product\",\n \"code\": \"SPR2022\",\n \"feature_type\": \"consumption\",\n \"max_consumption\": 10,\n \"allow_overages\": false,\n \"max_overages\": 0,\n \"reset_consumption\": false,\n \"consumption_period\": \"weekly\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/196/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
"196",
""
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
},
{
"name": "Delete Product feature",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key {{managementApiKey}}",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/product-features/<productFeatureId>/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"product-features",
"<productFeatureId>",
""
]
}
},
"response": [
{
"name": "Delete Product feature",
"originalRequest": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/product-features/28/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"product-features",
"28",
""
]
}
},
"_postman_previewlanguage": "Text",
"header": [
{}
],
"cookie": [
{
"expires": "Invalid Date"
}
],
"body": ""
}
]
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/list-products](https://licensespring.kwiki.io/docs/list-products)"
},
{
"name": "Analytics",
"item": [
{
"name": "List activities",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{api_url}}/api/v1/activities/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities",
""
]
}
},
"response": [
{
"name": "List activities",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:33:51 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, POST, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List activities hourly",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
""
]
}
},
"response": [
{
"name": "List activities hourly",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:12 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, POST, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List hourly activities actions stats",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/actions_stats/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
"actions_stats",
""
]
}
},
"response": [
{
"name": "List hourly activities actions stats",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/actions_stats/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
"actions_stats",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:26 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List hourly activities call counts",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/total_call_count/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
"total_call_count",
""
]
}
},
"response": [
{
"name": "List hourly activities call counts",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/total_call_count/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
"total_call_count",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:30 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List hourly activities top call counts for customers",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/top_call_count_customers/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_customers",
""
]
}
},
"response": [
{
"name": "List hourly activities top call counts for customers",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/top_call_count_customers/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_customers",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:37 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List hourly activities top call counts for licenses",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/top_call_count_licenses/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_licenses",
""
]
}
},
"response": [
{
"name": "List hourly activities top call counts for licenses",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/top_call_count_licenses/?Authorization=Api-Key <management_api_key>",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_licenses",
""
],
"query": [
{
"key": "Authorization",
"value": "Api-Key <management_api_key>"
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:42 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
},
{
"name": "List hourly activities top call counts for orders",
"request": {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "Api-Key <management_api_key>",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{api_url}}/api/v1/activities-hourly/top_call_count_orders/",
"host": [
"{{api_url}}"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_orders",
""
]
}
},
"response": [
{
"name": "List hourly activities top call counts for orders",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://saas.licensespring.com/api/v1/activities-hourly/top_call_count_orders/",
"protocol": "https",
"host": [
"saas",
"licensespring",
"com"
],
"path": [
"api",
"v1",
"activities-hourly",
"top_call_count_orders",
""
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Fri, 07 Apr 2023 09:32:49 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "58"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Server",
"value": "nginx/1.14.0 (Ubuntu)"
},
{
"key": "Vary",
"value": "Accept, Origin, Cookie"
},
{
"key": "Allow",
"value": "GET, HEAD, OPTIONS"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
}
],
"cookie": [],
"body": "{\n \"detail\": \"Authentication credentials were not provided.\"\n}"
}
]
}
],
"description": "[https://licensespring.kwiki.io/docs/list-activities](https://licensespring.kwiki.io/docs/list-activities)"
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
"utils = { ",
" dataTypes : [",
" 'number',",
" 'text',",
" 'date/time'",
" ],",
"",
" possibleEnvironments: [",
" 'win', ",
" 'win32',",
" 'win64',",
" 'mac',",
" 'linux',",
" 'linux32',",
" 'linux64'",
" ], ",
"",
" featureTypes: [",
" 'activation',",
" 'consumption'",
" ],",
"",
" consumptionPeriods: [",
" 'daily',",
" 'weekly',",
" 'monthly',",
" 'annually'",
" ],",
"",
" getRandomMaintenanceDuration: function() {",
" maintenanceDuration = '';",
" choice = ['d', 'm', 'y'];",
" selectChoice = choice[this.getRandomInt(0,3)];",
" switch(selectChoice) {",
" case \"d\":",
" maintenanceDuration += this.getRandomInt(1,365);",
" maintenanceDuration += selectChoice;",
" break;",
" case \"m\":",
" maintenanceDuration += this.getRandomInt(1,24);",
" maintenanceDuration += selectChoice;",
" break;",
" case \"y\":",
" maintenanceDuration += this.getRandomInt(1,8);",
" maintenanceDuration += selectChoice;",
" break;",
" }",
" return maintenanceDuration;",
" },",
"",
" getRandomInt: function(min = 0, max) {",
" min = Math.ceil(min);",
" max = Math.floor(max);",
" return Math.floor(Math.random() * (max - min) + min);",
" },",
"",
" getRandEnvironment: function() {",
" return this.possibleEnvironments[",
" this.getRandomInt(0, this.possibleEnvironments.length)",
" ];",
" },",
"",
" getRandDataTypes: function() {",
" return this.dataTypes[",
" this.getRandomInt(0,3)",
" ];",
" },",
" ",
" generateRandomString: function() {",
" return Math.random().toString(16).substr(2, 8);",
" },",
"",
" generateRandomMD5: function() {",
" return CryptoJS.MD5(this.generateRandomString()).toString();",
" },",
"",
" getCurrentDate: function(format = 'YYYY-MM-DD') {",
" moment = require('moment');",
" return moment().format(format);",
" },",
"",
" getRandFeatureType: function() {",
" return this.featureTypes[",
" this.getRandomInt(0, this.featureTypes.length)",
" ];",
" },",
"",
" getRandConsumptionPeriod: function() {",
" return this.consumptionPeriods[",
" this.getRandomInt(this.consumptionPeriods.length)",
" ];",
" }",
"",
"};",
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"",
"",
"var skippable_tests = [",
" 'Delete Customer label', ",
" 'Create Customer label', ",
" 'Edit Customer label', ",
" 'Add label to Customer', ",
" 'Remove Label from Customer', ",
" 'Create Customer account', ",
" 'Delete Customer account',",
" 'Create Product',",
" 'Create Installation file',",
" 'Create Product custom field',",
" 'Delete Product custom field',",
" 'Create Product feature',",
" 'Delete License custom field',",
" 'Delete customer',",
" 'Remove Label from Customer',",
" 'Delete Customer label',",
" 'Delete Customer account',",
" 'Delete Device variable',",
" 'Delete Product custom field',",
" 'Delete Product feature'",
"]",
"",
"var skippable = false;",
"",
"if (skippable_tests.includes(pm.info.requestName)) {",
" console.log(pm.request.method);",
" skippable = true;",
"}",
"",
"",
"(skippable ? pm.test.skip : pm.test)(\"Global status success\", () => {",
" pm.expect(pm.response.code).to.be.oneOf([200,201,204])",
"});"
]
}
}
],
"variable": [
{
"key": "test_license_id",
"value": "1607329971801499",
"type": "default"
},
{
"key": "randName",
"value": "{{$randomFirstName}}",
"type": "string"
},
{
"key": "managerEmail",
"value": ""
},
{
"key": "managerPassword",
"value": ""
},
{
"key": "managerUserId",
"value": ""
},
{
"key": "productId",
"value": ""
},
{
"key": "installationFileEnv",
"value": ""
},
{
"key": "installationFileId",
"value": ""
},
{
"key": "productCustomField",
"value": ""
},
{
"key": "productFeatureId",
"value": ""
}
]
}