Skip to content

Latest commit

 

History

History
1400 lines (1016 loc) · 47 KB

File metadata and controls

1400 lines (1016 loc) · 47 KB

OrdersApi

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

fotowebMeCartGet

Count fotowebMeCartGet()

Get the count of items in the users cart

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Count

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.order+json

HTTP response details

Status code Description Response headers
200 OK -
401 Unauthorized -

fotowebMeCartGetWithHttpInfo

ApiResponse fotowebMeCartGet fotowebMeCartGetWithHttpInfo()

Get the count of items in the users cart

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Count>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.order+json

HTTP response details

Status code Description Response headers
200 OK -
401 Unauthorized -

fotowebMeCartPost

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.

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
assetLinkList AssetLinkList [optional]

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.assetlinklist+json
  • Accept: Not defined

HTTP response details

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. -

fotowebMeCartPostWithHttpInfo

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.

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
assetLinkList AssetLinkList [optional]

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.assetlinklist+json
  • Accept: Not defined

HTTP response details

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. -

fotowebMeCartPut

void fotowebMeCartPut(cartUpdate)

Edit the content of a cart

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
cartUpdate CartUpdate [optional]

Return type

null (empty response body)

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.cart-update+json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 OK -
403 Forbidden -
400 Bad request -

fotowebMeCartPutWithHttpInfo

ApiResponse fotowebMeCartPut fotowebMeCartPutWithHttpInfo(cartUpdate)

Edit the content of a cart

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
cartUpdate CartUpdate [optional]

Return type

ApiResponse

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.cart-update+json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 OK -
403 Forbidden -
400 Bad request -

fotowebMeOrdersGet

OrderList fotowebMeOrdersGet()

Users personal order list

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

OrderList

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeOrdersGetWithHttpInfo

ApiResponse fotowebMeOrdersGet fotowebMeOrdersGetWithHttpInfo()

Users personal order list

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<OrderList>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebMeOrdersPost

OrderSubmissionInfo fotowebMeOrdersPost(cartUpdate)

Submit the shopping cart to an order

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
cartUpdate CartUpdate [optional]

Return type

OrderSubmissionInfo

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/vnd.fotoware.cart-update+json
  • Accept: application/json, application/vnd.fotoware.order-submission-info+json

HTTP response details

Status code Description Response headers
201 Created -
403 Forbidden. The user does not have &quot;Order&quot; permission in the archives of any of the assets in the request -
400 Bad request -

fotowebMeOrdersPostWithHttpInfo

ApiResponse fotowebMeOrdersPost fotowebMeOrdersPostWithHttpInfo(cartUpdate)

Submit the shopping cart to an order

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
cartUpdate CartUpdate [optional]

Return type

ApiResponse<OrderSubmissionInfo>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/vnd.fotoware.cart-update+json
  • Accept: application/json, application/vnd.fotoware.order-submission-info+json

HTTP response details

Status code Description Response headers
201 Created -
403 Forbidden. The user does not have &quot;Order&quot; permission in the archives of any of the assets in the request -
400 Bad request -

fotowebOrdersApprovedGet

Count fotowebOrdersApprovedGet()

Site's global list of approved orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Count

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersApprovedGetWithHttpInfo

ApiResponse fotowebOrdersApprovedGet fotowebOrdersApprovedGetWithHttpInfo()

Site's global list of approved orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Count>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersGet

Count fotowebOrdersGet()

Site's global order history

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Count

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersGetWithHttpInfo

ApiResponse fotowebOrdersGet fotowebOrdersGetWithHttpInfo()

Site's global order history

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Count>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersOrderhrefPatch

Order fotowebOrdersOrderhrefPatch(orderhref, orderUpdate)

This request can be used to modify an existing order that is in pending or created state

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
orderhref String Unique ID of the order
orderUpdate OrderUpdate [optional]

Return type

Order

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.orderupdate+json
  • Accept: application/vnd.fotoware.order+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersOrderhrefPatchWithHttpInfo

ApiResponse fotowebOrdersOrderhrefPatch fotowebOrdersOrderhrefPatchWithHttpInfo(orderhref, orderUpdate)

This request can be used to modify an existing order that is in pending or created state

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
orderhref String Unique ID of the order
orderUpdate OrderUpdate [optional]

Return type

ApiResponse<Order>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: application/json, application/vnd.fotoware.orderupdate+json
  • Accept: application/vnd.fotoware.order+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersPendingGet

Count fotowebOrdersPendingGet()

Site's global list of pending orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Count

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersPendingGetWithHttpInfo

ApiResponse fotowebOrdersPendingGet fotowebOrdersPendingGetWithHttpInfo()

Site's global list of pending orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Count>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -

fotowebOrdersRejectedGet

Count fotowebOrdersRejectedGet()

Site's global list of rejected orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Count

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -
401 401 Unauthorized -

fotowebOrdersRejectedGetWithHttpInfo

ApiResponse fotowebOrdersRejectedGet fotowebOrdersRejectedGetWithHttpInfo()

Site's global list of rejected orders

Example

// 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();
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ApiResponse<Count>

Authorization

FotoWareAccessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.fotoware.count+json, application/vnd.fotoware.orderlist+json

HTTP response details

Status code Description Response headers
200 OK -
401 401 Unauthorized -