Class ServiceApi
- java.lang.Object
-
- software.amazon.spapi.api.services.v1.ServiceApi
-
public class ServiceApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceApi.Builder
-
Constructor Summary
Constructors Constructor Description ServiceApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetAppointmentResponse
addAppointmentForServiceJobByServiceJobId(AddAppointmentRequest body, java.lang.String serviceJobId)
Adds an appointment to the service job indicated by the service job identifier specified.okhttp3.Call
addAppointmentForServiceJobByServiceJobIdAsync(AddAppointmentRequest body, java.lang.String serviceJobId, ApiCallback<SetAppointmentResponse> callback)
(asynchronously) Adds an appointment to the service job indicated by the service job identifier specified.okhttp3.Call
addAppointmentForServiceJobByServiceJobIdCall(AddAppointmentRequest body, java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addAppointmentForServiceJobByServiceJobIdApiResponse<SetAppointmentResponse>
addAppointmentForServiceJobByServiceJobIdWithHttpInfo(AddAppointmentRequest body, java.lang.String serviceJobId)
Adds an appointment to the service job indicated by the service job identifier specified.AssignAppointmentResourcesResponse
assignAppointmentResources(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment.okhttp3.Call
assignAppointmentResourcesAsync(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<AssignAppointmentResourcesResponse> callback)
(asynchronously) Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment.okhttp3.Call
assignAppointmentResourcesCall(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for assignAppointmentResourcesApiResponse<AssignAppointmentResourcesResponse>
assignAppointmentResourcesWithHttpInfo(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment.CancelReservationResponse
cancelReservation(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds)
Cancel a reservation.okhttp3.Call
cancelReservationAsync(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<CancelReservationResponse> callback)
(asynchronously) Cancel a reservation.okhttp3.Call
cancelReservationCall(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelReservationApiResponse<CancelReservationResponse>
cancelReservationWithHttpInfo(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds)
Cancel a reservation.CancelServiceJobByServiceJobIdResponse
cancelServiceJobByServiceJobId(java.lang.String serviceJobId, java.lang.String cancellationReasonCode)
Cancels the service job indicated by the service job identifier specified.okhttp3.Call
cancelServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, java.lang.String cancellationReasonCode, ApiCallback<CancelServiceJobByServiceJobIdResponse> callback)
(asynchronously) Cancels the service job indicated by the service job identifier specified.okhttp3.Call
cancelServiceJobByServiceJobIdCall(java.lang.String serviceJobId, java.lang.String cancellationReasonCode, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelServiceJobByServiceJobIdApiResponse<CancelServiceJobByServiceJobIdResponse>
cancelServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId, java.lang.String cancellationReasonCode)
Cancels the service job indicated by the service job identifier specified.CompleteServiceJobByServiceJobIdResponse
completeServiceJobByServiceJobId(java.lang.String serviceJobId)
Completes the service job indicated by the service job identifier specified.okhttp3.Call
completeServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, ApiCallback<CompleteServiceJobByServiceJobIdResponse> callback)
(asynchronously) Completes the service job indicated by the service job identifier specified.okhttp3.Call
completeServiceJobByServiceJobIdCall(java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for completeServiceJobByServiceJobIdApiResponse<CompleteServiceJobByServiceJobIdResponse>
completeServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId)
Completes the service job indicated by the service job identifier specified.CreateReservationResponse
createReservation(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds)
Create a reservation.okhttp3.Call
createReservationAsync(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds, ApiCallback<CreateReservationResponse> callback)
(asynchronously) Create a reservation.okhttp3.Call
createReservationCall(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createReservationApiResponse<CreateReservationResponse>
createReservationWithHttpInfo(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds)
Create a reservation.CreateServiceDocumentUploadDestination
createServiceDocumentUploadDestination(ServiceUploadDocument body)
Creates an upload destination.okhttp3.Call
createServiceDocumentUploadDestinationAsync(ServiceUploadDocument body, ApiCallback<CreateServiceDocumentUploadDestination> callback)
(asynchronously) Creates an upload destination.okhttp3.Call
createServiceDocumentUploadDestinationCall(ServiceUploadDocument body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createServiceDocumentUploadDestinationApiResponse<CreateServiceDocumentUploadDestination>
createServiceDocumentUploadDestinationWithHttpInfo(ServiceUploadDocument body)
Creates an upload destination.ApiClient
getApiClient()
GetAppointmentSlotsResponse
getAppointmentSlots(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime)
Gets appointment slots as per the service context specified.okhttp3.Call
getAppointmentSlotsAsync(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ApiCallback<GetAppointmentSlotsResponse> callback)
(asynchronously) Gets appointment slots as per the service context specified.okhttp3.Call
getAppointmentSlotsCall(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAppointmentSlotsApiResponse<GetAppointmentSlotsResponse>
getAppointmentSlotsWithHttpInfo(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime)
Gets appointment slots as per the service context specified.GetAppointmentSlotsResponse
getAppointmmentSlotsByJobId(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime)
Gets appointment slots for the service associated with the service job id specified.okhttp3.Call
getAppointmmentSlotsByJobIdAsync(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ApiCallback<GetAppointmentSlotsResponse> callback)
(asynchronously) Gets appointment slots for the service associated with the service job id specified.okhttp3.Call
getAppointmmentSlotsByJobIdCall(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAppointmmentSlotsByJobIdApiResponse<GetAppointmentSlotsResponse>
getAppointmmentSlotsByJobIdWithHttpInfo(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime)
Gets appointment slots for the service associated with the service job id specified.FixedSlotCapacity
getFixedSlotCapacity(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken)
Provides capacity in fixed-size slots.okhttp3.Call
getFixedSlotCapacityAsync(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ApiCallback<FixedSlotCapacity> callback)
(asynchronously) Provides capacity in fixed-size slots.okhttp3.Call
getFixedSlotCapacityCall(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFixedSlotCapacityApiResponse<FixedSlotCapacity>
getFixedSlotCapacityWithHttpInfo(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken)
Provides capacity in fixed-size slots.RangeSlotCapacity
getRangeSlotCapacity(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken)
Provides capacity slots in a format similar to availability records.okhttp3.Call
getRangeSlotCapacityAsync(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ApiCallback<RangeSlotCapacity> callback)
(asynchronously) Provides capacity slots in a format similar to availability records.okhttp3.Call
getRangeSlotCapacityCall(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRangeSlotCapacityApiResponse<RangeSlotCapacity>
getRangeSlotCapacityWithHttpInfo(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken)
Provides capacity slots in a format similar to availability records.GetServiceJobByServiceJobIdResponse
getServiceJobByServiceJobId(java.lang.String serviceJobId)
Gets details of service job indicated by the provided `serviceJobID`.okhttp3.Call
getServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, ApiCallback<GetServiceJobByServiceJobIdResponse> callback)
(asynchronously) Gets details of service job indicated by the provided `serviceJobID`.okhttp3.Call
getServiceJobByServiceJobIdCall(java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getServiceJobByServiceJobIdApiResponse<GetServiceJobByServiceJobIdResponse>
getServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId)
Gets details of service job indicated by the provided `serviceJobID`.GetServiceJobsResponse
getServiceJobs(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds)
Gets service job details for the specified filter query.okhttp3.Call
getServiceJobsAsync(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds, ApiCallback<GetServiceJobsResponse> callback)
(asynchronously) Gets service job details for the specified filter query.okhttp3.Call
getServiceJobsCall(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getServiceJobsApiResponse<GetServiceJobsResponse>
getServiceJobsWithHttpInfo(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds)
Gets service job details for the specified filter query.SetAppointmentResponse
rescheduleAppointmentForServiceJobByServiceJobId(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Reschedules an appointment for the service job indicated by the service job identifier specified.okhttp3.Call
rescheduleAppointmentForServiceJobByServiceJobIdAsync(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<SetAppointmentResponse> callback)
(asynchronously) Reschedules an appointment for the service job indicated by the service job identifier specified.okhttp3.Call
rescheduleAppointmentForServiceJobByServiceJobIdCall(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rescheduleAppointmentForServiceJobByServiceJobIdApiResponse<SetAppointmentResponse>
rescheduleAppointmentForServiceJobByServiceJobIdWithHttpInfo(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Reschedules an appointment for the service job indicated by the service job identifier specified.void
setApiClient(ApiClient apiClient)
java.lang.String
setAppointmentFulfillmentData(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`.okhttp3.Call
setAppointmentFulfillmentDataAsync(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<java.lang.String> callback)
(asynchronously) Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`.okhttp3.Call
setAppointmentFulfillmentDataCall(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setAppointmentFulfillmentDataApiResponse<java.lang.String>
setAppointmentFulfillmentDataWithHttpInfo(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId)
Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`.UpdateReservationResponse
updateReservation(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds)
Update a reservation.okhttp3.Call
updateReservationAsync(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<UpdateReservationResponse> callback)
(asynchronously) Update a reservation.okhttp3.Call
updateReservationCall(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateReservationApiResponse<UpdateReservationResponse>
updateReservationWithHttpInfo(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds)
Update a reservation.UpdateScheduleResponse
updateSchedule(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds)
Update the schedule of the given resource.okhttp3.Call
updateScheduleAsync(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<UpdateScheduleResponse> callback)
(asynchronously) Update the schedule of the given resource.okhttp3.Call
updateScheduleCall(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateScheduleApiResponse<UpdateScheduleResponse>
updateScheduleWithHttpInfo(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds)
Update the schedule of the given resource.
-
-
-
Constructor Detail
-
ServiceApi
public ServiceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
addAppointmentForServiceJobByServiceJobIdCall
public okhttp3.Call addAppointmentForServiceJobByServiceJobIdCall(AddAppointmentRequest body, java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for addAppointmentForServiceJobByServiceJobId- Parameters:
body
- Add appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
addAppointmentForServiceJobByServiceJobId
public SetAppointmentResponse addAppointmentForServiceJobByServiceJobId(AddAppointmentRequest body, java.lang.String serviceJobId) throws ApiException, LWAException
Adds an appointment to the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Add appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)- Returns:
- SetAppointmentResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
addAppointmentForServiceJobByServiceJobIdWithHttpInfo
public ApiResponse<SetAppointmentResponse> addAppointmentForServiceJobByServiceJobIdWithHttpInfo(AddAppointmentRequest body, java.lang.String serviceJobId) throws ApiException, LWAException
Adds an appointment to the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Add appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)- Returns:
- ApiResponse<SetAppointmentResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
addAppointmentForServiceJobByServiceJobIdAsync
public okhttp3.Call addAppointmentForServiceJobByServiceJobIdAsync(AddAppointmentRequest body, java.lang.String serviceJobId, ApiCallback<SetAppointmentResponse> callback) throws ApiException, LWAException
(asynchronously) Adds an appointment to the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Add appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
assignAppointmentResourcesCall
public okhttp3.Call assignAppointmentResourcesCall(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for assignAppointmentResources- Parameters:
body
- (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
assignAppointmentResources
public AssignAppointmentResourcesResponse assignAppointmentResources(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)- Returns:
- AssignAppointmentResourcesResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
assignAppointmentResourcesWithHttpInfo
public ApiResponse<AssignAppointmentResourcesResponse> assignAppointmentResourcesWithHttpInfo(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)- Returns:
- ApiResponse<AssignAppointmentResourcesResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
assignAppointmentResourcesAsync
public okhttp3.Call assignAppointmentResourcesAsync(AssignAppointmentResourcesRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<AssignAppointmentResourcesResponse> callback) throws ApiException, LWAException
(asynchronously) Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelReservationCall
public okhttp3.Call cancelReservationCall(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for cancelReservation- Parameters:
reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelReservation
public CancelReservationResponse cancelReservation(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- CancelReservationResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelReservationWithHttpInfo
public ApiResponse<CancelReservationResponse> cancelReservationWithHttpInfo(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- ApiResponse<CancelReservationResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelReservationAsync
public okhttp3.Call cancelReservationAsync(java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<CancelReservationResponse> callback) throws ApiException, LWAException
(asynchronously) Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelServiceJobByServiceJobIdCall
public okhttp3.Call cancelServiceJobByServiceJobIdCall(java.lang.String serviceJobId, java.lang.String cancellationReasonCode, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for cancelServiceJobByServiceJobId- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)cancellationReasonCode
- A cancel reason code that specifies the reason for cancelling a service job. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelServiceJobByServiceJobId
public CancelServiceJobByServiceJobIdResponse cancelServiceJobByServiceJobId(java.lang.String serviceJobId, java.lang.String cancellationReasonCode) throws ApiException, LWAException
Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)cancellationReasonCode
- A cancel reason code that specifies the reason for cancelling a service job. (required)- Returns:
- CancelServiceJobByServiceJobIdResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelServiceJobByServiceJobIdWithHttpInfo
public ApiResponse<CancelServiceJobByServiceJobIdResponse> cancelServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId, java.lang.String cancellationReasonCode) throws ApiException, LWAException
Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)cancellationReasonCode
- A cancel reason code that specifies the reason for cancelling a service job. (required)- Returns:
- ApiResponse<CancelServiceJobByServiceJobIdResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelServiceJobByServiceJobIdAsync
public okhttp3.Call cancelServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, java.lang.String cancellationReasonCode, ApiCallback<CancelServiceJobByServiceJobIdResponse> callback) throws ApiException, LWAException
(asynchronously) Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)cancellationReasonCode
- A cancel reason code that specifies the reason for cancelling a service job. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
completeServiceJobByServiceJobIdCall
public okhttp3.Call completeServiceJobByServiceJobIdCall(java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for completeServiceJobByServiceJobId- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
completeServiceJobByServiceJobId
public CompleteServiceJobByServiceJobIdResponse completeServiceJobByServiceJobId(java.lang.String serviceJobId) throws ApiException, LWAException
Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)- Returns:
- CompleteServiceJobByServiceJobIdResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
completeServiceJobByServiceJobIdWithHttpInfo
public ApiResponse<CompleteServiceJobByServiceJobIdResponse> completeServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId) throws ApiException, LWAException
Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)- Returns:
- ApiResponse<CompleteServiceJobByServiceJobIdResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
completeServiceJobByServiceJobIdAsync
public okhttp3.Call completeServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, ApiCallback<CompleteServiceJobByServiceJobIdResponse> callback) throws ApiException, LWAException
(asynchronously) Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- An Amazon defined service job identifier. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
createReservationCall
public okhttp3.Call createReservationCall(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for createReservation- Parameters:
body
- Reservation details (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
createReservation
public CreateReservationResponse createReservation(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- CreateReservationResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createReservationWithHttpInfo
public ApiResponse<CreateReservationResponse> createReservationWithHttpInfo(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- ApiResponse<CreateReservationResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createReservationAsync
public okhttp3.Call createReservationAsync(CreateReservationRequest body, java.util.List<java.lang.String> marketplaceIds, ApiCallback<CreateReservationResponse> callback) throws ApiException, LWAException
(asynchronously) Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
createServiceDocumentUploadDestinationCall
public okhttp3.Call createServiceDocumentUploadDestinationCall(ServiceUploadDocument body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for createServiceDocumentUploadDestination- Parameters:
body
- Upload document operation input details. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
createServiceDocumentUploadDestination
public CreateServiceDocumentUploadDestination createServiceDocumentUploadDestination(ServiceUploadDocument body) throws ApiException, LWAException
Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Upload document operation input details. (required)- Returns:
- CreateServiceDocumentUploadDestination
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createServiceDocumentUploadDestinationWithHttpInfo
public ApiResponse<CreateServiceDocumentUploadDestination> createServiceDocumentUploadDestinationWithHttpInfo(ServiceUploadDocument body) throws ApiException, LWAException
Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Upload document operation input details. (required)- Returns:
- ApiResponse<CreateServiceDocumentUploadDestination>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createServiceDocumentUploadDestinationAsync
public okhttp3.Call createServiceDocumentUploadDestinationAsync(ServiceUploadDocument body, ApiCallback<CreateServiceDocumentUploadDestination> callback) throws ApiException, LWAException
(asynchronously) Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Upload document operation input details. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAppointmentSlotsCall
public okhttp3.Call getAppointmentSlotsCall(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getAppointmentSlots- Parameters:
asin
- ASIN associated with the service. (required)storeId
- Store identifier defining the region scope to retrive appointment slots. (required)marketplaceIds
- An identifier for the marketplace for which appointment slots are queried (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAppointmentSlots
public GetAppointmentSlotsResponse getAppointmentSlots(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime) throws ApiException, LWAException
Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
asin
- ASIN associated with the service. (required)storeId
- Store identifier defining the region scope to retrive appointment slots. (required)marketplaceIds
- An identifier for the marketplace for which appointment slots are queried (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)- Returns:
- GetAppointmentSlotsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAppointmentSlotsWithHttpInfo
public ApiResponse<GetAppointmentSlotsResponse> getAppointmentSlotsWithHttpInfo(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime) throws ApiException, LWAException
Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
asin
- ASIN associated with the service. (required)storeId
- Store identifier defining the region scope to retrive appointment slots. (required)marketplaceIds
- An identifier for the marketplace for which appointment slots are queried (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)- Returns:
- ApiResponse<GetAppointmentSlotsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAppointmentSlotsAsync
public okhttp3.Call getAppointmentSlotsAsync(java.lang.String asin, java.lang.String storeId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ApiCallback<GetAppointmentSlotsResponse> callback) throws ApiException, LWAException
(asynchronously) Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
asin
- ASIN associated with the service. (required)storeId
- Store identifier defining the region scope to retrive appointment slots. (required)marketplaceIds
- An identifier for the marketplace for which appointment slots are queried (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAppointmmentSlotsByJobIdCall
public okhttp3.Call getAppointmmentSlotsByJobIdCall(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getAppointmmentSlotsByJobId- Parameters:
serviceJobId
- A service job identifier to retrive appointment slots for associated service. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getAppointmmentSlotsByJobId
public GetAppointmentSlotsResponse getAppointmmentSlotsByJobId(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime) throws ApiException, LWAException
Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier to retrive appointment slots for associated service. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)- Returns:
- GetAppointmentSlotsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAppointmmentSlotsByJobIdWithHttpInfo
public ApiResponse<GetAppointmentSlotsResponse> getAppointmmentSlotsByJobIdWithHttpInfo(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime) throws ApiException, LWAException
Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier to retrive appointment slots for associated service. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)- Returns:
- ApiResponse<GetAppointmentSlotsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getAppointmmentSlotsByJobIdAsync
public okhttp3.Call getAppointmmentSlotsByJobIdAsync(java.lang.String serviceJobId, java.util.List<java.lang.String> marketplaceIds, java.lang.String startTime, java.lang.String endTime, ApiCallback<GetAppointmentSlotsResponse> callback) throws ApiException, LWAException
(asynchronously) Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier to retrive appointment slots for associated service. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)startTime
- A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration. (optional)endTime
- A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFixedSlotCapacityCall
public okhttp3.Call getFixedSlotCapacityCall(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getFixedSlotCapacity- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFixedSlotCapacity
public FixedSlotCapacity getFixedSlotCapacity(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken) throws ApiException, LWAException
Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)- Returns:
- FixedSlotCapacity
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFixedSlotCapacityWithHttpInfo
public ApiResponse<FixedSlotCapacity> getFixedSlotCapacityWithHttpInfo(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken) throws ApiException, LWAException
Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)- Returns:
- ApiResponse<FixedSlotCapacity>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFixedSlotCapacityAsync
public okhttp3.Call getFixedSlotCapacityAsync(FixedSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ApiCallback<FixedSlotCapacity> callback) throws ApiException, LWAException
(asynchronously) Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getRangeSlotCapacityCall
public okhttp3.Call getRangeSlotCapacityCall(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getRangeSlotCapacity- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getRangeSlotCapacity
public RangeSlotCapacity getRangeSlotCapacity(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken) throws ApiException, LWAException
Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)- Returns:
- RangeSlotCapacity
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getRangeSlotCapacityWithHttpInfo
public ApiResponse<RangeSlotCapacity> getRangeSlotCapacityWithHttpInfo(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken) throws ApiException, LWAException
Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)- Returns:
- ApiResponse<RangeSlotCapacity>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getRangeSlotCapacityAsync
public okhttp3.Call getRangeSlotCapacityAsync(RangeSlotCapacityQuery body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, java.lang.String nextPageToken, ApiCallback<RangeSlotCapacity> callback) throws ApiException, LWAException
(asynchronously) Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Request body. (required)resourceId
- Resource Identifier. (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)nextPageToken
- Next page token returned in the response of your previous request. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getServiceJobByServiceJobIdCall
public okhttp3.Call getServiceJobByServiceJobIdCall(java.lang.String serviceJobId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getServiceJobByServiceJobId- Parameters:
serviceJobId
- A service job identifier. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getServiceJobByServiceJobId
public GetServiceJobByServiceJobIdResponse getServiceJobByServiceJobId(java.lang.String serviceJobId) throws ApiException, LWAException
Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier. (required)- Returns:
- GetServiceJobByServiceJobIdResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getServiceJobByServiceJobIdWithHttpInfo
public ApiResponse<GetServiceJobByServiceJobIdResponse> getServiceJobByServiceJobIdWithHttpInfo(java.lang.String serviceJobId) throws ApiException, LWAException
Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier. (required)- Returns:
- ApiResponse<GetServiceJobByServiceJobIdResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getServiceJobByServiceJobIdAsync
public okhttp3.Call getServiceJobByServiceJobIdAsync(java.lang.String serviceJobId, ApiCallback<GetServiceJobByServiceJobIdResponse> callback) throws ApiException, LWAException
(asynchronously) Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
serviceJobId
- A service job identifier. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getServiceJobsCall
public okhttp3.Call getServiceJobsCall(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getServiceJobs- Parameters:
marketplaceIds
- Used to select jobs that were placed in the specified marketplaces. (required)serviceOrderIds
- List of service order ids for the query you want to perform.Max values supported 20. (optional)serviceJobStatus
- A list of one or more job status by which to filter the list of jobs. (optional)pageToken
- String returned in the response of your previous request. (optional)pageSize
- A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (optional, default to 20)sortField
- Sort fields on which you want to sort the output. (optional)sortOrder
- Sort order for the query you want to perform. (optional)createdAfter
- A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)createdBefore
- A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. (optional)lastUpdatedAfter
- A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)lastUpdatedBefore
- A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. (optional)scheduleStartDate
- A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)scheduleEndDate
- A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)asins
- List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. (optional)requiredSkills
- A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. (optional)storeIds
- List of Amazon-defined identifiers for the region scope. Max values supported is 50. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getServiceJobs
public GetServiceJobsResponse getServiceJobs(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds) throws ApiException, LWAException
Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceIds
- Used to select jobs that were placed in the specified marketplaces. (required)serviceOrderIds
- List of service order ids for the query you want to perform.Max values supported 20. (optional)serviceJobStatus
- A list of one or more job status by which to filter the list of jobs. (optional)pageToken
- String returned in the response of your previous request. (optional)pageSize
- A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (optional, default to 20)sortField
- Sort fields on which you want to sort the output. (optional)sortOrder
- Sort order for the query you want to perform. (optional)createdAfter
- A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)createdBefore
- A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. (optional)lastUpdatedAfter
- A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)lastUpdatedBefore
- A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. (optional)scheduleStartDate
- A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)scheduleEndDate
- A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)asins
- List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. (optional)requiredSkills
- A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. (optional)storeIds
- List of Amazon-defined identifiers for the region scope. Max values supported is 50. (optional)- Returns:
- GetServiceJobsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getServiceJobsWithHttpInfo
public ApiResponse<GetServiceJobsResponse> getServiceJobsWithHttpInfo(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds) throws ApiException, LWAException
Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceIds
- Used to select jobs that were placed in the specified marketplaces. (required)serviceOrderIds
- List of service order ids for the query you want to perform.Max values supported 20. (optional)serviceJobStatus
- A list of one or more job status by which to filter the list of jobs. (optional)pageToken
- String returned in the response of your previous request. (optional)pageSize
- A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (optional, default to 20)sortField
- Sort fields on which you want to sort the output. (optional)sortOrder
- Sort order for the query you want to perform. (optional)createdAfter
- A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)createdBefore
- A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. (optional)lastUpdatedAfter
- A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)lastUpdatedBefore
- A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. (optional)scheduleStartDate
- A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)scheduleEndDate
- A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)asins
- List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. (optional)requiredSkills
- A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. (optional)storeIds
- List of Amazon-defined identifiers for the region scope. Max values supported is 50. (optional)- Returns:
- ApiResponse<GetServiceJobsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getServiceJobsAsync
public okhttp3.Call getServiceJobsAsync(java.util.List<java.lang.String> marketplaceIds, java.util.List<java.lang.String> serviceOrderIds, java.util.List<java.lang.String> serviceJobStatus, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.String sortField, java.lang.String sortOrder, java.lang.String createdAfter, java.lang.String createdBefore, java.lang.String lastUpdatedAfter, java.lang.String lastUpdatedBefore, java.lang.String scheduleStartDate, java.lang.String scheduleEndDate, java.util.List<java.lang.String> asins, java.util.List<java.lang.String> requiredSkills, java.util.List<java.lang.String> storeIds, ApiCallback<GetServiceJobsResponse> callback) throws ApiException, LWAException
(asynchronously) Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
marketplaceIds
- Used to select jobs that were placed in the specified marketplaces. (required)serviceOrderIds
- List of service order ids for the query you want to perform.Max values supported 20. (optional)serviceJobStatus
- A list of one or more job status by which to filter the list of jobs. (optional)pageToken
- String returned in the response of your previous request. (optional)pageSize
- A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20. (optional, default to 20)sortField
- Sort fields on which you want to sort the output. (optional)sortOrder
- Sort order for the query you want to perform. (optional)createdAfter
- A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)createdBefore
- A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format. (optional)lastUpdatedAfter
- A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error. (optional)lastUpdatedBefore
- A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format. (optional)scheduleStartDate
- A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)scheduleEndDate
- A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date. (optional)asins
- List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20. (optional)requiredSkills
- A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20. (optional)storeIds
- List of Amazon-defined identifiers for the region scope. Max values supported is 50. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
rescheduleAppointmentForServiceJobByServiceJobIdCall
public okhttp3.Call rescheduleAppointmentForServiceJobByServiceJobIdCall(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for rescheduleAppointmentForServiceJobByServiceJobId- Parameters:
body
- Reschedule appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)appointmentId
- An existing appointment identifier for the Service Job. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
rescheduleAppointmentForServiceJobByServiceJobId
public SetAppointmentResponse rescheduleAppointmentForServiceJobByServiceJobId(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reschedule appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)appointmentId
- An existing appointment identifier for the Service Job. (required)- Returns:
- SetAppointmentResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
rescheduleAppointmentForServiceJobByServiceJobIdWithHttpInfo
public ApiResponse<SetAppointmentResponse> rescheduleAppointmentForServiceJobByServiceJobIdWithHttpInfo(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reschedule appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)appointmentId
- An existing appointment identifier for the Service Job. (required)- Returns:
- ApiResponse<SetAppointmentResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
rescheduleAppointmentForServiceJobByServiceJobIdAsync
public okhttp3.Call rescheduleAppointmentForServiceJobByServiceJobIdAsync(RescheduleAppointmentRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<SetAppointmentResponse> callback) throws ApiException, LWAException
(asynchronously) Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reschedule appointment operation input details. (required)serviceJobId
- An Amazon defined service job identifier. (required)appointmentId
- An existing appointment identifier for the Service Job. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
setAppointmentFulfillmentDataCall
public okhttp3.Call setAppointmentFulfillmentDataCall(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for setAppointmentFulfillmentData- Parameters:
body
- Appointment fulfillment data collection details. (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
setAppointmentFulfillmentData
public java.lang.String setAppointmentFulfillmentData(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Appointment fulfillment data collection details. (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)- Returns:
- String
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
setAppointmentFulfillmentDataWithHttpInfo
public ApiResponse<java.lang.String> setAppointmentFulfillmentDataWithHttpInfo(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId) throws ApiException, LWAException
Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Appointment fulfillment data collection details. (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)- Returns:
- ApiResponse<String>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
setAppointmentFulfillmentDataAsync
public okhttp3.Call setAppointmentFulfillmentDataAsync(SetAppointmentFulfillmentDataRequest body, java.lang.String serviceJobId, java.lang.String appointmentId, ApiCallback<java.lang.String> callback) throws ApiException, LWAException
(asynchronously) Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Appointment fulfillment data collection details. (required)serviceJobId
- An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API. (required)appointmentId
- An Amazon-defined identifier of active service job appointment. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
updateReservationCall
public okhttp3.Call updateReservationCall(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for updateReservation- Parameters:
body
- Reservation details (required)reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
updateReservation
public UpdateReservationResponse updateReservation(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- UpdateReservationResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
updateReservationWithHttpInfo
public ApiResponse<UpdateReservationResponse> updateReservationWithHttpInfo(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- ApiResponse<UpdateReservationResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
updateReservationAsync
public okhttp3.Call updateReservationAsync(UpdateReservationRequest body, java.lang.String reservationId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<UpdateReservationResponse> callback) throws ApiException, LWAException
(asynchronously) Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Reservation details (required)reservationId
- Reservation Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
updateScheduleCall
public okhttp3.Call updateScheduleCall(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for updateSchedule- Parameters:
body
- Schedule details (required)resourceId
- Resource (store) Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
updateSchedule
public UpdateScheduleResponse updateSchedule(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Schedule details (required)resourceId
- Resource (store) Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- UpdateScheduleResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
updateScheduleWithHttpInfo
public ApiResponse<UpdateScheduleResponse> updateScheduleWithHttpInfo(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds) throws ApiException, LWAException
Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Schedule details (required)resourceId
- Resource (store) Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)- Returns:
- ApiResponse<UpdateScheduleResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
updateScheduleAsync
public okhttp3.Call updateScheduleAsync(UpdateScheduleRequest body, java.lang.String resourceId, java.util.List<java.lang.String> marketplaceIds, ApiCallback<UpdateScheduleResponse> callback) throws ApiException, LWAException
(asynchronously) Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Schedule details (required)resourceId
- Resource (store) Identifier (required)marketplaceIds
- An identifier for the marketplace in which the resource operates. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
-