From 7f8c5f0b31140e04dcb96c90b5f80c6b40a6f7f8 Mon Sep 17 00:00:00 2001 From: Abby Menting Date: Mon, 23 Aug 2021 17:47:17 -0700 Subject: [PATCH] Update sandbox extension --- .../reports-api-model/reports_2021-06-30.json | 602 ++++++++++-------- 1 file changed, 319 insertions(+), 283 deletions(-) diff --git a/models/reports-api-model/reports_2021-06-30.json b/models/reports-api-model/reports_2021-06-30.json index 488853d..ea90139 100644 --- a/models/reports-api-model/reports_2021-06-30.json +++ b/models/reports-api-model/reports_2021-06-30.json @@ -146,17 +146,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportTypes": { - "value": [ - "FEE_DISCOUNTS_REPORT", - "GET_AFN_INVENTORY_DATA" - ] - }, - "processingStatuses": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportTypes": { + "value": [ + "FEE_DISCOUNTS_REPORT", + "GET_AFN_INVENTORY_DATA" + ] + }, + "processingStatuses": { "value": [ "IN_QUEUE", "IN_PROGRESS" @@ -179,8 +180,9 @@ } ] } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -197,17 +199,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportTypes": { - "value": [ - "FEE_DISCOUNTS_REPORT", - "GET_AFN_INVENTORY_DATA" - ] - }, - "processingStatuses": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportTypes": { + "value": [ + "FEE_DISCOUNTS_REPORT", + "GET_AFN_INVENTORY_DATA" + ] + }, + "processingStatuses": { "value": [ "BAD_VALUE", "IN_PROGRESS" @@ -215,17 +218,18 @@ } } }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input in processing status" - } - ] + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input in processing status" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -369,27 +373,29 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "reportType": "GET_MERCHANT_LISTINGS_ALL_DATA", - "dataStartTime": "2019-12-10T20:11:24.000Z", - "marketplaceIds": [ - "A1PA6795UKMFR9", - "ATVPDKIKX0DER" - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "reportType": "GET_MERCHANT_LISTINGS_ALL_DATA", + "dataStartTime": "2019-12-10T20:11:24.000Z", + "marketplaceIds": [ + "A1PA6795UKMFR9", + "ATVPDKIKX0DER" + ] + } } } + }, + "response": { + "reportId": "ID323" } - }, - "response": { - "reportId": "ID323" } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -406,33 +412,35 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "reportType": "BAD_FEE_DISCOUNTS_REPORT", - "dataStartTime": "2019-12-10T20:11:24.000Z", - "marketplaceIds": [ - "A1PA6795UKMFR9", - "ATVPDKIKX0DER" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "reportType": "BAD_FEE_DISCOUNTS_REPORT", + "dataStartTime": "2019-12-10T20:11:24.000Z", + "marketplaceIds": [ + "A1PA6795UKMFR9", + "ATVPDKIKX0DER" ] } } } }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -575,17 +583,19 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportId": { - "value": "ID" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportId": { + "value": "ID" + } } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -602,22 +612,24 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": {} - }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": {} + }, + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -760,27 +772,29 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportId": { - "value": "ID323" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportId": { + "value": "ID323" + } } + }, + "response": { + "reportId": "ReportId1", + "reportType": "FEE_DISCOUNTS_REPORT", + "dataStartTime": "2019-12-11T13:47:20.677Z", + "dataEndTime": "2019-12-12T13:47:20.677Z", + "createdTime": "2019-12-10T13:47:20.677Z", + "processingStatus": "IN_PROGRESS", + "processingStartTime": "2019-12-10T13:47:20.677Z", + "processingEndTime": "2019-12-12T13:47:20.677Z" } - }, - "response": { - "reportId": "ReportId1", - "reportType": "FEE_DISCOUNTS_REPORT", - "dataStartTime": "2019-12-11T13:47:20.677Z", - "dataEndTime": "2019-12-12T13:47:20.677Z", - "createdTime": "2019-12-10T13:47:20.677Z", - "processingStatus": "IN_PROGRESS", - "processingStartTime": "2019-12-10T13:47:20.677Z", - "processingEndTime": "2019-12-12T13:47:20.677Z" } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -797,26 +811,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportId": { - "value": "badReportId1" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportId": { + "value": "badReportId1" + } } + }, + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] } - }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -967,17 +983,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportTypes": { - "value": [ - "FEE_DISCOUNTS_REPORT", - "GET_FBA_FULFILLMENT_CUSTOMER_TAXES_DATA" - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportTypes": { + "value": [ + "FEE_DISCOUNTS_REPORT", + "GET_FBA_FULFILLMENT_CUSTOMER_TAXES_DATA" + ] + } } - } }, "response": { "reportSchedules": [ @@ -998,8 +1015,9 @@ } ] } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1016,29 +1034,31 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportTypes": { - "value": [ - "BAD_FEE_DISCOUNTS_REPORT", - "BAD_GET_FBA_FULFILLMENT_CUSTOMER_TAXES_DATA" - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportTypes": { + "value": [ + "BAD_FEE_DISCOUNTS_REPORT", + "BAD_GET_FBA_FULFILLMENT_CUSTOMER_TAXES_DATA" + ] + } } - } }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1182,28 +1202,30 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "reportType": "FEE_DISCOUNTS_REPORT", - "period": "PT5M", - "nextReportCreationTime": "2019-12-10T20:11:24.000Z", - "marketplaceIds": [ - "A1PA6795UKMFR9", - "ATVPDKIKX0DER" - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "reportType": "FEE_DISCOUNTS_REPORT", + "period": "PT5M", + "nextReportCreationTime": "2019-12-10T20:11:24.000Z", + "marketplaceIds": [ + "A1PA6795UKMFR9", + "ATVPDKIKX0DER" + ] + } } } + }, + "response": { + "reportScheduleId": "ID323" } - }, - "response": { - "reportScheduleId": "ID323" } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1220,30 +1242,32 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "body": { - "value": { - "reportType": "BAD_FEE_DISCOUNTS_REPORT", - "period": "PT5M", - "nextReportCreationTime": "2019-12-10T20:11:24.000Z" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "body": { + "value": { + "reportType": "BAD_FEE_DISCOUNTS_REPORT", + "period": "PT5M", + "nextReportCreationTime": "2019-12-10T20:11:24.000Z" + } } - } } }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1386,17 +1410,19 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportScheduleId": { - "value": "ID" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportScheduleId": { + "value": "ID" + } } } } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1413,22 +1439,24 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": {} - }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": {} + }, + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] + } } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1571,23 +1599,25 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportScheduleId": { - "value": "ID323" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportScheduleId": { + "value": "ID323" + } } + }, + "response": { + "reportScheduleId": "ReportScheduleId1", + "reportType": "FEE_DISCOUNTS_REPORT", + "period": "PT5M", + "nextReportCreationTime": "2019-12-12T13:47:20.677Z" } - }, - "response": { - "reportScheduleId": "ReportScheduleId1", - "reportType": "FEE_DISCOUNTS_REPORT", - "period": "PT5M", - "nextReportCreationTime": "2019-12-12T13:47:20.677Z" } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1604,26 +1634,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportScheduleId": { - "value": "badReportId1" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportScheduleId": { + "value": "badReportId1" + } } + }, + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] } - }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -1769,21 +1801,23 @@ "description": "Unique request reference ID." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportDocumentId": { - "value": "0356cf79-b8b0-4226-b4b9-0ee058ea5760" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportDocumentId": { + "value": "0356cf79-b8b0-4226-b4b9-0ee058ea5760" + } } + }, + "response": { + "reportDocumentId": "0356cf79-b8b0-4226-b4b9-0ee058ea5760", + "url": "https://d34o8swod1owfl.cloudfront.net/Report_47700__GET_MERCHANT_LISTINGS_ALL_DATA_.txt" } - }, - "response": { - "reportDocumentId": "0356cf79-b8b0-4226-b4b9-0ee058ea5760", - "url": "https://d34o8swod1owfl.cloudfront.net/Report_47700__GET_MERCHANT_LISTINGS_ALL_DATA_.txt" } - } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -1800,26 +1834,28 @@ "description": "Unique request reference ID." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "reportDocumentId": { - "value": "badDocumentId1" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "reportDocumentId": { + "value": "badDocumentId1" + } } + }, + "response": { + "errors": [ + { + "code": "400", + "message": "Invalid input", + "details": "Invalid input" + } + ] } - }, - "response": { - "errors": [ - { - "code": "400", - "message": "Invalid input", - "details": "Invalid input" - } - ] } - } - ] + ] + } }, "401": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.",