// Fetch a specific Day.
Fetch a specific Day.
// Fetch a specific Day .
func (c *DefaultApiService) FetchDay(ResourceType string, Day string) error {
	path := "/v1/Exports/{ResourceType}/Days/{Day}"
	path = strings.Replace(path, "{"+"ResourceType"+"}", ResourceType, -1)
	path = strings.Replace(path, "{"+"Day"+"}", Day, -1)
	data := url.Values{}
	headers := make(map[string]interface{})
	resp, err := c.requestHandler.Get(c.baseURL+path, data, headers)
	if err != nil {
		return err
	}
	defer resp.Body.Close()
	return nil
}
func ( c * DefaultApiService ) FetchDay ( ResourceType string , Day string ) error { path := " " path = strings . Replace ( path , " " + " " + " " , ResourceType , - 1 ) path = strings . Replace ( path , " " + " " + " " , Day , - 1 ) data := url . Values { } headers := make ( map [ string ] interface { } ) resp , err := c . requestHandler . Get ( c . baseURL + path , data , headers ) if err != nil { return err } defer resp . Body . Close ( ) return nil }
Fetch a specific Day.
Fetch a specific Day .