{"openapi":"3.0.0","servers":[{"description":"Local url","url":"http://localhost:8080"},{"description":"Development url","url":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev"},{"description":"Production url","url":"https://customer-manager-api.appsanywhere.dev"}],"info":{"description":"This is a customer manager","version":"1.0","title":"Customer Manager API","contact":{"email":"emily.dawson@software2.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"tags":[{"name":"Authentication","description":"The OAuth2 authentication flow"},{"name":"Customers","description":"Customers in the database"},{"name":"Environments","description":"Environments in the database"}],"paths":{"/authenticate":{"get":{"tags":["Authentication"],"summary":"Authenticates the user","operationId":"authenticateUser","description":"This will direct the user through OAuth2 authentication in azure.","responses":{"302":{"description":"Redirected"},"401":{"description":"Unauthorized"}}}},"/v1/customers":{"get":{"tags":["Customers"],"summary":"Returns all customers","operationId":"searchAllCustomer","description":"Retrieve all customers in the system.","parameters":[{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}},{"in":"query","name":"order","description":"the alphabetical order of data retrieved","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCustomer"},"examples":{"Customers":{"$ref":"#/components/examples/Customers"}}}}},"400":{"description":"* Limit must be a valid int\n* Limit cannot be 0 or less than 0\n* Order must be a string"},"401":{"description":"Unauthorized - JWT is invalid"}}},"post":{"tags":["Customers"],"summary":"Adds a customer","operationId":"addCustomer","description":"Adds a customer to the system, required fields include organization_id, name and domains.","requestBody":{"description":"Customer to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerRequest"},"examples":{"Customer":{"$ref":"#/components/examples/CustomerRequest"}}}}},"responses":{"201":{"description":"New customer created with details below","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"},"examples":{"Customer":{"$ref":"#/components/examples/CustomerResponse"}}}}},"400":{"description":"* Company ID must be unique\n* Organization ID must be unique"},"401":{"description":"Unauthorized - JWT is invalid"},"409":{"description":"An existing item already exists"}}}},"/v1/customers/id/{id}":{"get":{"tags":["Customers"],"summary":"Searches a customer by ID","operationId":"searchCustomerID","description":"By passing in the ID, you can search for a specific customer in the system.","parameters":[{"in":"path","name":"id","description":"Pass an ID for returning a single customer","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"},"examples":{"Customer":{"$ref":"#/components/examples/CustomerResponse"}}}}},"400":{"description":"Invalid ID supplied"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"Could not find customer with provided ID"}}},"put":{"tags":["Customers"],"summary":"Updates a customer","description":"This will update the customer with a specific ID using the details provided.","operationId":"updateCustomerID","parameters":[{"in":"path","name":"id","description":"Pass an ID for the customer to be updated","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"requestBody":{"description":"Customer to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerRequest"},"examples":{"Customer":{"$ref":"#/components/examples/CustomerRequest"}}}}},"responses":{"200":{"description":"Customer updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"},"examples":{"Customers":{"$ref":"#/components/examples/CustomerResponse"}}}}},"400":{"description":"* Company ID must be unique\n* Organization ID must be unique"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"Customer not found"}}},"delete":{"tags":["Customers"],"summary":"Deletes a customer","description":"This will delete the customer with the specific ID provided.","operationId":"deleteCustomerID","parameters":[{"in":"path","name":"id","description":"The id to be deleted","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"204":{"description":"Customer has been deleted"},"400":{"description":"Invalid ID supplied"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/customers/organization/{organization_id}":{"get":{"tags":["Customers"],"summary":"Searches a customer by organization ID","operationId":"searchCustomerOrgID","description":"By passing in the organization ID, you can search for a customer in the system.","parameters":[{"in":"path","name":"organization_id","description":"Pass an organization ID to return a customer","required":true,"schema":{"type":"string"},"example":"0eed5a18-3868-11ea-869f-9cb6d0bb3501"}],"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"},"examples":{"Customers":{"$ref":"#/components/examples/CustomerResponse"}}}}},"400":{"description":"Invalid organization ID supplied"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"No customer found with ID"}}}},"/v1/customers/company/{company_id}":{"get":{"tags":["Customers"],"summary":"Searches a customer by company ID","operationId":"searchCustomerCompanyID","description":"By passing in the company ID, you can search for a customer in the system.","parameters":[{"in":"path","name":"company_id","description":"Pass a company ID to return a customer","required":true,"schema":{"type":"integer"},"example":1002773493}],"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"},"examples":{"Customers":{"$ref":"#/components/examples/CustomerResponse"}}}}},"400":{"description":"Invalid company ID supplied"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"No customer found with ID"}}}},"/v1/customers/{id}/icon":{"get":{"tags":["Customers"],"summary":"Automatic icon finder","operationId":"autoUpdateCustomerIcon","description":"Returns icon url for specified customer","parameters":[{"in":"path","name":"id","description":"Pass an ID to return the customers new icon url","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"200":{"description":"Image updated and path returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerIconResponse"},"examples":{"Customer Icons":{"$ref":"#/components/examples/CustomerIconResponse"}}}}},"400":{"description":"No image found"},"401":{"description":"Unauthorized - JWT is invalid"}}},"put":{"tags":["Customers"],"summary":"Updates or creates a icon url with the icon data provided","operationId":"updateCustomerIcon","description":"Sending the image data to a specified path will return a url with the icons new location","parameters":[{"in":"path","name":"id","description":"Pass an ID to return the customers new icon url","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"requestBody":{"description":"Icon to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerIconRequest"},"examples":{"Customer Icons":{"$ref":"#/components/examples/CustomerIconRequest"}}}}},"responses":{"200":{"description":"Image updated and path returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerIconResponse"},"examples":{"Customer Icons":{"$ref":"#/components/examples/CustomerIconResponse"}}}}},"400":{"description":"* icon body not found\n* data is null\n* checksum is null\n* mime_type is null\n* checksum does not match data provided\n* Cannot decode data\n* Type should be png\n* Image dimensions larger than expected - Max size is 152 x 152\n* File size larger than expected - Max size is 15kb\n* Invalid type: expected (your mimetype) - received (this mimetype)\n* Could not save image"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/customers/hubspot":{"get":{"tags":["Customers"],"summary":"Returns all HubSpot companies marked as customers","operationId":"searchAllHubSpotCustomer","description":"Retrieve all customers in HubSpot.","parameters":[{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}},{"in":"query","name":"showImported","description":"When this is set to true, the response includes previously imported customers","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedHubSpotCustomer"},"examples":{"Hubspot Customers":{"$ref":"#/components/examples/HubspotCustomers"}}}}},"400":{"description":"* Limit must be a valid int\n* Limit cannot be 0 or less than 0"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/customers/hubspot/id/{company_id}":{"get":{"tags":["Customers"],"summary":"Searches a customer by company ID","operationId":"searchHubSpotCustomerCompanyID","description":"By passing in the company ID, you can search for a customer in HubSpot.","parameters":[{"in":"path","name":"company_id","description":"Pass a company ID to return a customer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubSpotCustomerResponse"},"examples":{"Hubspot Customers":{"$ref":"#/components/examples/HubspotCustomer"}}}}},"400":{"description":"The company with the ID provided is not listed as a customer"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"Company with provided ID does not exist"}}}},"/v1/environments":{"get":{"tags":["Environments"],"summary":"Retrieves all environments regardless of type","operationId":"getAllEnvironments","description":"Retrieves all environments regardless of type","parameters":[{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEnvironmentBase"},"examples":{"Environments":{"$ref":"#/components/examples/Environments"}}}}},"400":{"description":"* Limit must be a valid int\n* Limit cannot be 0 or less than 0\n* Status must be an integer\n* Status must be a valid value\n* Version must be a valid string"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/{type}":{"get":{"tags":["Environments"],"summary":"Retrieves all environments of the specified type","operationId":"getAllEnvironmentsOfType","description":"Retrieves all environments of the specified type","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"},{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEnvironment"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironments"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironments"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironments"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironments"}}}}},"400":{"description":"* No valid environment type specified\n* Limit must be a valid int\n* Limit cannot be 0 or less than 0\n* Status must be an integer\n* Status must be a valid value\n* Version must be a valid string"},"401":{"description":"Unauthorized - JWT is invalid"}}},"post":{"tags":["Environments"],"summary":"Adds an environment","operationId":"addEnvironment","description":"Adds an environment to the system","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"}],"requestBody":{"description":"Environment to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRequest"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironmentRequest"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentRequest"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironmentRequest"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironmentRequest"}}}}},"responses":{"201":{"description":"New environment created with details below","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironmentResponse"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentResponse"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironmentResponse"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironmentResponse"}}}}},"400":{"description":"* No valid environment type specified\n* No environment data specified"},"401":{"description":"Unauthorized - JWT is invalid"},"409":{"description":"The customer with ID provided already has a production environment of this type"},"500":{"description":"Could not create environment"}}}},"/v1/environments/customer/{customer_id}":{"get":{"tags":["Environments"],"summary":"Retrieves all environments regardless of type for a specific customer","operationId":"getAllEnvironmentsByCustomerId","description":"Retrieves all environments regardless of type for a specific customer","parameters":[{"in":"path","name":"customer_id","description":"Pass a customer ID to return a list of environments","required":true,"schema":{"type":"string"},"example":"0eed5a18-3868-11ea-869f-9cb6d0bb3509"},{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEnvironmentBase"},"examples":{"Environments":{"$ref":"#/components/examples/Environments"}}}}},"400":{"description":"* Limit must be a valid int\n* Limit cannot be 0 or less than 0\n* Status must be an integer\n* Status must be a valid value\n* Version must be a valid string"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/{type}/customer/{customer_id}":{"get":{"tags":["Environments"],"summary":"Retrieves all environments of a specific type for a specific customer","operationId":"getAllEnvironmentsOfTypeByCustomerId","description":"Retrieves all environments of a specific type for a specific customer","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"},{"in":"path","name":"customer_id","description":"Pass a customer ID to return a list of environments","required":true,"schema":{"type":"string"},"example":"0eed5a18-3868-11ea-869f-9cb6d0bb3509"},{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEnvironment"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironments"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironments"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironments"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironments"}}}}},"400":{"description":"* No valid environment type specified\n* Limit must be a valid int\n* Limit cannot be 0 or less than 0\n* Status must be an integer\n* Status must be a valid value\n* Version must be a valid string"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/{type}/id/{id}":{"get":{"tags":["Environments"],"summary":"Searches an environment by ID","operationId":"searchEnvironmentID","description":"By passing in the ID, you can search for a specific environment in the system.","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"},{"in":"path","name":"id","description":"Pass an ID for returning a single environment","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironmentResponse"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentResponse"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironmentResponse"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironmentResponse"}}}}},"400":{"description":"* No valid environment type specified \n* Invalid type for the existing environment"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"Environment not found"}}},"put":{"tags":["Environments"],"summary":"Updates an environment","description":"This will update the environment with the specific ID using the details provided.","operationId":"updateEnvironmentID","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"},{"in":"path","name":"id","description":"Pass an ID for the environment to be updated","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"requestBody":{"description":"Environment to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentRequest"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironmentRequest"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentRequest"},"Parallels-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironmentRequest"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironmentRequest"}}}}},"responses":{"200":{"description":"Environment updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"},"examples":{"AppsAnywhere":{"$ref":"#/components/examples/AppsAnywhereEnvironmentResponse"},"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentResponse"},"Parallel-Ras":{"$ref":"#/components/examples/Parallels-RasEnvironmentResponse"},"AppsAnywhere-Analytics":{"$ref":"#/components/examples/AppsAnywhere-AnalyticsEnvironmentResponse"}}}}},"400":{"description":"* No valid environment type specified \n* Invalid type for the existing environment \n* Environment could not be created"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"Environment not found"},"409":{"description":"* The customer with ID provided already has a production environment of this type \n* The environment ID does not exist and cannot be created"}}},"delete":{"tags":["Environments"],"summary":"Deletes an environment","description":"This will delete the environment with the specific ID provided.","operationId":"deleteEnvironmentID","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"appsanywhere"},{"in":"path","name":"id","description":"The id to be deleted","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"204":{"description":"Environment has been deleted"},"400":{"description":"* No valid environment type specified \n* Cannot delete an environment that does not exist"},"401":{"description":"Unauthorized - JWT is invalid"},"500":{"description":"Could not delete environment"}}}},"/v1/environments/states":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed status types","operationId":"searchEnvironmentStatusTypes","description":"Retrieves the allowed status types","responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentStates"},"examples":{"Environment States":{"$ref":"#/components/examples/EnvironmentStatusTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/types":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed environment types","operationId":"searchEnvironmentTypes","description":"Retrieves the allowed environment types","responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentTypes"},"examples":{"Environment Types":{"$ref":"#/components/examples/EnvironmentTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/cloudpaging/license-types":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed cloudpaging license types","operationId":"searchCloudpagingLicenseTypes","description":"Retrieves the allowed cloudpaging license types","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudpagingLicenseTypes"},"examples":{"Cloudpaging License Types":{"$ref":"#/components/examples/CloudpagingLicenseTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/parallels-ras/license-types":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed cloudpaging license types","operationId":"searchParallelsLicenseTypes","description":"Retrieves the allowed parallels-ras license types","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParallelsLicenseTypes"},"examples":{"Parallels-Ras License Types":{"$ref":"#/components/examples/Parallels-RasLicenseTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/cloudpaging-server-types":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed cloudpaging server types","operationId":"searchCloudpagingServerTypes","description":"Retrieves the allowed cloudpaging server types","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudpagingServerTypes"},"examples":{"Cloudpaging Server Types":{"$ref":"#/components/examples/CloudpagingServerTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/appsanywhere-server-types":{"get":{"tags":["Environments"],"summary":"Retrieves the allowed AppsAnywhere server types","operationId":"searchAppsAnywhereServerTypes","description":"Retrieves the allowed appsanywhere server types","responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppsAnywhereServerTypes"},"examples":{"AppsAnywhere Server Types":{"$ref":"#/components/examples/AppsAnywhereServerTypes"}}}}},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/license-renewals":{"get":{"tags":["Environments"],"summary":"Retrieves all license renewals","operationId":"getAllRenewals","description":"Retrieves all license renewals","parameters":[{"in":"query","name":"limit","description":"The maximum number of items per page","required":false,"schema":{"type":"integer"}},{"in":"query","name":"page","description":"The page to view","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLicenseRenewalBase"},"examples":{"Cloudpaging License Renewals":{"$ref":"#/components/examples/CloudpagingLicenseRenewals"}}}}},"400":{"description":"Limit must be a valid int"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/{type}/id/{id}/license-renewal":{"get":{"tags":["Environments"],"summary":"Retrieves a single license renewal for the environment ID","operationId":"getRenewalById","description":"Retrieves a single license renewal for the environment ID","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"cloudpaging"},{"in":"path","name":"id","description":"Pass an ID for returning a single environment","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicenseRenewalResponseBase"},"examples":{"Cloudpaging License Renewals":{"$ref":"#/components/examples/CloudpagingLicenseRenewalResponse"}}}}},"400":{"description":"Invalid type for the existing environment"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"* Renewal not found\n* An environment with ID provided does not yet exist - a renewal cannot be retrieved"}}},"post":{"tags":["Environments"],"summary":"Creates a license renewal for the environment ID specified","operationId":"postLicenseRenewal","description":"Creates a license renewal for the environment ID specified","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"cloudpaging"},{"in":"path","name":"id","description":"Pass an ID for returning a single environment","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"requestBody":{"description":"Renewal to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicenseRenewalRequestBase"},"examples":{"Cloudpaging License Renewals":{"$ref":"#/components/examples/CloudpagingLicenseRenewalRequest"}}}}},"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicenseRenewalResponseBase"},"examples":{"Cloudpaging License Renewals":{"$ref":"#/components/examples/CloudpagingLicenseRenewalResponse"}}}}},"400":{"description":"* Only Cloudpaging license renewals are currently implemented\n* Invalid type for the existing environment \n* No license_renewal data specified"},"401":{"description":"Unauthorized - JWT is invalid"},"404":{"description":"An environment with ID provided does not yet exist - a renewal cannot be created"},"409":{"description":"The environment with ID provided already has a license renewal open"},"500":{"description":"Could not create license renewal"}}},"delete":{"tags":["Environments"],"summary":"Deletes a license renewal","description":"This will delete the license with the specific environment ID provided.","operationId":"deleteLicenseRenewal","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"cloudpaging"},{"in":"path","name":"id","description":"The id to be deleted","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"responses":{"204":{"description":"License renewal has been deleted"},"400":{"description":"* Cannot delete a license renewal for an environment that does not exist\n* Invalid type for the existing environment"},"401":{"description":"Unauthorized - JWT is invalid"}}}},"/v1/environments/{type}/id/{id}/renew":{"patch":{"tags":["Environments"],"summary":"Updates the environment with the new license information","operationId":"comfirmRenewal","description":"Updates the environment with the new license information","parameters":[{"in":"path","name":"type","description":"The type of environment","required":true,"schema":{"type":"string"},"example":"cloudpaging"},{"in":"path","name":"id","description":"Pass an ID for returning a single environment","required":true,"schema":{"type":"string"},"example":"1270931c-1121-11ea-9183-9cb6d0bb3509"}],"requestBody":{"description":"Renewal to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicenseRenewalRequestBase"}}}},"responses":{"200":{"description":"Search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResponse"},"examples":{"Cloudpaging":{"$ref":"#/components/examples/CloudpagingEnvironmentResponse"}}}}},"400":{"description":"* Only Cloudpaging license renewals are currently implemented\n* No valid environment type specified\n* No license_renewal data specified\n* An environment with ID provided does not yet exist - a renewal cannot be created\n* Invalid type for the existing environment"},"401":{"description":"Unauthorized - JWT is invalid"},"409":{"description":"The environment with ID provided already has a license renewal open"},"500":{"description":"Could not create license renewal"}}}}},"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PaginatedCustomer":{"type":"object","properties":{"_total_items":{"description":"Total number of customers in the system.","type":"integer","example":5},"_page":{"description":"The current page of customers shown.","type":"integer","example":2},"_page_count":{"description":"Total number of pages.","type":"integer","example":3},"_links":{"$ref":"#/components/schemas/CustomerLinks"},"_embedded":{"$ref":"#/components/schemas/Customers"}}},"PaginatedHubSpotCustomer":{"type":"object","properties":{"_total_items":{"description":"Total number of customers in the system.","type":"integer","example":5},"_page":{"description":"The current page of customers shown.","type":"integer","example":2},"_page_count":{"description":"Total number of pages.","type":"integer","example":3},"_results_filtered":{"description":"The number of already imported customers filtered out","type":"integer","example":2},"_links":{"$ref":"#/components/schemas/HubSpotCustomerLinks"},"_embedded":{"$ref":"#/components/schemas/HubSpotCustomers"}}},"PaginatedEnvironment":{"type":"object","properties":{"_total_items":{"description":"Total number of environments in the system.","type":"integer","example":5},"_page":{"description":"The current page of environments shown.","type":"integer","example":2},"_page_count":{"description":"Total number of pages.","type":"integer","example":3},"_links":{"$ref":"#/components/schemas/EnvironmentLinks"},"_embedded":{"$ref":"#/components/schemas/Environments"}}},"PaginatedEnvironmentBase":{"type":"object","properties":{"_total_items":{"description":"Total number of environments in the system.","type":"integer","example":5},"_page":{"description":"The current page of environments shown.","type":"integer","example":2},"_page_count":{"description":"Total number of pages.","type":"integer","example":3},"_links":{"$ref":"#/components/schemas/EnvironmentLinks"},"_embedded":{"$ref":"#/components/schemas/EnvironmentsBase"}}},"CustomerLinks":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers?limit=2\u0026page=2"}}},"first":{"description":"The link to the first page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers?limit=2\u0026page=1"}}},"prev":{"description":"The link to the previous page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers?limit=2\u0026page=1"}}},"next":{"description":"The link to the next page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers?limit=2\u0026page=3"}}},"last":{"description":"The link to the last page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers?limit=2\u0026page=3"}}}}},"HubSpotCustomerLinks":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot?limit=2\u0026page=2"}}},"first":{"description":"The link to the first page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot?limit=2\u0026page=1"}}},"prev":{"description":"The link to the previous page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot?limit=2\u0026page=1"}}},"next":{"description":"The link to the next page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot?limit=2\u0026page=3"}}},"last":{"description":"The link to the last page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot?limit=2\u0026page=3"}}}}},"EnvironmentLinks":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments?limit=2\u0026page=2"}}},"first":{"description":"The link to the first page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments?limit=2\u0026page=1"}}},"prev":{"description":"The link to the previous page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments?limit=2\u0026page=1"}}},"next":{"description":"The link to the next page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments?limit=2\u0026page=3"}}},"last":{"description":"The link to the last page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments?limit=2\u0026page=3"}}}}},"HubSpotCustomers":{"type":"object","properties":{"customers":{"type":"array","items":{"$ref":"#/components/schemas/HubSpotCustomerResponseEntity"}}}},"HubSpotCustomerResponseEntity":{"type":"object","required":["company_id"],"properties":{"company_id":{"description":"The company ID","type":"integer","example":123456789},"name":{"example":"Sheffield Hallam"},"domain":{"example":"shu.ac.uk"},"_links":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot/id/123456789"}}}}}}},"Customers":{"type":"object","properties":{"customers":{"type":"array","items":{"$ref":"#/components/schemas/CustomerResponseEntity"}}}},"Environments":{"type":"object","properties":{"environments":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/AppsAnywhereEnvironmentResponseEntity"},{"$ref":"#/components/schemas/CloudpagingEnvironmentResponseEntity"},{"$ref":"#/components/schemas/Parallels-RasEnvironmentResponseEntity"},{"$ref":"#/components/schemas/AppsAnywhere-AnalyticsEnvironmentResponseEntity"}]}}}},"EnvironmentsBase":{"type":"object","properties":{"environments":{"type":"array","items":{"$ref":"#/components/schemas/EnvironmentResponse"}}}},"CustomerRequest":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/CustomerRequestEntity"}}},"EnvironmentRequest":{"type":"object","properties":{"environment":{"oneOf":[{"$ref":"#/components/schemas/AppsAnywhereEnvironmentRequestEntity"},{"$ref":"#/components/schemas/CloudpagingEnvironmentRequestEntity"},{"$ref":"#/components/schemas/Parallels-RasEnvironmentRequestEntity"},{"$ref":"#/components/schemas/AppsAnywhere-AnalyticsEnvironmentRequestEntity"}]}}},"CustomerResponse":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/CustomerResponseEntity"}}},"EnvironmentResponse":{"type":"object","properties":{"environment":{"oneOf":[{"$ref":"#/components/schemas/AppsAnywhereEnvironmentResponseEntity"},{"$ref":"#/components/schemas/CloudpagingEnvironmentResponseEntity"},{"$ref":"#/components/schemas/Parallels-RasEnvironmentResponseEntity"},{"$ref":"#/components/schemas/AppsAnywhere-AnalyticsEnvironmentResponseEntity"}]}}},"HubSpotCustomerResponse":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/HubSpotCustomerResponseEntity"}}},"CustomerRequestEntity":{"type":"object","required":["organization_id","company_id","name","domains"],"properties":{"organization_id":{"description":"Uuid v4 of the organization","type":"string","example":"37dba58d-9dc5-49d8-b574-8d9a375ae033"},"company_id":{"description":"Company Id from HubSpot","type":"integer","example":1002773493},"name":{"description":"The name of the organization","type":"string","example":"Lancaster University"},"primary_domain":{"description":"The customers\u0027s primary domain","type":"string","example":"lancaster.ac.uk"},"alternative_domains":{"description":"A list of alternative domains for the customer","type":"array","items":{"type":"string"},"example":["lancastersu.co.uk"]},"technical_contacts":{"description":"technical contact for the customer","type":"array","items":{"type":"object"},"example":[{"name":"Adam Willcock","email":"adam.willcock@software2.com"},{"name":"Adam Willcock2","email":"adam.willcock@software3.com"}]},"appsanywhere_url":{"description":"The organization\u0027s AppsAnywhere url","type":"string","format":"url","example":"http://appsanywhere.example.com"},"icon":{"description":"The organization\u0027s icon","type":"string","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png"}}},"CustomerResponseEntity":{"allOf":[{"$ref":"#/components/schemas/CustomerRequestEntity"},{"type":"object","required":["id"],"properties":{"id":{"description":"To be a time-ordered uuid","type":"string","example":"1270931c-1121-11ea-9183-9cb6d0bb3509"},"_links":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/1270931c-1121-11ea-9183-9cb6d0bb3509"}}}}}}}]},"CustomerIconRequest":{"type":"object","required":["icon"],"properties":{"icon":{"type":"object","required":["data","checksum","mime_type"],"properties":{"data":{"example":"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABaFBMVEUAAAB0///////e///j///w8vTx///f4uT/9fbl///p///W+f/6+PT87NX86Mr86Mr86cv78eD4+/7o///S///5///84bb7xXP77NT59vf52t75ztP61dn7z7r83a/////+///8z9T826zq9PDL6NzG6NrW2tL83Ky04M2g2MD826v837Sy38z7zon78ODs9fLb7+bb7ubc7+fy9vT65uj54eP79/X78eD78N778OD69u/0+f77vV76tk76tlD7x6L7x4D6sEL6rz76sEH0cX7yX23yX27yXm7yYHH4qar7wmv6rj36rz/qnaLyWGjxT1/xTFz1h5H8yH76rjxEs4M6r302r3uLy671f4vxTV7xUGDxTV0oqHEmp28ipW1vwp70hpEnp3Alpm4hpWxvwp30hZDxS1zxTl71iJH8x3z6rTpRuIxPt4pOt4qe07v3l6DzbnvzcH30dIH6vLv8zYX7vWD7vmL////2UGm0AAAAPHRSTlMAAAAAAAAAAAABAwFDna2srIEeAQEs3f6uL5isxv3yAgyz+Fils/H45vj48vj7o3+Dg4ODg4ODg4OCXhS/Nns1AAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+AIEREYFmluLlYAAACtSURBVBjTY2AgEjAycXKBADMLhM/KzcPLx8/PLyAoBOQxsQmLiIrZ2NoBgbgEAwM7h6SUtIysvYOjk5OTsxwDk7yCoourm7uHp5e3j4+zEoOyiqqar5+/f0BgUDBQQJ1BIyQ0LDwiMioaJqAZExsXnxANE9Bi0ExMSk5JTUtPy8jM8vZ21GbQyc7JzcsvKCwqLiktK9PVY9A3MDQyNjE1NTEzt7CwtLIm1m9IAADBriYFTrEpZgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wOC0xN1QxNzoyNDoyMiswMjowMLU+C7YAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDgtMTdUMTc6MjQ6MjIrMDI6MDDEY7MKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAABJRU5ErkJggg=="},"checksum":{"example":"52d054c243db85d21b636390a5d8a741"},"mime_type":{"example":"image/png"}}}}},"CustomerIconResponse":{"type":"object","properties":{"icon":{"type":"object","properties":{"path":{"example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png"}}}}},"EnvironmentRequestEntity":{"type":"object","required":["customer_id","status"],"properties":{"customer_id":{"description":"The customer linked to the environment","type":"string","example":"12eda6fa-36e6-11ea-9f8b-9cb6d0bb3509"},"status":{"description":"The current status of the environment","type":"string","example":"Development"},"version":{"description":"The current version of the environment","type":"string","example":"1.4.1"},"license_expiry_date":{"description":"The date the current license expires","type":"string","example":"2020/12/31"},"installed_on":{"description":"The date the environment was installed on","type":"string","example":"2020/01/01"},"installer_initials":{"description":"The initials of the installer","type":"string","example":"MP"},"updated_on":{"description":"The date of the latest update","type":"string","example":"2020/01/31"},"updater_initials":{"description":"The initials of the latest updater","type":"string","example":"MP"},"notes":{"description":"Any notes made about the environment","type":"string","example":"This customer is looking to renew their license soon"}}},"EnvironmentResponseEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","required":["id"],"properties":{"id":{"description":"To be a time-ordered uuid","type":"string","example":"1270931c-1121-11ea-9183-9cb6d0bb3509"},"type":{"description":"The type of the environment","type":"string","example":"appsanywhere"},"_links":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/1270931c-1121-11ea-9183-9cb6d0bb3509"}}}}}}}]},"AppsAnywhereEnvironmentRequestEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"instance_id":{"description":"The ID of the instance - hash","type":"string","example":"da38c8d921"},"appsanywhere_url":{"description":"The environments AppsAnywhere url","type":"string","format":"url","example":"http://appsanywhere.example.com"},"is_patched":{"description":"Is the environment on a custom patch","type":"boolean","example":false},"is_load_balanced":{"description":"Is the environment load balanced","type":"boolean","example":false},"server_count":{"description":"count of the servers","type":"integer","example":0},"zend_version":{"description":"version of zend server","type":"string","example":"9.8.1"},"server_type":{"description":"OS of the server","type":"integer","example":0}}}]},"CloudpagingEnvironmentRequestEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"license_type":{"description":"the cloudpaging license type","type":"integer","example":1},"seat_count":{"description":"amount for license type","type":"integer","example":1},"license_server_count":{"description":"cloudpaging license server count","type":"integer","example":1},"paging_server_count":{"description":"cloudpaging server count","type":"integer","example":1},"database_ips":{"description":"ip address for cloudpaging database","items":{"type":"array"},"format":"IP address","example":["192.168.0.1","127.0.0.1"]}}}]},"Parallels-RasEnvironmentRequestEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"server_url":{"description":"url for parallels server","type":"string","format":"url","example":"https://appsanywhere.parallels.com"},"license_type":{"description":"The type of parallels-ras license - Monthly or Annual","type":"integer","example":1},"license_count":{"description":"The number of licenses","type":"integer","example":2}}}]},"AppsAnywhere-AnalyticsEnvironmentRequestEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"appsanywhere_analytics_url":{"description":"Url for AppsAnywhere-Analytics server","type":"string","format":"url","example":"https://appsanywhere.analytics.com"},"explorer_count":{"description":"The number of explorers","type":"integer","example":2},"viewer_count":{"description":"The number of viewers","type":"integer","example":3},"license_key":{"description":"The AppsAnywhere-Analytics license key","type":"string","example":"BIU8O7BV8YVE7V87"}}}]},"AppsAnywhereEnvironmentResponseEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentResponseEntity"},{"type":"object","properties":{"appsanywhere_url":{"description":"The environments AppsAnywhere url","type":"string","format":"url","example":"http://appsanywhere.example.com"},"is_patched":{"description":"Is the environment on a custom patch","type":"boolean","example":false},"is_load_balanced":{"description":"Is the environment load balanced","type":"boolean","example":false},"server_count":{"description":"count of the servers","type":"integer","example":0},"zend_version":{"description":"version of zend server","type":"string","example":"9.8.1"},"server_type":{"description":"OS of the server","type":"integer","example":0}}}]},"CloudpagingEnvironmentResponseEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"license_type":{"description":"The cloudpaging license type","type":"integer","example":1},"seat_count":{"description":"Amount for license type","type":"integer","example":1},"license_server_count":{"description":"Cloudpaging license server count","type":"integer","example":1},"paging_server_count":{"description":"Paging server count","type":"integer","example":1},"database_ips":{"description":"IP address for cloudpaging database","items":{"type":"array"},"format":"IP address","example":["192.168.0.1","172.16.32.10"]},"server_type":{"description":"Type of server (Windows or Linux)","type":"integer","example":1},"is_load_balanced":{"description":"Is the environment load balanced","type":"boolean","example":true}}}]},"Parallels-RasEnvironmentResponseEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"server_url":{"description":"Url for parallels server","type":"string","format":"url","example":"https://appsanywhere.parallels.com"},"license_type":{"description":"The type of parallels-ras license - Monthly or Annual","type":"integer","example":1},"license_count":{"description":"The number of licenses","type":"integer","example":2}}}]},"AppsAnywhere-AnalyticsEnvironmentResponseEntity":{"allOf":[{"$ref":"#/components/schemas/EnvironmentRequestEntity"},{"type":"object","properties":{"appsanywhere_analytics_url":{"description":"url for AppsAnywhere-Analytics server","type":"string","format":"url","example":"https://appsanywhere.analytics.com"}}}]},"EnvironmentStates":{"type":"object","description":"The valid states of an environment","properties":{"environment_states":{"type":"object","properties":{"1":{"description":"The integer value for a Production environment","type":"string","example":"Production"},"2":{"description":"The integer value for a Test environment","type":"string","example":"Test"},"3":{"description":"The integer value for a POC environment","type":"string","example":"POC"},"4":{"description":"The integer value for a Legacy environment","type":"string","example":"Legacy"},"5":{"description":"The integer value for an Expired environment","type":"string","example":"Expired"},"6":{"description":"The integer value for a Decommissioned environment","type":"string","example":"Decommissioned"}}}}},"EnvironmentTypes":{"type":"object","properties":{"environment_types":{"items":{"type":"string"},"example":["appsanywhere","cloudpaging","appsanywhere-analytics","parallels-ras"]}}},"CloudpagingServerTypes":{"type":"object","properties":{"cloudpaging_server_types":{"type":"object","properties":{"1":{"description":"The integer value for a Windows server type","type":"string","example":"Windows"},"2":{"description":"The integer value for a Linux server type","type":"string","example":"Linux"}}}}},"AppsAnywhereServerTypes":{"type":"object","properties":{"appsanywhere_server_types":{"type":"object","properties":{"1":{"description":"integer value for server type","type":"string","example":"Windows"},"2":{"description":"integer value for server type","type":"string","example":"Linux"},"3":{"description":"integer value for server type","type":"string","example":"Appliance"}}}}},"CloudpagingLicenseTypes":{"type":"object","properties":{"cloudpaging_license_types":{"type":"object","properties":{"1":{"description":"The integer value for a Device license type","type":"string","example":"Device"},"2":{"description":"The integer value for a Site license type","type":"string","example":"Site"},"3":{"description":"The integer value for a User license type","type":"string","example":"User"}}}}},"ParallelsLicenseTypes":{"type":"object","properties":{"parallels_license_types":{"type":"object","properties":{"1":{"description":"The integer value for a Monthly license type","type":"string","example":"Monthly"},"2":{"description":"The integer value for an Annual license type","type":"string","example":"Annual"}}}}},"LicenseRenewalsBase":{"type":"object","properties":{"license_renewals":{"type":"array","items":{"$ref":"#/components/schemas/CloudpagingLicenseRenewalResponseEntity"}}}},"LicenseRenewalResponseBase":{"type":"object","properties":{"license_renewal":{"$ref":"#/components/schemas/CloudpagingLicenseRenewalResponseEntity"}}},"LicenseRenewalRequestBase":{"type":"object","properties":{"license_renewal":{"$ref":"#/components/schemas/CloudpagingLicenseRenewalRequestEntity"}}},"PaginatedLicenseRenewalBase":{"type":"object","properties":{"_total_items":{"description":"Total number of environments in the system.","type":"integer","example":5},"_page":{"description":"The current page of environments shown.","type":"integer","example":2},"_page_count":{"description":"Total number of pages.","type":"integer","example":3},"_links":{"$ref":"#/components/schemas/LicenseRenewalLinks"},"_embedded":{"$ref":"#/components/schemas/LicenseRenewalsBase"}}},"LicenseRenewalLinks":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/license-renewals?limit=2\u0026page=2"}}},"first":{"description":"The link to the first page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/license-renewals?limit=2\u0026page=1"}}},"prev":{"description":"The link to the previous page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/license-renewals?limit=2\u0026page=1"}}},"next":{"description":"The link to the next page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/license-renewals?limit=2\u0026page=3"}}},"last":{"description":"The link to the last page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/license-renewals?limit=2\u0026page=3"}}}}},"CloudpagingLicenseRenewalRequestEntity":{"type":"object","properties":{"license_expiry_date":{"description":"The date the new license expires","type":"string","example":"2021-01-01T00:00:00+0000"},"license_type":{"description":"The new cloudpaging license type","type":"integer","example":1},"seat_count":{"description":"Amount for new license type","type":"integer","example":2000}}},"CloudpagingLicenseRenewalResponseEntity":{"allOf":[{"$ref":"#/components/schemas/CloudpagingLicenseRenewalRequestEntity"},{"type":"object","properties":{"environment-id":{"description":"The environment ID","type":"string","example":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"},"_links":{"description":"Contains links to self and relative pages","type":"object","properties":{"self":{"description":"The link to the current page","type":"object","properties":{"href":{"type":"string","format":"url","example":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/cloudpaging/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509/license-renewal"}}}}}}}]}},"examples":{"Customers":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"customers":[{"id":"1270931c-1121-11ea-9183-9cb6d0bb3509","organization_id":"37dba58d-9dc5-49d8-b574-8d9a375ae033","company_id":1002773493,"name":"Lancaster University","primary_domain":"lancaster.ac.uk","alternative_domains":["lancastersu.co.uk"],"technical_contacts":[{"name":"Adam Willcock","email":"adam.willcock@software2.com"},{"name":"Adam Willcock2","email":"adam.willcock@software3.com"}],"appsanywhere_url":"http://appsanywhere.example.com","icon":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/1270931c-1121-11ea-9183-9cb6d0bb3509"}}}]}}},"CustomerResponse":{"value":{"customer":{"id":"1270931c-1121-11ea-9183-9cb6d0bb3509","organization_id":"37dba58d-9dc5-49d8-b574-8d9a375ae033","company_id":1002773493,"name":"Lancaster University","primary_domain":"lancaster.ac.uk","alternative_domains":["lancastersu.co.uk"],"technical_contacts":[{"name":"Adam Willcock","email":"adam.willcock@software2.com"},{"name":"Adam Willcock2","email":"adam.willcock@software3.com"}],"appsanywhere_url":"http://appsanywhere.example.com","icon":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/1270931c-1121-11ea-9183-9cb6d0bb3509"}}}}},"CustomerRequest":{"value":{"customer":{"organization_id":"37dba58d-9dc5-49d8-b574-8d9a375ae033","company_id":1002773493,"name":"Lancaster University","primary_domain":"lancaster.ac.uk","alternative_domains":["lancastersu.co.uk"],"technical_contacts":[{"name":"Adam Willcock","email":"adam.willcock@software2.com"},{"name":"Adam Willcock2","email":"adam.willcock@software3.com"}],"appsanywhere_url":"http://appsanywhere.example.com","icon":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png"}}},"CustomerIconResponse":{"value":{"icon":{"path":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/images/customer/icons/0f8b0f9c-16b7-11ea-ba42-9cb6d0bb3509.png"}}},"CustomerIconRequest":{"value":{"icon":{"data":"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABaFBMVEUAAAB0///////e///j///w8vTx///f4uT/9fbl///p///W+f/6+PT87NX86Mr86Mr86cv78eD4+/7o///S///5///84bb7xXP77NT59vf52t75ztP61dn7z7r83a/////+///8z9T826zq9PDL6NzG6NrW2tL83Ky04M2g2MD826v837Sy38z7zon78ODs9fLb7+bb7ubc7+fy9vT65uj54eP79/X78eD78N778OD69u/0+f77vV76tk76tlD7x6L7x4D6sEL6rz76sEH0cX7yX23yX27yXm7yYHH4qar7wmv6rj36rz/qnaLyWGjxT1/xTFz1h5H8yH76rjxEs4M6r302r3uLy671f4vxTV7xUGDxTV0oqHEmp28ipW1vwp70hpEnp3Alpm4hpWxvwp30hZDxS1zxTl71iJH8x3z6rTpRuIxPt4pOt4qe07v3l6DzbnvzcH30dIH6vLv8zYX7vWD7vmL////2UGm0AAAAPHRSTlMAAAAAAAAAAAABAwFDna2srIEeAQEs3f6uL5isxv3yAgyz+Fils/H45vj48vj7o3+Dg4ODg4ODg4OCXhS/Nns1AAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+AIEREYFmluLlYAAACtSURBVBjTY2AgEjAycXKBADMLhM/KzcPLx8/PLyAoBOQxsQmLiIrZ2NoBgbgEAwM7h6SUtIysvYOjk5OTsxwDk7yCoourm7uHp5e3j4+zEoOyiqqar5+/f0BgUDBQQJ1BIyQ0LDwiMioaJqAZExsXnxANE9Bi0ExMSk5JTUtPy8jM8vZ21GbQyc7JzcsvKCwqLiktK9PVY9A3MDQyNjE1NTEzt7CwtLIm1m9IAADBriYFTrEpZgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wOC0xN1QxNzoyNDoyMiswMjowMLU+C7YAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDgtMTdUMTc6MjQ6MjIrMDI6MDDEY7MKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAABJRU5ErkJggg==","checksum":"52d054c243db85d21b636390a5d8a741","mime_type":"image/png"}}},"HubspotCustomers":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"customers":[{"company_id":123456789,"name":"Sheffield Hallam","domain":"shu.ac.uk","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot/id/123456789"}}}]}}},"HubspotCustomer":{"value":{"customer":{"company_id":123456789,"name":"Sheffield Hallam","domain":"shu.ac.uk","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/customers/hubspot/id/123456789"}}}}},"Environments":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"environments":[{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"appsanywhere","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3509","status":3,"version":"1.4.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"MP","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"IM","notes":"This customer is looking to renew their license soon","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}]}}},"EnvironmentResponse":{"value":{"environment":{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"appsanywhere","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3509","status":3,"version":"1.4.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"MP","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"IM","notes":"This customer is looking to renew their license soon","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}}},"AppsAnywhereEnvironments":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"environments":[{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"appsanywhere","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3509","status":3,"version":"1.4.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AA","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AA","notes":"This customer is looking to renew their license soon","instance_id":"da38c8d921","appsanywhere_url":"http://appsanywhere.example.com","is_patched":false,"is_load_balanced":false,"server_count":0,"zend_version":"9.8.1","server_type":1,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}]}}},"CloudpagingEnvironments":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"environments":[{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"cloudpaging","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3134","status":3,"version":"9.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"CP","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"CP","notes":"This customer is looking to renew their Cloudpaging license soon","admin_url":"http://appsanywhere.admin.com","license_type":1,"seat_count":4000,"license_server_count":2,"paging_server_count":4,"database_ips":["192.168.0.1","172.16.0.1"],"server_type":1,"is_load_balanced":true,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/cloudpaging/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}]}}},"Parallels-RasEnvironments":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"environments":[{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"parallels-ras","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3136","status":1,"version":"7.3","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"PR","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"PR","notes":"This customer is looking to renew their Parallels license soon","server_url":"http://appsanywhere.parallels.com","license_type":1,"license_count":2,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/parallels-ras/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}]}}},"AppsAnywhere-AnalyticsEnvironments":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"environments":[{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3324","type":"appsanywhere-analytics","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3135","status":2,"version":"5.7","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AL","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AL","notes":"Analytics engine online","appsanywhere_analytics_url":"http://appsanywhere.analytics.com","explorer_count":2,"viewer_count":3,"license_key":"BIU8O7BV8YVE7V87","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere-analytics/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}]}}},"AppsAnywhereEnvironmentResponse":{"value":{"environment":{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"appsanywhere","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3509","status":3,"instance_id":"da38c8d921","version":"1.4.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AA","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AA","notes":"This customer is looking to renew their license soon","appsanywhere_url":"http://appsanywhere.example.com","is_patched":false,"is_load_balanced":false,"server_count":0,"zend_version":"9.8.1","server_type":1,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}}},"CloudpagingEnvironmentResponse":{"value":{"environment":{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"cloudpaging","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3134","status":3,"version":"9.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"CP","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"CP","notes":"This customer is looking to renew their Cloudpaging license soon","admin_url":"http://appsanywhere.admin.com","license_type":1,"seat_count":4000,"license_server_count":2,"paging_server_count":4,"database_ips":["192.168.0.1","172.16.0.1"],"server_type":1,"is_load_balanced":true,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/cloudpaging/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}}},"Parallels-RasEnvironmentResponse":{"value":{"environment":{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3509","type":"parallels-ras","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3136","status":1,"version":"7.3","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"PR","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"PR","notes":"This customer is looking to renew their Parallels license soon","server_url":"http://appsanywhere.parallels.com","license_type":1,"license_count":2,"_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/parallels-ras/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}}},"AppsAnywhere-AnalyticsEnvironmentResponse":{"value":{"environment":{"id":"25ea5e6e-3872-11ea-a33e-9cb6d0bb3324","type":"appsanywhere-analytics","customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3135","status":2,"version":"5.7","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AL","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AL","notes":"Analytics engine online","appsanywhere_analytics_url":"http://appsanywhere.analytics.com","explorer_count":2,"viewer_count":3,"license_key":"BIU8O7BV8YVE7V87","_links":{"self":{"href":"https://15306700-review-develop-3zknud.dok8s.appsanywhere.dev/v1/environments/appsanywhere-analytics/id/25ea5e6e-3872-11ea-a33e-9cb6d0bb3509"}}}}},"AppsAnywhereEnvironmentRequest":{"value":{"environment":{"customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3509","status":3,"instance_id":"da38c8d921","version":"1.4.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AA","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AA","notes":"This customer is looking to renew their license soon","appsanywhere_url":"http://appsanywhere.example.com","is_patched":false,"is_load_balanced":false,"server_count":0,"zend_version":"9.8.1","server_type":1}}},"CloudpagingEnvironmentRequest":{"value":{"environment":{"customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3134","status":3,"version":"9.1","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"CP","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"CP","notes":"This customer is looking to renew their Cloudpaging license soon","admin_url":"http://appsanywhere.admin.com","license_type":1,"seat_count":4000,"license_server_count":2,"paging_server_count":4,"database_ips":["192.168.0.1","172.16.0.1"],"server_type":1,"is_load_balanced":true}}},"Parallels-RasEnvironmentRequest":{"value":{"environment":{"customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3136","status":1,"version":"7.3","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"PR","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"PR","notes":"This customer is looking to renew their Parallels license soon","server_url":"http://appsanywhere.parallels.com","license_type":1,"license_count":2}}},"AppsAnywhere-AnalyticsEnvironmentRequest":{"value":{"environment":{"customer_id":"0eed5a18-3868-11ea-869f-9cb6d0bb3135","status":2,"version":"5.7","license_expiry_date":"2021-01-01T00:00:00+0000","installed_on":"2020-01-01T13:46:52+0000","installer_initials":"AL","updated_on":"2020-03-07T15:38:06+0000","updater_initials":"AL","notes":"This customer is looking to renew their Analytics license soon","appsanywhere_analytics_url":"http://appsanywhere.analytics.com","explorer_count":2,"viewer_count":3,"license_key":"BIU8O7BV8YVE7V87"}}},"EnvironmentTypes":{"value":{"environment_types":["appsanywhere","appsanywhere-analytics","cloudpaging","parallels-ras"]}},"EnvironmentStatusTypes":{"value":{"environment_states":{"1":"Production","2":"Test","3":"POC","4":"Legacy","5":"Expired","6":"Decommissioned"}}},"CloudpagingLicenseTypes":{"value":{"cloudpaging_license_types":{"1":"Device","2":"Site","3":"User"}}},"Parallels-RasLicenseTypes":{"value":{"parallels_license_types":{"1":"Monthly","2":"Annual"}}},"CloudpagingServerTypes":{"value":{"cloudpaging_server_types":{"1":"Windows","2":"Linux"}}},"AppsAnywhereServerTypes":{"value":{"appsanywhere_server_types":{"1":"Windows","2":"Linux","3":"Appliance"}}},"CloudpagingLicenseRenewals":{"value":{"_total_items":1,"_page":1,"_page_count":1,"_links":{"self":{"href":"http://localhost:8080/v1/environments/all?limit=500\u0026page=1"}},"_embedded":{"license_renewals":[{"environment_id":"0c3cba32-4d91-11ea-a1c1-9cb6d0bb3509","license_expiry_date":"2021-01-01T00:00:00+0000","license_type":1,"seat_count":2000,"_links":{"self":{"href":"http://localhost:8080/v1/environments/cloudpaging/id/0c3cba32-4d91-11ea-a1c1-9cb6d0bb3509/license-renewal"}}}]}}},"CloudpagingLicenseRenewalResponse":{"value":{"license_renewal":{"environment_id":"0c3cba32-4d91-11ea-a1c1-9cb6d0bb3509","license_expiry_date":"2021-01-01T00:00:00+0000","license_type":1,"seat_count":2000,"_links":{"self":{"href":"http://localhost:8080/v1/environments/cloudpaging/id/0c3cba32-4d91-11ea-a1c1-9cb6d0bb3509/license-renewal"}}}}},"CloudpagingLicenseRenewalRequest":{"value":{"license_renewal":{"license_expiry_date":"2021-01-01T00:00:00+0000","license_type":2,"seat_count":2000}}}}}}