Mercurial > gemma
diff pkg/soap/ifbn/service.go @ 4102:3d2f02c16765 request_hist_bns
Request historic bottleneck data from SOAP service
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 26 Jul 2019 13:46:55 +0200 |
parents | 6592396f5061 |
children | 6270951dda28 |
line wrap: on
line diff
--- a/pkg/soap/ifbn/service.go Fri Jul 26 12:53:01 2019 +0200 +++ b/pkg/soap/ifbn/service.go Fri Jul 26 13:46:55 2019 +0200 @@ -36,7 +36,6 @@ } type Export_bn_by_isrs struct { - //XMLName xml.Name `xml:"http://www.ris.eu/bottleneck/3.0 export_bn_by_isrs"` XMLName xml.Name `xml:"http://www.ris.eu/bottleneck/3.0 export_bn_by_isrs"` ISRS *ArrayOfISRSPair `xml:"ISRS,omitempty"` @@ -826,13 +825,11 @@ } type RequestedPeriod struct { - //XMLName xml.Name `xml:"http://www.ris.eu/wamos/common/3.0 RequestedPeriod"` - - Date_start time.Time `xml:"Date_start,omitempty"` + Date_start *time.Time `xml:"http://www.ris.eu/wamos/common/3.0 Date_start,omitempty"` - Date_end time.Time `xml:"Date_end,omitempty"` + Date_end *time.Time `xml:"http://www.ris.eu/wamos/common/3.0 Date_end,omitempty"` - Value_interval int32 `xml:"Value_interval,omitempty"` + Value_interval *int32 `xml:"http://www.ris.eu/wamos/common/3.0 Value_interval,omitempty"` } type ArrayOfString struct {