---
url: "https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a"
---

OpenAPI specification document.

```json
{"components":{"schemas":{"AcceptanceCertificateAuthorizationStatus":{"enum":["ready","authorized"],"type":"string"},"AcceptanceCertificateResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":"integer"},"actualLeaseTerm":{"format":"int32","type":"integer"},"authorizationStatus":{"$ref":"#/components/schemas/AcceptanceCertificateAuthorizationStatus"},"confirmationStatus":{"$ref":"#/components/schemas/ConfirmationStatus"},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerInformation":{"type":["null","string"]},"firstConfirmationDate":{"format":"date-time","type":["null","string"]},"firstConfirmationUserId":{"format":"int32","type":["null","integer"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseStartDate":{"format":"date","type":["null","string"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"secondConfirmationDate":{"format":"date-time","type":["null","string"]},"secondConfirmationUserId":{"format":"int32","type":["null","integer"]}},"type":"object"},"AcceptanceStatus":{"enum":["received","notReceived","damaged","pricingIssues","incorrectLeaseTerm","other"],"type":"string"},"AddFreeFieldRequest":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"customerFieldName":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"fieldType":{"$ref":"#/components/schemas/FreeFieldType"}},"required":["customerFieldName"],"type":"object"},"AddReferenceValueRequest":{"additionalProperties":false,"properties":{"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"referenceValue":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"AddressResponse":{"additionalProperties":false,"properties":{"city":{"type":["null","string"]},"country":{"type":["null","string"]},"county":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"name":{"type":["null","string"]},"number":{"format":"int32","type":["null","integer"]},"postalCode":{"type":["null","string"]},"street":{"type":["null","string"]},"taxID":{"type":["null","string"]}},"type":"object"},"AnnouncementResponse":{"additionalProperties":false,"properties":{"textResourceId":{"type":["null","string"]},"titleResourceId":{"type":["null","string"]},"type":{"$ref":"#/components/schemas/AnnouncementType"}},"type":"object"},"AnnouncementType":{"enum":["info","warning","maintenance"],"type":"string"},"ApplicationParameterPatchRequest":{"additionalProperties":false,"properties":{"booleanValue":{"type":"boolean"},"datetimeValue":{"format":"date-time","type":"string"},"floatValue":{"format":"double","type":"number"},"integerValue":{"format":"int64","type":"integer"},"stringValue":{"type":"string"}},"type":"object"},"ApplicationParametersResponse":{"additionalProperties":false,"properties":{"enableServiceNowSync":{"type":"boolean"},"exportSchedulerDownloadAvailableDays":{"format":"int32","type":"integer"},"maximumAssetsPerCollectionRequest":{"format":"int32","type":"integer"},"maximumDownloads":{"format":"int32","type":"integer"},"maximumExcelExports":{"format":"int32","type":"integer"},"maximumReferenceValues":{"format":"int32","type":"integer"},"returnsRequestMinimalDaysAhead":{"format":"int32","type":"integer"},"ssisPackageStartTime":{"format":"time","type":"string"}},"type":"object"},"ApplicationResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"name":{"type":["null","string"]}},"type":"object"},"ApprovalMode":{"enum":["none","oneStepApproval","twoStepApproval"],"type":"string"},"ApprovalModeResponse":{"additionalProperties":false,"properties":{"approvalMode":{"$ref":"#/components/schemas/ApprovalMode"}},"type":"object"},"Approver2CustomerFullContextResponse":{"additionalProperties":false,"properties":{"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"firstApprover":{"type":"boolean"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"secondApprover":{"type":"boolean"}},"type":"object"},"ApproverStateChangeImpact":{"enum":["none","changeActivatesOneStepApproval","changeDeactivatesOneStepApproval","changeActivatesTwoStepApproval","changeDeactivatesTwoStepApproval"],"type":"string"},"ApproverStateChangeImpactResponse":{"additionalProperties":false,"properties":{"changeImpact":{"$ref":"#/components/schemas/ApproverStateChangeImpact"},"changeLeadsToInvalidApprovalStates":{"type":"boolean"},"missingAccessToBusinessApplicationConfirmations":{"type":"boolean"},"missingUpdatePermissionOnAcceptanceCertificate":{"type":"boolean"},"totalCountFirstApproverCustomerContextAfterChange":{"format":"int32","type":"integer"},"totalCountSecondApproverCustomerContextAfterChange":{"format":"int32","type":"integer"}},"type":"object"},"ApproverStateChangeRequest":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"customerNumber":{"format":"int32","type":"integer"},"firstApprover":{"type":"boolean"},"leaseCompany":{"format":"int32","type":"integer"},"secondApprover":{"type":"boolean"},"userId":{"format":"int32","type":"integer"}},"type":"object"},"ApproverStateResponse":{"additionalProperties":false,"properties":{"customerNumber":{"format":"int32","type":"integer"},"firstApprover":{"type":"boolean"},"leaseCompany":{"format":"int32","type":"integer"},"secondApprover":{"type":"boolean"},"user":{"$ref":"#/components/schemas/UserResponse"}},"type":"object"},"ApproverWorkflowDeactivationResponse":{"additionalProperties":false,"properties":{"changeLeadsToInvalidApprovalStates":{"type":"boolean"},"invalidOperation":{"type":"boolean"},"totalCountOfDeactivatedFirstApprover":{"format":"int32","type":"integer"},"totalCountOfDeactivatedSecondApprover":{"format":"int32","type":"integer"}},"type":"object"},"AssetAutomationWorkflowInfoResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"isActive":{"type":"boolean"},"lastUpdated":{"format":"date-time","type":"string"},"title":{"type":["null","string"]},"triggerType":{"type":["null","string"]},"usedAssetStatusIds":{"items":{"format":"int32","type":"integer"},"type":["null","array"]},"usedCorporateGroupFunctions":{"$ref":"#/components/schemas/CorporateGroupFunction"},"workflowStatus":{"$ref":"#/components/schemas/WorkflowRuleStatus"}},"type":"object"},"AssetBulkJobResponse":{"additionalProperties":false,"properties":{"assetsSuccessfullyUpdated":{"format":"int32","type":["null","integer"]},"assetsTotal":{"format":"int32","type":"integer"},"createDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":["null","string"]},"errors":{"items":{"$ref":"#/components/schemas/BulkJobAssetErrorResponse"},"type":["null","array"],"x-is-public":true},"id":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":["null","string"]},"status":{"$ref":"#/components/schemas/ExecutionStatus"}},"type":"object"},"AssetBulkPatchSourceType":{"enum":["externalApiCall","multiUpdateApiCall","assetAutomationApiCall","import"],"type":"string"},"AssetCategory":{"enum":["hardware","software","service"],"type":"string"},"AssetClassResponse":{"additionalProperties":false,"properties":{"description":{"type":["null","string"]},"key":{"type":["null","string"]}},"type":"object"},"AssetConfirmationProcessPatchRequest":{"additionalProperties":false,"properties":{"acceptanceStatus":{"$ref":"#/components/schemas/AcceptanceStatus"},"assetId":{"format":"int64","type":"integer"},"explanation":{"type":"string"}},"required":["assetId"],"type":"object"},"AssetContractStatus":{"enum":["confirmationPending","confirmed","inLease","terminated","unknown"],"type":"string"},"AssetEndOfLifeFlagType":{"enum":["extension","buyOut","collection","markForCollection"],"type":"string"},"AssetForcedFilterPropertyLookupResponse":{"additionalProperties":false,"properties":{"lookupValues":{"items":{"type":"string"},"type":["null","array"]},"propertyName":{"type":["null","string"]}},"type":"object"},"AssetForcedFilterResponse":{"additionalProperties":false,"properties":{"applicationAssetsFilter":{"$ref":"#/components/schemas/IFilterComponentResponse"},"applicationConfirmationsFilter":{"$ref":"#/components/schemas/IFilterComponentResponse"},"isApplicationAssetsFilterSimple":{"type":"boolean"},"isApplicationConfirmationsFilterSimple":{"type":"boolean"}},"type":"object"},"AssetIdentifier":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":["null","integer"]},"customerNumber":{"format":"int32","type":["null","integer"]},"leaseCompany":{"format":"int32","type":["null","integer"]},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"serialNumber":{"type":["null","string"]}},"type":"object"},"AssetOffleaseType":{"enum":["stock","followUpLease","derecognition","buyout"],"type":"string"},"AssetPatchRequest":{"additionalProperties":false,"properties":{"assetIdentifier":{"$ref":"#/components/schemas/AssetIdentifier"},"assetStatusId":{"format":"int32","type":"integer"},"costCenter":{"type":"string"},"customerSpecificFields":{},"location":{"type":"string"},"locationOfInstallation":{"type":"string"},"orderNumber":{"type":"string"},"serialNumber":{"type":"string"}},"type":"object"},"AssetProcessingInfoRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseScheduleId":{"format":"int32","type":"integer"}},"type":"object"},"AssetStatusCreateRequest":{"additionalProperties":false,"properties":{"color":{"maxLength":7,"minLength":0,"pattern":"^#([A-Fa-f0-9]{6})$","type":"string"},"hasInputAssistant":{"type":"boolean"},"name":{"maxLength":36,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"userGroupIds":{"items":{"format":"int32","type":"integer"},"type":["null","array"]}},"required":["color","name"],"type":"object"},"AssetStatusPatchRequest":{"additionalProperties":false,"properties":{"color":{"maxLength":7,"minLength":0,"pattern":"^#([A-Fa-f0-9]{6})$","type":["null","string"]},"hasInputAssistant":{"type":"boolean"},"name":{"maxLength":36,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"userGroupIds":{"items":{"format":"int32","type":"integer"},"type":["null","array"]}},"type":"object"},"AssetStatusResponse":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"color":{"type":["null","string"]},"hasInputAssistant":{"type":"boolean"},"id":{"format":"int32","type":"integer"},"isSystemAssetStatus":{"type":"boolean"},"name":{"type":["null","string"]}},"type":"object"},"AssetStatusWithUserGroupsResponse":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"color":{"type":["null","string"]},"hasInputAssistant":{"type":"boolean"},"id":{"format":"int32","type":"integer"},"isSystemAssetStatus":{"type":"boolean"},"name":{"type":["null","string"]},"userGroupIds":{"items":{"format":"int32","type":"integer"},"type":["null","array"]}},"type":"object"},"BooleanResponse":{"additionalProperties":false,"properties":{"isTrue":{"type":"boolean"}},"type":"object"},"BulkJobAssetErrorResponse":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"errors":{"items":{"type":"string"},"type":["null","array"]}},"type":"object"},"BulkPatchRequest_GenericAssetBulkPatchAssetRequest":{"additionalProperties":false,"properties":{"objects":{"items":{},"type":["null","array"]}},"type":"object"},"CollectedAssetAndRequestResponse":{"additionalProperties":false,"properties":{"assetClass":{"type":["null","string"]},"assetIdCollected":{"format":"int64","type":["null","integer"]},"assetIdRequested":{"format":"int64","type":["null","integer"]},"assetType":{"$ref":"#/components/schemas/CollectedAssetType"},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"manufacturer":{"type":["null","string"]},"returnedQuantity":{"$ref":"#/components/schemas/ReturnedQuantityForAsset"},"serialNumberCollected":{"type":["null","string"]},"serialNumberRequested":{"type":["null","string"]}},"type":"object"},"CollectedAssetErasureState":{"enum":["destroyed","erased","noVolumePresent","noDataErasure","planned"],"type":"string"},"CollectedAssetErasureType":{"enum":["eraSurePlus","eraSure","doDCompliant","noErasure"],"type":"string"},"CollectedAssetGrading":{"enum":["a","b","c","d"],"type":"string"},"CollectedAssetResponse":{"additionalProperties":false,"properties":{"assetClass":{"type":["null","string"]},"assetId":{"format":"int64","type":["null","integer"]},"assetType":{"$ref":"#/components/schemas/CollectedAssetType"},"collectionNumber":{"format":"int32","type":"integer"},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"description":{"type":["null","string"]},"effectiveCollection":{"format":"date-time","type":["null","string"]},"erasureDate":{"format":"date-time","type":["null","string"]},"erasureProtocolMetadata":{"$ref":"#/components/schemas/DocumentMetadataResponse"},"erasureState":{"$ref":"#/components/schemas/CollectedAssetErasureState"},"erasureType":{"$ref":"#/components/schemas/CollectedAssetErasureType"},"grading":{"$ref":"#/components/schemas/CollectedAssetGrading"},"hasErasureCertificate":{"format":"int64","type":["null","integer"]},"id":{"format":"int64","type":"integer"},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"manufacturer":{"type":["null","string"]},"numberOfDestroyedItems":{"format":"int32","type":["null","integer"]},"numberOfErasedItems":{"format":"int32","type":["null","integer"]},"plannedAssetId":{"format":"int32","type":["null","integer"]},"processingDate":{"format":"date-time","type":["null","string"]},"serialNumber":{"type":["null","string"]},"serialNumberLAS":{"type":["null","string"]},"state":{"$ref":"#/components/schemas/CollectedAssetState"},"testState":{"$ref":"#/components/schemas/CollectedAssetTestState"},"transportOrderId":{"format":"int32","type":"integer"},"transportOrderNumber":{"type":["null","string"]}},"type":"object"},"CollectedAssetState":{"enum":["reserved","ok","yellowed","littleDamage","missingParts","damaged","scrap","heavyDamageAndMissingParts","notFound","untested","others"],"type":"string"},"CollectedAssetTestState":{"enum":["tested","testPlanned","onlyAudit"],"type":"string"},"CollectedAssetType":{"enum":["leasing","tradingGoods","customerabandonment"],"type":"string"},"CollectionRequestAssetCreateRequest":{"additionalProperties":false,"properties":{"assetClass":{"maxLength":3,"minLength":0,"type":["null","string"]},"assetId":{"format":"int64","type":["null","integer"]},"assetType":{"$ref":"#/components/schemas/CollectionRequestUserAssetType"},"description":{"maxLength":30,"minLength":0,"type":["null","string"]},"isAbandoned":{"type":"boolean"},"manufacturer":{"maxLength":30,"minLength":0,"type":["null","string"]},"serialNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"CollectionRequestAssetDeleteRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":["null","integer"]},"serialNumber":{"maxLength":30,"minLength":0,"type":["null","string"]}},"type":"object"},"CollectionRequestAssetPatchRequest":{"additionalProperties":false,"properties":{"assetClass":{"maxLength":3,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"assetType":{"$ref":"#/components/schemas/CollectionRequestUserAssetType"},"description":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"isAbandoned":{"type":"boolean"},"manufacturer":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"CollectionRequestAssetResponse":{"additionalProperties":false,"properties":{"assetClass":{"type":["null","string"]},"assetId":{"format":"int64","type":["null","integer"]},"assetType":{"$ref":"#/components/schemas/CollectionRequestAssetTypeInternal"},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"description":{"type":["null","string"]},"id":{"format":"int64","type":["null","integer"]},"isAbandoned":{"type":"boolean"},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"manufacturer":{"type":["null","string"]},"requestNumber":{"format":"int32","type":"integer"},"serialNumber":{"type":["null","string"]}},"type":"object"},"CollectionRequestAssetTypeInternal":{"enum":["leased","leasedWithoutMappedAsset","owned","unknown"],"type":"string"},"CollectionRequestChangeRequest":{"additionalProperties":false,"properties":{"text":{"maxLength":1000,"minLength":0,"type":["null","string"]}},"type":"object"},"CollectionRequestCreateRequest":{"additionalProperties":false,"properties":{"addressEqualsCustomer":{"type":"boolean"},"addressNote":{"maxLength":256,"minLength":0,"type":["null","string"]},"areReturnRegulationsConfirmed":{"type":"boolean"},"city":{"maxLength":60,"minLength":0,"type":["null","string"]},"collectionNote":{"maxLength":1000,"minLength":0,"type":["null","string"]},"companyName":{"maxLength":256,"minLength":0,"type":["null","string"]},"contactEmail":{"format":"email","maxLength":256,"minLength":0,"type":["null","string"]},"contactFirstname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactLastname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactPhone":{"maxLength":60,"minLength":0,"type":["null","string"]},"country":{"maxLength":3,"minLength":0,"type":["null","string"]},"creationDate":{"format":"date-time","type":"string"},"customerContext":{"$ref":"#/components/schemas/CustomerContextKeyActionRequest"},"isCustomAddress":{"type":"boolean"},"isNewPickupAddress":{"type":"boolean"},"name":{"maxLength":60,"minLength":0,"type":["null","string"]},"pickupDateType":{"$ref":"#/components/schemas/CollectionRequestPickupDateType"},"pickupTimestamp":{"format":"date","type":["null","string"]},"pickupTimestampTo":{"format":"date","type":["null","string"]},"postalcode":{"maxLength":15,"minLength":0,"type":["null","string"]},"requestCreator":{"format":"email","maxLength":256,"minLength":0,"type":["null","string"]},"requestDate":{"format":"date-time","type":["null","string"]},"requestName":{"maxLength":60,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"street":{"maxLength":80,"minLength":0,"type":["null","string"]}},"required":["customerContext","requestName"],"type":"object"},"CollectionRequestPatchRequest":{"additionalProperties":false,"properties":{"addressEqualsCustomer":{"type":"boolean"},"addressNote":{"maxLength":256,"minLength":0,"type":["null","string"]},"areReturnRegulationsConfirmed":{"type":"boolean"},"city":{"maxLength":60,"minLength":0,"type":["null","string"]},"collectionNote":{"maxLength":1000,"minLength":0,"type":["null","string"]},"companyName":{"maxLength":256,"minLength":0,"type":["null","string"]},"contactEmail":{"maxLength":256,"minLength":0,"type":["null","string"]},"contactFirstname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactLastname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactPhone":{"maxLength":60,"minLength":0,"type":["null","string"]},"country":{"maxLength":3,"minLength":0,"type":["null","string"]},"creationDate":{"format":"date","type":"string"},"isCustomAddress":{"type":"boolean"},"isNewPickupAddress":{"type":"boolean"},"name":{"maxLength":60,"minLength":0,"type":["null","string"]},"pickupDateType":{"$ref":"#/components/schemas/CollectionRequestPickupDateType"},"pickupTimestamp":{"format":"date","type":["null","string"]},"pickupTimestampTo":{"format":"date","type":["null","string"]},"postalcode":{"maxLength":15,"minLength":0,"type":["null","string"]},"requestCreator":{"format":"email","maxLength":256,"minLength":0,"type":["null","string"]},"requestDate":{"format":"date","type":"string"},"requestName":{"maxLength":60,"minLength":0,"type":["null","string"]},"restoreContext":{"$ref":"#/components/schemas/CollectionRequestRestoreContext"},"street":{"maxLength":80,"minLength":0,"type":["null","string"]}},"type":"object"},"CollectionRequestPickupDateType":{"enum":["asapCollectionFromSpecificDate","fixedCollection","asapCollection","timeSlotCollection"],"type":"string"},"CollectionRequestResponse":{"additionalProperties":false,"properties":{"addressEqualsCustomer":{"type":"boolean"},"addressNote":{"maxLength":256,"minLength":0,"type":["null","string"]},"areAssetsValid":{"type":"boolean"},"areReturnRegulationsConfirmed":{"type":"boolean"},"city":{"maxLength":60,"minLength":0,"type":["null","string"]},"collectionNote":{"maxLength":1000,"minLength":0,"type":["null","string"]},"companyName":{"maxLength":256,"minLength":0,"type":["null","string"]},"contactEmail":{"format":"email","maxLength":256,"minLength":0,"type":["null","string"]},"contactFirstname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactLastname":{"maxLength":60,"minLength":0,"type":["null","string"]},"contactPhone":{"maxLength":60,"minLength":0,"type":["null","string"]},"country":{"maxLength":3,"minLength":0,"type":["null","string"]},"creationDate":{"format":"date","type":"string"},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"isCustomAddress":{"type":"boolean"},"isNewPickupAddress":{"type":"boolean"},"name":{"maxLength":60,"minLength":0,"type":["null","string"]},"numberOfAssets":{"format":"int32","type":"integer"},"numberOfLinkedAssets":{"format":"int32","type":"integer"},"numberOfValidAssetClassEntries":{"format":"int32","type":"integer"},"numberOfValidAssetTypeEntries":{"format":"int32","type":"integer"},"pickupDateType":{"$ref":"#/components/schemas/CollectionRequestPickupDateType"},"pickupTimestamp":{"format":"date","type":["null","string"]},"pickupTimestampTo":{"format":"date","type":["null","string"]},"postalcode":{"maxLength":15,"minLength":0,"type":["null","string"]},"requestCreator":{"format":"email","maxLength":256,"minLength":0,"type":["null","string"]},"requestDate":{"format":"date","type":["null","string"]},"requestName":{"maxLength":60,"minLength":0,"type":["null","string"]},"requestNumber":{"format":"int32","type":"integer"},"requestState":{"$ref":"#/components/schemas/CollectionRequestState"},"restoreContext":{"$ref":"#/components/schemas/CollectionRequestRestoreContext"},"street":{"maxLength":60,"minLength":0,"type":["null","string"]}},"type":"object"},"CollectionRequestRestoreContext":{"enum":["assetControl","assetValidation","pickupInfoInput","returnRegulationsConfirmation","summary"],"type":"string"},"CollectionRequestState":{"enum":["noState","drafted","requested"],"type":"string"},"CollectionRequestUserAssetType":{"enum":["leasedWithoutMappedAsset","owned","unknown"],"type":"string"},"CollectionRequestedAndCollectedAssetsSummaryResponse":{"additionalProperties":false,"properties":{"assetClass":{"type":["null","string"]},"difference":{"format":"int32","readOnly":true,"type":"integer"},"returnedQuantity":{"$ref":"#/components/schemas/ReturnedQuantity"},"sumOfCollectedAssets":{"format":"int32","type":"integer"},"sumOfRequestedAssets":{"format":"int32","type":"integer"}},"type":"object"},"CollectionResponse":{"additionalProperties":false,"properties":{"carrierAddress":{"$ref":"#/components/schemas/AddressResponse"},"carrierAddressContact":{"type":["null","string"]},"carrierAddressMail":{"type":["null","string"]},"carrierAddressTelephone":{"type":["null","string"]},"collectionAddress":{"$ref":"#/components/schemas/AddressResponse"},"collectionAddressContact":{"type":["null","string"]},"collectionAddressMail":{"type":["null","string"]},"collectionAddressTelephone":{"type":["null","string"]},"collectionComment":{"type":["null","string"]},"collectionNumber":{"format":"int32","type":"integer"},"collectionRequestNumber":{"format":"int32","type":"integer"},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"destinationAddressContact":{"type":["null","string"]},"effectiveCollection":{"format":"date-time","type":["null","string"]},"erasureType":{"$ref":"#/components/schemas/CollectedAssetErasureType"},"goodsIn":{"format":"date-time","type":["null","string"]},"numberOfCollectedAssets":{"format":"int32","type":"integer"},"numberOfGradeAAssets":{"format":"int32","type":"integer"},"numberOfGradeBAssets":{"format":"int32","type":"integer"},"numberOfGradeCAssets":{"format":"int32","type":"integer"},"numberOfGradeDAssets":{"format":"int32","type":"integer"},"numberOfPlannedAssets":{"format":"int32","type":"integer"},"plannedCollection":{"format":"date-time","type":["null","string"]},"plannedCollectionNote":{"type":["null","string"]},"preferredCollectionPickupDateType":{"$ref":"#/components/schemas/CollectionRequestPickupDateType"},"preferredCollectionTimestamp":{"format":"date-time","type":["null","string"]},"preferredCollectionTimestampTo":{"format":"date-time","type":["null","string"]},"recipientAddress":{"$ref":"#/components/schemas/AddressResponse"},"recipientComment":{"type":["null","string"]},"status":{"$ref":"#/components/schemas/CollectionStatus"},"transportOrderId":{"format":"int32","type":"integer"},"transportOrderNumber":{"type":["null","string"]}},"type":"object"},"CollectionStatus":{"enum":["created","scheduled","confirmed","dateArranged","collected","verified","completed","draft","requested"],"type":"string"},"ComplianceContactPatchRequest":{"additionalProperties":false,"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"}},"type":"object"},"ComplianceContactRequest":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"createDate":{"format":"date-time","type":"string"},"email":{"maxLength":256,"minLength":0,"type":"string"},"firstName":{"maxLength":256,"minLength":0,"type":"string"},"lastName":{"maxLength":256,"minLength":0,"type":"string"},"phoneNumber":{"maxLength":50,"minLength":0,"type":["null","string"]}},"required":["corporateGroupId","createDate","email","firstName","lastName"],"type":"object"},"ComplianceContactsResponse":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"corporategroupName":{"type":["null","string"]},"createDate":{"format":"date-time","type":"string"},"email":{"type":["null","string"]},"firstName":{"type":["null","string"]},"id":{"format":"int32","type":"integer"},"idContact":{"format":"int32","type":"integer"},"lastName":{"type":["null","string"]},"phoneNumber":{"type":["null","string"]}},"type":"object"},"ComplianceContactsViewResponse":{"additionalProperties":false,"properties":{"contactId":{"format":"int64","type":"integer"},"corporateGroupId":{"format":"int64","type":"integer"},"corporateGroupName":{"type":["null","string"]},"createDate":{"format":"date-time","type":"string"},"customerName":{"type":["null","string"]},"customerNumber":{"format":"int64","type":"integer"},"email":{"type":["null","string"]},"firstName":{"type":["null","string"]},"id":{"format":"int64","type":"integer"},"lastName":{"type":["null","string"]},"leaseCompany":{"format":"int64","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"phoneNumber":{"type":["null","string"]},"roleDescription":{"type":["null","string"]},"roleName":{"type":["null","string"]}},"type":"object"},"ComplianceCustomerContextResponse":{"additionalProperties":false,"properties":{"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"dataProtectionIsAssigned":{"type":"boolean"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"tesmaResponsibleIsAssigned":{"type":"boolean"}},"type":"object"},"ComplianceRoleResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"roleDescription":{"type":["null","string"]},"roleName":{"type":["null","string"]}},"type":"object"},"ConfigurableFieldResponse":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"customerFieldName":{"type":["null","string"]},"defaultInvoiceGroupNumber":{"format":"int32","type":["null","integer"]},"externalTechnicalFieldName":{"type":["null","string"]},"fieldType":{"$ref":"#/components/schemas/FieldConfiguration4CorporateGroupType"},"isReferenceValueEnabled":{"type":"boolean"},"referenceValues":{"items":{"$ref":"#/components/schemas/ReferenceValueResponse"},"type":["null","array"]},"technicalFieldName":{"type":["null","string"]}},"type":"object"},"ConfirmAcceptanceCertificateResponse":{"additionalProperties":false,"properties":{"message":{"type":["null","string"]},"responseCode":{"format":"int32","type":"integer"}},"type":"object"},"ConfirmationProcessHistoryResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":"integer"},"customerNumber":{"format":"int32","type":"integer"},"date":{"format":"date-time","type":"string"},"leaseCompany":{"format":"int32","type":"integer"},"leaseScheduleId":{"format":"int32","type":"integer"},"newConfirmationStatus":{"$ref":"#/components/schemas/ConfirmationStatus"},"oldConfirmationStatus":{"$ref":"#/components/schemas/ConfirmationStatus"},"userId":{"format":"int32","type":["null","integer"]}},"type":"object"},"ConfirmationStatus":{"enum":["chgCheckInProgress","clearingProcess","firstConfirmationPending","secondConfirmationPending","confirmed"],"type":"string"},"CorporateGroupFunction":{"enum":["supplierInvoiceDocuments","ownedAssets","acquisitionCosts","requestForBuyout","requestForExtension","applicationConfirmationsForcedFilters","applicationAssetsForcedFilters","leaseAssetMultiUpdate","buyoutPrice","extension","automation","extensionPrice","collectionVerification","collectionProcessedVerification","requestedAssets","orderedAssets","extensionForecast"],"type":"string"},"CorporateGroupInfoResponse":{"additionalProperties":false,"properties":{"apiName":{"type":["null","string"]},"id":{"format":"int32","type":"integer"},"name":{"type":["null","string"]}},"type":"object"},"CorporateGroupResponse":{"additionalProperties":false,"properties":{"apiName":{"type":["null","string"]},"creationDate":{"format":"date-time","type":"string"},"fieldConfiguration":{"items":{"$ref":"#/components/schemas/ConfigurableFieldResponse"},"type":["null","array"]},"functions":{"$ref":"#/components/schemas/CorporateGroupFunction"},"id":{"format":"int32","type":"integer"},"isActive":{"type":"boolean"},"name":{"type":["null","string"]}},"type":"object"},"CountryResponse":{"additionalProperties":false,"properties":{"description":{"type":["null","string"]},"geoId":{"format":"int32","type":"integer"},"key":{"type":["null","string"]}},"type":"object"},"CreateEMailTemplateRequest":{"additionalProperties":false,"properties":{"content":{"type":["null","string"]},"excelLayoutId":{"format":"int32","type":["null","integer"]},"name":{"type":["null","string"]},"subject":{"type":["null","string"]}},"type":"object"},"CreateInputAssistantRequest":{"additionalProperties":false,"properties":{"assetStatusId":{"format":"int32","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/InputAssistantFieldRequest"},"type":["null","array"]},"hasSerialNumber":{"type":"boolean"},"isActive":{"type":"boolean"},"isDataFieldsActive":{"type":"boolean"}},"type":"object"},"CreateOneTimeExportJobRequest":{"additionalProperties":false,"properties":{"dataSourceLoadOptions":{"maxLength":2147483647,"minLength":0,"type":"string"},"exportSource":{"$ref":"#/components/schemas/ExportSource"},"exportSourceData":{"type":"null"},"gridLayout":{"maxLength":2147483647,"minLength":0,"type":"string"},"name":{"maxLength":50,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"}},"required":["dataSourceLoadOptions","gridLayout","name"],"type":"object"},"CreateScheduledExportJobRequest":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"dataSourceLoadOptions":{"maxLength":2147483647,"minLength":0,"type":"string"},"excludeEmpty":{"type":"boolean"},"executionTime":{"maxLength":2147483647,"minLength":0,"pattern":"([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]","type":"string"},"exportSource":{"$ref":"#/components/schemas/ExportSource"},"exportSourceData":{"type":"null"},"filetype":{"$ref":"#/components/schemas/ExportFiletype"},"gridLayout":{"maxLength":2147483647,"minLength":0,"type":"string"},"languageSettings":{"maxLength":5,"minLength":0,"type":"string"},"name":{"maxLength":50,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"recipientEmail":{"maxLength":2000,"minLength":0,"type":"string"},"repetition":{"$ref":"#/components/schemas/ExportScheduleRepetition"},"repetitionDayOfMonth":{"format":"int32","maximum":31,"minimum":0,"type":["null","integer"]},"repetitionDaysOfWeek":{"items":{"$ref":"#/components/schemas/DayOfWeek"},"type":["null","array"]},"repetitionMonths":{"items":{"format":"int32","type":"integer"},"type":["null","array"]},"ruleFieldName":{"maxLength":30,"minLength":0,"type":["null","string"]},"ruleNumberOfDays":{"format":"int32","maximum":365,"minimum":-365,"type":"integer"},"subject":{"maxLength":100,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"timezone":{"maxLength":100,"minLength":0,"type":"string"},"validFrom":{"format":"date","type":["null","string"]},"validTo":{"format":"date","type":["null","string"]}},"required":["dataSourceLoadOptions","excludeEmpty","executionTime","gridLayout","languageSettings","name","recipientEmail","subject","timezone"],"type":"object"},"CreateWorkflowRequest":{"additionalProperties":false,"properties":{"isAssetAutomationWorkflow":{"type":"boolean"},"steps":{"items":{"$ref":"#/components/schemas/RuleStepRequest"},"type":["null","array"]},"title":{"type":["null","string"]}},"type":"object"},"CultureResponse":{"additionalProperties":false,"properties":{"description":{"type":["null","string"]},"key":{"type":["null","string"]}},"type":"object"},"CustomerContextKey":{"additionalProperties":false,"properties":{"customerNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"}},"type":"object"},"CustomerContextKeyActionRequest":{"additionalProperties":false,"properties":{"customerNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"}},"type":"object"},"CustomerContextResponse":{"additionalProperties":false,"properties":{"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]}},"type":"object"},"CustomerFieldLabelCreateRequest":{"additionalProperties":false,"properties":{"costCenter":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"leaseDepartment":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"leaseOrderNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"location":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallation":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"orderNumber":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"CustomerFieldLabelPatchRequest":{"additionalProperties":false,"properties":{"costCenter":{"type":"string"},"leaseDepartment":{"type":"string"},"leaseOrderNumber":{"type":"string"},"location":{"type":"string"},"locationOfInstallation":{"type":"string"},"orderNumber":{"type":"string"}},"type":"object"},"CustomerFieldLabelResponse":{"additionalProperties":false,"properties":{"costCenter":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"leaseDepartment":{"type":["null","string"]},"leaseOrderNumber":{"type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"orderNumber":{"type":["null","string"]}},"type":"object"},"CustomerResponse":{"additionalProperties":false,"properties":{"city":{"type":["null","string"]},"country":{"type":["null","string"]},"countryIso3166":{"type":["null","string"]},"customerName":{"type":["null","string"]},"customerName2":{"type":["null","string"]},"customerNameDisplay":{"readOnly":true,"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"postcode":{"type":["null","string"]},"street":{"type":["null","string"]}},"type":"object"},"DashboardItemResponse":{"additionalProperties":false,"properties":{"height":{"format":"int32","type":"integer"},"url":{"format":"uri","type":["null","string"]},"width":{"format":"int32","type":"integer"},"x":{"format":"int32","type":"integer"},"y":{"format":"int32","type":"integer"}},"type":"object"},"DashboardItemUpdateRequest":{"additionalProperties":false,"properties":{"height":{"format":"int32","type":"integer"},"url":{"format":"uri","type":["null","string"]},"width":{"format":"int32","type":"integer"},"x":{"format":"int32","type":"integer"},"y":{"format":"int32","type":"integer"}},"type":"object"},"DayOfWeek":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"type":"string"},"DebtorResponse":{"additionalProperties":false,"properties":{"name":{"type":["null","string"]},"number":{"format":"int32","type":["null","integer"]}},"type":"object"},"DocumentCategory":{"enum":["masterLeaseAgreement","supplementalAgreement","leaseSchedule","carbonZeroCertificate","collection","erasureProtocol","invoice","credit","additionalDocument","report","ownDocument","scheduledExport","oneTimeExport"],"type":"string"},"DocumentCreateResponse":{"additionalProperties":false,"properties":{"documentId":{"type":["null","string"]}},"type":"object"},"DocumentMetadataResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"assetId":{"format":"int64","type":["null","integer"]},"collectionNumber":{"format":"int32","type":["null","integer"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"documentCategory":{"$ref":"#/components/schemas/DocumentCategory"},"documentId":{"type":["null","string"]},"documentNumber":{"type":["null","string"]},"documentType":{"type":["null","string"]},"fileDate":{"format":"date-time","type":["null","string"]},"invoiceNumber":{"format":"int32","type":["null","integer"]},"isDeletable":{"type":"boolean"},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"mimeType":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"shortName":{"type":["null","string"]},"stockId":{"format":"int64","type":["null","integer"]}},"type":"object"},"EMailTemplateResponse":{"additionalProperties":false,"properties":{"content":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"excelLayoutId":{"format":"int32","type":"integer"},"id":{"format":"int32","type":"integer"},"name":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"subject":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"ExecuteOwnedAssetImportCommand":{"additionalProperties":false,"properties":{"corporateGroup":{"$ref":"#/components/schemas/CorporateGroupResponse"},"customerContextKeys":{"items":{"$ref":"#/components/schemas/CustomerContextKey"},"type":["null","array"]},"customerNumber":{"format":"int32","type":"integer"},"importId":{"format":"int32","type":"integer"},"importInfo":{"$ref":"#/components/schemas/ImportInfo"},"successfullyImportedAssets":{"format":"int32","type":"integer"},"user":{"$ref":"#/components/schemas/User"}},"type":"object"},"ExecutionStatus":{"enum":["notStarted","validating","inProgress","successful","partiallySuccessful","failed","failedPotentiallyInconsistent"],"type":"string"},"ExportFiletype":{"enum":["xlsx","csv"],"type":"string"},"ExportJobPatchRequest":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"excludeEmpty":{"type":"boolean"},"executionTime":{"maxLength":2147483647,"minLength":0,"pattern":"([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]","type":["null","string"]},"filetype":{"$ref":"#/components/schemas/ExportFiletype"},"languageSettings":{"maxLength":5,"minLength":0,"type":["null","string"]},"name":{"maxLength":50,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"recipientEmail":{"maxLength":2000,"minLength":0,"type":["null","string"]},"repetition":{"$ref":"#/components/schemas/ExportScheduleRepetition"},"repetitionDayOfMonth":{"format":"int32","type":["null","integer"]},"repetitionDaysOfWeek":{"items":{"$ref":"#/components/schemas/DayOfWeek"},"type":["null","array"]},"repetitionMonths":{"items":{"format":"int32","type":"integer"},"type":["null","array"]},"ruleFieldName":{"maxLength":30,"minLength":0,"type":["null","string"]},"ruleNumberOfDays":{"format":"int32","maximum":365,"minimum":-365,"type":"integer"},"subject":{"maxLength":100,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"timezone":{"maxLength":100,"minLength":0,"type":["null","string"]},"validFrom":{"format":"date","type":["null","string"]},"validTo":{"format":"date","type":["null","string"]}},"required":["excludeEmpty"],"type":"object"},"ExportJobResponse":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"createDate":{"format":"date-time","type":"string"},"creatorName":{"type":["null","string"]},"excludeEmpty":{"type":"boolean"},"executionTime":{"type":["null","string"]},"exportSource":{"$ref":"#/components/schemas/ExportSource"},"filetype":{"$ref":"#/components/schemas/ExportFiletype"},"id":{"format":"int32","type":"integer"},"languageSettings":{"type":["null","string"]},"name":{"type":["null","string"]},"recipientEmail":{"type":["null","string"]},"repetition":{"$ref":"#/components/schemas/ExportScheduleRepetition"},"repetitionDayOfMonth":{"format":"int32","type":["null","integer"]},"repetitionDaysOfWeek":{"items":{"$ref":"#/components/schemas/DayOfWeek"},"type":["null","array"]},"repetitionMonths":{"items":{"format":"int32","type":"integer"},"type":["null","array"]},"ruleFieldName":{"type":["null","string"]},"ruleNumberOfDays":{"format":"int32","type":"integer"},"subject":{"type":["null","string"]},"timezone":{"type":["null","string"]},"validFrom":{"format":"date","type":["null","string"]},"validTo":{"format":"date","type":["null","string"]}},"type":"object"},"ExportScheduleRepetition":{"enum":["weekly","monthly"],"type":"string"},"ExportSource":{"enum":["none","leaseSchedules","leaseScheduleAssets","invoices","invoiceAssets","collections","collectedAssets","ownedAssets"],"type":"string"},"FieldConfiguration4CorporateGroupType":{"enum":["text","date","state","undefined"],"type":"string"},"FieldConfiguration4CorporateGroupUpdateRequest":{"additionalProperties":false,"properties":{"technicalFieldName":{"maxLength":50,"minLength":0,"type":["null","string"]},"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"FreeFieldType":{"enum":["undefined","dateField","textField"],"type":"string"},"GenericAssetBulkPatchAssetRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"costCenter":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"customerSpecificFields":{"type":"null"},"location":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallation":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"orderNumber":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"serialNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"GenericAssetBulkPatchRequest":{"additionalProperties":false,"properties":{"assetStatusId":{"format":"int32","type":["null","integer"]},"costCenter":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"customerSpecificFields":{"type":"null"},"location":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallation":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"orderNumber":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"serialNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"GenericAssetResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"actualLeaseEndDate":{"format":"date","type":["null","string"]},"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"buyoutPrice":{"format":"double","type":["null","number"]},"category":{"$ref":"#/components/schemas/AssetCategory"},"city":{"type":["null","string"]},"class":{"type":["null","string"]},"collectionNumber":{"format":"int32","type":["null","integer"]},"confirmationDate":{"format":"date-time","type":["null","string"]},"contractStatus":{"$ref":"#/components/schemas/AssetContractStatus"},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerCosts":{"format":"double","type":["null","number"]},"dateField1":{"format":"date","type":["null","string"]},"dateField2":{"format":"date","type":["null","string"]},"dateField3":{"format":"date","type":["null","string"]},"dateField4":{"format":"date","type":["null","string"]},"dateField5":{"format":"date","type":["null","string"]},"deinstallationDate":{"format":"date","type":["null","string"]},"description":{"type":["null","string"]},"eolFlagDate":{"format":"date-time","type":["null","string"]},"eolFlagType":{"$ref":"#/components/schemas/AssetEndOfLifeFlagType"},"eolFlagUserId":{"format":"int32","type":["null","integer"]},"extensionPrice":{"format":"double","type":["null","number"]},"federalState":{"type":["null","string"]},"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"isCarbonZero":{"type":"boolean"},"leaseDepartment":{"type":["null","string"]},"leaseOrderNumber":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"manufacturer":{"type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"offleaseType":{"$ref":"#/components/schemas/AssetOffleaseType"},"onExtension":{"type":["null","boolean"]},"orderNumber":{"type":["null","string"]},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"postcode":{"type":["null","string"]},"requestedPlannedEndDate":{"format":"date","type":["null","string"]},"serialNumber":{"type":["null","string"]},"street":{"type":["null","string"]},"street2":{"type":["null","string"]},"technicalSpecifications":{"type":["null","string"]},"textField1":{"type":["null","string"]},"textField10":{"type":["null","string"]},"textField11":{"type":["null","string"]},"textField12":{"type":["null","string"]},"textField13":{"type":["null","string"]},"textField14":{"type":["null","string"]},"textField15":{"type":["null","string"]},"textField2":{"type":["null","string"]},"textField3":{"type":["null","string"]},"textField4":{"type":["null","string"]},"textField5":{"type":["null","string"]},"textField6":{"type":["null","string"]},"textField7":{"type":["null","string"]},"textField8":{"type":["null","string"]},"textField9":{"type":["null","string"]},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"type":"object"},"GroupingInfo":{"additionalProperties":false,"properties":{"desc":{"type":"boolean"},"groupInterval":{"type":["null","string"]},"isExpanded":{"type":["null","boolean"]},"selector":{"type":["null","string"]}},"type":"object"},"HistoryAction":{"enum":["creation","activation","deactivation","deletion","contextAssignment","contextRemoval","userGroupAssignment","userGroupRemoval","freeFieldDefinition","freeFieldNameChange","freeFieldReferenceValueEnable","freeFieldReferenceValueDisable","tesmaFieldNameDefinition","tesmaFieldNameChange","tesmaFieldConfigDelete","tesmaFieldReferenceValueEnable","tesmaFieldReferenceValueDisable","applicationAssignment","applicationRemoval","roleAssignment","roleRemoval","approverAssignment","approverRemoval","secondApproval","approval","rejection","correctionByChG","chgCheckInProgress","acceptanceCertificateReset","chgCheckSuccessful","confirmationDataChange","corporateGroupAssignment","corporateGroupRemoval","extensionRequested","extensionRequestCleared","buyoutRequested","buyoutRequestCleared","collectionRequested","collectionRequestCleared","markedForCollection","markedForCollectionCanceled","assetStatusChanged","tesmaFieldReferenceValueAdd","tesmaFieldReferenceValueRemove","freeFieldReferenceValueAdd","freeFieldReferenceValueRemove","freeFieldAllowEmptyReferenceValueEnable","freeFieldAllowEmptyReferenceValueDisable","tesmaFieldAllowEmptyReferenceValueEnable","tesmaFieldAllowEmptyReferenceValueDisable"],"type":"string"},"HistoryArea":{"enum":["user","corporateGroup","customerContext","userGroup","announcement","freeField","assetAutomation","installationData","requestStatus","ownedAsset","confirmation","endOfLifeRequest"],"type":"string"},"HistoryItemResponse":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/HistoryAction"},"area":{"$ref":"#/components/schemas/HistoryArea"},"changeDate":{"format":"date-time","type":"string"},"changedBy":{"type":["null","string"]},"entity":{"type":["null","string"]},"entityKey":{"type":["null","string"]},"newValue":{"type":["null","string"]},"object":{"type":["null","string"]},"oldValue":{"type":["null","string"]},"propertyName":{"type":["null","string"]},"propertyType":{"$ref":"#/components/schemas/FieldConfiguration4CorporateGroupType"}},"type":"object"},"IFilterComponentResponse":{"additionalProperties":false,"type":"object"},"ImportColumnInfo":{"additionalProperties":false,"properties":{"canBeLocalized":{"type":"boolean"},"columnHeader":{"type":["null","string"]},"columnIndex":{"format":"int32","type":"integer"},"columnLocalizationKey":{"type":["null","string"]},"isAvailable":{"type":"boolean"},"isIdentifier":{"type":"boolean"},"isNotImportRelevantColumn":{"type":"boolean"},"isRequired":{"type":"boolean"},"propertyName":{"type":["null","string"]},"propertyType":{"type":["null","string"]},"propertyTypeName":{"type":["null","string"]}},"type":"object"},"ImportIdentifierName":{"enum":["assetId","serialNumber"],"type":"string"},"ImportInfo":{"additionalProperties":false,"properties":{"detectedCulture":{"type":["null","string"]},"endRow":{"format":"int32","type":"integer"},"headerRow":{"format":"int32","type":"integer"},"ignoreBlankFields":{"type":"boolean"},"importColumnInfos":{"items":{"$ref":"#/components/schemas/ImportColumnInfo"},"type":["null","array"]},"notImportRelevantColumnInfos":{"items":{"$ref":"#/components/schemas/ImportColumnInfo"},"type":["null","array"]},"preferredCulture":{"type":["null","string"]},"sheetName":{"type":["null","string"]},"startRow":{"format":"int32","type":"integer"},"useLocalization":{"type":"boolean"},"userEmail":{"type":["null","string"]}},"type":"object"},"ImportResponse":{"additionalProperties":false,"properties":{"assetIdentifier":{"type":["null","string"]},"completeDate":{"format":"date-time","type":["null","string"]},"corporateGroupId":{"format":"int32","type":"integer"},"createDate":{"format":"date-time","type":"string"},"culture":{"type":["null","string"]},"errorFileExtension":{"type":["null","string"]},"hasErrorFile":{"type":["null","boolean"]},"id":{"format":"int32","type":"integer"},"ignoreBlankFields":{"type":"boolean"},"inputFilePath":{"type":["null","string"]},"name":{"type":["null","string"]},"status":{"$ref":"#/components/schemas/ImportStatus"},"user":{"type":["null","string"]},"userId":{"format":"int32","type":"integer"}},"type":"object"},"ImportStatus":{"enum":["created","successful","failed","partiallySuccessful","inProgress"],"type":"string"},"InputAssistantFieldRequest":{"additionalProperties":false,"properties":{"isMandatory":{"type":"boolean"},"newValue":{"maxLength":256,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"technicalFieldName":{"type":["null","string"]}},"required":["technicalFieldName"],"type":"object"},"InputAssistantFieldResponse":{"additionalProperties":false,"properties":{"isRequired":{"type":"boolean"},"predefinedValue":{"type":["null","string"]},"technicalFieldName":{"type":["null","string"]}},"required":["technicalFieldName"],"type":"object"},"InputAssistantResponse":{"additionalProperties":false,"properties":{"assetStatusId":{"format":"int32","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/InputAssistantFieldResponse"},"type":["null","array"]},"hasSerialNumber":{"type":"boolean"},"id":{"format":"int32","type":"integer"},"isActive":{"type":"boolean"},"isDataFieldsActive":{"type":"boolean"}},"type":"object"},"InvoiceAddressResponse":{"additionalProperties":false,"properties":{"number":{"format":"int32","type":["null","integer"]},"text":{"type":["null","string"]}},"type":"object"},"InvoiceAssetResponse":{"additionalProperties":false,"properties":{"addressNumber":{"format":"int32","type":"integer"},"assetId":{"format":"int64","type":"integer"},"assetLocation":{"type":["null","string"]},"assetLocationOfInstallation":{"type":["null","string"]},"assetOrderNumber":{"type":["null","string"]},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"debtor":{"$ref":"#/components/schemas/DebtorResponse"},"description":{"type":["null","string"]},"invoiceCreationDate":{"format":"date","type":["null","string"]},"invoiceDate":{"format":"date","type":["null","string"]},"invoiceDueDate":{"format":"date","type":["null","string"]},"invoiceGrossAmount":{"format":"double","type":["null","number"]},"invoiceNetAmount":{"format":"double","type":["null","number"]},"invoiceNumber":{"format":"int32","type":"integer"},"invoiceOpenAmount":{"format":"double","type":["null","number"]},"invoicePaid":{"$ref":"#/components/schemas/InvoicePaidState"},"invoiceSupplyFromDate":{"format":"date","type":["null","string"]},"invoiceSupplyToDate":{"format":"date","type":["null","string"]},"invoiceTaxAmount":{"format":"double","type":["null","number"]},"invoiceTaxPercentage":{"format":"double","type":["null","number"]},"invoiceType":{"type":["null","string"]},"leaseLocationOfInstallation":{"type":["null","string"]},"leaseOrderNumber":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":"integer"},"manufacturer":{"type":["null","string"]},"netAmount":{"format":"double","type":["null","number"]},"period":{"$ref":"#/components/schemas/InvoicePeriod"},"serialNumber":{"type":["null","string"]}},"type":"object"},"InvoiceGroupRequest":{"additionalProperties":false,"properties":{"invoiceGroupNumber":{"format":"int32","type":["null","integer"]}},"type":"object"},"InvoiceGroupResponse":{"additionalProperties":false,"properties":{"customerAddressNumber":{"format":"int32","type":"integer"},"customerAddressText":{"type":["null","string"]},"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"debtorAddressText":{"type":["null","string"]},"debtorNumber":{"format":"int32","type":"integer"},"invoiceCompany":{"format":"int32","type":"integer"},"invoiceGroupName":{"type":["null","string"]},"invoiceGroupNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]}},"type":"object"},"InvoiceLeaseScheduleResponse":{"additionalProperties":false,"properties":{"address":{"type":["null","string"]},"creationDate":{"format":"date-time","type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"debtor":{"$ref":"#/components/schemas/DebtorResponse"},"dueDate":{"format":"date-time","type":["null","string"]},"grossAmount":{"format":"double","type":["null","number"]},"invoiceDate":{"format":"date-time","type":["null","string"]},"invoiceNumber":{"format":"int32","type":"integer"},"invoiceType":{"type":["null","string"]},"lastPrintedVoucherNumber":{"format":"int32","type":["null","integer"]},"leaseScheduleId":{"format":"int32","type":"integer"},"netAmount":{"format":"double","type":["null","number"]},"netAmountOfInvoicedAssets":{"format":"double","type":["null","number"]},"numberOfInvoicedAssets":{"format":"int32","type":["null","integer"]},"openAmount":{"format":"double","type":["null","number"]},"paid":{"$ref":"#/components/schemas/InvoicePaidState"},"period":{"$ref":"#/components/schemas/InvoicePeriod"},"supplyFromDate":{"format":"date-time","type":["null","string"]},"supplyToDate":{"format":"date-time","type":["null","string"]},"transmissionEmail":{"type":["null","string"]}},"type":"object"},"InvoicePaidState":{"enum":["unknown","unpaid","paid"],"type":"string"},"InvoicePeriod":{"enum":["monthly","monthlyContinues","quarterly","quarterlyContinues","biannual","annual","irregular","unique"],"type":"string"},"InvoiceResponse":{"additionalProperties":false,"properties":{"address":{"$ref":"#/components/schemas/InvoiceAddressResponse"},"creationDate":{"format":"date-time","type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"debtor":{"$ref":"#/components/schemas/DebtorResponse"},"documents":{"items":{"$ref":"#/components/schemas/DocumentMetadataResponse"},"type":["null","array"],"x-is-public":true},"dueDate":{"format":"date-time","type":["null","string"]},"grossAmount":{"format":"double","type":["null","number"]},"invoiceDate":{"format":"date-time","type":["null","string"]},"invoiceNumber":{"format":"int32","type":"integer"},"lastPrintedVoucherNumber":{"format":"int32","type":["null","integer"]},"netAmount":{"format":"double","type":["null","number"]},"openAmount":{"format":"double","type":["null","number"]},"paid":{"$ref":"#/components/schemas/InvoicePaidState"},"period":{"$ref":"#/components/schemas/InvoicePeriod"},"supplyFromDate":{"format":"date-time","type":["null","string"]},"supplyToDate":{"format":"date-time","type":["null","string"]},"taxAmount":{"format":"double","type":["null","number"]},"taxPercentage":{"format":"double","type":["null","number"]},"transmissionEmail":{"type":["null","string"]},"type":{"type":["null","string"]}},"type":"object"},"LeaseAssetExtensionRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"extensionPeriod":{"$ref":"#/components/schemas/PeriodType"},"leaseCompany":{"format":"int32","type":"integer"},"leaseScheduleId":{"format":"int32","type":"integer"}},"type":"object"},"LeaseCompanyConfigurationResponse":{"additionalProperties":false,"properties":{"email":{"type":["null","string"]},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"returnEmail":{"type":["null","string"]}},"type":"object"},"LeaseScheduleAccumulatedCurrencyAmountResponse":{"additionalProperties":false,"properties":{"amount":{"format":"double","type":"number"},"currency":{"type":["null","string"]}},"type":"object"},"LeaseScheduleAccumulatedPaymentPerMonthResponse":{"additionalProperties":false,"properties":{"accumulatedPaymentsPerCurrency":{"items":{"$ref":"#/components/schemas/LeaseScheduleAccumulatedCurrencyAmountResponse"},"type":["null","array"]},"accumulatedPaymentsPerMonth":{"items":{"$ref":"#/components/schemas/LeaseScheduleAccumulatedPaymentResponse"},"type":["null","array"]}},"type":"object"},"LeaseScheduleAccumulatedPaymentResponse":{"additionalProperties":false,"properties":{"amount":{"format":"double","type":"number"},"currency":{"type":["null","string"]},"estimatedAmount":{"format":"double","type":"number"},"paymentDate":{"format":"date","type":"string"}},"type":"object"},"LeaseScheduleAssetAddToCollectionRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"customerContext":{"$ref":"#/components/schemas/CustomerContextKeyActionRequest"},"leaseScheduleId":{"format":"int32","type":"integer"}},"type":"object"},"LeaseScheduleAssetConfirmationResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"acceptanceStatus":{"$ref":"#/components/schemas/AcceptanceStatus"},"actualLeaseEndDate":{"format":"date","type":["null","string"]},"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"category":{"$ref":"#/components/schemas/AssetCategory"},"city":{"type":["null","string"]},"class":{"type":["null","string"]},"confirmationStatus":{"$ref":"#/components/schemas/ConfirmationStatus"},"contractStatus":{"$ref":"#/components/schemas/AssetContractStatus"},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerSpecificFields":{"type":"null"},"description":{"type":["null","string"]},"explanation":{"type":["null","string"]},"federalState":{"type":["null","string"]},"firstConfirmationDate":{"format":"date-time","type":["null","string"]},"firstConfirmationUserId":{"format":"int32","type":["null","integer"]},"leaseDepartment":{"type":["null","string"]},"leaseOrderNumber":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"manufacturer":{"type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"orderNumber":{"type":["null","string"]},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"postcode":{"type":["null","string"]},"purchaseOrder":{"type":["null","string"]},"rejectionDate":{"format":"date-time","type":["null","string"]},"rejectionUserId":{"format":"int32","type":["null","integer"]},"secondConfirmationDate":{"format":"date-time","type":["null","string"]},"secondConfirmationUserId":{"format":"int32","type":["null","integer"]},"serialNumber":{"type":["null","string"]},"street":{"type":["null","string"]},"street2":{"type":["null","string"]},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"type":"object"},"LeaseScheduleAssetPaymentResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":"integer"},"amount":{"format":"double","type":["null","number"]},"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"class":{"type":["null","string"]},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerSpecificFields":{"type":"null"},"description":{"type":["null","string"]},"isEstimatedForecast":{"type":["null","boolean"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"orderNumber":{"type":["null","string"]},"paymentDate":{"format":"date","type":"string"},"periodBegin":{"format":"date","type":"string"},"periodEnd":{"format":"date","type":"string"},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"serialNumber":{"type":["null","string"]}},"type":"object"},"LeaseScheduleAssetPaymentViewResponse":{"additionalProperties":false,"properties":{"amount":{"format":"double","type":"number"},"assetId":{"format":"int64","type":"integer"},"class":{"type":["null","string"]},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"description":{"type":["null","string"]},"isEstimatedForecast":{"type":["null","boolean"]},"leaseScheduleId":{"format":"int32","type":"integer"},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"orderNumber":{"type":["null","string"]},"paymentDate":{"format":"date","type":"string"},"periodBegin":{"format":"date","type":"string"},"periodEnd":{"format":"date","type":"string"},"serialNumber":{"type":["null","string"]}},"type":"object"},"LeaseScheduleAssetResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"actualLeaseEndDate":{"format":"date","type":["null","string"]},"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"category":{"$ref":"#/components/schemas/AssetCategory"},"city":{"type":["null","string"]},"class":{"type":["null","string"]},"collectionNumber":{"format":"int32","type":["null","integer"]},"confirmationDate":{"format":"date-time","type":["null","string"]},"contractStatus":{"$ref":"#/components/schemas/AssetContractStatus"},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerSpecificFields":{"type":"null"},"deinstallationDate":{"format":"date","type":["null","string"]},"description":{"type":["null","string"]},"eolFlagDate":{"format":"date-time","type":["null","string"]},"eolFlagType":{"$ref":"#/components/schemas/AssetEndOfLifeFlagType"},"eolFlagUserId":{"format":"int32","type":["null","integer"]},"federalState":{"type":["null","string"]},"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"isCarbonZero":{"type":"boolean"},"leaseDepartment":{"type":["null","string"]},"leaseOrderNumber":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"mKey":{"format":"int32","type":"integer"},"manufacturer":{"type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"offleaseType":{"$ref":"#/components/schemas/AssetOffleaseType"},"orderNumber":{"type":["null","string"]},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"postcode":{"type":["null","string"]},"purchaseOrder":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"street":{"type":["null","string"]},"street2":{"type":["null","string"]},"technicalSpecifications":{"type":["null","string"]},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"type":"object"},"LeaseScheduleExtensionRequest":{"additionalProperties":false,"properties":{"extensionPeriod":{"$ref":"#/components/schemas/PeriodType"},"leaseCompany":{"format":"int32","type":"integer"},"leaseScheduleId":{"format":"int32","type":"integer"}},"type":"object"},"LeaseSchedulePatchRequest":{"additionalProperties":false,"properties":{"leaseOrderNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallation":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"LeaseSchedulePaymentPerMonthResponse":{"additionalProperties":false,"properties":{"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"invoiceDate":{"format":"date","type":"string"},"leaseScheduleId":{"format":"int32","type":"integer"},"totalAmount":{"format":"double","type":"number"}},"type":"object"},"LeaseSchedulePaymentResponse":{"additionalProperties":false,"properties":{"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"leaseScheduleId":{"format":"int32","type":"integer"},"paidAmount":{"format":"double","type":"number"},"totalAmount":{"format":"double","type":"number"}},"type":"object"},"LeaseSchedulePaymentStreamResponse":{"additionalProperties":false,"properties":{"amount":{"format":"double","type":"number"},"currency":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"isEstimatedForecast":{"type":["null","boolean"]},"leaseCompany":{"format":"int32","type":"integer"},"leaseScheduleNumber":{"format":"int32","type":"integer"},"periodBegin":{"format":"date-time","type":"string"},"periodEnd":{"format":"date-time","type":"string"}},"type":"object"},"LeaseScheduleResponse":{"additionalProperties":false,"properties":{"actualLeaseEndDate":{"format":"date","type":["null","string"]},"actualLeaseTerm":{"format":"int32","type":"integer"},"cancellationDate":{"format":"date","type":["null","string"]},"currency":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"isCanceled":{"type":"boolean"},"isCarbonZero":{"type":"boolean"},"leaseOrderNumber":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":"integer"},"leaseScheduleReference":{"type":["null","string"]},"leaseStartDate":{"format":"date","type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"minimumLeaseTermStartDate":{"format":"date","type":"string"},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"requestedEndDate":{"format":"date","type":["null","string"]},"status":{"$ref":"#/components/schemas/LeaseScheduleStatus"},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"type":"object"},"LeaseScheduleStatus":{"enum":["unknown","initial","active","inactive"],"type":"string"},"LocalizationResponse":{"additionalProperties":false,"properties":{"localizedStrings":{"additionalProperties":{"type":["null","string"]},"type":["null","object"]}},"type":"object"},"ManufacturerResponse":{"additionalProperties":false,"properties":{"description":{"type":["null","string"]},"key":{"type":["null","string"]}},"type":"object"},"MarkAssetWithAcceptanceStatusRequest":{"additionalProperties":false,"properties":{"acceptanceStatus":{"$ref":"#/components/schemas/AcceptanceStatus"},"assetId":{"format":"int64","type":"integer"}},"required":["assetId"],"type":"object"},"MultiOperationResponse":{"additionalProperties":false,"properties":{"countOfSuccessfullItems":{"format":"int32","type":"integer"}},"type":"object"},"NotificationCategory":{"enum":["information","workflowApproval","confirmation","api"],"type":"string"},"NotificationMarkPatchRequest":{"additionalProperties":false,"properties":{"ids":{"items":{"format":"int32","type":"integer"},"type":["null","array"]}},"type":"object"},"NotificationPatchRequest":{"additionalProperties":false,"properties":{"acknowledgementDate":{"format":"date-time","type":"string"}},"type":"object"},"NotificationRequest":{"additionalProperties":false,"properties":{"type":{"$ref":"#/components/schemas/NotificationType"},"userId":{"format":"int32","type":"integer"}},"type":"object"},"NotificationResponse":{"additionalProperties":false,"properties":{"acknowledgementDate":{"format":"date-time","type":["null","string"]},"category":{"$ref":"#/components/schemas/NotificationCategory"},"createDate":{"format":"date-time","type":"string"},"id":{"format":"int32","type":"integer"},"link":{"type":["null","string"]},"type":{"$ref":"#/components/schemas/NotificationType"}},"type":"object"},"NotificationSettingRequest":{"additionalProperties":false,"properties":{"emailNotification":{"type":"boolean"},"webNotification":{"type":"boolean"}},"type":"object"},"NotificationSettingResponse":{"additionalProperties":false,"properties":{"category":{"$ref":"#/components/schemas/NotificationCategory"},"emailNotification":{"type":"boolean"},"id":{"format":"int32","type":"integer"},"type":{"$ref":"#/components/schemas/NotificationType"},"webNotification":{"type":"boolean"}},"type":"object"},"NotificationType":{"enum":["draftCollection","pendingConfirmation","updates","multiUpdateFinished"],"type":"string"},"ObjectPermissionResponse":{"additionalProperties":false,"properties":{"objectType":{"type":["null","string"]},"permission":{"$ref":"#/components/schemas/PermissionLevel"}},"type":"object"},"OrderType":{"enum":["direct_Order","procurement"],"type":"string"},"OrderedAssetResponse":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"class":{"type":["null","string"]},"costCenter":{"type":["null","string"]},"customerContext":{"$ref":"#/components/schemas/CustomerContextResponse"},"customerSpecificFields":{"type":"null"},"description":{"type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"manufacturer":{"type":["null","string"]},"orderDate":{"format":"date-time","type":["null","string"]},"orderNumber":{"type":["null","string"]},"orderType":{"$ref":"#/components/schemas/OrderType"},"purchaseOrder":{"type":["null","string"]},"serialNumber":{"type":["null","string"]}},"type":"object"},"OwnedAssetDeleteRequest":{"additionalProperties":false,"properties":{"assetId":{"format":"int64","type":"integer"}},"type":"object"},"OwnedAssetResponse":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"actualLeaseEndDate":{"format":"date","type":["null","string"]},"assetCreationDate":{"format":"date-time","type":"string"},"assetId":{"format":"int64","type":"integer"},"assetStatusId":{"format":"int32","type":["null","integer"]},"category":{"$ref":"#/components/schemas/AssetCategory"},"class":{"type":["null","string"]},"collectionNumber":{"format":"int32","type":["null","integer"]},"contractStatus":{"$ref":"#/components/schemas/AssetContractStatus"},"costCenter":{"type":["null","string"]},"currency":{"type":["null","string"]},"customerCosts":{"format":"double","type":["null","number"]},"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"customerSpecificFields":{"type":"null"},"deinstallationDate":{"format":"date","type":["null","string"]},"description":{"type":["null","string"]},"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"leaseCompany":{"format":"int32","type":["null","integer"]},"leaseCompanyName":{"type":["null","string"]},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"type":["null","string"]},"locationOfInstallation":{"type":["null","string"]},"locationOfInstallationLS":{"type":["null","string"]},"manufacturer":{"type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"offleaseType":{"$ref":"#/components/schemas/AssetOffleaseType"},"orderNumber":{"type":["null","string"]},"orderNumberLS":{"type":["null","string"]},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"requestStatus":{"$ref":"#/components/schemas/AssetEndOfLifeFlagType"},"serialNumber":{"type":["null","string"]},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"type":"object"},"OwnedAssetWriteRequest":{"additionalProperties":false,"properties":{"acceptanceCertificateId":{"format":"int32","type":["null","integer"]},"actualLeaseEndDate":{"format":"date","type":["null","string"]},"category":{"$ref":"#/components/schemas/AssetCategory"},"class":{"maxLength":3,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"collectionNumber":{"format":"int32","type":["null","integer"]},"contractStatus":{"$ref":"#/components/schemas/AssetContractStatus"},"costCenter":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"currency":{"maxLength":3,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"customerCosts":{"format":"double","type":["null","number"]},"customerNumber":{"format":"int32","type":"integer"},"customerSpecificFields":{"type":"null"},"deinstallationDate":{"format":"date","type":["null","string"]},"description":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"leaseCompany":{"format":"int32","type":["null","integer"]},"leaseCompanyName":{"maxLength":101,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"leaseScheduleId":{"format":"int32","type":["null","integer"]},"leaseStartDate":{"format":"date","type":["null","string"]},"location":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallation":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"locationOfInstallationLS":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"manufacturer":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"minimumLeaseTermEndDate":{"format":"date","type":["null","string"]},"offleaseType":{"$ref":"#/components/schemas/AssetOffleaseType"},"orderNumber":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"orderNumberLS":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"periodicalPrice":{"format":"double","type":["null","number"]},"plannedLeaseEndDate":{"format":"date","type":["null","string"]},"requestStatus":{"$ref":"#/components/schemas/AssetEndOfLifeFlagType"},"serialNumber":{"maxLength":30,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"usagePeriod":{"$ref":"#/components/schemas/UsagePeriod"}},"required":["customerNumber"],"type":"object"},"PatchCollectionRequestAssetRequest":{"additionalProperties":false,"properties":{"assetClass":{"type":"string"},"assetType":{"$ref":"#/components/schemas/CollectionRequestUserAssetType"},"serialNumbers":{"items":{"type":"string"},"type":["null","array"]}},"type":"object"},"PatchRequest_AssetStatusPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_CollectionRequestAssetPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_CollectionRequestPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_ExportJobPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_GenericAssetBulkPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_LeaseSchedulePatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_NotificationMarkPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_NotificationPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_NotificationSettingRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_OwnedAssetWriteRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PatchRequest_PickupAddressPatchRequest":{"additionalProperties":false,"properties":{"updates":{"additionalProperties":{"type":"null"},"type":["null","object"]}},"type":"object"},"PeriodType":{"enum":["twelvePlusMonths","threeMonths","sixMonths","nineMonths","twelveMonths"],"type":"string"},"PermissionLevel":{"enum":["none","readExecute","update","create","delete"],"type":"string"},"PermissionTreeResponse":{"additionalProperties":false,"properties":{"objectPermissions":{"items":{"$ref":"#/components/schemas/ObjectPermissionResponse"},"type":["null","array"]}},"type":"object"},"PersonalAccessTokenActivationRequest":{"additionalProperties":false,"properties":{"tokenHashValue":{"maxLength":256,"minLength":0,"type":["null","string"]}},"type":"object"},"PersonalAccessTokenCreateRequest":{"additionalProperties":false,"properties":{"expirationDate":{"format":"date-time","type":"string"},"tokenName":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"}},"required":["expirationDate","tokenName"],"type":"object"},"PersonalAccessTokenCreateResponse":{"additionalProperties":false,"properties":{"tokenName":{"type":["null","string"]},"tokenValue":{"type":["null","string"]}},"type":"object"},"PersonalAccessTokenResponse":{"additionalProperties":false,"properties":{"createDate":{"format":"date-time","type":"string"},"expirationDate":{"format":"date-time","type":"string"},"id":{"format":"int32","type":"integer"},"status":{"$ref":"#/components/schemas/PersonalAccessTokenStatus"},"tokenHashValue":{"type":["null","string"]},"tokenName":{"type":["null","string"]}},"type":"object"},"PersonalAccessTokenStatus":{"enum":["active","inactive","expired"],"type":"string"},"PickupAddressCreateRequest":{"additionalProperties":false,"properties":{"addressNote":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"city":{"maxLength":60,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"companyName":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"country":{"maxLength":60,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"postcode":{"maxLength":15,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"street":{"maxLength":80,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"}},"required":["city","country","postcode","street"],"type":"object"},"PickupAddressPatchRequest":{"additionalProperties":false,"properties":{"addressNote":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"city":{"maxLength":60,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"companyName":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"country":{"maxLength":60,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"postcode":{"maxLength":15,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"street":{"maxLength":80,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"PickupAddressResponse":{"additionalProperties":false,"properties":{"addressNote":{"type":["null","string"]},"city":{"type":["null","string"]},"companyName":{"type":["null","string"]},"country":{"type":["null","string"]},"displayText":{"readOnly":true,"type":["null","string"]},"id":{"format":"int32","type":"integer"},"postcode":{"type":["null","string"]},"street":{"type":["null","string"]}},"type":"object"},"ProblemDetails":{"additionalProperties":{},"properties":{"detail":{"type":["null","string"]},"instance":{"type":["null","string"]},"status":{"format":"int32","type":["null","integer"]},"title":{"type":["null","string"]},"type":{"type":["null","string"]}},"type":"object"},"PublicAssetStatusResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"name":{"type":["null","string"]}},"type":"object"},"ReferenceValueResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"invoiceGroupNumber":{"format":"int32","type":["null","integer"]},"text":{"minLength":1,"type":"string"}},"required":["text"],"type":"object"},"ResultItem":{"additionalProperties":false,"properties":{"details":{"additionalProperties":{"type":"null"},"readOnly":true,"type":["null","object"]},"message":{"type":["null","string"]},"messageKey":{"type":["null","string"]},"responseCode":{"format":"int32","type":["null","integer"]},"sourceObjectId":{"type":"null"}},"type":"object"},"Result_ExecuteOwnedAssetImportCommand":{"additionalProperties":false,"properties":{"details":{"items":{"$ref":"#/components/schemas/ResultItem"},"readOnly":true,"type":["null","array"]},"isFailed":{"readOnly":true,"type":"boolean"},"isOk":{"readOnly":true,"type":"boolean"},"rootDetail":{"$ref":"#/components/schemas/ResultItem"},"value":{"$ref":"#/components/schemas/ExecuteOwnedAssetImportCommand"}},"type":"object"},"ReturnedQuantity":{"enum":["asAnnounced","moreReturned","lessReturned"],"type":"string"},"ReturnedQuantityForAsset":{"enum":["asAnnounced","additionalyReturned","notReturned"],"type":"string"},"RuleStepImplementationTypeResponse":{"additionalProperties":false,"properties":{"implementationTypes":{"items":{"type":"string"},"type":["null","array"]}},"type":"object"},"RuleStepParameterRequest":{"additionalProperties":false,"properties":{"name":{"type":["null","string"]},"value":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"null"}},"type":"object"},"RuleStepParameterResponse":{"additionalProperties":false,"properties":{"isReadOnly":{"type":"boolean"},"name":{"type":["null","string"]},"type":{"type":["null","string"]},"validationRules":{"type":["null","string"]},"value":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"null"}},"type":"object"},"RuleStepRequest":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"implementationType":{"type":["null","string"]},"parameters":{"items":{"$ref":"#/components/schemas/RuleStepParameterResponse"},"type":["null","array"]},"stepType":{"type":["null","string"]}},"type":"object"},"RuleStepResponse":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"implementationType":{"type":["null","string"]},"isValid":{"type":"boolean"},"nextStepId":{"format":"uuid","type":["null","string"]},"parameters":{"items":{"$ref":"#/components/schemas/RuleStepParameterResponse"},"type":["null","array"]},"previousStepId":{"format":"uuid","type":["null","string"]},"stepType":{"$ref":"#/components/schemas/StepType"},"workflowId":{"format":"int32","type":"integer"}},"type":"object"},"SmsCollectedAssetResponse":{"additionalProperties":false,"properties":{"assetClass":{"type":["null","string"]},"assetNumber":{"type":["null","string"]},"collectionNumber":{"format":"int32","type":"integer"},"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"description":{"type":["null","string"]},"id":{"format":"int64","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"manufacturer":{"type":["null","string"]},"serialNumber":{"type":["null","string"]},"transportOrderId":{"format":"int32","type":"integer"},"transportOrderNumber":{"type":["null","string"]}},"type":"object"},"SortingInfo":{"additionalProperties":false,"properties":{"desc":{"type":"boolean"},"selector":{"type":["null","string"]}},"type":"object"},"StepType":{"enum":["undefined","trigger","condition","action"],"type":"string"},"SummaryInfo":{"additionalProperties":false,"properties":{"selector":{"type":["null","string"]},"summaryType":{"type":["null","string"]}},"type":"object"},"TesmaLoadOptions":{"additionalProperties":false,"properties":{"filter":{"items":{},"type":["null","array"]},"group":{"items":{"$ref":"#/components/schemas/GroupingInfo"},"type":["null","array"]},"groupSummary":{"items":{"$ref":"#/components/schemas/SummaryInfo"},"type":["null","array"]},"isCountQuery":{"type":"boolean"},"requireGroupCount":{"type":"boolean"},"requireTotalCount":{"type":"boolean"},"select":{"items":{"type":"string"},"type":["null","array"]},"skip":{"format":"int32","type":"integer"},"sort":{"items":{"$ref":"#/components/schemas/SortingInfo"},"type":["null","array"]},"take":{"format":"int32","type":"integer"},"totalSummary":{"items":{"$ref":"#/components/schemas/SummaryInfo"},"type":["null","array"]}},"type":"object"},"TesmaLoadResult_AcceptanceCertificateResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/AcceptanceCertificateResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_ApproverStateResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/ApproverStateResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_AssetAutomationWorkflowInfoResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/AssetAutomationWorkflowInfoResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_AssetClassResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/AssetClassResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_CollectedAssetResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/CollectedAssetResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_CollectionResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/CollectionResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_ConfirmationProcessHistoryResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/ConfirmationProcessHistoryResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_CustomerContextResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/CustomerContextResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_DocumentMetadataResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/DocumentMetadataResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_GenericAssetResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/GenericAssetResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_InputAssistantResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/InputAssistantResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_Int32":{"additionalProperties":false,"properties":{"data":{"items":{"format":"int32","type":"integer"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_InvoiceAssetResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/InvoiceAssetResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseScheduleAssetConfirmationResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseScheduleAssetConfirmationResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseScheduleAssetPaymentViewResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseScheduleAssetPaymentViewResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseScheduleAssetResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseScheduleAssetResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseSchedulePaymentPerMonthResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseSchedulePaymentPerMonthResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseSchedulePaymentStreamResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseSchedulePaymentStreamResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_LeaseScheduleResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/LeaseScheduleResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_ManufacturerResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/ManufacturerResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_OrderedAssetResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/OrderedAssetResponse"},"type":["null","array"],"x-is-public":true},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_String":{"additionalProperties":false,"properties":{"data":{"items":{"type":"string"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_UserGroupAssignmentGridResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/UserGroupAssignmentGridResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"TesmaLoadResult_UserResponse":{"additionalProperties":false,"properties":{"data":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":["null","array"]},"groupCount":{"default":-1,"format":"int32","type":"integer"},"summary":{"items":{},"type":["null","array"]},"totalCount":{"default":-1,"format":"int32","type":"integer"}},"type":"object"},"UpdateInputAssistantRequest":{"additionalProperties":false,"properties":{"assetStatusId":{"format":"int32","type":"integer"},"fields":{"items":{"$ref":"#/components/schemas/InputAssistantFieldRequest"},"type":["null","array"]},"hasSerialNumber":{"type":"boolean"},"isActive":{"type":"boolean"},"isDataFieldsActive":{"type":"boolean"}},"type":"object"},"UpdateRuleStepParametersRequest":{"additionalProperties":false,"properties":{"updates":{"items":{"$ref":"#/components/schemas/RuleStepParameterRequest"},"type":["null","array"]}},"type":"object"},"UpdateUserRequest":{"additionalProperties":false,"properties":{"culture":{"maxLength":5,"minLength":0,"type":"string"},"department":{"maxLength":50,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"firstName":{"maxLength":256,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"id":{"format":"int32","type":"integer"},"language":{"maxLength":5,"minLength":0,"type":"string"},"lastName":{"maxLength":170,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":"string"},"phoneNumber":{"maxLength":50,"minLength":0,"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]},"timezone":{"maxLength":100,"minLength":0,"type":["null","string"]}},"required":["culture","firstName","id","language","lastName"],"type":"object"},"UpdateWorkflowRequest":{"additionalProperties":false,"properties":{"steps":{"items":{"$ref":"#/components/schemas/RuleStepRequest"},"type":["null","array"]},"title":{"type":["null","string"]}},"type":"object"},"UsagePeriod":{"enum":["monthly","quarterly","semiyearly","yearly"],"type":"string"},"User":{"additionalProperties":false,"properties":{"activeDirectoryId":{"type":["null","string"]},"createDate":{"format":"date-time","type":"string"},"culture":{"type":["null","string"]},"department":{"type":["null","string"]},"email":{"type":["null","string"]},"firstName":{"type":["null","string"]},"id":{"format":"int32","type":"integer"},"identityProviderId":{"type":["null","string"]},"isChgEmployee":{"type":["null","boolean"]},"isExternalUser":{"readOnly":true,"type":"boolean"},"isInternalUser":{"readOnly":true,"type":"boolean"},"language":{"type":["null","string"]},"lastName":{"type":["null","string"]},"phoneNumber":{"type":["null","string"]},"status":{"$ref":"#/components/schemas/UserStatus"},"timezone":{"type":["null","string"]},"type":{"$ref":"#/components/schemas/UserType"}},"type":"object"},"UserAssignedCustomerResponse":{"additionalProperties":false,"properties":{"city":{"type":["null","string"]},"corporateGroupApiName":{"type":["null","string"]},"corporateGroupName":{"type":["null","string"]},"country":{"type":["null","string"]},"customerName":{"type":["null","string"]},"customerNumber":{"format":"int32","type":"integer"},"leaseCompany":{"format":"int32","type":"integer"},"leaseCompanyName":{"type":["null","string"]},"postcode":{"type":["null","string"]},"street":{"type":["null","string"]}},"type":"object"},"UserDocumentResponse":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"createDate":{"format":"date-time","type":"string"},"documentCategory":{"$ref":"#/components/schemas/DocumentCategory"},"documentId":{"format":"int32","type":"integer"},"fileSize":{"format":"int64","type":"integer"},"mimeType":{"type":["null","string"]},"shortName":{"type":["null","string"]},"userId":{"format":"int32","type":"integer"}},"type":"object"},"UserGroupAssignmentGridResponse":{"additionalProperties":false,"properties":{"corporateGroupName":{"type":["null","string"]},"hasForcedFilters":{"type":"boolean"},"id":{"format":"int32","type":"integer"},"name":{"type":["null","string"]}},"type":"object"},"UserGroupCategory":{"enum":["system","manual"],"type":"string"},"UserGroupRequest":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"name":{"maxLength":50,"minLength":0,"type":"string"}},"required":["corporateGroupId","name"],"type":"object"},"UserGroupResponse":{"additionalProperties":false,"properties":{"corporateGroupId":{"format":"int32","type":"integer"},"corporateGroupName":{"type":["null","string"]},"createDate":{"format":"date-time","type":"string"},"id":{"format":"int32","type":"integer"},"name":{"type":["null","string"]},"type":{"$ref":"#/components/schemas/UserGroupCategory"}},"type":"object"},"UserResponse":{"additionalProperties":false,"properties":{"createDate":{"format":"date-time","type":"string"},"culture":{"type":["null","string"]},"department":{"type":["null","string"]},"email":{"type":["null","string"]},"firstName":{"type":["null","string"]},"fullName":{"readOnly":true,"type":["null","string"]},"id":{"format":"int32","type":"integer"},"identityProviderId":{"type":["null","string"]},"language":{"type":["null","string"]},"lastName":{"type":["null","string"]},"phoneNumber":{"type":["null","string"]},"status":{"$ref":"#/components/schemas/UserStatus"},"timezone":{"type":["null","string"]},"type":{"$ref":"#/components/schemas/UserType"}},"type":"object"},"UserRightResponse":{"additionalProperties":false,"properties":{"corporateGroup":{"type":["null","string"]},"corporateGroupId":{"format":"int32","type":"integer"},"emailAddress":{"type":["null","string"]},"firstName":{"type":["null","string"]},"lastName":{"type":["null","string"]},"role":{"type":["null","string"]},"status":{"type":["null","string"]},"uniqueId":{"type":["null","string"]},"userGroup":{"type":["null","string"]},"userGroupId":{"format":"int32","type":"integer"},"userId":{"format":"int32","type":"integer"},"userType":{"type":["null","string"]}},"type":"object"},"UserStatus":{"enum":["deactivated","inProgress","active"],"type":"string"},"UserType":{"enum":["chg","customer","afterSales"],"type":"string"},"ValidationProblemDetails":{"additionalProperties":{},"properties":{"detail":{"type":["null","string"]},"errors":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":["null","object"]},"instance":{"type":["null","string"]},"status":{"format":"int32","type":["null","integer"]},"title":{"type":["null","string"]},"type":{"type":["null","string"]}},"type":"object"},"WidgetConfigurationResponse":{"additionalProperties":false,"properties":{"parameters":{"items":{"$ref":"#/components/schemas/WidgetParameterResponse"},"type":["null","array"]},"previewIcon":{"type":["null","string"]},"sizes":{"items":{"$ref":"#/components/schemas/WidgetSizeResponse"},"type":["null","array"]}},"type":"object"},"WidgetParameterResponse":{"additionalProperties":false,"properties":{"default":{"type":"null"},"name":{"type":["null","string"]}},"type":"object"},"WidgetResponse":{"additionalProperties":false,"properties":{"configuration":{"$ref":"#/components/schemas/WidgetConfigurationResponse"},"name":{"type":["null","string"]}},"type":"object"},"WidgetSizeResponse":{"additionalProperties":false,"properties":{"height":{"format":"int32","type":"integer"},"width":{"format":"int32","type":"integer"}},"type":"object"},"WorkflowRuleResponse":{"additionalProperties":false,"properties":{"id":{"format":"int32","type":"integer"},"isAssetAutomationWorkflow":{"type":"boolean"},"status":{"$ref":"#/components/schemas/WorkflowRuleStatus"},"steps":{"items":{"$ref":"#/components/schemas/RuleStepResponse"},"type":["null","array"]},"title":{"pattern":"^((?!(<[sS][cC][rR][iI][pP][tT]|\\[\\%|%\\]))(.|\\s))*$","type":["null","string"]}},"type":"object"},"WorkflowRuleStatus":{"enum":["draft","active","inactive"],"type":"string"}},"securitySchemes":{"PersonalAccessToken":{"description":"Authentication using the Personal Access Token generated in tesma UI.","in":"header","name":"X-API-KEY","type":"apiKey"}}},"info":{"title":"tesma","version":"v1"},"openapi":"3.1.1","paths":{"/v1/collections":{"get":{"parameters":[{"description":"The load options object.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_CollectionResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets all collections.","tags":["Collections"]}},"/v1/collections/{collectionId}/{transportOrderId}/collectedassets":{"get":{"parameters":[{"description":"","in":"path","name":"collectionId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"","in":"path","name":"transportOrderId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_CollectedAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets the collected assets for the specified collectionId and transportOrderId.","tags":["CollectedAssets"]}},"/v1/collections/{collectionId}/{transportOrderId}/processedassets":{"get":{"parameters":[{"description":"","in":"path","name":"collectionId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"","in":"path","name":"transportOrderId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_CollectedAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets the processed collected assets for the specified collectionId and transportOrderId.","tags":["CollectedAssets"]}},"/v1/documents":{"get":{"parameters":[{"description":"The load options object.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_DocumentMetadataResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets a list of all document metadatas.","tags":["Documents"]},"post":{"parameters":[{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"encoding":{"AssetId":{"style":"form"},"CustomerNumber":{"style":"form"},"DocumentCategory":{"style":"form"},"DocumentType":{"style":"form"},"LeaseCompany":{"style":"form"},"LeaseScheduleId":{"style":"form"}},"schema":{"properties":{"AssetId":{"format":"int64","type":"integer"},"CustomerNumber":{"format":"int32","type":"integer"},"DocumentCategory":{"$ref":"#/components/schemas/DocumentCategory"},"DocumentType":{"maxLength":128,"minLength":0,"type":"string"},"LeaseCompany":{"format":"int32","type":"integer"},"LeaseScheduleId":{"format":"int32","type":"integer"}},"required":["CustomerNumber","DocumentCategory","DocumentType","LeaseCompany"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DocumentCreateResponse"},"type":"array","x-is-public":true}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"415":{"description":"Unsupported Media Type"}},"summary":"Uploads a new customer document.","tags":["Documents"]}},"/v1/documents/downloads":{"get":{"parameters":[{"description":"The load options","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Downloads multiple documents in a zip file.","tags":["Documents"]}},"/v1/documents/{documentId}":{"delete":{"parameters":[{"description":"The document id.","in":"path","name":"documentId","required":true,"schema":{"type":"string"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Deletes the document with the given document id.","tags":["Documents"]}},"/v1/documents/{documentId}/download":{"get":{"parameters":[{"description":"The document id.","in":"path","name":"documentId","required":true,"schema":{"type":"string"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Downloads the document by given document id.","tags":["Documents"]}},"/v1/invoices/{year}/assets":{"get":{"parameters":[{"description":"The year in which the invoice for the assets has been created.","in":"path","name":"year","required":true,"schema":{"format":"int32","maximum":2100,"minimum":1900,"type":"integer"}},{"description":"The data source load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_InvoiceAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets a list of all invoiced assets including their invoice header data.","tags":["InvoiceAssets"]}},"/v1/leases":{"get":{"parameters":[{"description":"The load options object.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets a list of all lease schedules.","tags":["LeaseSchedule"]}},"/v1/leases/acceptanceCertificates":{"get":{"parameters":[{"description":"The load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_AcceptanceCertificateResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets all acceptance certificates.","tags":["AcceptanceCertificates"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The id of the acceptance certificate as identifier","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptanceCertificateResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets a single acceptance certificate by acceptance certificate id.","tags":["AcceptanceCertificates"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/assets":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The acceptance certificate identifier.","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleAssetConfirmationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets all lease assets for the given acceptance certificate.","tags":["AcceptanceCertificateAssets"]},"patch":{"parameters":[{"description":"The lease company number of the acceptance certificate","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The id of the acceptance certificate","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"application/*+json":{"schema":{"items":{"$ref":"#/components/schemas/AssetConfirmationProcessPatchRequest"},"type":"array","x-is-public":true}},"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssetConfirmationProcessPatchRequest"},"type":"array","x-is-public":true}},"application/json-patch+json":{"schema":{"items":{"$ref":"#/components/schemas/AssetConfirmationProcessPatchRequest"},"type":"array","x-is-public":true}}},"description":"The assets mark requests, defining the acceptance certificate on asset level"},"responses":{"200":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Marks assets of a specific acceptance certificate with an acceptance status","tags":["AcceptanceCertificateAssets"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/assets/acceptancestatus":{"put":{"deprecated":true,"parameters":[{"description":"The lease company number of the acceptance certificate","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The id of the acceptance certificate","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"application/*+json":{"schema":{"items":{"$ref":"#/components/schemas/MarkAssetWithAcceptanceStatusRequest"},"type":"array","x-is-public":true}},"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MarkAssetWithAcceptanceStatusRequest"},"type":"array","x-is-public":true}},"application/json-patch+json":{"schema":{"items":{"$ref":"#/components/schemas/MarkAssetWithAcceptanceStatusRequest"},"type":"array","x-is-public":true}}},"description":"The assets mark requests, defining the acceptance certificate on asset level"},"responses":{"200":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Marks assets of a specific acceptance certificate with an acceptance status","tags":["AcceptanceCertificateAssets"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/confirmation":{"post":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The acceptance certificate identifier.","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmAcceptanceCertificateResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Confirms the given acceptance certificate.","tags":["AcceptanceCertificates"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/payments":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The acceptance certificate identifier.","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The load options","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleAssetPaymentViewResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets past and future payments for the given acceptance certificate.","tags":["AcceptanceCertificateAssets"]}},"/v1/leases/acceptanceCertificates/{leaseCompanyNumber}/{acceptanceCertificateId}/rejection":{"post":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The acceptance certificate identifier.","in":"path","name":"acceptanceCertificateId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Rejects the given acceptance certificate","tags":["AcceptanceCertificates"]}},"/v1/leases/assetStatus":{"get":{"parameters":[{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAssetStatusResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets all asset statuses of the corporate group.","tags":["AssetStatus"]}},"/v1/leases/assets":{"get":{"parameters":[{"description":"The load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets all lease assets.","tags":["LeaseScheduleAssets"]},"patch":{"parameters":[{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"application/*+json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}},"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}},"application/json-patch+json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}}},"description":"A List of asset patch data."},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBulkJobResponse"}}},"description":"Accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Applies the given updates to the lease assets identified only by their asset id.","tags":["LeaseScheduleAssetPatch"]}},"/v1/leases/assets/bulkpatches/{bulkJobId}":{"get":{"parameters":[{"description":"The id of the bulk job","in":"path","name":"bulkJobId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBulkJobResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets the current status of a bulk lease asset patch request","tags":["LeaseScheduleAssetPatch"]}},"/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule id.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets a lease schedule by specified lease schedule number.","tags":["LeaseSchedule"]},"patch":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule id.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"application/*+json":{"schema":{"$ref":"#/components/schemas/LeaseSchedulePatchRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/LeaseSchedulePatchRequest"}},"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/LeaseSchedulePatchRequest"}}},"description":"The patch object containing the updates."},"responses":{"200":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Applies an update to the lease schedule with the given lease schedule number.","tags":["LeaseSchedule"]}},"/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}/assets":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule identifier.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The load options object.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets all lease assets of the specified lease schedule.","tags":["LeaseScheduleAssets"]}},"/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}/assets/{assetId}":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule identifier.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The asset id.","in":"path","name":"assetId","required":true,"schema":{"format":"int64","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseScheduleAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets a single lease asset of the specified lease schedule.","tags":["LeaseScheduleAssets"]}},"/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}/assets/{assetId}/payments":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule identifier.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The asset id.","in":"path","name":"assetId","required":true,"schema":{"format":"int64","minimum":1,"type":"integer"}},{"description":"The data source load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_LeaseScheduleAssetPaymentViewResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets past and future payments for the given lease asset.","tags":["LeaseScheduleAssetPayments"]}},"/v1/leases/{leaseCompanyNumber}/{leaseScheduleId}/payments":{"get":{"parameters":[{"description":"The lease company number.","in":"path","name":"leaseCompanyNumber","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"The lease schedule identifier.","in":"path","name":"leaseScheduleId","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseSchedulePaymentResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets the payments of the specified lease schedule. Displayed in lease schedule payment details.","tags":["LeaseSchedulePayment"]}},"/v1/metadata/assetclasses":{"get":{"parameters":[{"description":"The load options to be used on the result.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_AssetClassResponse"}}},"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets a list of all asset classes known to tesma.","tags":["MetaData"]}},"/v1/metadata/manufacturers":{"get":{"parameters":[{"description":"The load options to be used on the result.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_ManufacturerResponse"}}},"description":"OK"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets a list of all manufacturers known to tesma.","tags":["MetaData"]}},"/v1/orderedassets":{"get":{"parameters":[{"description":"The load options.","in":"query","name":"loadOptions","schema":{"$ref":"#/components/schemas/TesmaLoadOptions"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesmaLoadResult_OrderedAssetResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Gets all ordered assets.","tags":["OrderedAssetsRead"]},"patch":{"parameters":[{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"requestBody":{"content":{"application/*+json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}},"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}},"application/json-patch+json":{"schema":{"items":{"$ref":"#/components/schemas/GenericAssetBulkPatchAssetRequest"},"type":"array","x-is-public":true}}},"description":"A List of asset patch data."},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBulkJobResponse"}}},"description":"Accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Applies the given updates to the ordered assets identified only by their asset id.","tags":["OrderedAssetsBulkEdit"]}},"/v1/orderedassets/bulkpatches/{id}":{"get":{"parameters":[{"description":"The id of the bulk job","in":"path","name":"id","required":true,"schema":{"format":"int32","minimum":1,"type":"integer"}},{"description":"Corporate group key that assigns the currently selected corporate group to the request.","in":"header","name":"CorporateGroup-Name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBulkJobResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Gets the current status of a bulk ordered asset patch request","tags":["OrderedAssetsBulkEdit"]}}},"security":[{"PersonalAccessToken":[]}],"servers":[{"url":"https://api.tesma.com"}],"tags":[{"name":"CollectedAssets"},{"name":"CollectionRequestAssets"},{"name":"CollectionRequests"},{"name":"Collections"},{"name":"PickupAddress"},{"name":"ExportJobs"},{"name":"InvoiceAssets"},{"name":"InvoiceLeaseSchedules"},{"name":"Invoices"},{"name":"Documents"},{"name":"UserDocuments"},{"name":"AcceptanceCertificateAssets"},{"name":"AcceptanceCertificates"},{"name":"AssetStatus"},{"name":"Import"},{"name":"LeaseSchedule"},{"name":"LeaseScheduleAssetPatch"},{"name":"LeaseScheduleAssets"},{"name":"LeaseScheduleAssetPayments"},{"name":"LeaseScheduleAssetsData"},{"name":"LeaseScheduleAssetsEndOfLease"},{"name":"LeaseSchedulePayment"},{"name":"OrderedAssetsBulkEdit"},{"name":"OrderedAssetsRead"},{"name":"OrderedAssetsEdit"},{"name":"SettingsImport"},{"name":"ApplicationParameters"},{"name":"Automation"},{"name":"FieldLabels"},{"name":"InputAssistant"},{"name":"LeaseCompanyConfiguration"},{"name":"Localizations"},{"name":"Maintenance"},{"name":"MetaData"},{"name":"Announcement"},{"name":"Application"},{"name":"Approvers"},{"name":"Compliance"},{"name":"CorporateGroups"},{"name":"CustomerAddress"},{"name":"CustomerContextAssignments"},{"name":"Dashboards"},{"name":"FieldConfigurations"},{"name":"Notification"},{"name":"PersonalAccessTokens"},{"name":"UserGroups"},{"name":"Users"},{"name":"UsersUserGroups"},{"name":"Widget"},{"name":"OwnedAssetImport"},{"name":"OwnedAssets"}]}
```
