Licenses
Get assignment types
Returns a collection of assignment types.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "assignmentType": 0,
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "name": "Organization"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license assignments to computers
Returns a collection of a license's assignments to computers.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add license assignment to computer
Creates a license assignment to computer.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
computerId | string <guid> The unique ID of the computer. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
{- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace license assignments to computers
Replaces the given license’s assignments to computers.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
computerId | string <guid> The unique ID of the computer. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
[- {
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
]
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Delete license assignments to computers
Removes the given license’s assignments to computers.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignment to computer
Returns the details of the given license assignment to computer.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Replace license assignment to computer
Replaces the given license assignment to computer.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Request Body schema: application/json
computerId | string <guid> The unique ID of the computer. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
{- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Delete license assignment to computer
Removes the given license assignment to computer.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignments to datacenters
Returns a collection of a license's assignments to datacenters.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add license assignment to datacenter
Creates a license assignment to datacenter.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
datacenterId | string <guid> The unique ID of the DCC. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
{- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace license assignments to datacenters
Replaces the given license’s assignments to datacenters.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
datacenterId | string <guid> The unique ID of the DCC. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
[- {
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
]
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Delete license assignments to datacenters
Removes the given license’s assignments to datacenters.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignment to datacenter
Returns the details of the given license assignment to datacenter.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Replace license assignment to datacenter
Replaces the given license assignment to datacenter.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Request Body schema: application/json
datacenterId | string <guid> The unique ID of the DCC. |
quantity | integer <int32> The assigned quantity of licenses. |
virtualMachines | Array of strings or null <guid> [ items <guid > ] The list of virtual machines. |
Responses
Request samples
- Payload
{- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "numberOfSupportedVirtualMachines": 1,
- "hasVmUseRights": true,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}, - "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
Delete license assignment to datacenter
Removes the given license assignment to datacenter.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignments summary
Returns the details of a license's assignments.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasOrganizationAssignment": true,
- "hasComputerAssignment": true,
- "hasUserAssignment": true,
- "hasSiteAssignment": true
}
Get license assignments to organizations
Returns a collection of a license's assignments to organizations.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "isAutoAllocated": true
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add license assignment to organization
Creates a license assignment to organization.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
organizationId | string <guid> The unique ID of the organization. |
quantity | integer <int32> The assigned quantity of licenses. |
Responses
Request samples
- Payload
{- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace license assignments to organizations
Replaces the given license’s assignments to organizations.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
organizationId | string <guid> The unique ID of the organization. |
quantity | integer <int32> The assigned quantity of licenses. |
Responses
Request samples
- Payload
[- {
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
]
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "isAutoAllocated": true
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Delete license assignments to organizations
Removes the given license’s assignments to organizations.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignment to organization
Returns the details of the given license assignment to organization.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "isAutoAllocated": true
}
Replace license assignment to organization
Replaces the given license assignment to organization.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Request Body schema: application/json
organizationId | string <guid> The unique ID of the organization. |
quantity | integer <int32> The assigned quantity of licenses. |
Responses
Request samples
- Payload
{- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "isAutoAllocated": true
}
Delete license assignment to organization
Removes the given license assignment to organization.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignment to site
Returns the details of the given license’s assignment to site.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
Add license assignment to site
Creates a license assignment to site.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
organizationId | string <guid> The unique ID of the organization. |
Responses
Request samples
- Payload
{- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace license assignment to site
Replaces the given license assignment to site.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Request Body schema: application/json
organizationId | string <guid> The unique ID of the organization. |
Responses
Request samples
- Payload
{- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Delete license assignment to site
Removes the given license assignment to site.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignments to users
Returns a collection of a license's assignments to users.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add license assignment to user
Creates a license assignment to user.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
userId | string <guid> The unique ID of the user. |
Responses
Request samples
- Payload
{- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace license assignments to users
Replaces the given license’s assignments to users.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
userId | string <guid> The unique ID of the user. |
Responses
Request samples
- Payload
[- {
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
]
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Delete license assignments to users
Removes the given license’s assignment to users.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license assignment to user
Returns the details of the given license assignment to user.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "invalidAssignmentReasons": {
- "0": "OverAssignment"
}
}
Delete license assignment to user
Removes the given license assignment to user.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
assignmentId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the assignment. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get compliance allocation summary
Returns a collection of compliance allocations for an application.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "requirement": 1,
- "coverage": 1,
- "compliance": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get compliance summary
Returns a collection of application compliance summary.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "availableLicenses": 1,
- "compliance": 1,
- "licensesPurchased": 1,
- "incompleteLicenses": 1,
- "expiredSubscriptionLicenses": 1,
- "invalidAssignments": 1,
- "unassigned": 1,
- "assignedNamedUsers": 1,
- "siteLicenses": 1,
- "downgradesGiven": 1,
- "downgradesReceived": 1,
- "upgradesGiven": 1,
- "upgradesReceived": 1,
- "crossPlatformGiven": 1,
- "crossPlatformReceived": 1,
- "crossEditionGiven": 1,
- "crossEditionReceived": 1,
- "initialRequirement": 1,
- "includedInBundle": 1,
- "outsideMetricPeriod": 1,
- "secondaryUseRightsDesktopLaptop": 1,
- "secondaryUseRightsDevice": 1,
- "extendedCoverageForDcc": 1,
- "extendedCoverageForHosts": 1,
- "multipleVersionEdition": 1,
- "virtualDesktopInfrastructure": 1,
- "minimumRequirement": 1,
- "coreFactor": 1,
- "physicalHost": 1,
- "licenseRequirement": 1,
- "computerAppExclusions": 1,
- "windowsServer": 1,
- "sqlServer": 1,
- "otherMetricCoverage": 1,
- "siteCoverage": 1,
- "vmCoverage": 1,
- "licenseStacking": 1,
- "namedUserCoverage": 1,
- "licensingOtherMetrics": 1,
- "virtualDesktopAccess": 1,
- "totalCoverage": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get compliance usage summary
Returns a collection of application compliance usage summary.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "licenseMetricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "otherMetricCoverage": 1,
- "mainCoverage": 1,
- "isPartial": true,
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license costs
Returns a collection of license costs.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseQuantity": 1,
- "licensePurchaseCost": 1000,
- "currentMaintenanceCost": 1000,
- "accumulatedMaintenanceCost": 1000,
- "currentSupportCost": 1000,
- "accumulatedSupportCost": 1000,
- "totalCost": 1000,
- "currency": "USD"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get a license costs for an organization
Returns the details of a license costs for an organization.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
organizationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the organization. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseQuantity": 1,
- "licensePurchaseCost": 1000,
- "currentMaintenanceCost": 1000,
- "accumulatedMaintenanceCost": 1000,
- "currentSupportCost": 1000,
- "accumulatedSupportCost": 1000,
- "totalCost": 1000,
- "currency": "USD"
}
Get a license costs summary
Returns the details of a license costs.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "purchaseCost": 1000,
- "currentMaintenanceCost": 1000,
- "accumulatedMaintenanceCost": 1000,
- "currentSupportCost": 1000,
- "accumulatedSupportCost": 1000,
- "totalCost": 1000,
- "averageCostPerLicensePurchase": 100,
- "currency": "USD"
}
Get licenses extended coverage types
Returns a collection of extended coverage types.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "name": "Passive"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get extended coverages
Returns a collection of extended coverages.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "parentComputerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "isParentComputerDatacenter": true,
- "extendedComputerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coveredApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "reason": "Disaster",
- "reasonDescription": "The recovery reason description"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get extended coverage
Returns the details of an extended coverage.
Authorizations:
path Parameters
coverageId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the coverage. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "parentComputerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "isParentComputerDatacenter": true,
- "extendedComputerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coveredApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "reason": "Disaster",
- "reasonDescription": "The recovery reason description"
}
Get license entitlements
Returns a collection of license entitlements.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "assignmentType": "Organization",
- "quantity": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get computers applications entitlements
Returns a collection of computers and applications entitlements.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "entitlementStateId": "6fb32edf-1d45-44e3-a55d-6df6068c0c08"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license entitlement states
Returns a collection of entitlements states.
Authorizations:
query Parameters
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "name": "Partially covered",
- "description": "The virtual machine is licensed by the host it is running on."
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get user license entitlements
Returns a collection of user entitlements.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "entitlementStateId": "6fb32edf-1d45-44e3-a55d-6df6068c0c08"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get licenses
Returns a collection of licenses.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "contractId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "quantity": 1,
- "initialQuantity": 1,
- "mediaStorage": "path/to/file",
- "licenseProofLocation": "path/to/licenseproof",
- "invoiceReference": "INV12345",
- "vendor": "Microsoft",
- "externalId": "EXT12345",
- "productDescription": "MSDN",
- "isSubscription": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isUpgrade": true,
- "isDowngrade": true,
- "isIncomplete": true,
- "incompleteReasons": {
- "0": "MissingApplication"
}, - "updatedDate": "2024-01-01T00:00:00Z",
- "createdDate": "2024-01-01T00:00:00Z",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "activeMaintenanceCost": 1000,
- "totalMaintenanceCost": 1000,
- "activeSupportCost": 1000,
- "totalSupportCost": 1000,
- "totalLicenseCost": 1000,
- "upgradedLicenseCount": 1000,
- "autoAllocateOnce": true,
- "isAutoAllocated": true,
- "maintenanceAccordingToAgreement": true,
- "skuId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgrades": [
- {
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "upgradedLicenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgradedQuantity": 1
}
], - "status": "Active",
- "archivedDate": "2024-01-01T00:00:00Z"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add license
Creates a license.
Authorizations:
Request Body schema: application/json
agreementId | string or null <guid> The unique ID of the agreement. | ||||||||||||||||
applicationId | string or null <guid> The unique ID of the application. | ||||||||||||||||
autoAllocateOnce | boolean or null
| ||||||||||||||||
assignmentTypeId | string or null <guid> The unique ID of the assignment type. | ||||||||||||||||
externalId | string or null The external ID. | ||||||||||||||||
invoiceReference | string or null The invoice reference. | ||||||||||||||||
isAutoAllocated | boolean or null
| ||||||||||||||||
isCrossEdition | boolean
| ||||||||||||||||
isCrossPlatform | boolean
| ||||||||||||||||
isDowngrade | boolean
| ||||||||||||||||
isSubscription | boolean or null
| ||||||||||||||||
isUpgrade | boolean
| ||||||||||||||||
quantity | integer or null <int32> The quantity. | ||||||||||||||||
licenseKeys | string or null The license keys. | ||||||||||||||||
licenseProofLocation | string or null The license proof location. | ||||||||||||||||
maintenanceAccordingToAgreement | boolean
| ||||||||||||||||
mediaStorage | string or null The media storage. | ||||||||||||||||
metricId | string or null <guid> The unique ID of the metric. | ||||||||||||||||
notes | string or null The notes. | ||||||||||||||||
organizationId | string <guid> The unique ID of the organization. | ||||||||||||||||
productDescription | string or null The product description. | ||||||||||||||||
purchaseDate | string <date-time> The purchase date. | ||||||||||||||||
purchaseValue | number or null <decimal> The purchase value. | ||||||||||||||||
purchaseCurrency | string or null The purchase currency. | ||||||||||||||||
sku | string or null The stock keeping unit. | ||||||||||||||||
subscriptionValidFrom | string or null <date-time> The subscription valid from date. | ||||||||||||||||
subscriptionValidTo | string or null <date-time> The subscription valid to date. | ||||||||||||||||
vendor | string or null The vendor. | ||||||||||||||||
Array of objects or null (LicenseUpgradeRequest) The license upgrades. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (MaintenancePeriodRequest) The maintenance and support periods. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (ComputerAssignmentRequest) The computer assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (DatacenterAssignmentRequest) The datacenter assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (OrganizationAssignmentRequest) The organization assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (UserAssignmentRequest) The user assignments. | |||||||||||||||||
Array
| |||||||||||||||||
(SiteAssignmentRequest (object or null)) The site assignment. | |||||||||||||||||
One of
| |||||||||||||||||
hasVmUseRights | boolean or null
| ||||||||||||||||
numberOfSupportedVirtualMachines | integer or null <int32> The number of VM supported by license. |
Responses
Request samples
- Payload
{- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "autoAllocateOnce": true,
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "externalId": "EXT12345",
- "invoiceReference": "INV12345",
- "isAutoAllocated": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isDowngrade": true,
- "isSubscription": true,
- "isUpgrade": true,
- "quantity": 1,
- "licenseKeys": "69658998-12-12031517-23",
- "licenseProofLocation": "path/to/licenseproof",
- "maintenanceAccordingToAgreement": true,
- "mediaStorage": "path/to/file",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "notes": "Notes",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "productDescription": "MSDN",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "sku": "ABC-12345-S-BL",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "vendor": "Microsoft",
- "upgrades": [
- {
- "upgradedLicenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgradedQuantity": 1,
- "quantity": 1
}
], - "maintenancePeriods": [
- {
- "agreementPeriodId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000
}
], - "computerAssignments": [
- {
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "datacenterAssignments": [
- {
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "organizationAssignments": [
- {
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
], - "userAssignments": [
- {
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "siteAssignment": {
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}, - "hasVmUseRights": true,
- "numberOfSupportedVirtualMachines": 3
}
Response samples
- 201
- 400
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "autoAllocateOnce": true,
- "isAutoAllocated": true,
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "quantity": 1,
- "licenseKeys": "69658998-12-12031517-23",
- "mediaStorage": "path/to/file",
- "licenseProofLocation": "path/to/licenseproof",
- "invoiceReference": "INV12345",
- "vendor": "Microsoft",
- "notes": "Notes",
- "externalId": "EXT12345",
- "sku": "ABC-12345-S-BL",
- "productDescription": "MSDN",
- "isSubscription": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isUpgrade": true,
- "isDowngrade": true,
- "isIncomplete": true,
- "incompleteReasons": {
- "0": "MissingApplication"
}, - "contractId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "updatedDate": "2024-01-01T00:00:00Z",
- "createdDate": "2024-01-01T00:00:00Z",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "upgradedLicenseCount": 1,
- "maintenanceAccordingToAgreement": true,
- "skuId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasVmUseRights": true,
- "numberOfSupportedVirtualMachines": 100,
- "status": "Active",
- "archivedDate": "2024-01-01T00:00:00Z"
}
Get license
Returns the details of the given license.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "autoAllocateOnce": true,
- "isAutoAllocated": true,
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "quantity": 1,
- "licenseKeys": "69658998-12-12031517-23",
- "mediaStorage": "path/to/file",
- "licenseProofLocation": "path/to/licenseproof",
- "invoiceReference": "INV12345",
- "vendor": "Microsoft",
- "notes": "Notes",
- "externalId": "EXT12345",
- "sku": "ABC-12345-S-BL",
- "productDescription": "MSDN",
- "isSubscription": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isUpgrade": true,
- "isDowngrade": true,
- "isIncomplete": true,
- "incompleteReasons": {
- "0": "MissingApplication"
}, - "contractId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "updatedDate": "2024-01-01T00:00:00Z",
- "createdDate": "2024-01-01T00:00:00Z",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "upgradedLicenseCount": 1,
- "maintenanceAccordingToAgreement": true,
- "skuId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasVmUseRights": true,
- "numberOfSupportedVirtualMachines": 100,
- "status": "Active",
- "archivedDate": "2024-01-01T00:00:00Z"
}
Replace license
Replaces the given license.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
agreementId | string or null <guid> The unique ID of the agreement. | ||||||||||||||||
applicationId | string or null <guid> The unique ID of the application. | ||||||||||||||||
autoAllocateOnce | boolean or null
| ||||||||||||||||
assignmentTypeId | string or null <guid> The unique ID of the assignment type. | ||||||||||||||||
externalId | string or null The external ID. | ||||||||||||||||
invoiceReference | string or null The invoice reference. | ||||||||||||||||
isAutoAllocated | boolean or null
| ||||||||||||||||
isCrossEdition | boolean
| ||||||||||||||||
isCrossPlatform | boolean
| ||||||||||||||||
isDowngrade | boolean
| ||||||||||||||||
isSubscription | boolean or null
| ||||||||||||||||
isUpgrade | boolean
| ||||||||||||||||
quantity | integer or null <int32> The quantity. | ||||||||||||||||
licenseKeys | string or null The license keys. | ||||||||||||||||
licenseProofLocation | string or null The license proof location. | ||||||||||||||||
maintenanceAccordingToAgreement | boolean
| ||||||||||||||||
mediaStorage | string or null The media storage. | ||||||||||||||||
metricId | string or null <guid> The unique ID of the metric. | ||||||||||||||||
notes | string or null The notes. | ||||||||||||||||
organizationId | string <guid> The unique ID of the organization. | ||||||||||||||||
productDescription | string or null The product description. | ||||||||||||||||
purchaseDate | string <date-time> The purchase date. | ||||||||||||||||
purchaseValue | number or null <decimal> The purchase value. | ||||||||||||||||
purchaseCurrency | string or null The purchase currency. | ||||||||||||||||
sku | string or null The stock keeping unit. | ||||||||||||||||
subscriptionValidFrom | string or null <date-time> The subscription valid from date. | ||||||||||||||||
subscriptionValidTo | string or null <date-time> The subscription valid to date. | ||||||||||||||||
vendor | string or null The vendor. | ||||||||||||||||
Array of objects or null (LicenseUpgradeRequest) The license upgrades. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (MaintenancePeriodRequest) The maintenance and support periods. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (ComputerAssignmentRequest) The computer assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (DatacenterAssignmentRequest) The datacenter assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (OrganizationAssignmentRequest) The organization assignments. | |||||||||||||||||
Array
| |||||||||||||||||
Array of objects or null (UserAssignmentRequest) The user assignments. | |||||||||||||||||
Array
| |||||||||||||||||
(SiteAssignmentRequest (object or null)) The site assignment. | |||||||||||||||||
One of
| |||||||||||||||||
hasVmUseRights | boolean or null
| ||||||||||||||||
numberOfSupportedVirtualMachines | integer or null <int32> The number of VM supported by license. |
Responses
Request samples
- Payload
{- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "autoAllocateOnce": true,
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "externalId": "EXT12345",
- "invoiceReference": "INV12345",
- "isAutoAllocated": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isDowngrade": true,
- "isSubscription": true,
- "isUpgrade": true,
- "quantity": 1,
- "licenseKeys": "69658998-12-12031517-23",
- "licenseProofLocation": "path/to/licenseproof",
- "maintenanceAccordingToAgreement": true,
- "mediaStorage": "path/to/file",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "notes": "Notes",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "productDescription": "MSDN",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "sku": "ABC-12345-S-BL",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "vendor": "Microsoft",
- "upgrades": [
- {
- "upgradedLicenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgradedQuantity": 1,
- "quantity": 1
}
], - "maintenancePeriods": [
- {
- "agreementPeriodId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000
}
], - "computerAssignments": [
- {
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "datacenterAssignments": [
- {
- "datacenterId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "virtualMachines": {
- "0": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
}
], - "organizationAssignments": [
- {
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1
}
], - "userAssignments": [
- {
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "siteAssignment": {
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}, - "hasVmUseRights": true,
- "numberOfSupportedVirtualMachines": 3
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "assignmentTypeId": "8e5d8f69-c818-4575-9a91-aebae9a9eacc",
- "autoAllocateOnce": true,
- "isAutoAllocated": true,
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "purchaseDate": "2024-01-01T00:00:00Z",
- "purchaseValue": 1000,
- "purchaseCurrency": "USD",
- "quantity": 1,
- "licenseKeys": "69658998-12-12031517-23",
- "mediaStorage": "path/to/file",
- "licenseProofLocation": "path/to/licenseproof",
- "invoiceReference": "INV12345",
- "vendor": "Microsoft",
- "notes": "Notes",
- "externalId": "EXT12345",
- "sku": "ABC-12345-S-BL",
- "productDescription": "MSDN",
- "isSubscription": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "isUpgrade": true,
- "isDowngrade": true,
- "isIncomplete": true,
- "incompleteReasons": {
- "0": "MissingApplication"
}, - "contractId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "updatedDate": "2024-01-01T00:00:00Z",
- "createdDate": "2024-01-01T00:00:00Z",
- "subscriptionValidFrom": "2024-01-01T00:00:00Z",
- "subscriptionValidTo": "2025-01-01T00:00:00Z",
- "upgradedLicenseCount": 1,
- "maintenanceAccordingToAgreement": true,
- "skuId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasVmUseRights": true,
- "numberOfSupportedVirtualMachines": 100,
- "status": "Active",
- "archivedDate": "2024-01-01T00:00:00Z"
}
Delete license
Removes the given license.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Bulk update licenses
Modifies a collection of licenses.
Authorizations:
Request Body schema: application/json
filter | string For more information on the available operators and which data types those operators work on, see Filter API call results. | ||||||||
scope required | string
The scope of the update operation. | ||||||||
ids | Array of strings <uuid> [ items <uuid > ] The IDs that the operation is performed on. | ||||||||
required | object (LicenseUpdate) The update to be applied to all IDs. | ||||||||
|
Responses
Request samples
- Payload
{- "filter": "id -eq '49cdd99f-bc16-40f9-ad40-48f12182fb30'",
- "scope": "Only",
- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "body": {
- "status": "Archived"
}
}
Response samples
- 200
- 400
- 500
{- "successCount": 10,
- "failedCount": 10,
- "failed": {
- "0": "e192ea5e-363c-47e4-82e3-d2587afada8c"
}, - "failureReason": "These licenses are used as base licenses."
}
Get maintenance and support periods
Returns a collection of maintenance and support periods.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementPeriodId": "17597d2f-ae4b-4505-a85d-52a78421873c",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000,
- "purchaseCurrency": "USD"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license's maintenance and support periods
Returns a collection of maintenance and support periods.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementPeriodId": "17597d2f-ae4b-4505-a85d-52a78421873c",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000,
- "purchaseCurrency": "USD"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Add maintenance and support period
Creates a maintenance and support period.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
agreementPeriodId | string or null <guid> The unique ID of the agreement period. |
validFrom | string or null <date-time> The valid form date. |
validTo | string or null <date-time> The valid to date. |
hasUpgradeRights | boolean
|
invoiceReference | string or null The invoice reference. |
notes | string or null The notes. |
maintenanceCost | number or null <decimal> The maintenance cost. |
supportCost | number or null <decimal> The support cost. |
Responses
Request samples
- Payload
{- "agreementPeriodId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000
}
Response samples
- 201
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string"
}
Replace maintenance and support periods
Replaces the given license’s maintenance and support periods.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Request Body schema: application/json
agreementPeriodId | string or null <guid> The unique ID of the agreement period. |
validFrom | string or null <date-time> The valid form date. |
validTo | string or null <date-time> The valid to date. |
hasUpgradeRights | boolean
|
invoiceReference | string or null The invoice reference. |
notes | string or null The notes. |
maintenanceCost | number or null <decimal> The maintenance cost. |
supportCost | number or null <decimal> The support cost. |
Responses
Request samples
- Payload
[- {
- "agreementPeriodId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000
}
]
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "agreementPeriodId": "17597d2f-ae4b-4505-a85d-52a78421873c",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000,
- "purchaseCurrency": "USD"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Delete maintenance and support periods
Removes the given license’s maintenance and support periods.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Replace maintenance and support period
Replaces the given maintenance and support period.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
periodId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the maintenance and support period. |
Request Body schema: application/json
agreementPeriodId | string or null <guid> The unique ID of the agreement period. |
validFrom | string or null <date-time> The valid form date. |
validTo | string or null <date-time> The valid to date. |
hasUpgradeRights | boolean
|
invoiceReference | string or null The invoice reference. |
notes | string or null The notes. |
maintenanceCost | number or null <decimal> The maintenance cost. |
supportCost | number or null <decimal> The support cost. |
Responses
Request samples
- Payload
{- "agreementPeriodId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "invoiceReference": "INV12345",
- "notes": "Notes",
- "maintenanceCost": 1000,
- "supportCost": 1000
}
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "string",
- "validFrom": "2024-01-01T00:00:00Z",
- "validTo": "2025-01-01T00:00:00Z",
- "hasUpgradeRights": true,
- "maintenanceCost": 1000,
- "supportCost": 1000,
- "purchaseCurrency": "USD",
- "invoiceReference": "INV12345",
- "notes": "Notes"
}
Delete maintenance and support period
Removes the given maintenance and support period.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
periodId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the maintenance and support period. |
Responses
Response samples
- 400
- 404
- 500
{- "error": {
- "code": 400,
- "message": "Bad Request: Your request is invalid or improperly formed. Consequently, the API server could not understand your request."
}
}
Get license policy fields
Returns a collection of license policy fields.
Authorizations:
path Parameters
policyId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the policy. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "name": "InvoiceReference",
- "description": "InvoiceReference",
- "isRequired": true,
- "isComboBox": true,
- "isEditingAllowed": true,
- "listItems": {
- "0": "Item"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license policy field details
Returns the details of a license policy field.
Authorizations:
path Parameters
policyId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the policy. |
fieldId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the policy field. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "name": "InvoiceReference",
- "description": "InvoiceReference",
- "isRequired": true,
- "isComboBox": true,
- "isEditingAllowed": true,
- "listItems": {
- "0": "Item"
}
}
Get license policies
Returns a collection of license policies.
Authorizations:
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license policy details
Returns the details of a license policy.
Authorizations:
path Parameters
policyId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the policy. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
Get computer license tracking
Returns a collection of application license tracking for a given computer.
Authorizations:
path Parameters
computerId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the computer. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "primaryUseRights": {
- "0": "NamedComputer"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get computer license tracking for a given application
Returns a collection of computer license tracking.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coverageTrait": 1,
- "initialRequirement": 1,
- "requirement": 1,
- "receivedCoverage": 1,
- "primaryUseRights": {
- "0": "NamedComputer"
}, - "fullUseRights": {
- "0": "NamedComputer",
- "1": "UpgradeRights"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license tracking for a computer
Returns a collection of application license tracking for a given computer.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
computerId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the computer. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coverageTrait": 1,
- "initialRequirement": 1,
- "requirement": 1,
- "receivedCoverage": 1,
- "primaryUseRights": {
- "0": "NamedComputer"
}, - "fullUseRights": {
- "0": "NamedComputer",
- "1": "UpgradeRights"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license tracking details
Returns a collection of license tracking for an application.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasComputerTracking": true,
- "hasUserTracking": true
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get user license tracking for application
Returns a collection of users license tracking.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coverageTrait": 1,
- "initialRequirement": 1,
- "receivedCoverage": 1,
- "primaryUseRights": {
- "0": "NamedComputer"
}, - "fullUseRights": {
- "0": "NamedComputer",
- "1": "UpgradeRights"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get user license tracking for application
Returns a collection of license tracking for a given user.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
userId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the user. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "applicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "coverageTrait": 1,
- "initialRequirement": 1,
- "receivedCoverage": 1,
- "primaryUseRights": {
- "0": "NamedComputer"
}, - "fullUseRights": {
- "0": "NamedComputer",
- "1": "UpgradeRights"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license transfers
Returns a collection of computer license transfers for an application.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license transfers for a computer
Returns a collection of license transfers for specific application on a computer.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
computerId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the computer. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "computerId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "isUpgrade": true,
- "isDowngrade": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "quantity": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get custom value license transfers
Returns a collection of custom value license transfers.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "customCompareValueId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license custom value transfers
Returns a collection of license transfers for a given custom value.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
customId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the custom compare value. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "customCompareValueId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "isUpgrade": true,
- "isDowngrade": true,
- "isCrossEdition": true,
- "isCrossPlatform": true,
- "quantity": 1,
- "useRights": {
- "0": "Standard"
}
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get application license transfers
Returns a collection of license transfers for an application.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "hasComputerTransfer": true,
- "hasUserTransfer": true,
- "hasCustomCompareValueTransfer": true
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get users license transfer details
Returns a collection of user license transfers.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30"
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get user license transfer details
Returns a collection of license transfers for a given user.
Authorizations:
path Parameters
applicationId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the application. |
userId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the user. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "id": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "metricId": "5891a1d8-7fb0-45bd-b1f6-01c943f9c572",
- "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "organizationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "userId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "fromApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "toApplicationId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "isUpgrade": true,
- "isDowngrade": true,
- "isCrossPlatform": true,
- "isCrossEdition": true,
- "quantity": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get license upgrades
Returns a collection of upgrades for a license.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
query Parameters
filter | string Example: filter=filter=status -eq "active" For more information on the available operators and which data types those operators work on, see Filter API call results. |
page_number | integer >= 1 Default: 1 The page number. |
page_size | integer >= 1 Default: 100 The maximum number of items in the response. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "items": [
- {
- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "upgradedLicenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgradedQuantity": 1
}
], - "pagination": {
- "page_size": 25,
- "page_number": 1,
- "total_pages": 5,
- "total_items": 100
}, - "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
]
}
Get the details of a license upgrade
Returns the details of a license upgrade.
Authorizations:
path Parameters
id required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the license. |
upgradedLicenseId required | string Example: 49cdd99f-bc16-40f9-ad40-48f12182fb30 The unique ID of the upgraded license. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "_links": [
- {
- "href": "/api/custom-fields/v1/custom-fields",
- "rel": "self",
- "method": "GET"
}
], - "licenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "quantity": 1,
- "upgradedLicenseId": "49cdd99f-bc16-40f9-ad40-48f12182fb30",
- "upgradedQuantity": 1
}