public class OrdersApi extends Object
Constructor and Description |
---|
OrdersApi() |
OrdersApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ChangeOrderDTO |
addTagToChangeOrder(String workspaceId,
Integer orderId,
TagListDTO body)
Add new tag to order
|
com.squareup.okhttp.Call |
addTagToChangeOrderAsync(String workspaceId,
Integer orderId,
TagListDTO body,
ApiCallback<ChangeOrderDTO> callback)
Add new tag to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
addTagToChangeOrderWithHttpInfo(String workspaceId,
Integer orderId,
TagListDTO body)
Add new tag to order
|
ChangeOrderDTO |
createOrder(String workspaceId,
ChangeOrderDTO body)
Create order
|
com.squareup.okhttp.Call |
createOrderAsync(String workspaceId,
ChangeOrderDTO body,
ApiCallback<ChangeOrderDTO> callback)
Create order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
createOrderWithHttpInfo(String workspaceId,
ChangeOrderDTO body)
Create order
|
ApiClient |
getApiClient() |
ChangeOrderDTO |
getOrder(String workspaceId,
Integer orderId)
Get order
|
com.squareup.okhttp.Call |
getOrderAsync(String workspaceId,
Integer orderId,
ApiCallback<ChangeOrderDTO> callback)
Get order (asynchronously)
|
List<ChangeOrderDTO> |
getOrders(String workspaceId)
Get orders for given parameters
|
com.squareup.okhttp.Call |
getOrdersAsync(String workspaceId,
ApiCallback<List<ChangeOrderDTO>> callback)
Get orders for given parameters (asynchronously)
|
ApiResponse<List<ChangeOrderDTO>> |
getOrdersWithHttpInfo(String workspaceId)
Get orders for given parameters
|
ApiResponse<ChangeOrderDTO> |
getOrderWithHttpInfo(String workspaceId,
Integer orderId)
Get order
|
void |
removeOrder(String workspaceId,
Integer orderId)
Delete order
|
com.squareup.okhttp.Call |
removeOrderAsync(String workspaceId,
Integer orderId,
ApiCallback<Void> callback)
Delete order (asynchronously)
|
ApiResponse<Void> |
removeOrderWithHttpInfo(String workspaceId,
Integer orderId)
Delete order
|
ChangeOrderDTO |
removeTagsFromChangeOrder(String workspaceId,
Integer orderId,
String tagName)
Delete tag attached to order
|
com.squareup.okhttp.Call |
removeTagsFromChangeOrderAsync(String workspaceId,
Integer orderId,
String tagName,
ApiCallback<ChangeOrderDTO> callback)
Delete tag attached to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
removeTagsFromChangeOrderWithHttpInfo(String workspaceId,
Integer orderId,
String tagName)
Delete tag attached to order
|
ChangeOrderDTO |
saveAffectedRequests(String workspaceId,
Integer orderId,
ChangeRequestListDTO body)
Attach request to order
|
com.squareup.okhttp.Call |
saveAffectedRequestsAsync(String workspaceId,
Integer orderId,
ChangeRequestListDTO body,
ApiCallback<ChangeOrderDTO> callback)
Attach request to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
saveAffectedRequestsWithHttpInfo(String workspaceId,
Integer orderId,
ChangeRequestListDTO body)
Attach request to order
|
ChangeOrderDTO |
saveChangeOrderAffectedDocuments(String workspaceId,
Integer orderId,
DocumentIterationListDTO body)
Attach document to order
|
com.squareup.okhttp.Call |
saveChangeOrderAffectedDocumentsAsync(String workspaceId,
Integer orderId,
DocumentIterationListDTO body,
ApiCallback<ChangeOrderDTO> callback)
Attach document to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
saveChangeOrderAffectedDocumentsWithHttpInfo(String workspaceId,
Integer orderId,
DocumentIterationListDTO body)
Attach document to order
|
ChangeOrderDTO |
saveChangeOrderAffectedParts(String workspaceId,
Integer orderId,
PartIterationListDTO body)
Attach part to order
|
com.squareup.okhttp.Call |
saveChangeOrderAffectedPartsAsync(String workspaceId,
Integer orderId,
PartIterationListDTO body,
ApiCallback<ChangeOrderDTO> callback)
Attach part to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
saveChangeOrderAffectedPartsWithHttpInfo(String workspaceId,
Integer orderId,
PartIterationListDTO body)
Attach part to order
|
ChangeOrderDTO |
saveChangeOrderTags(String workspaceId,
Integer orderId,
TagListDTO body)
Update tag attached to order
|
com.squareup.okhttp.Call |
saveChangeOrderTagsAsync(String workspaceId,
Integer orderId,
TagListDTO body,
ApiCallback<ChangeOrderDTO> callback)
Update tag attached to order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
saveChangeOrderTagsWithHttpInfo(String workspaceId,
Integer orderId,
TagListDTO body)
Update tag attached to order
|
void |
setApiClient(ApiClient apiClient) |
ChangeOrderDTO |
updateChangeOrderACL(String workspaceId,
Integer orderId,
ACLDTO body)
Update ACL of the order
|
com.squareup.okhttp.Call |
updateChangeOrderACLAsync(String workspaceId,
Integer orderId,
ACLDTO body,
ApiCallback<ChangeOrderDTO> callback)
Update ACL of the order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
updateChangeOrderACLWithHttpInfo(String workspaceId,
Integer orderId,
ACLDTO body)
Update ACL of the order
|
ChangeOrderDTO |
updateOrder(String workspaceId,
Integer orderId,
ChangeOrderDTO body)
Update order
|
com.squareup.okhttp.Call |
updateOrderAsync(String workspaceId,
Integer orderId,
ChangeOrderDTO body,
ApiCallback<ChangeOrderDTO> callback)
Update order (asynchronously)
|
ApiResponse<ChangeOrderDTO> |
updateOrderWithHttpInfo(String workspaceId,
Integer orderId,
ChangeOrderDTO body)
Update order
|
public OrdersApi()
public OrdersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<ChangeOrderDTO> getOrders(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ChangeOrderDTO>> getOrdersWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOrdersAsync(String workspaceId, ApiCallback<List<ChangeOrderDTO>> callback) throws ApiException
workspaceId
- Workspace idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO createOrder(String workspaceId, ChangeOrderDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change order to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> createOrderWithHttpInfo(String workspaceId, ChangeOrderDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change order to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createOrderAsync(String workspaceId, ChangeOrderDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Change order to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO getOrder(String workspaceId, Integer orderId) throws ApiException
workspaceId
- Workspace idorderId
- Order idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> getOrderWithHttpInfo(String workspaceId, Integer orderId) throws ApiException
workspaceId
- Workspace idorderId
- Order idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOrderAsync(String workspaceId, Integer orderId, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO updateOrder(String workspaceId, Integer orderId, ChangeOrderDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change order to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> updateOrderWithHttpInfo(String workspaceId, Integer orderId, ChangeOrderDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change order to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateOrderAsync(String workspaceId, Integer orderId, ChangeOrderDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change order to updatecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void removeOrder(String workspaceId, Integer orderId) throws ApiException
workspaceId
- Workspace idorderId
- Order idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> removeOrderWithHttpInfo(String workspaceId, Integer orderId) throws ApiException
workspaceId
- Workspace idorderId
- Order idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeOrderAsync(String workspaceId, Integer orderId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO updateChangeOrderACL(String workspaceId, Integer orderId, ACLDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> updateChangeOrderACLWithHttpInfo(String workspaceId, Integer orderId, ACLDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateChangeOrderACLAsync(String workspaceId, Integer orderId, ACLDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- ACL rules to setcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO saveChangeOrderAffectedDocuments(String workspaceId, Integer orderId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Documents to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> saveChangeOrderAffectedDocumentsWithHttpInfo(String workspaceId, Integer orderId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Documents to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeOrderAffectedDocumentsAsync(String workspaceId, Integer orderId, DocumentIterationListDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Documents to save as affectedcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO saveChangeOrderAffectedParts(String workspaceId, Integer orderId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Parts to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> saveChangeOrderAffectedPartsWithHttpInfo(String workspaceId, Integer orderId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Parts to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeOrderAffectedPartsAsync(String workspaceId, Integer orderId, PartIterationListDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Parts to save as affectedcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO saveAffectedRequests(String workspaceId, Integer orderId, ChangeRequestListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change requests to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> saveAffectedRequestsWithHttpInfo(String workspaceId, Integer orderId, ChangeRequestListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change requests to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveAffectedRequestsAsync(String workspaceId, Integer orderId, ChangeRequestListDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Change requests to save as affectedcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO saveChangeOrderTags(String workspaceId, Integer orderId, TagListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> saveChangeOrderTagsWithHttpInfo(String workspaceId, Integer orderId, TagListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeOrderTagsAsync(String workspaceId, Integer orderId, TagListDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO addTagToChangeOrder(String workspaceId, Integer orderId, TagListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> addTagToChangeOrderWithHttpInfo(String workspaceId, Integer orderId, TagListDTO body) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addTagToChangeOrderAsync(String workspaceId, Integer orderId, TagListDTO body, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idbody
- Tag list to addcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeOrderDTO removeTagsFromChangeOrder(String workspaceId, Integer orderId, String tagName) throws ApiException
workspaceId
- Workspace idorderId
- Order idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeOrderDTO> removeTagsFromChangeOrderWithHttpInfo(String workspaceId, Integer orderId, String tagName) throws ApiException
workspaceId
- Workspace idorderId
- Order idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeTagsFromChangeOrderAsync(String workspaceId, Integer orderId, String tagName, ApiCallback<ChangeOrderDTO> callback) throws ApiException
workspaceId
- Workspace idorderId
- Order idtagName
- Tag namecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.