GET api/Operation/GetOperationTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of FarmingOperationTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CodeValue | string |
Required |
|
| Operation | string |
Required |
|
| Description | string |
Data type: MultilineText |
|
| Type | OperationType |
None. |
|
| PerformsLoadStock | boolean |
None. |
|
| PerformsUnloadingStock | boolean |
None. |
|
| Display | string |
None. |
|
| ProductTypologyList | Collection of ProductTypologyModel |
None. |
|
| ProductTypologyStrList | string |
None. |
|
| ProductTypologyIdList | Collection of integer |
None. |
|
| AllowedMultiField | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CodeValue": "sample string 2",
"Operation": "sample string 3",
"Description": "sample string 4",
"Type": 0,
"PerformsLoadStock": true,
"PerformsUnloadingStock": true,
"Display": "sample string 2 - sample string 3",
"ProductTypologyList": [
{
"IsStoredInWarehouse": true,
"Category": "Articoli da Magazzino",
"TypologyValue": "sample string 2",
"Typology": 0,
"TypologyDescription": "Articolo / Prodotto",
"Id": 3,
"CreatedOnDate": "2026-06-22T08:17:34.6899514+02:00"
},
{
"IsStoredInWarehouse": true,
"Category": "Articoli da Magazzino",
"TypologyValue": "sample string 2",
"Typology": 0,
"TypologyDescription": "Articolo / Prodotto",
"Id": 3,
"CreatedOnDate": "2026-06-22T08:17:34.6899514+02:00"
}
],
"ProductTypologyStrList": "1;2",
"ProductTypologyIdList": [
1,
2
],
"AllowedMultiField": true
},
{
"Id": 1,
"CodeValue": "sample string 2",
"Operation": "sample string 3",
"Description": "sample string 4",
"Type": 0,
"PerformsLoadStock": true,
"PerformsUnloadingStock": true,
"Display": "sample string 2 - sample string 3",
"ProductTypologyList": [
{
"IsStoredInWarehouse": true,
"Category": "Articoli da Magazzino",
"TypologyValue": "sample string 2",
"Typology": 0,
"TypologyDescription": "Articolo / Prodotto",
"Id": 3,
"CreatedOnDate": "2026-06-22T08:17:34.6899514+02:00"
},
{
"IsStoredInWarehouse": true,
"Category": "Articoli da Magazzino",
"TypologyValue": "sample string 2",
"Typology": 0,
"TypologyDescription": "Articolo / Prodotto",
"Id": 3,
"CreatedOnDate": "2026-06-22T08:17:34.6899514+02:00"
}
],
"ProductTypologyStrList": "1;2",
"ProductTypologyIdList": [
1,
2
],
"AllowedMultiField": true
}
]
application/xml, text/xml
Sample:
<ArrayOfFarmingOperationTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.ApiServices.DTO.FarmingOperation">
<FarmingOperationTypeDto>
<CodeValue>sample string 2</CodeValue>
<Description>sample string 4</Description>
<Id>1</Id>
<Operation>sample string 3</Operation>
<PerformsLoadStock>true</PerformsLoadStock>
<PerformsUnloadingStock>true</PerformsUnloadingStock>
<ProductTypologyIdList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</ProductTypologyIdList>
<ProductTypologyList xmlns:d3p1="http://schemas.datacontract.org/2004/07/tocode.Plugin.Products.Services.Models">
<d3p1:ProductTypologyModel>
<CreatedOnDate xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">2026-06-22T08:17:34.6899514+02:00</CreatedOnDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">3</Id>
<d3p1:IsStoredInWarehouse>true</d3p1:IsStoredInWarehouse>
<d3p1:Typology>WarehouseArticle</d3p1:Typology>
<d3p1:TypologyValue>sample string 2</d3p1:TypologyValue>
</d3p1:ProductTypologyModel>
<d3p1:ProductTypologyModel>
<CreatedOnDate xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">2026-06-22T08:17:34.6899514+02:00</CreatedOnDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">3</Id>
<d3p1:IsStoredInWarehouse>true</d3p1:IsStoredInWarehouse>
<d3p1:Typology>WarehouseArticle</d3p1:Typology>
<d3p1:TypologyValue>sample string 2</d3p1:TypologyValue>
</d3p1:ProductTypologyModel>
</ProductTypologyList>
<ProductTypologyStrList>1;2</ProductTypologyStrList>
<Type>PhytosanitaryTreatment</Type>
</FarmingOperationTypeDto>
<FarmingOperationTypeDto>
<CodeValue>sample string 2</CodeValue>
<Description>sample string 4</Description>
<Id>1</Id>
<Operation>sample string 3</Operation>
<PerformsLoadStock>true</PerformsLoadStock>
<PerformsUnloadingStock>true</PerformsUnloadingStock>
<ProductTypologyIdList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</ProductTypologyIdList>
<ProductTypologyList xmlns:d3p1="http://schemas.datacontract.org/2004/07/tocode.Plugin.Products.Services.Models">
<d3p1:ProductTypologyModel>
<CreatedOnDate xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">2026-06-22T08:17:34.6899514+02:00</CreatedOnDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">3</Id>
<d3p1:IsStoredInWarehouse>true</d3p1:IsStoredInWarehouse>
<d3p1:Typology>WarehouseArticle</d3p1:Typology>
<d3p1:TypologyValue>sample string 2</d3p1:TypologyValue>
</d3p1:ProductTypologyModel>
<d3p1:ProductTypologyModel>
<CreatedOnDate xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">2026-06-22T08:17:34.6899514+02:00</CreatedOnDate>
<Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">3</Id>
<d3p1:IsStoredInWarehouse>true</d3p1:IsStoredInWarehouse>
<d3p1:Typology>WarehouseArticle</d3p1:Typology>
<d3p1:TypologyValue>sample string 2</d3p1:TypologyValue>
</d3p1:ProductTypologyModel>
</ProductTypologyList>
<ProductTypologyStrList>1;2</ProductTypologyStrList>
<Type>PhytosanitaryTreatment</Type>
</FarmingOperationTypeDto>
</ArrayOfFarmingOperationTypeDto>