Interface AccountsApi
- All Known Implementing Classes:
AccountsApiController
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2022-09-25T19:34:30.087552571Z[Etc/UTC]")
@Validated
public interface AccountsApi
-
Method Summary
Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccount>>addKeAccount(UUID xRequestID, @Valid reactor.core.publisher.Mono<AddKeAccountRequest> addKeAccountRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts : Добавить KazanExpress аккаунтdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>addKeAccountShopItemCompetitor(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<AddKeAccountShopItemCompetitorRequest> addKeAccountShopItemCompetitorRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/shop-item-competitor : Добавить конкурентный товар для отслеживанияdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>addKeAccountShopItemPool(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<AddKeAccountShopItemPoolRequest> addKeAccountShopItemPoolRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/pool-items : Добавить товар в пул для отслеживанияdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>deleteKeAccount(UUID xRequestID, UUID id, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id} : Удалить аккаунт KazanExpressdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GetAccountShopItemPoolCount200Response>>getAccountShopItemPoolCount(UUID xRequestID, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/pool-items-count : Получить общее кол-во товаров в пуле на отслеживаниеdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccount>>getKeAccount(UUID xRequestID, UUID id, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id} : Получить данные аккаунта KazanExpressdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountCompetitorShopItem>>>getKeAccountCompetitorShopItems(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId, @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid Integer offset, @Valid String filter, @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items/{shopItemId}/competitor-items : Получение списка назначенных конкурентов товараdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccount>>>getKeAccounts(UUID xRequestID, org.springframework.web.server.ServerWebExchange exchange) GET /accounts : Получение списка KazanExpress аккаунтовdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccountShopItem>>getKeAccountShopItem(UUID xRequestID, UUID id, UUID shopItemId, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/items/{shopItemId} : Получить информацию по товару пользователяdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountPriceChangeHistory>>>getKeAccountShopItemPriceChangeHistory(UUID xRequestID, UUID id, @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid Integer offset, @Valid String filter, @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/price-history : Получение истории изменений цены товаров на KazanExpress аккаунтеdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShopItem>>>getKeAccountShopItems(UUID xRequestID, UUID id, UUID shopId, @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid Integer offset, @Valid String filter, @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items : Получение списка товаров магазина пользователяdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<SimilarItem>>>getKeAccountShopItemSimilar(UUID xRequestID, UUID id, UUID shopId, UUID shopItemId, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items/{shopItemId}/similar : Получение списка возможных конкурентных товаровdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShopItem>>>getKeAccountShopItemsPool(UUID xRequestID, UUID id, UUID shopId, @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid Integer offset, @Valid String filter, @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/pool-items : Получение списка товаров магазина пользователя в пуле для отслеживанияdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShop>>>getKeAccountShops(UUID xRequestID, UUID id, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops : Получение списка магазинов аккаунтаdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>patchKeAccount(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<PatchKeAccount> patchKeAccount, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id} : Обновить данные аккаунта KazanExpressdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>patchKeAccountInitializationState(UUID xRequestID, UUID id, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/initialization : Запустить работу по инициализации аккаунта KazanExpressdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>patchKeAccountMonitoringState(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<PatchKeAccountMonitoringState> patchKeAccountMonitoringState, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/monitor : Переключить состояние мониторинга аккаунта KazanExpressdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccountShopItem>>patchKeAccountShopitem(UUID xRequestID, UUID id, UUID shopItemId, @Valid reactor.core.publisher.Mono<PatchKeAccountShopItem> patchKeAccountShopItem, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/items/{shopItemId} : Редактировать параметры изменения цены товараdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>removeKeAccountShopItemCompetitor(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<RemoveKeAccountShopItemCompetitorRequest> removeKeAccountShopItemCompetitorRequest, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id}/shop-item-competitor : Удалить конкурентный товар из списка отслеживаемыхdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>removeKeAccountShopItemFromPool(UUID xRequestID, UUID id, @Valid reactor.core.publisher.Mono<AddKeAccountShopItemPoolRequest> addKeAccountShopItemPoolRequest, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id}/pool-items : Удалить товар из пула для отслеживанияdefault reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>updateKeAccountData(UUID xRequestID, UUID id, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/update : Обновить данные аккунта в системе (в соответствии с данными в KazanExpress)
-
Method Details
-
addKeAccount
@RequestMapping(method=POST, value="/accounts", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccount>> addKeAccount(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<AddKeAccountRequest> addKeAccountRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts : Добавить KazanExpress аккаунт- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)addKeAccountRequest- (optional)- Returns:
- Аккаунт добавлен (status code 201) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403)
-
addKeAccountShopItemCompetitor
@RequestMapping(method=POST, value="/accounts/{id}/shop-item-competitor", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> addKeAccountShopItemCompetitor(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<AddKeAccountShopItemCompetitorRequest> addKeAccountShopItemCompetitorRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/shop-item-competitor : Добавить конкурентный товар для отслеживания- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)addKeAccountShopItemCompetitorRequest- (optional)- Returns:
- Конкурентный товар добавлен (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Достигнуто максимальное кол-во товаров в пуле (status code 409)
-
addKeAccountShopItemPool
@RequestMapping(method=POST, value="/accounts/{id}/pool-items", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> addKeAccountShopItemPool(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<AddKeAccountShopItemPoolRequest> addKeAccountShopItemPoolRequest, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/pool-items : Добавить товар в пул для отслеживания- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)addKeAccountShopItemPoolRequest- (optional)- Returns:
- Товар добавлен (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Достигнуто максимальное кол-во товаров в пуле (status code 409)
-
deleteKeAccount
@RequestMapping(method=DELETE, value="/accounts/{id}", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> deleteKeAccount(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id} : Удалить аккаунт KazanExpress- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)- Returns:
- Аккаунт KazanExpress удален. (status code 204) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Resource was not found (status code 404)
-
getAccountShopItemPoolCount
@RequestMapping(method=GET, value="/accounts/pool-items-count", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GetAccountShopItemPoolCount200Response>> getAccountShopItemPoolCount(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/pool-items-count : Получить общее кол-во товаров в пуле на отслеживание- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)- Returns:
- Кол-во товаров в пуле (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403)
-
getKeAccount
@RequestMapping(method=GET, value="/accounts/{id}", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccount>> getKeAccount(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id} : Получить данные аккаунта KazanExpress- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)- Returns:
- Получены данные аккаунта KazanExpress (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунт не найден (status code 404)
-
getKeAccountCompetitorShopItems
@RequestMapping(method=GET, value="/accounts/{id}/shops/{shopId}/items/{shopItemId}/competitor-items", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountCompetitorShopItem>>> getKeAccountCompetitorShopItems(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopId") UUID shopId, @PathVariable("shopItemId") UUID shopItemId, @Min(0L) @Max(1000L) @Valid @RequestParam(value="limit",required=false) @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid @RequestParam(value="offset",required=false) @Min(0L) @Valid Integer offset, @Valid @RequestParam(value="filter",required=false) @Valid String filter, @Valid @RequestParam(value="sort",required=false) @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items/{shopItemId}/competitor-items : Получение списка назначенных конкурентов товара- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopId- (required)shopItemId- (required)limit- The collection items limit. (optional)offset- The collection items offset. (optional)filter- The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)sort- The collection items sort field and order (prefix with \"-\" for descending sort). (optional)- Returns:
- Получен список назначенных конкурентов товара (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Товары не найдены (status code 404)
-
getKeAccountShopItem
@RequestMapping(method=GET, value="/accounts/{id}/items/{shopItemId}", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccountShopItem>> getKeAccountShopItem(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopItemId") UUID shopItemId, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/items/{shopItemId} : Получить информацию по товару пользователя- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopItemId- (required)- Returns:
- Получена информация о товаре пользователя (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Resource was not found (status code 404)
-
getKeAccountShopItemPriceChangeHistory
@RequestMapping(method=GET, value="/accounts/{id}/price-history", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountPriceChangeHistory>>> getKeAccountShopItemPriceChangeHistory(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Min(0L) @Max(1000L) @Valid @RequestParam(value="limit",required=false) @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid @RequestParam(value="offset",required=false) @Min(0L) @Valid Integer offset, @Valid @RequestParam(value="filter",required=false) @Valid String filter, @Valid @RequestParam(value="sort",required=false) @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/price-history : Получение истории изменений цены товаров на KazanExpress аккаунте- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)limit- The collection items limit. (optional)offset- The collection items offset. (optional)filter- The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)sort- The collection items sort field and order (prefix with \"-\" for descending sort). (optional)- Returns:
- Получен список истории изменений цены товаров (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or История не найдена (status code 404)
-
getKeAccountShopItemSimilar
@RequestMapping(method=GET, value="/accounts/{id}/shops/{shopId}/items/{shopItemId}/similar", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<SimilarItem>>> getKeAccountShopItemSimilar(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopId") UUID shopId, @PathVariable("shopItemId") UUID shopItemId, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items/{shopItemId}/similar : Получение списка возможных конкурентных товаров- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopId- (required)shopItemId- (required)- Returns:
- Получен список возможных конкурентных товаров (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Товары не найдены (status code 404)
-
getKeAccountShopItems
@RequestMapping(method=GET, value="/accounts/{id}/shops/{shopId}/items", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShopItem>>> getKeAccountShopItems(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopId") UUID shopId, @Min(0L) @Max(1000L) @Valid @RequestParam(value="limit",required=false) @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid @RequestParam(value="offset",required=false) @Min(0L) @Valid Integer offset, @Valid @RequestParam(value="filter",required=false) @Valid String filter, @Valid @RequestParam(value="sort",required=false) @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/items : Получение списка товаров магазина пользователя- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopId- (required)limit- The collection items limit. (optional)offset- The collection items offset. (optional)filter- The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)sort- The collection items sort field and order (prefix with \"-\" for descending sort). (optional)- Returns:
- Получен список товаров магазина пользователя (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Товары не найдены (status code 404)
-
getKeAccountShopItemsPool
@RequestMapping(method=GET, value="/accounts/{id}/shops/{shopId}/pool-items", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShopItem>>> getKeAccountShopItemsPool(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopId") UUID shopId, @Min(0L) @Max(1000L) @Valid @RequestParam(value="limit",required=false) @Min(0L) @Max(1000L) @Valid Integer limit, @Min(0L) @Valid @RequestParam(value="offset",required=false) @Min(0L) @Valid Integer offset, @Valid @RequestParam(value="filter",required=false) @Valid String filter, @Valid @RequestParam(value="sort",required=false) @Valid List<String> sort, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops/{shopId}/pool-items : Получение списка товаров магазина пользователя в пуле для отслеживания- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopId- (required)limit- The collection items limit. (optional)offset- The collection items offset. (optional)filter- The collection items filter requires a special format. Use \",\" for multiple allowed values. Use \";\" for multiple fields. See the [filter guide](https://api-reference.rebilly.com/#section/Using-filter-with-collections) for more options and examples about this format. (optional)sort- The collection items sort field and order (prefix with \"-\" for descending sort). (optional)- Returns:
- Получен список товаров магазина пользователя (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Товары не найдены (status code 404)
-
getKeAccountShops
@RequestMapping(method=GET, value="/accounts/{id}/shops", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccountShop>>> getKeAccountShops(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, org.springframework.web.server.ServerWebExchange exchange) GET /accounts/{id}/shops : Получение списка магазинов аккаунта- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)- Returns:
- Получен список магазинов KazanExpress для указанного аккаунта (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунты не найдены (status code 404)
-
getKeAccounts
@RequestMapping(method=GET, value="/accounts", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<reactor.core.publisher.Flux<KeAccount>>> getKeAccounts(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, org.springframework.web.server.ServerWebExchange exchange) GET /accounts : Получение списка KazanExpress аккаунтов- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)- Returns:
- Получен список KazanExpress аккаунтов (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунты не найдены (status code 404)
-
patchKeAccount
@RequestMapping(method=PATCH, value="/accounts/{id}", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> patchKeAccount(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<PatchKeAccount> patchKeAccount, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id} : Обновить данные аккаунта KazanExpress- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)patchKeAccount- (optional)- Returns:
- Данные аккаунта KazanExpress обновлены. (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунт не найден (status code 404) or Conflict. (status code 409)
-
patchKeAccountInitializationState
@RequestMapping(method=PATCH, value="/accounts/{id}/initialization", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> patchKeAccountInitializationState(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/initialization : Запустить работу по инициализации аккаунта KazanExpress- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)- Returns:
- Инициализация аккаунта запущена в работу (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунт не найден (status code 404)
-
patchKeAccountMonitoringState
@RequestMapping(method=PATCH, value="/accounts/{id}/monitor", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> patchKeAccountMonitoringState(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<PatchKeAccountMonitoringState> patchKeAccountMonitoringState, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/monitor : Переключить состояние мониторинга аккаунта KazanExpress- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)patchKeAccountMonitoringState- (optional)- Returns:
- Состояние мониторинга изменено (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Аккаунт не найден (status code 404)
-
patchKeAccountShopitem
@RequestMapping(method=PATCH, value="/accounts/{id}/items/{shopItemId}", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<KeAccountShopItem>> patchKeAccountShopitem(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @PathVariable("shopItemId") UUID shopItemId, @Valid @RequestBody @Valid reactor.core.publisher.Mono<PatchKeAccountShopItem> patchKeAccountShopItem, org.springframework.web.server.ServerWebExchange exchange) PATCH /accounts/{id}/items/{shopItemId} : Редактировать параметры изменения цены товара- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)shopItemId- (required)patchKeAccountShopItem- (required)- Returns:
- Параметры успешно отредактированы (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Resource was not found (status code 404)
-
removeKeAccountShopItemCompetitor
@RequestMapping(method=DELETE, value="/accounts/{id}/shop-item-competitor", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> removeKeAccountShopItemCompetitor(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<RemoveKeAccountShopItemCompetitorRequest> removeKeAccountShopItemCompetitorRequest, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id}/shop-item-competitor : Удалить конкурентный товар из списка отслеживаемых- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)removeKeAccountShopItemCompetitorRequest- (optional)- Returns:
- Конкурентный товар удален (status code 200) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403)
-
removeKeAccountShopItemFromPool
@RequestMapping(method=DELETE, value="/accounts/{id}/pool-items", produces="application/json", consumes="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> removeKeAccountShopItemFromPool(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, @Valid @RequestBody(required=false) @Valid reactor.core.publisher.Mono<AddKeAccountShopItemPoolRequest> addKeAccountShopItemPoolRequest, org.springframework.web.server.ServerWebExchange exchange) DELETE /accounts/{id}/pool-items : Удалить товар из пула для отслеживания- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)addKeAccountShopItemPoolRequest- (optional)- Returns:
- Товар удален (status code 204) or Переданы ошибочные данные (status code 400) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403)
-
updateKeAccountData
@RequestMapping(method=POST, value="/accounts/{id}/update", produces="application/json") default reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> updateKeAccountData(@RequestHeader(value="X-Request-ID",required=true) UUID xRequestID, @PathVariable("id") UUID id, org.springframework.web.server.ServerWebExchange exchange) POST /accounts/{id}/update : Обновить данные аккунта в системе (в соответствии с данными в KazanExpress)- Parameters:
xRequestID- Уникальный идентификатор запроса к системе (required)id- (required)- Returns:
- Задача на обновление аккаунта добавлена (status code 200) or Несанкционированный доступ, использовались неверные учетные данные. (status code 401) or Доступ запрещен. (status code 403) or Conflict. (status code 409)
-