gets license history for given dealer and Product
ApiScope: manage.license.read
API Scope Level: ServiceSubscriberScope
Path Parameters
ServiceSubscriberDealer string required
productUuid string required
Query Parameters
page int32 required
page number
maxResults int32 required
max result size
application/json
Request Body required
changeTypes string[]
Possible values: [TOTAL
, ASSIGNMENT
]
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
licenseHistories object[]
totalPages int32
totalElements int64
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"licenseHistories": [
{
"businessLicenseUuid": "string",
"changedByUserUuid": "string",
"serviceSubscriberUuid": "string",
"serviceSubscriberName": "string",
"changeType": "TOTAL",
"changedOn": "string",
"oldValue": "string",
"oldValueName": "string",
"changeValue": "string",
"changeByName": "string",
"changeToName": "string",
"action": "ASSIGN"
}
],
"totalPages": 0,
"totalElements": 0
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
licenseHistories object[]
totalPages int32
totalElements int64
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"licenseHistories": [
{
"businessLicenseUuid": "string",
"changedByUserUuid": "string",
"serviceSubscriberUuid": "string",
"serviceSubscriberName": "string",
"changeType": "TOTAL",
"changedOn": "string",
"oldValue": "string",
"oldValueName": "string",
"changeValue": "string",
"changeByName": "string",
"changeToName": "string",
"action": "ASSIGN"
}
],
"totalPages": 0,
"totalElements": 0
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
POST /v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
python / requests
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
go / native
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
nodejs / axios
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
php / cURL
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
java / OkHttp
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/license/dealers/:ServiceSubscriberDealer/products/:productUuid/history' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"changeTypes": [
"TOTAL"
]
}'