Configure line item policies
Arguments
Activation ID of the line item
Entitlement ID containing the line item
Policy configuration details
Return type
Activationmutation configureLineItemPolicies(
$activationId: String!
$entitlementId: String!
$policy: PolicyInput!
) {
configureLineItemPolicies(
activationId: $activationId
entitlementId: $entitlementId
policy: $policy
) {
activationId
}
}{ "activationId": "Example String", "entitlementId": "Example String", "policy": { "acpiGenerationIdLicense": true, "cancelLicense": true, "extraActivations": 40, "rehosts": { "__typename": "PolicyAttributeInput" }, "repairs": { "__typename": "PolicyAttributeInput" }, "returns": { "__typename": "PolicyAttributeInput" }, "virtualLicense": true } }
{ "data": { "activationId": "Example String" } }
Update attributes of line items for an entitlement
Arguments
Entitlement ID containing the line items
List of line item properties to be updated
Return type
[Linemutation configureLineItemProperties($entitlementId: String!, $lineItemProperties: [LineItemPropertyInput!]!) {
configureLineItemProperties(entitlementId: $entitlementId, lineItemProperties: $lineItemProperties) {
activationId
errorMsg
status
}
}{ "entitlementId": "Example String", "lineItemProperties": [ { "activationId": "Example String", "attributes": [ { "__typename": "AttributeUpdateInput" } ], "deploy": true, "orderType": "Example String", "parentActivationId": "Example String", "product": { "__typename": "UpdateProductInput" } } ] }
{ "data": [ { "activationId": "Example String", "errorMsg": "Example String", "status": "Example String" } ] }
Create a simple Entitlement
Arguments
Return type
StringThe String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
mutation createEntitlement($input: CreateEntitlementInput!) {
createEntitlement(input: $input)
}{ "input": { "accounts": [ { "__typename": "AccountInput" } ], "allowPortalLogin": true, "attributes": [ { "__typename": "AttributeInput" } ], "autoDeploy": true, "autoGenerate": true, "description": "Example String", "emailTemplateVariation": "Example String", "entitlementId": "Example String", "lineItems": [ { "__typename": "LineItemInput" } ], "shipToAddress": "Example String", "shipToEmail": "Example String" } }
{ "data": "Example String" }
Create a line item
Arguments
Entitlement ID for which line items are to be created
List of line items to be created
Return type
LineList of line item creation results
mutation createLineItems($entitlementId: String!, $lineItems: [LineItemInput!]!) {
createLineItems(entitlementId: $entitlementId, lineItems: $lineItems) {
response {
__typename
# ...LineItemResultEntryFragment
}
}
}{ "entitlementId": "Example String", "lineItems": [ { "activatable": true, "activationId": "Example String", "attributes": [ { "__typename": "AttributeInput" } ], "autoDeploy": true, "autoGenerate": true, "expiryDate": "Example String", "orderType": "Example String", "partNumber": "Example String", "permanent": true, "product": [ { "__typename": "ProductInput" } ], "quantity": 40, "quantityPerCopy": 40, "startDate": "Example String" } ] }
{ "data": { "response": [ { "__typename": "LineItemResultEntry" } ] } }
Create maintenance line items
Arguments
Entitlement ID for which maintenance line items are to be created
List of maintenance line items to be created
Return type
[Linemutation createMaintenanceLineItems($entitlementId: String!, $maintenanceLineItems: [MaintenanceLineItemInput!]!) {
createMaintenanceLineItems(entitlementId: $entitlementId, maintenanceLineItems: $maintenanceLineItems) {
activationId
errorMsg
status
}
}{ "entitlementId": "Example String", "maintenanceLineItems": [ { "activationId": "Example String", "attributes": [ { "__typename": "AttributeInput" } ], "autoDeploy": true, "autoGenerate": true, "expiryDate": "Example String", "maintenanceProduct": { "__typename": "MaintenanceProductInput" }, "permanent": true, "startDate": "Example String" } ] }
{ "data": [ { "activationId": "Example String", "errorMsg": "Example String", "status": "Example String" } ] }
Link Maintenance Line Item
Arguments
Link maintenance line item input containing line item and maintenance line item activation IDs
Return type
ResponseResponse message
Response status
mutation linkMaintenanceLineItem($input: LinkMaintenanceLineItemInput!) {
linkMaintenanceLineItem(input: $input) {
message
status
}
}{ "input": { "lineItem": { "__typename": "LinkLineItemInput" }, "maintenanceLineItem": { "__typename": "MaintenanceLinkLineItemInput" } } }
{ "data": { "message": "Example String", "status": "Example String" } }
Create a new feature.
Arguments
Input data for creating a feature
Return type
CreateID of the created feature (featureName)
Success or error message
mutation createFeature($input: CreateFeatureInput!) {
createFeature(input: $input) {
featureId
message
}
}{ "input": { "aggregationType": "Example String", "autoDeploy": true, "description": "Example String", "featureName": "Example String", "featureOverrideParams": { "__typename": "FeatureOverrideParamsInput" }, "maxVersion": "Example String", "version": "Example String", "versionFormat": "Example String" } }
{ "data": { "featureId": "Example String", "message": "Example String" } }
Create a new feature bundle.
Arguments
Input data for creating a feature bundle
Return type
FeatureName of the created feature bundle
Success or error message
mutation createFeatureBundle($input: CreateFeatureBundleInput!) {
createFeatureBundle(input: $input) {
featureBundle
message
}
}{ "input": { "autoDeploy": true, "description": "Example String", "featureBundleName": "Example String", "featureList": [ { "__typename": "FeatureBundleFeatureInput" } ] } }
{ "data": { "featureBundle": "Example String", "message": "Example String" } }