func (c *Client) GetServiceDetails(i *GetServiceInput) (*ServiceDetail, error) {
	if i.ID == "" {
		return nil, ErrMissingID
	}

	path := fmt.Sprintf("/service/%s/details", i.ID)
	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}

	var s *ServiceDetail
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}

	return s, nil
}
// GetService retrieves the details for the service with the given id. If no
// service exists for the given id, the API returns a 400 response (not a 404).
GetService retrieves the details for the service with the given id. If no
service exists for the given id, the API returns a 400 response (not a 404).
// GetService retrieves the details for the service with the given id . If no // service exists for the given id the API returns a 400 response ( not a 404 ) .
func (c *Client) GetServiceDetails(i *GetServiceInput) (*ServiceDetail, error) {
	if i.ID == "" {
		return nil, ErrMissingID
	}
	path := fmt.Sprintf("/service/%s/details", i.ID)
	resp, err := c.Get(path, nil)
	if err != nil {
		return nil, err
	}
	var s *ServiceDetail
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}
	return s, nil
}
func ( c * Client ) GetServiceDetails ( i * GetServiceInput ) ( * ServiceDetail , error ) { if i . ID == " " { return nil , ErrMissingID } path := fmt . Sprintf ( " " , i . ID ) resp , err := c . Get ( path , nil ) if err != nil { return nil , err } var s * ServiceDetail if err := decodeBodyMap ( resp . Body , & s ) ; err != nil { return nil , err } return s , nil }
GetService retrieves the details for the service with the given id.
GetService retrieves the details for the service with the given id .