public class ApiProductDocumentsApi extends Object
| Constructor and Description |
|---|
ApiProductDocumentsApi() |
ApiProductDocumentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apiProductsApiProductIdDocumentsDocumentIdContentGet(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get the content of an API Product document
This operation can be used to retrive the content of an API's document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdContentGetAsync(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback<Void> callback)
Get the content of an API Product document (asynchronously)
This operation can be used to retrive the content of an API's document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdContentGetCall(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsDocumentIdContentGet
|
ApiResponse<Void> |
apiProductsApiProductIdDocumentsDocumentIdContentGetWithHttpInfo(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get the content of an API Product document
This operation can be used to retrive the content of an API's document.
|
DocumentDTO |
apiProductsApiProductIdDocumentsDocumentIdContentPost(String apiProductId,
String documentId,
File file,
String inlineContent,
String ifMatch)
Upload the content of an API Product document
Thid operation can be used to upload a file or add inline content to an API Product document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdContentPostAsync(String apiProductId,
String documentId,
File file,
String inlineContent,
String ifMatch,
ApiCallback<DocumentDTO> callback)
Upload the content of an API Product document (asynchronously)
Thid operation can be used to upload a file or add inline content to an API Product document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdContentPostCall(String apiProductId,
String documentId,
File file,
String inlineContent,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsDocumentIdContentPost
|
ApiResponse<DocumentDTO> |
apiProductsApiProductIdDocumentsDocumentIdContentPostWithHttpInfo(String apiProductId,
String documentId,
File file,
String inlineContent,
String ifMatch)
Upload the content of an API Product document
Thid operation can be used to upload a file or add inline content to an API Product document.
|
void |
apiProductsApiProductIdDocumentsDocumentIdDelete(String apiProductId,
String documentId,
String ifMatch)
Delete a document of an API Product
This operation can be used to delete a document associated with an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdDeleteAsync(String apiProductId,
String documentId,
String ifMatch,
ApiCallback<Void> callback)
Delete a document of an API Product (asynchronously)
This operation can be used to delete a document associated with an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdDeleteCall(String apiProductId,
String documentId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsDocumentIdDelete
|
ApiResponse<Void> |
apiProductsApiProductIdDocumentsDocumentIdDeleteWithHttpInfo(String apiProductId,
String documentId,
String ifMatch)
Delete a document of an API Product
This operation can be used to delete a document associated with an API Product.
|
DocumentDTO |
apiProductsApiProductIdDocumentsDocumentIdGet(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get a document of an API
This operation can be used to retrieve a particular document's metadata associated with an API.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdGetAsync(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback<DocumentDTO> callback)
Get a document of an API (asynchronously)
This operation can be used to retrieve a particular document's metadata associated with an API.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdGetCall(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsDocumentIdGet
|
ApiResponse<DocumentDTO> |
apiProductsApiProductIdDocumentsDocumentIdGetWithHttpInfo(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get a document of an API
This operation can be used to retrieve a particular document's metadata associated with an API.
|
DocumentDTO |
apiProductsApiProductIdDocumentsDocumentIdPut(String apiProductId,
String documentId,
DocumentDTO body,
String ifMatch)
Update a document of an API Product
This operation can be used to update metadata of an API's document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdPutAsync(String apiProductId,
String documentId,
DocumentDTO body,
String ifMatch,
ApiCallback<DocumentDTO> callback)
Update a document of an API Product (asynchronously)
This operation can be used to update metadata of an API's document.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsDocumentIdPutCall(String apiProductId,
String documentId,
DocumentDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsDocumentIdPut
|
ApiResponse<DocumentDTO> |
apiProductsApiProductIdDocumentsDocumentIdPutWithHttpInfo(String apiProductId,
String documentId,
DocumentDTO body,
String ifMatch)
Update a document of an API Product
This operation can be used to update metadata of an API's document.
|
DocumentListDTO |
apiProductsApiProductIdDocumentsGet(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get a list of documents of an API Product
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsGetAsync(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ApiCallback<DocumentListDTO> callback)
Get a list of documents of an API Product (asynchronously)
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsGetCall(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsGet
|
ApiResponse<DocumentListDTO> |
apiProductsApiProductIdDocumentsGetWithHttpInfo(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get a list of documents of an API Product
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
DocumentDTO |
apiProductsApiProductIdDocumentsPost(String apiProductId,
DocumentDTO body)
Add a new document to an API Product
This operation can be used to add a new documentation to an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsPostAsync(String apiProductId,
DocumentDTO body,
ApiCallback<DocumentDTO> callback)
Add a new document to an API Product (asynchronously)
This operation can be used to add a new documentation to an API Product.
|
com.squareup.okhttp.Call |
apiProductsApiProductIdDocumentsPostCall(String apiProductId,
DocumentDTO body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apiProductsApiProductIdDocumentsPost
|
ApiResponse<DocumentDTO> |
apiProductsApiProductIdDocumentsPostWithHttpInfo(String apiProductId,
DocumentDTO body)
Add a new document to an API Product
This operation can be used to add a new documentation to an API Product.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiProductDocumentsApi()
public ApiProductDocumentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdContentGetCall(String apiProductId, String documentId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apiProductsApiProductIdDocumentsDocumentIdContentGet(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apiProductsApiProductIdDocumentsDocumentIdContentGetWithHttpInfo(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdContentGetAsync(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdContentPostCall(String apiProductId, String documentId, File file, String inlineContent, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentDTO apiProductsApiProductIdDocumentsDocumentIdContentPost(String apiProductId, String documentId, File file, String inlineContent, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> apiProductsApiProductIdDocumentsDocumentIdContentPostWithHttpInfo(String apiProductId, String documentId, File file, String inlineContent, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdContentPostAsync(String apiProductId, String documentId, File file, String inlineContent, String ifMatch, ApiCallback<DocumentDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdDeleteCall(String apiProductId, String documentId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apiProductsApiProductIdDocumentsDocumentIdDelete(String apiProductId, String documentId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apiProductsApiProductIdDocumentsDocumentIdDeleteWithHttpInfo(String apiProductId, String documentId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdDeleteAsync(String apiProductId, String documentId, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdGetCall(String apiProductId, String documentId, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentDTO apiProductsApiProductIdDocumentsDocumentIdGet(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> apiProductsApiProductIdDocumentsDocumentIdGetWithHttpInfo(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdGetAsync(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback<DocumentDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdPutCall(String apiProductId, String documentId, DocumentDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentDTO apiProductsApiProductIdDocumentsDocumentIdPut(String apiProductId, String documentId, DocumentDTO body, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> apiProductsApiProductIdDocumentsDocumentIdPutWithHttpInfo(String apiProductId, String documentId, DocumentDTO body, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsDocumentIdPutAsync(String apiProductId, String documentId, DocumentDTO body, String ifMatch, ApiCallback<DocumentDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsGetCall(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentListDTO apiProductsApiProductIdDocumentsGet(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentListDTO> apiProductsApiProductIdDocumentsGetWithHttpInfo(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsGetAsync(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch, ApiCallback<DocumentListDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsPostCall(String apiProductId, DocumentDTO body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - Document object that needs to be added (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentDTO apiProductsApiProductIdDocumentsPost(String apiProductId, DocumentDTO body) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - Document object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> apiProductsApiProductIdDocumentsPostWithHttpInfo(String apiProductId, DocumentDTO body) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - Document object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apiProductsApiProductIdDocumentsPostAsync(String apiProductId, DocumentDTO body, ApiCallback<DocumentDTO> callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)body - Document object that needs to be added (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.