# Data services
Provides service methods to retrieve general data.
* **Type**: SOAP 
* **Production WSDL**: https://services.generali.gr/gbox-ws/soap/v1/data?wsdl
* **Test WSDL**: http://www.generali.gr/gbox-ws/soap/v1/data?wsdl
* **Demo WSDL**: http://www.generali.gr/gbox-ws/soap/demo/v1/data?wsdl
Methods
* [listGenders](#listGenders) 
* [listEmployments](#listEmployments)
* [listMedicalSpecialties](#listMedicalSpecialties)
* [listMaritalStatuses](#listMaritalStatuses)
* [listPaymentFrequencies](#listPaymentFrequencies)
* [listProtectionMeasures](#listProtectionMeasures)
* [listSupportingDocumentTypes](#listSupportingDocumentTypes)
* [listProductParam](#listProductParam)
* [listMotorManufacturers](#listMotorManufacturers)
* [listMotorModelsWithRetailPrice](#listMotorModelsWithRetailPrice)
* [listMotorModels](#listMotorModels)
* [listType1](#listType1)
* [listHospitalizations](#listHospitalizations)
* [listOperations](#listOperations)
* [listMorals](#listMorals)
* [listDiseaseGravities](#listDiseaseGravities)
* [listInsuranceTypes](#listInsuranceTypes)
* [listDamageTypes](#listDamageTypes)
## General ##
Most methods have the same signature, described as follows:
### Input 
Type | Description 
---- | ----------- 
*(nothing)* | *---*
```
   
   
      
   
```
### Output
Type | Description | Example
---- | ----------- 
List[ParamInfo] | see *(General considerations)* | List[ ParamInfo["001", "MERCEDES"], ParamInfo["002", "AUDI"]
```
   
      
         
            1
            Male
         
         
            2
            Female
         
         
            3
            Company
         
      
   
```
## listGenders 
List gender parameters. This is a closed set.
* **Male**: 1
* **Female**: 2
* **Company**: 3
## listEmployments 
Lists employments.
## listMedicalSpecialties 
Lists medical specialties
## listMaritalStatuses 
Lists marital statuses.
## listPaymentFrequencies 
Lists payment frequencies.
## listProtectionMeasures 
Lists protection measures.
## listSupportingDocumentTypes 
Lists the types of the supporting documents.
## listMotorManufacturers 
Lists motor manufacturers
## listProductParam 
Lists the params.
### Input
Field | Type | Value | Required/Optional | Description | Example
----- | ---- | ----- | ----------------- | ----------- | -------
type | String | **GGY:** For deductible **102**: For sumInsured | Required | The type of the parameter | "GGY"
### Example
#### Input
```
   
   
      
         GGY
      
   
```
#### Output
```
   
      
         
            701
            Απαλλαγή 300
         
         
            702
            Απαλλαγή 1.000
         
         
            703
            Απαλλαγή 1.500
         
      
   
```
## listMotorManufacturers  ##
Lists all the available motor manufacturers.
## listMotorModelsWithRetailPrice  ##
Lists motor models, including their retail price, that match the input criteria (filters).
### Input
Field | Type | Value | Required/Optional | Description | Example
----- | ---- | ----- | ----------------- | ----------- | -------
manufacturerCode | String | listMotorManufacturers(): code | Required | The manufacturer code | "003"
year | Integer | Integer | Required | The year of production of the motor | 2010
first | Integer | Integer | Optional | The index of the first record to be take, *default is 0* | 5
max | Integer | Integer | Optional | The max number of records to be retrieved, *default is 100* | 10
filter | MotorModelFilter | MotorModelFilter | Optional | The criteria used in order to filter the result set | *(see example)*
#### MotorModelFilter
Field | Type | Value | Required/Optional | Description | Example
----- | ---- | ----- | ----------------- | ----------- | -------
type1 | String | Pattern (using % as variable parts) | Optional | The pattern to match the type1 against | %FSi%
type2 | String | Pattern (using % as variable parts) | Optional | The pattern to match the type2 against | A3%
chassisType | String | Pattern (using % as variable parts) | Optional | The pattern to match the chassis against | Χάτσμπακ
engCc | Integer | Integer | Optional | The engine's cubic centimiters | 1598
engPowerKw | Integer | Integer | Optional | The engine's power in Kw | 85
engPowerHp | Integer | Integer | Optional | The engine's power in Hp | 115
taxHp | Integer | Integer | Optional | The tax engine Hp | 11
doors | Integer | Integer | Optional | The number of doors | 5
### Output
Type | Value | Description | Example
---- | ----- | ------------| -------
List[MotorModelInfo] | List[MotorModelInfo] | The list of resulting motor models | *(see below)*
#### MotorModelInfo
Field | Type | Value | Description | Example
----- | ---- | ----- | ----------- | -------
code | String | Numerical | The Eurotax code of the motor | 33502
manufacturerCode | String | Numerical | The manufacturer code | 00013
manufacturerDescription | String | String | The manufacturer description | HYUNDAI
type1 | String | String | First classification level | A3 SB 1.6 16v FSi
type2 | String | String | Second classification level | Attraction
chassisType | String | String | The type of chassis | Χάτσμπακ
engCc | Integer | Integer | The engine's cubic centimiters | 1598
engPowerKw | Integer | Integer | The engine's power in Kw | 85
engPowerHp | Integer | Integer | The engine's power in Hp | 115
taxHp | Integer | Integer | The tax engine Hp | 11
doors | Integer | Integer | The number of doors | 5
beginDate | Date | Date | The commercialization begin date | 2006-12-06
endDate | Date | Date | The commercialization end date | 2013-01-05
co2Emission | Integer | Integer | The co2 emission | 158
retailPrice | Integer | Integer | The suggested current price | 8810.00
### Example 1
#### Input
```
   
   
      
         00004
         2010
         0
         3
	    
            %FSi%
            5
            85
            115
         
      
   
```
#### Output
```
   
      
         
            33502
            00004
            AUDI
            A3 SB 1.6 16v FSi
            Attraction
            5
            2004-10-01T00:00:00+03:00
            2010-02-01T00:00:00+02:00
            Χάτσμπακ
            1598
            85
            115
            11
            158
            8720.00
         
         
            33515
            00004
            AUDI
            A3 SB 1.6 16v FSi
            Ambition
            5
            2004-10-01T00:00:00+03:00
            2010-02-01T00:00:00+02:00
            Χάτσμπακ
            1598
            85
            115
            11
            158
            9460.00
         
      
   
```
### Example 2
#### Input
```
   
   
      
         00004
         2013
         2
         
            A4%
            %Quattro%
         
      
   
```
#### Output
```
   
      
         
            55550
            00004
            AUDI
            A4 1.8 16v TFSi
            Quattro 170Hp
            4
            2012-01-01T00:00:00+02:00
            Σεντάν
            1798
            125
            170
            13
            144
            26590.00
         
         
            55554
            00004
            AUDI
            A4 2.0 16v TFSi
            Quattro
            4
            2012-01-01T00:00:00+02:00
            2013-07-01T00:00:00+03:00
            Σεντάν
            1984
            155
            211
            14
            159
            28640.00
         
      
   
```
## listMotorModels  ##
Lists motor models, without their retail price, that match the input criteria (filters).
### Input
Field | Type | Value | Required/Optional | Description | Example
----- | ---- | ----- | ----------------- | ----------- | -------
manufacturerCode | String | listMotorManufacturers(): code | Required | The manufacturer code | "003"
first | Integer | Integer | Optional | The index of the first record to be take, *default is 0* | 5
max | Integer | Integer | Optional | The max number of records to be retrieved, *default is 100* | 10
filter | MotorModelFilter | MotorModelFilter | Optional | The criteria used in order to filter the result set | *(see above)*
### Output
Is the same as in [listMotorModelsWithRetailPrice](#listMotorModelsWithRetailPrice), without the retailPrice.
## listType1  ##
Lists all the type1 (descriptions) of a manufacturer for a specific year
Field | Type | Value | Required/Optional | Description | Example
----- | ---- | ----- | ----------------- | ----------- | -------
manufacturerCode | String | listMotorManufacturers(): code | Required | The manufacturer code | "003"
year | Integer | Integer | Required | The manufacturer year | 2012
### Output 
Type | Value | Description | Example
---- | ----- | ------------| -------
List[String] | List[String] | A list with all the type1 | 
### Example
*Input*
```
   
   
      
         00003
         2013
      
   
```
*Output*
```
   
      
         Giulietta 1.4 16v TBi
         Giulietta 1.4 16v TBi Multiair
         Giulietta 1.75 16v TBi
         Giulietta 1.6 JTD
         Giulietta 2.0 JTD
         MiTo 1.4i 16v Turbo Multiair
         MiTo 1.4i 16v Turbo Multiair
         Giulietta 1.4 16v TBi Multiair
         Giulietta 2.0 JTDM-2
         MiTo 1.4i 8v
         MiTo 1.4i 8v
         MiTo 1.4i 8v
         MiTo 1.4i 16v Multiair
         MiTo 1.4i 16v Multiair
         MiTo 1.4i 16v Multiair
         MiTo 1.4i 16v Turbo
         MiTo 1.4i 16v Turbo
         MiTo 1.3 JTDM-2 85Hp
         MiTo 1.3 JTDM-2
         MiTo 1.3 JTDM-2 85Hp
         MiTo 1.3 JTDM-2 85Hp
         Giulietta 1.4 16v
         Giulietta 1.4 16v TBi
         Giulietta 1.4 16v TBi Multiair
         Giulietta 1.6 JTD
         Giulietta 1.6 JTD
         MiTo 0.9i 8v Twinair
         MiTo 1.4i 16v Turbo
         Giulietta 1.4 16v TBi
         Giulietta 1.6 JTD
         MiTo 1.4i 16v Multiair
         MiTo 1.3 JTDM-2
         MiTo 1.4i 8v
         MiTo 1.4i 8v
         MiTo 0.9i 8v Twinair
         MiTo 0.9i 8v Twinair
         MiTo 1.4i 16v Turbo Multiair
         MiTo 1.3 JTDM-2 85Hp
         MiTo 1.3 JTDM-2 85Hp
         MiTo 1.3 JTDM-2
         MiTo 1.4i 16v Turbo
         Giulietta 1.4 16v TBi
         Giulietta 1.4 16v TBi
         Giulietta 1.4 16v TBi Multiair
         Giulietta 1.4 16v TBi Multiair
         Giulietta 1.75 16v TBi
         Giulietta 1.75 16v TBi
         Giulietta 1.6 JTD
         Giulietta 1.6 JTD
         Giulietta 2.0 JTD
         Giulietta 2.0 JTD
         4C 1.75 16v Tbi
      
   
```
## listHospitalizations 
Lists hospitalizations.
## listOperations 
Lists operations.
## listMorals 
Lists moral types.
## listDiseaseGravities 
Lists disease gravities.
## listInsuranceTypes 
Lists insurance types.
## listDamageTypes 
Lists damage types.