func (c *Client) CreateService(i *CreateServiceInput) (*Service, error) {
	resp, err := c.PostForm("/service", i, nil)
	if err != nil {
		return nil, err
	}

	var s *Service
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}
	return s, nil
}
// CreateService creates a new service with the given information.
CreateService creates a new service with the given information.
// CreateService creates a new service with the given information .
func (c *Client) CreateService(i *CreateServiceInput) (*Service, error) {
	resp, err := c.PostForm("/service", i, nil)
	if err != nil {
		return nil, err
	}
	var s *Service
	if err := decodeBodyMap(resp.Body, &s); err != nil {
		return nil, err
	}
	return s, nil
}
func ( c * Client ) CreateService ( i * CreateServiceInput ) ( * Service , error ) { resp , err := c . PostForm ( " " , i , nil ) if err != nil { return nil , err } var s * Service if err := decodeBodyMap ( resp . Body , & s ) ; err != nil { return nil , err } return s , nil }
CreateService creates a new service with the given information.
CreateService creates a new service with the given information .