I have following url http://54.169.227.89:90/DataAccessService.svc/GetProducts/2 which i wanted to use i retrofit get method How to append 2 which is company id which i get from sharepreference during login
Here is ma interface code
public interface ProductsGet {
    String Company_id = OrderApplication.CompanyID_New;
    @GET("/DataAccessService.svc/GetProducts/")
    public void getProducts( Callback<List<ProductsNew>> response);
}
				
                        
In order to make end point dynamic either you can implementing
Endpointand make use ofsetUrl()or you can use URL manipulation block which is surrounded by{and}.