All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.imsweb.seerapi.client.ndc.NdcService Maven / Gradle / Ivy

There is a newer version: 5.7
Show newest version
/*
 * Copyright (C) 2015 Information Management Services, Inc.
 */
package com.imsweb.seerapi.client.ndc;

import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

public interface NdcService {

    /**
     * Return a complete NDC entity based on code.
     * @param code an NDC code
     * @return an NdcProduct object
     */
    @GET("ndc/code/{code}")
    Call getByCode(@Path("code") String code);

    /**
     * Return a list of matching NDC entities
     * @param searchParams A Map of search parameters.  Use NdcSearch to easily build parameter list.
     * @return a List of NdcProduct objects
     */
    @GET("ndc")
    Call> search(@QueryMap Map searchParams);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy