7 declare(strict_types=1);
18 const SERVICE_NAME =
'asynchronousOperationsOperationRepositoryV1';
31 'field' =>
'start_time',
32 'value' =>
'2010-10-10 00:00:00',
33 'condition_type' =>
'lteq',
44 'resourcePath' => self::RESOURCE_PATH .
'?' . http_build_query(
$searchCriteria),
49 'operation' => self::SERVICE_NAME .
'GetList',
55 $this->assertArrayHasKey(
'search_criteria',
$response);
56 $this->assertArrayHasKey(
'total_count',
$response);
57 $this->assertArrayHasKey(
'items',
$response);
60 $this->assertEquals(3,
$response[
'total_count']);
61 $this->assertEquals(3, count(
$response[
'items']));
64 $this->assertEquals(
'bulk-uuid-searchable-6',
$item[
'bulk_uuid']);
79 'field' =>
'bulk_uuid',
80 'value' =>
'bulk-uuid-searchable-6',
81 'condition_type' =>
'eq',
90 'condition_type' =>
'eq',
101 'resourcePath' => self::RESOURCE_PATH .
'?' . http_build_query(
$searchCriteria),
106 'operation' => self::SERVICE_NAME .
'GetList',
112 $this->assertArrayHasKey(
'search_criteria',
$response);
113 $this->assertArrayHasKey(
'total_count',
$response);
114 $this->assertArrayHasKey(
'items',
$response);
117 $this->assertEquals(1,
$response[
'total_count']);
118 $this->assertEquals(1, count(
$response[
'items']));
121 $this->assertEquals(
'bulk-uuid-searchable-6',
$item[
'bulk_uuid']);
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
const STATUS_TYPE_NOT_RETRIABLY_FAILED
testGetListByBulkStartTime()