Class CampaignApi

java.lang.Object
travel.wink.sdk.affiliate.api.CampaignApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-27T18:00:24.319118463+07:00[Asia/Bangkok]") public class CampaignApi extends Object
  • Constructor Details

    • CampaignApi

      public CampaignApi()
    • CampaignApi

      @Autowired public CampaignApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showCampaignInventory

      public reactor.core.publisher.Flux<CampaignInventoryAffiliate> showCampaignInventory(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show campaign inventory Show array of campaign inventory

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Show campaigns for this company
      winkVersion - The winkVersion parameter
      Returns:
      List<CampaignInventoryAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showCampaignInventoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CampaignInventoryAffiliate>>> showCampaignInventoryWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show campaign inventory Show array of campaign inventory

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Show campaigns for this company
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<CampaignInventoryAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showCampaignInventoryWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showCampaignInventoryWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show campaign inventory Show array of campaign inventory

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - Show campaigns for this company
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API