All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| fotowebMeCartGet | GET /fotoweb/me/cart | Get the count of items in the users cart |
| fotowebMeCartGetWithHttpInfo | GET /fotoweb/me/cart | Get the count of items in the users cart |
| fotowebMeCartPost | POST /fotoweb/me/cart | Add item(s) to users personal cart |
| fotowebMeCartPostWithHttpInfo | POST /fotoweb/me/cart | Add item(s) to users personal cart |
| fotowebMeCartPut | PUT /fotoweb/me/cart | Edit the content of a cart |
| fotowebMeCartPutWithHttpInfo | PUT /fotoweb/me/cart | Edit the content of a cart |
| fotowebMeOrdersGet | GET /fotoweb/me/orders/ | Users personal order list |
| fotowebMeOrdersGetWithHttpInfo | GET /fotoweb/me/orders/ | Users personal order list |
| fotowebMeOrdersPost | POST /fotoweb/me/orders/ | Submit the shopping cart to an order |
| fotowebMeOrdersPostWithHttpInfo | POST /fotoweb/me/orders/ | Submit the shopping cart to an order |
| fotowebOrdersApprovedGet | GET /fotoweb/orders/approved/ | Site's global list of approved orders |
| fotowebOrdersApprovedGetWithHttpInfo | GET /fotoweb/orders/approved/ | Site's global list of approved orders |
| fotowebOrdersGet | GET /fotoweb/orders/ | Site's global order history |
| fotowebOrdersGetWithHttpInfo | GET /fotoweb/orders/ | Site's global order history |
| fotowebOrdersOrderhrefPatch | PATCH /fotoweb/orders/{orderhref} | This request can be used to modify an existing order that is in pending or created state |
| fotowebOrdersOrderhrefPatchWithHttpInfo | PATCH /fotoweb/orders/{orderhref} | This request can be used to modify an existing order that is in pending or created state |
| fotowebOrdersPendingGet | GET /fotoweb/orders/pending/ | Site's global list of pending orders |
| fotowebOrdersPendingGetWithHttpInfo | GET /fotoweb/orders/pending/ | Site's global list of pending orders |
| fotowebOrdersRejectedGet | GET /fotoweb/orders/rejected/ | Site's global list of rejected orders |
| fotowebOrdersRejectedGetWithHttpInfo | GET /fotoweb/orders/rejected/ | Site's global list of rejected orders |
Count fotowebMeCartGet()
Get the count of items in the users cart
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
Count result = apiInstance.fotowebMeCartGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.order+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 401 | Unauthorized | - |
ApiResponse fotowebMeCartGet fotowebMeCartGetWithHttpInfo()
Get the count of items in the users cart
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<Count> response = apiInstance.fotowebMeCartGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<Count>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.order+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 401 | Unauthorized | - |
void fotowebMeCartPost(assetLinkList)
Add item(s) to users personal cart
Add one or more items to the users shopping cart by using the assets url.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
AssetLinkList assetLinkList = new AssetLinkList(); // AssetLinkList |
try {
apiInstance.fotowebMeCartPost(assetLinkList);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| assetLinkList | AssetLinkList | [optional] |
null (empty response body)
- Content-Type: application/json, application/vnd.fotoware.assetlinklist+json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | OK | - |
| 403 | Forbidden. No access to add items to the users cart. | - |
| 400 | Bad request. For instance malformed url to asset. | - |
ApiResponse fotowebMeCartPost fotowebMeCartPostWithHttpInfo(assetLinkList)
Add item(s) to users personal cart
Add one or more items to the users shopping cart by using the assets url.
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
AssetLinkList assetLinkList = new AssetLinkList(); // AssetLinkList |
try {
ApiResponse<Void> response = apiInstance.fotowebMeCartPostWithHttpInfo(assetLinkList);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| assetLinkList | AssetLinkList | [optional] |
ApiResponse
- Content-Type: application/json, application/vnd.fotoware.assetlinklist+json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | OK | - |
| 403 | Forbidden. No access to add items to the users cart. | - |
| 400 | Bad request. For instance malformed url to asset. | - |
void fotowebMeCartPut(cartUpdate)
Edit the content of a cart
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
CartUpdate cartUpdate = new CartUpdate(); // CartUpdate |
try {
apiInstance.fotowebMeCartPut(cartUpdate);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartPut");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| cartUpdate | CartUpdate | [optional] |
null (empty response body)
- Content-Type: application/json, application/vnd.fotoware.cart-update+json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | OK | - |
| 403 | Forbidden | - |
| 400 | Bad request | - |
ApiResponse fotowebMeCartPut fotowebMeCartPutWithHttpInfo(cartUpdate)
Edit the content of a cart
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
CartUpdate cartUpdate = new CartUpdate(); // CartUpdate |
try {
ApiResponse<Void> response = apiInstance.fotowebMeCartPutWithHttpInfo(cartUpdate);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeCartPut");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| cartUpdate | CartUpdate | [optional] |
ApiResponse
- Content-Type: application/json, application/vnd.fotoware.cart-update+json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | OK | - |
| 403 | Forbidden | - |
| 400 | Bad request | - |
OrderList fotowebMeOrdersGet()
Users personal order list
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
OrderList result = apiInstance.fotowebMeOrdersGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeOrdersGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
ApiResponse fotowebMeOrdersGet fotowebMeOrdersGetWithHttpInfo()
Users personal order list
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<OrderList> response = apiInstance.fotowebMeOrdersGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeOrdersGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<OrderList>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
OrderSubmissionInfo fotowebMeOrdersPost(cartUpdate)
Submit the shopping cart to an order
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
CartUpdate cartUpdate = new CartUpdate(); // CartUpdate |
try {
OrderSubmissionInfo result = apiInstance.fotowebMeOrdersPost(cartUpdate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeOrdersPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| cartUpdate | CartUpdate | [optional] |
- Content-Type: application/vnd.fotoware.cart-update+json
- Accept: application/json, application/vnd.fotoware.order-submission-info+json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Created | - |
| 403 | Forbidden. The user does not have "Order" permission in the archives of any of the assets in the request | - |
| 400 | Bad request | - |
ApiResponse fotowebMeOrdersPost fotowebMeOrdersPostWithHttpInfo(cartUpdate)
Submit the shopping cart to an order
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
CartUpdate cartUpdate = new CartUpdate(); // CartUpdate |
try {
ApiResponse<OrderSubmissionInfo> response = apiInstance.fotowebMeOrdersPostWithHttpInfo(cartUpdate);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebMeOrdersPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| cartUpdate | CartUpdate | [optional] |
ApiResponse<OrderSubmissionInfo>
- Content-Type: application/vnd.fotoware.cart-update+json
- Accept: application/json, application/vnd.fotoware.order-submission-info+json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Created | - |
| 403 | Forbidden. The user does not have "Order" permission in the archives of any of the assets in the request | - |
| 400 | Bad request | - |
Count fotowebOrdersApprovedGet()
Site's global list of approved orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
Count result = apiInstance.fotowebOrdersApprovedGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersApprovedGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
ApiResponse fotowebOrdersApprovedGet fotowebOrdersApprovedGetWithHttpInfo()
Site's global list of approved orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<Count> response = apiInstance.fotowebOrdersApprovedGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersApprovedGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<Count>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
Count fotowebOrdersGet()
Site's global order history
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
Count result = apiInstance.fotowebOrdersGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
ApiResponse fotowebOrdersGet fotowebOrdersGetWithHttpInfo()
Site's global order history
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<Count> response = apiInstance.fotowebOrdersGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<Count>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
Order fotowebOrdersOrderhrefPatch(orderhref, orderUpdate)
This request can be used to modify an existing order that is in pending or created state
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
String orderhref = "orderhref_example"; // String | Unique ID of the order
OrderUpdate orderUpdate = new OrderUpdate(); // OrderUpdate |
try {
Order result = apiInstance.fotowebOrdersOrderhrefPatch(orderhref, orderUpdate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersOrderhrefPatch");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderhref | String | Unique ID of the order | |
| orderUpdate | OrderUpdate | [optional] |
- Content-Type: application/json, application/vnd.fotoware.orderupdate+json
- Accept: application/vnd.fotoware.order+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
ApiResponse fotowebOrdersOrderhrefPatch fotowebOrdersOrderhrefPatchWithHttpInfo(orderhref, orderUpdate)
This request can be used to modify an existing order that is in pending or created state
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
String orderhref = "orderhref_example"; // String | Unique ID of the order
OrderUpdate orderUpdate = new OrderUpdate(); // OrderUpdate |
try {
ApiResponse<Order> response = apiInstance.fotowebOrdersOrderhrefPatchWithHttpInfo(orderhref, orderUpdate);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersOrderhrefPatch");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| orderhref | String | Unique ID of the order | |
| orderUpdate | OrderUpdate | [optional] |
ApiResponse<Order>
- Content-Type: application/json, application/vnd.fotoware.orderupdate+json
- Accept: application/vnd.fotoware.order+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
Count fotowebOrdersPendingGet()
Site's global list of pending orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
Count result = apiInstance.fotowebOrdersPendingGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersPendingGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
ApiResponse fotowebOrdersPendingGet fotowebOrdersPendingGetWithHttpInfo()
Site's global list of pending orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<Count> response = apiInstance.fotowebOrdersPendingGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersPendingGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<Count>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
Count fotowebOrdersRejectedGet()
Site's global list of rejected orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
Count result = apiInstance.fotowebOrdersRejectedGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersRejectedGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 401 | 401 Unauthorized | - |
ApiResponse fotowebOrdersRejectedGet fotowebOrdersRejectedGetWithHttpInfo()
Site's global list of rejected orders
// Import classes:
import com.cominvent.fotoware.client.ApiClient;
import com.cominvent.fotoware.client.ApiException;
import com.cominvent.fotoware.client.ApiResponse;
import com.cominvent.fotoware.client.Configuration;
import com.cominvent.fotoware.client.auth.*;
import com.cominvent.fotoware.client.models.*;
import com.cominvent.fotoware.api.OrdersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: FotoWareAccessToken
HttpBearerAuth FotoWareAccessToken = (HttpBearerAuth) defaultClient.getAuthentication("FotoWareAccessToken");
FotoWareAccessToken.setBearerToken("BEARER TOKEN");
OrdersApi apiInstance = new OrdersApi(defaultClient);
try {
ApiResponse<Count> response = apiInstance.fotowebOrdersRejectedGetWithHttpInfo();
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiException e) {
System.err.println("Exception when calling OrdersApi#fotowebOrdersRejectedGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
ApiResponse<Count>
- Content-Type: Not defined
- Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 401 | 401 Unauthorized | - |