Class LeadApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-08T10:43:28.131207073+07:00[Asia/Bangkok]") public class LeadApi extends Object
  • Constructor Details

    • LeadApi

      public LeadApi()
    • LeadApi

      @Autowired public LeadApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createLead

      public reactor.core.publisher.Mono<SupplierLeadAffiliate> createLead(String companyIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create lead Creates a new supplier lead based on information retrieved from Google Places

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create lead by this owner identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SupplierLeadAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createLeadWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierLeadAffiliate>> createLeadWithHttpInfo(String companyIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create lead Creates a new supplier lead based on information retrieved from Google Places

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create lead by this owner identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SupplierLeadAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createLeadWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createLeadWithResponseSpec(String companyIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create lead Creates a new supplier lead based on information retrieved from Google Places

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      companyIdentifier - Create lead by this owner identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeLead

      public reactor.core.publisher.Mono<RemoveEntryResponseAffiliate> removeLead(String companyIdentifier, String leadIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Lead Remove a supplier lead

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove lead owned by this owner identifier.
      leadIdentifier - Remove lead record with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeLeadWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseAffiliate>> removeLeadWithHttpInfo(String companyIdentifier, String leadIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Lead Remove a supplier lead

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove lead owned by this owner identifier.
      leadIdentifier - Remove lead record with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeLeadWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeLeadWithResponseSpec(String companyIdentifier, String leadIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Lead Remove a supplier lead

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - Remove lead owned by this owner identifier.
      leadIdentifier - Remove lead record with this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateLead

      public reactor.core.publisher.Mono<SupplierLeadAffiliate> updateLead(String companyIdentifier, String leadIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update lead Updates an existing supplier lead based on information retrieved from Google Places

      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 - Create lead by this owner identifier.
      leadIdentifier - Create lead by this lead identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      SupplierLeadAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateLeadWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SupplierLeadAffiliate>> updateLeadWithHttpInfo(String companyIdentifier, String leadIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update lead Updates an existing supplier lead based on information retrieved from Google Places

      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 - Create lead by this owner identifier.
      leadIdentifier - Create lead by this lead identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SupplierLeadAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateLeadWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateLeadWithResponseSpec(String companyIdentifier, String leadIdentifier, UpsertSupplierLeadAffiliate upsertSupplierLeadAffiliate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update lead Updates an existing supplier lead based on information retrieved from Google Places

      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 - Create lead by this owner identifier.
      leadIdentifier - Create lead by this lead identifier.
      upsertSupplierLeadAffiliate - The upsertSupplierLeadAffiliate parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API