# Create maintenance line items Endpoint: POST /v1/entitlement/{entitlementId}/maintenance-line-items Version: 1.0.0_Beta ## Path parameters: - `entitlementId` (string, required) ## Request fields (application/json): - `maintenanceLineItems` (array, required) - `maintenanceLineItems.activationId` (string) Activation ID of the maintenance line item. If you specify the activation ID, then it must be unique across all entitlements and maintenance line items. If you specify the activation ID here, then the autoGenerate flag must be set to false Example: "act-id-1234" - `maintenanceLineItems.maintenanceProduct` (object, required) Maintenance Product entitled by the maintenance line item - `maintenanceLineItems.maintenanceProduct.maintenanceProductName` (string, required) Name of the maintenance product - `maintenanceLineItems.maintenanceProduct.maintenanceProductVersion` (string, required) Version of the maintenance product - `maintenanceLineItems.maintenanceProduct.partNumber` (string) Part number associated with maintenance product - `maintenanceLineItems.isPermanent` (boolean) Whether this maintenance line item is permanent. A permanent maintenance line item has no expiration date. - `maintenanceLineItems.expiryDate` (string) End date of the maintenance line item in YYYY-MM-DD format Example: "2025-01-01" - `maintenanceLineItems.startDate` (string, required) Start date of the maintenance line item in YYYY-MM-DD format Example: "2025-01-01" - `maintenanceLineItems.attributes` (array) List of custom attributes related to the maintenance line item - `maintenanceLineItems.attributes.name` (string) Name of the custom attribute Example: "REGION" - `maintenanceLineItems.attributes.value` (object) Value assigned to the custom attribute. If the value is of type Date, then it should use yyyy/MM/dd format. Similarly, appropriate value corresponding to the type of custom attribute must be provided. Example: "EMEA" - `maintenanceLineItems.autoGenerate` (boolean) Whether the activation ID should be auto-generated - `maintenanceLineItems.autoDeploy` (boolean) Whether the maintenance Line item should be auto-deployed ## Response 201 fields (application/json): - `status` (string) ## Response 400 fields (application/json): - `status` (string) - `message` (string) ## Response 500 fields (application/json): - `status` (string) - `message` (string)