# Data Transfer Controller

## GET /api/datatransfer/{dataTransferId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}":{"get":{"tags":["data-transfer-controller"],"operationId":"getDataTransfer","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["name","period"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"projectId":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"period":{"minimum":1000,"type":"integer","format":"int32"},"owner":{"type":"string"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## PUT /api/datatransfer/{dataTransferId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}":{"put":{"tags":["data-transfer-controller"],"operationId":"updateDataTransfer","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["name","period"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"projectId":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"period":{"minimum":1000,"type":"integer","format":"int32"},"owner":{"type":"string"}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/datatransfer/{dataTransferId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}":{"delete":{"tags":["data-transfer-controller"],"operationId":"deleteDataTransfer","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer/{dataTransferId}/details/{detailId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/details/{detailId}":{"get":{"tags":["data-transfer-controller"],"operationId":"getDetail","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}},{"name":"detailId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["sourceVariableId","targetVariableId"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"rangeType":{"type":"string","enum":["Current Hour","Previous Hour","Current Day","Previous Day","Current Week","Previous Week","Current Month","Previous Month","Current Year","Previous Year"]},"calcType":{"type":"string","enum":["Min","Max","Avg","Sum","Count","First Value","Last Value","Max Difference","Last First Difference","Middle Value","Median Value"]},"sourceVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"keepLastValues":{"type":"boolean"},"unit":{"type":"string"},"engZeroScale":{"type":"number","format":"double"},"fractionalDigitCount":{"type":"integer","format":"int32"},"name":{"maxLength":100,"minLength":0,"type":"string"},"logExpressionId":{"type":"string"},"logType":{"type":"string","enum":["No Log","When Changed","Periodically","Threshold","Expression","Custom"]},"logExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionId":{"type":"string"},"isPulseOff":{"type":"boolean"},"frameId":{"type":"string"},"setMinValue":{"type":"number","format":"double"},"pulseOffDuration":{"type":"integer","format":"int32"},"code":{"maxLength":20,"minLength":0,"type":"string"},"engFullScale":{"type":"number","format":"double"},"pulseOnDuration":{"type":"integer","format":"int32"},"logThreshold":{"type":"number","format":"double"},"rawFullScale":{"type":"number","format":"double"},"isPulseOn":{"type":"boolean"},"valueExpressionType":{"type":"string","enum":["NONE","CUSTOM","EXPRESSION"]},"logMaxValue":{"type":"number","format":"double"},"setMaxValue":{"type":"number","format":"double"},"logMinValue":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"projectId":{"type":"string"},"rawZeroScale":{"type":"number","format":"double"},"logPeriod":{"minimum":1,"type":"integer","format":"int32"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"connectionId":{"type":"string"},"deviceId":{"type":"string"}}},"threshold":{"type":"number","format":"double"},"targetVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer~1{dataTransferId}~1details~1{detailId}/get/responses/200/content/*~1*/schema/properties/sourceVariable/properties"}},"sourceVariableId":{"type":"string"},"dataTransferId":{"type":"string"},"targetVariableId":{"type":"string"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## PUT /api/datatransfer/{dataTransferId}/details/{detailId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/details/{detailId}":{"put":{"tags":["data-transfer-controller"],"operationId":"updateDetail","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}},{"name":"detailId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["sourceVariableId","targetVariableId"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"rangeType":{"type":"string","enum":["Current Hour","Previous Hour","Current Day","Previous Day","Current Week","Previous Week","Current Month","Previous Month","Current Year","Previous Year"]},"calcType":{"type":"string","enum":["Min","Max","Avg","Sum","Count","First Value","Last Value","Max Difference","Last First Difference","Middle Value","Median Value"]},"sourceVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"keepLastValues":{"type":"boolean"},"unit":{"type":"string"},"engZeroScale":{"type":"number","format":"double"},"fractionalDigitCount":{"type":"integer","format":"int32"},"name":{"maxLength":100,"minLength":0,"type":"string"},"logExpressionId":{"type":"string"},"logType":{"type":"string","enum":["No Log","When Changed","Periodically","Threshold","Expression","Custom"]},"logExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionId":{"type":"string"},"isPulseOff":{"type":"boolean"},"frameId":{"type":"string"},"setMinValue":{"type":"number","format":"double"},"pulseOffDuration":{"type":"integer","format":"int32"},"code":{"maxLength":20,"minLength":0,"type":"string"},"engFullScale":{"type":"number","format":"double"},"pulseOnDuration":{"type":"integer","format":"int32"},"logThreshold":{"type":"number","format":"double"},"rawFullScale":{"type":"number","format":"double"},"isPulseOn":{"type":"boolean"},"valueExpressionType":{"type":"string","enum":["NONE","CUSTOM","EXPRESSION"]},"logMaxValue":{"type":"number","format":"double"},"setMaxValue":{"type":"number","format":"double"},"logMinValue":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"projectId":{"type":"string"},"rawZeroScale":{"type":"number","format":"double"},"logPeriod":{"minimum":1,"type":"integer","format":"int32"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"connectionId":{"type":"string"},"deviceId":{"type":"string"}}},"threshold":{"type":"number","format":"double"},"targetVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer~1{dataTransferId}~1details~1{detailId}/put/requestBody/content/application~1json/schema/properties/sourceVariable/properties"}},"sourceVariableId":{"type":"string"},"dataTransferId":{"type":"string"},"targetVariableId":{"type":"string"}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/datatransfer/{dataTransferId}/details/{detailId}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/details/{detailId}":{"delete":{"tags":["data-transfer-controller"],"operationId":"deleteDetail","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}},{"name":"detailId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer":{"get":{"tags":["data-transfer-controller"],"operationId":"getDataTransfers","parameters":[{"name":"projectId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"required":["name","period"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"projectId":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"period":{"minimum":1000,"type":"integer","format":"int32"},"owner":{"type":"string"}}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer":{"post":{"tags":["data-transfer-controller"],"operationId":"createDataTransfer","requestBody":{"content":{"application/json":{"schema":{"required":["name","period"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"projectId":{"type":"string"},"name":{"maxLength":100,"minLength":0,"type":"string"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"period":{"minimum":1000,"type":"integer","format":"int32"},"owner":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["name","period"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer/post/requestBody/content/application~1json/schema/properties"}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/{dataTransferId}/schedule

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/schedule":{"post":{"tags":["data-transfer-controller"],"operationId":"scheduleScript_1","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer/{dataTransferId}/details

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/details":{"get":{"tags":["data-transfer-controller"],"operationId":"getDetails","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"required":["sourceVariableId","targetVariableId"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"rangeType":{"type":"string","enum":["Current Hour","Previous Hour","Current Day","Previous Day","Current Week","Previous Week","Current Month","Previous Month","Current Year","Previous Year"]},"calcType":{"type":"string","enum":["Min","Max","Avg","Sum","Count","First Value","Last Value","Max Difference","Last First Difference","Middle Value","Median Value"]},"sourceVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"keepLastValues":{"type":"boolean"},"unit":{"type":"string"},"engZeroScale":{"type":"number","format":"double"},"fractionalDigitCount":{"type":"integer","format":"int32"},"name":{"maxLength":100,"minLength":0,"type":"string"},"logExpressionId":{"type":"string"},"logType":{"type":"string","enum":["No Log","When Changed","Periodically","Threshold","Expression","Custom"]},"logExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionId":{"type":"string"},"isPulseOff":{"type":"boolean"},"frameId":{"type":"string"},"setMinValue":{"type":"number","format":"double"},"pulseOffDuration":{"type":"integer","format":"int32"},"code":{"maxLength":20,"minLength":0,"type":"string"},"engFullScale":{"type":"number","format":"double"},"pulseOnDuration":{"type":"integer","format":"int32"},"logThreshold":{"type":"number","format":"double"},"rawFullScale":{"type":"number","format":"double"},"isPulseOn":{"type":"boolean"},"valueExpressionType":{"type":"string","enum":["NONE","CUSTOM","EXPRESSION"]},"logMaxValue":{"type":"number","format":"double"},"setMaxValue":{"type":"number","format":"double"},"logMinValue":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"projectId":{"type":"string"},"rawZeroScale":{"type":"number","format":"double"},"logPeriod":{"minimum":1,"type":"integer","format":"int32"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"connectionId":{"type":"string"},"deviceId":{"type":"string"}}},"threshold":{"type":"number","format":"double"},"targetVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer~1{dataTransferId}~1details/get/responses/200/content/*~1*/schema/items/properties/sourceVariable/properties"}},"sourceVariableId":{"type":"string"},"dataTransferId":{"type":"string"},"targetVariableId":{"type":"string"}}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/{dataTransferId}/details

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/details":{"post":{"tags":["data-transfer-controller"],"operationId":"createDetail","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["sourceVariableId","targetVariableId"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"rangeType":{"type":"string","enum":["Current Hour","Previous Hour","Current Day","Previous Day","Current Week","Previous Week","Current Month","Previous Month","Current Year","Previous Year"]},"calcType":{"type":"string","enum":["Min","Max","Avg","Sum","Count","First Value","Last Value","Max Difference","Last First Difference","Middle Value","Median Value"]},"sourceVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"creationDate":{"type":"string","format":"date-time","readOnly":true},"lastModifiedBy":{"type":"string","readOnly":true},"createdBy":{"type":"string","readOnly":true},"lastModifiedDate":{"type":"string","format":"date-time","readOnly":true},"id":{"type":"string"},"keepLastValues":{"type":"boolean"},"unit":{"type":"string"},"engZeroScale":{"type":"number","format":"double"},"fractionalDigitCount":{"type":"integer","format":"int32"},"name":{"maxLength":100,"minLength":0,"type":"string"},"logExpressionId":{"type":"string"},"logType":{"type":"string","enum":["No Log","When Changed","Periodically","Threshold","Expression","Custom"]},"logExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionCode":{"maxLength":4000,"minLength":0,"type":"string"},"valueExpressionId":{"type":"string"},"isPulseOff":{"type":"boolean"},"frameId":{"type":"string"},"setMinValue":{"type":"number","format":"double"},"pulseOffDuration":{"type":"integer","format":"int32"},"code":{"maxLength":20,"minLength":0,"type":"string"},"engFullScale":{"type":"number","format":"double"},"pulseOnDuration":{"type":"integer","format":"int32"},"logThreshold":{"type":"number","format":"double"},"rawFullScale":{"type":"number","format":"double"},"isPulseOn":{"type":"boolean"},"valueExpressionType":{"type":"string","enum":["NONE","CUSTOM","EXPRESSION"]},"logMaxValue":{"type":"number","format":"double"},"setMaxValue":{"type":"number","format":"double"},"logMinValue":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"projectId":{"type":"string"},"rawZeroScale":{"type":"number","format":"double"},"logPeriod":{"minimum":1,"type":"integer","format":"int32"},"dsc":{"maxLength":255,"minLength":0,"type":"string"},"connectionId":{"type":"string"},"deviceId":{"type":"string"}}},"threshold":{"type":"number","format":"double"},"targetVariable":{"required":["isActive","isPulseOff","isPulseOn","keepLastValues","name"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer~1{dataTransferId}~1details/post/requestBody/content/application~1json/schema/properties/sourceVariable/properties"}},"sourceVariableId":{"type":"string"},"dataTransferId":{"type":"string"},"targetVariableId":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"required":["sourceVariableId","targetVariableId"],"type":"object","properties":{"$ref":"#/paths/~1api~1datatransfer~1{dataTransferId}~1details/post/requestBody/content/application~1json/schema/properties"}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/{dataTransferId}/cancel

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/cancel":{"post":{"tags":["data-transfer-controller"],"operationId":"cancelDataTransfer","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/schedule/by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/schedule/by-project":{"post":{"tags":["data-transfer-controller"],"operationId":"scheduleDataTransfers","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/import

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/import":{"post":{"tags":["data-transfer-controller"],"operationId":"importMetadataFromZip_18","parameters":[{"name":"importChecks","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["Project","AlarmGroup","Alarm","Animation","Connection","Device","Variable","Script","Report","Trend","Expression","DataTransfer","Template","Role","Keyword","VariableMonitor","Language","TraceTable","Dashboard","JsPdfReport","Faceplate","CustomSqlQuery","CustomInfluxDBQuery","JasperReport","CustomSqlDatasource","CustomInfluxDBDatasource","CustomMenu","Symbol","File"]}}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## POST /api/datatransfer/cancel/by-project

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/cancel/by-project":{"post":{"tags":["data-transfer-controller"],"operationId":"cancelDataTransfers","parameters":[{"name":"projectId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer/{dataTransferId}/status

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/{dataTransferId}/status":{"get":{"tags":["data-transfer-controller"],"operationId":"getDataTransferStatus","parameters":[{"name":"dataTransferId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","enum":["Scheduled","Not Scheduled"]}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer/status/by-ids

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/status/by-ids":{"get":{"tags":["data-transfer-controller"],"operationId":"getDataTransferStatuses","parameters":[{"name":"dataTransferIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string","enum":["Scheduled","Not Scheduled"]}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## GET /api/datatransfer/export

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/export":{"get":{"tags":["data-transfer-controller"],"operationId":"exportMetadataToZip_18","parameters":[{"name":"exportChecks","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["Project","AlarmGroup","Alarm","Animation","Connection","Device","Variable","Script","Report","Trend","Expression","DataTransfer","Template","Role","Keyword","VariableMonitor","Language","TraceTable","Dashboard","JsPdfReport","Faceplate","CustomSqlQuery","CustomInfluxDBQuery","JasperReport","CustomSqlDatasource","CustomInfluxDBDatasource","CustomMenu","Symbol","File"]}}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string"}},{"name":"includeIds","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/datatransfer/multi/by-ids

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/multi/by-ids":{"delete":{"tags":["data-transfer-controller"],"operationId":"deleteDataTransfersByIds","parameters":[{"name":"dataTransferIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```

## DELETE /api/datatransfer/details/multi/by-ids

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"inSCADA API","version":"20250703-6"},"servers":[{"url":"https://inscada.cloud","description":"Generated server url"}],"security":[{"accessTokenCookie":[],"spaceHeader":[]}],"components":{"securitySchemes":{"accessTokenCookie":{"type":"apiKey","description":"Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the `ins_refresh_token` cookie at the /refresh endpoint.","name":"ins_access_token","in":"cookie"}}},"paths":{"/api/datatransfer/details/multi/by-ids":{"delete":{"tags":["data-transfer-controller"],"operationId":"deleteDataTransferDetailsByIds","parameters":[{"name":"dataTransferDetailIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"type":"object"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"type":"object"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object"}}}}}}}}}
```
