@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Component(value="org.genesys.glis.v1.api.ManagerApi") public class ManagerApi extends Object
| Constructor and Description |
|---|
ManagerApi() |
ManagerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
SMTADocumentPDFResponse |
downloadSMTADocument(String r,
String username,
String password,
byte[] xml)
Generate the SMTA document in PDF
|
org.springframework.http.ResponseEntity<SMTADocumentPDFResponse> |
downloadSMTADocumentWithHttpInfo(String r,
String username,
String password,
byte[] xml)
Generate the SMTA document in PDF
|
ApiClient |
getApiClient() |
PGRFARegistrationResponse |
registerPGRFA(PGRFARegistration pgrfa)
Register PGRFA in GLIS and (potentially) obtain GLIS-minted DOI
The purpose of this transaction is to obtain a DOI associated to the PGRFA by providing a set of descriptors in the registration request.
|
org.springframework.http.ResponseEntity<PGRFARegistrationResponse> |
registerPGRFAWithHttpInfo(PGRFARegistration pgrfa)
Register PGRFA in GLIS and (potentially) obtain GLIS-minted DOI
The purpose of this transaction is to obtain a DOI associated to the PGRFA by providing a set of descriptors in the registration request.
|
void |
setApiClient(ApiClient apiClient) |
PGRFARegistrationResponse |
updatePGRFA(PGRFAUpdate pgrfa)
Update PGRFA in GLIS
Update information on PGRFA already registered in GLIS.
|
org.springframework.http.ResponseEntity<PGRFARegistrationResponse> |
updatePGRFAWithHttpInfo(PGRFAUpdate pgrfa)
Update PGRFA in GLIS
Update information on PGRFA already registered in GLIS.
|
SMTAReportResponse |
uploadReport(String r,
String username,
String password,
byte[] xml,
String compressed)
Upload report
The purpose of this transaction is to report SMTAs to the Secretariat of the International Treaty on Plant Genetic Resources for Food and Agriculture (ITPGRFA) to fulfill their reporting obligations as set forth by the SMTA.
|
org.springframework.http.ResponseEntity<SMTAReportResponse> |
uploadReportWithHttpInfo(String r,
String username,
String password,
byte[] xml,
String compressed)
Upload report
The purpose of this transaction is to report SMTAs to the Secretariat of the International Treaty on Plant Genetic Resources for Food and Agriculture (ITPGRFA) to fulfill their reporting obligations as set forth by the SMTA.
|
public ManagerApi()
@Autowired public ManagerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public PGRFARegistrationResponse registerPGRFA(PGRFARegistration pgrfa) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
pgrfa - Register PGRFA in GLIS and obtain GLIS DOI. (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic org.springframework.http.ResponseEntity<PGRFARegistrationResponse> registerPGRFAWithHttpInfo(PGRFARegistration pgrfa) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
pgrfa - Register PGRFA in GLIS and obtain GLIS DOI. (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PGRFARegistrationResponse updatePGRFA(PGRFAUpdate pgrfa) throws org.springframework.web.client.RestClientException
200 - Successful operation
pgrfa - Update PGRFA in GLIS by DOI. (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic org.springframework.http.ResponseEntity<PGRFARegistrationResponse> updatePGRFAWithHttpInfo(PGRFAUpdate pgrfa) throws org.springframework.web.client.RestClientException
200 - Successful operation
pgrfa - Update PGRFA in GLIS by DOI. (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic SMTAReportResponse uploadReport(String r, String username, String password, byte[] xml, String compressed) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
r - (required)username - (required)password - (required)xml - (required)compressed - (optional)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic org.springframework.http.ResponseEntity<SMTAReportResponse> uploadReportWithHttpInfo(String r, String username, String password, byte[] xml, String compressed) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
r - (required)username - (required)password - (required)xml - (required)compressed - (optional)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic SMTADocumentPDFResponse downloadSMTADocument(String r, String username, String password, byte[] xml) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
r - (required)username - (required)password - (required)xml - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic org.springframework.http.ResponseEntity<SMTADocumentPDFResponse> downloadSMTADocumentWithHttpInfo(String r, String username, String password, byte[] xml) throws org.springframework.web.client.RestClientException
200 - Successful operation
400 - XML input invalid
403 - Authentication failure
r - (required)username - (required)password - (required)xml - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APICopyright © 2025 Global Crop Diversity Trust. All rights reserved.