Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
DECLARE @iTmp0 int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
DECLARE @queryParams int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @queryParams OUT
EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, 'accessPointTypes', '3P,HELIX'
EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, 'countryCode', '<string>'
EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, 'postalCode', '<string>'
EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'x-amzn-shipping-business-id', 'AmazonShipping_US'
EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Accept', 'application/json'
DECLARE @resp int
EXEC sp_OAMethod @http, 'QuickRequestParams', @resp OUT, 'GET', 'https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints', @queryParams
EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
IF @iTmp0 = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @queryParams
RETURN
END
DECLARE @sbResponseBody int
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
DECLARE @jResp int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT
EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
EXEC sp_OASetProperty @jResp, 'EmitCompact', 0
PRINT 'Response Body:'
EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
PRINT @sTmp0
DECLARE @respStatusCode int
EXEC sp_OAGetProperty @resp, 'StatusCode', @respStatusCode OUT
PRINT 'Response Status Code = ' + @respStatusCode
IF @respStatusCode >= 400
BEGIN
PRINT 'Response Header:'
EXEC sp_OAGetProperty @resp, 'Header', @sTmp0 OUT
PRINT @sTmp0
PRINT 'Failed.'
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @queryParams
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
RETURN
END
EXEC @hr = sp_OADestroy @resp
-- Sample JSON response:
-- (Sample code for parsing the JSON response is shown below)
-- {
-- "payload": {
-- "accessPointsMap": {
-- "ad_fae": [
-- {
-- "accessPointId": "<string>",
-- "name": "<string>",
-- "timezone": "<string>",
-- "type": "DOBBY_LOCKER",
-- "accessibilityAttributes": {
-- "distance": "<string>",
-- "driveTime": "<integer>"
-- },
-- "address": {
-- "addressLine1": "<string>",
-- "city": "<string>",
-- "countryCode": "<string>",
-- "name": "<string>",
-- "postalCode": "<string>",
-- "stateOrRegion": "<string>",
-- "addressLine2": "<string>",
-- "addressLine3": "<string>",
-- "companyName": "<string>",
-- "email": "<string>",
-- "phoneNumber": "<string>",
-- "geocode": {
-- "latitude": "<string>",
-- "longitude": "<string>"
-- }
-- },
-- "exceptionOperatingHours": [
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- },
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- ],
-- "assistanceType": "STAFF_ASSISTED",
-- "score": "<string>",
-- "standardOperatingHours": {
-- "esse_f": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- },
-- "laborum7": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- },
-- {
-- "accessPointId": "<string>",
-- "name": "<string>",
-- "timezone": "<string>",
-- "type": "CAMPUS_ROOM",
-- "accessibilityAttributes": {
-- "distance": "<string>",
-- "driveTime": "<integer>"
-- },
-- "address": {
-- "addressLine1": "<string>",
-- "city": "<string>",
-- "countryCode": "<string>",
-- "name": "<string>",
-- "postalCode": "<string>",
-- "stateOrRegion": "<string>",
-- "addressLine2": "<string>",
-- "addressLine3": "<string>",
-- "companyName": "<string>",
-- "email": "<string>",
-- "phoneNumber": "<string>",
-- "geocode": {
-- "latitude": "<string>",
-- "longitude": "<string>"
-- }
-- },
-- "exceptionOperatingHours": [
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- },
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- ],
-- "assistanceType": "SELF_ASSISTED",
-- "score": "<string>",
-- "standardOperatingHours": {
-- "ea8c0": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- }
-- ],
-- "laboris8b": [
-- {
-- "accessPointId": "<string>",
-- "name": "<string>",
-- "timezone": "<string>",
-- "type": "HELIX",
-- "accessibilityAttributes": {
-- "distance": "<string>",
-- "driveTime": "<integer>"
-- },
-- "address": {
-- "addressLine1": "<string>",
-- "city": "<string>",
-- "countryCode": "<string>",
-- "name": "<string>",
-- "postalCode": "<string>",
-- "stateOrRegion": "<string>",
-- "addressLine2": "<string>",
-- "addressLine3": "<string>",
-- "companyName": "<string>",
-- "email": "<string>",
-- "phoneNumber": "<string>",
-- "geocode": {
-- "latitude": "<string>",
-- "longitude": "<string>"
-- }
-- },
-- "exceptionOperatingHours": [
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- },
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- ],
-- "assistanceType": "STAFF_ASSISTED",
-- "score": "<string>",
-- "standardOperatingHours": {
-- "reprehenderit_f": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- },
-- "sedb": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- },
-- {
-- "accessPointId": "<string>",
-- "name": "<string>",
-- "timezone": "<string>",
-- "type": "CAMPUS_ROOM",
-- "accessibilityAttributes": {
-- "distance": "<string>",
-- "driveTime": "<integer>"
-- },
-- "address": {
-- "addressLine1": "<string>",
-- "city": "<string>",
-- "countryCode": "<string>",
-- "name": "<string>",
-- "postalCode": "<string>",
-- "stateOrRegion": "<string>",
-- "addressLine2": "<string>",
-- "addressLine3": "<string>",
-- "companyName": "<string>",
-- "email": "<string>",
-- "phoneNumber": "<string>",
-- "geocode": {
-- "latitude": "<string>",
-- "longitude": "<string>"
-- }
-- },
-- "exceptionOperatingHours": [
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- },
-- {
-- "dateRange": {
-- "startDate": "<string>",
-- "endDate": "<string>"
-- },
-- "operatingHours": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- ],
-- "assistanceType": "SELF_ASSISTED",
-- "score": "<string>",
-- "standardOperatingHours": {
-- "voluptate_ac2": {
-- "closingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "openingTime": {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- "midDayClosures": [
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- },
-- {
-- "hourOfDay": "<integer>",
-- "minuteOfHour": "<integer>",
-- "secondOfMinute": "<integer>"
-- }
-- ]
-- }
-- }
-- }
-- ]
-- }
-- }
-- }
-- Sample code for parsing the JSON response...
-- Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
DECLARE @accessPointId nvarchar(4000)
DECLARE @name nvarchar(4000)
DECLARE @timezone nvarchar(4000)
DECLARE @v_type nvarchar(4000)
DECLARE @Distance nvarchar(4000)
DECLARE @DriveTime nvarchar(4000)
DECLARE @AddressLine1 nvarchar(4000)
DECLARE @City nvarchar(4000)
DECLARE @CountryCode nvarchar(4000)
DECLARE @Name nvarchar(4000)
DECLARE @PostalCode nvarchar(4000)
DECLARE @StateOrRegion nvarchar(4000)
DECLARE @AddressLine2 nvarchar(4000)
DECLARE @AddressLine3 nvarchar(4000)
DECLARE @CompanyName nvarchar(4000)
DECLARE @v_Email nvarchar(4000)
DECLARE @PhoneNumber nvarchar(4000)
DECLARE @Latitude nvarchar(4000)
DECLARE @Longitude nvarchar(4000)
DECLARE @assistanceType nvarchar(4000)
DECLARE @score nvarchar(4000)
DECLARE @HourOfDay nvarchar(4000)
DECLARE @MinuteOfHour nvarchar(4000)
DECLARE @SecondOfMinute nvarchar(4000)
DECLARE @OpeningTimeHourOfDay nvarchar(4000)
DECLARE @OpeningTimeMinuteOfHour nvarchar(4000)
DECLARE @OpeningTimeSecondOfMinute nvarchar(4000)
DECLARE @ClosingTimeHourOfDay nvarchar(4000)
DECLARE @ClosingTimeMinuteOfHour nvarchar(4000)
DECLARE @ClosingTimeSecondOfMinute nvarchar(4000)
DECLARE @j int
DECLARE @count_j int
DECLARE @StartDate nvarchar(4000)
DECLARE @EndDate nvarchar(4000)
DECLARE @k int
DECLARE @count_k int
DECLARE @hourOfDay nvarchar(4000)
DECLARE @minuteOfHour nvarchar(4000)
DECLARE @secondOfMinute nvarchar(4000)
DECLARE @accessibilityAttributesDistance nvarchar(4000)
DECLARE @accessibilityAttributesDriveTime nvarchar(4000)
DECLARE @addressAddressLine1 nvarchar(4000)
DECLARE @addressCity nvarchar(4000)
DECLARE @addressCountryCode nvarchar(4000)
DECLARE @addressName nvarchar(4000)
DECLARE @addressPostalCode nvarchar(4000)
DECLARE @addressStateOrRegion nvarchar(4000)
DECLARE @addressAddressLine2 nvarchar(4000)
DECLARE @addressAddressLine3 nvarchar(4000)
DECLARE @addressCompanyName nvarchar(4000)
DECLARE @addressEmail nvarchar(4000)
DECLARE @addressPhoneNumber nvarchar(4000)
DECLARE @GeocodeLatitude nvarchar(4000)
DECLARE @GeocodeLongitude nvarchar(4000)
DECLARE @dateRangeStartDate nvarchar(4000)
DECLARE @dateRangeEndDate nvarchar(4000)
DECLARE @i int
SELECT @i = 0
DECLARE @count_i int
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'payload.accessPointsMap.ad_fae'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @accessPointId OUT, 'payload.accessPointsMap.ad_fae[i].accessPointId'
EXEC sp_OAMethod @jResp, 'StringOf', @name OUT, 'payload.accessPointsMap.ad_fae[i].name'
EXEC sp_OAMethod @jResp, 'StringOf', @timezone OUT, 'payload.accessPointsMap.ad_fae[i].timezone'
EXEC sp_OAMethod @jResp, 'StringOf', @v_type OUT, 'payload.accessPointsMap.ad_fae[i].type'
EXEC sp_OAMethod @jResp, 'StringOf', @Distance OUT, 'payload.accessPointsMap.ad_fae[i].accessibilityAttributes.distance'
EXEC sp_OAMethod @jResp, 'StringOf', @DriveTime OUT, 'payload.accessPointsMap.ad_fae[i].accessibilityAttributes.driveTime'
EXEC sp_OAMethod @jResp, 'StringOf', @AddressLine1 OUT, 'payload.accessPointsMap.ad_fae[i].address.addressLine1'
EXEC sp_OAMethod @jResp, 'StringOf', @City OUT, 'payload.accessPointsMap.ad_fae[i].address.city'
EXEC sp_OAMethod @jResp, 'StringOf', @CountryCode OUT, 'payload.accessPointsMap.ad_fae[i].address.countryCode'
EXEC sp_OAMethod @jResp, 'StringOf', @Name OUT, 'payload.accessPointsMap.ad_fae[i].address.name'
EXEC sp_OAMethod @jResp, 'StringOf', @PostalCode OUT, 'payload.accessPointsMap.ad_fae[i].address.postalCode'
EXEC sp_OAMethod @jResp, 'StringOf', @StateOrRegion OUT, 'payload.accessPointsMap.ad_fae[i].address.stateOrRegion'
EXEC sp_OAMethod @jResp, 'StringOf', @AddressLine2 OUT, 'payload.accessPointsMap.ad_fae[i].address.addressLine2'
EXEC sp_OAMethod @jResp, 'StringOf', @AddressLine3 OUT, 'payload.accessPointsMap.ad_fae[i].address.addressLine3'
EXEC sp_OAMethod @jResp, 'StringOf', @CompanyName OUT, 'payload.accessPointsMap.ad_fae[i].address.companyName'
EXEC sp_OAMethod @jResp, 'StringOf', @v_Email OUT, 'payload.accessPointsMap.ad_fae[i].address.email'
EXEC sp_OAMethod @jResp, 'StringOf', @PhoneNumber OUT, 'payload.accessPointsMap.ad_fae[i].address.phoneNumber'
EXEC sp_OAMethod @jResp, 'StringOf', @Latitude OUT, 'payload.accessPointsMap.ad_fae[i].address.geocode.latitude'
EXEC sp_OAMethod @jResp, 'StringOf', @Longitude OUT, 'payload.accessPointsMap.ad_fae[i].address.geocode.longitude'
EXEC sp_OAMethod @jResp, 'StringOf', @assistanceType OUT, 'payload.accessPointsMap.ad_fae[i].assistanceType'
EXEC sp_OAMethod @jResp, 'StringOf', @score OUT, 'payload.accessPointsMap.ad_fae[i].score'
EXEC sp_OAMethod @jResp, 'StringOf', @HourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @MinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @SecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.secondOfMinute'
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @StartDate OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.startDate'
EXEC sp_OAMethod @jResp, 'StringOf', @EndDate OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.endDate'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute'
SELECT @k = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_k OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures'
WHILE @k < @count_k
BEGIN
EXEC sp_OASetProperty @jResp, 'K', @k
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute'
SELECT @k = @k + 1
END
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'payload.accessPointsMap.laboris8b'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @accessPointId OUT, 'payload.accessPointsMap.laboris8b[i].accessPointId'
EXEC sp_OAMethod @jResp, 'StringOf', @name OUT, 'payload.accessPointsMap.laboris8b[i].name'
EXEC sp_OAMethod @jResp, 'StringOf', @timezone OUT, 'payload.accessPointsMap.laboris8b[i].timezone'
EXEC sp_OAMethod @jResp, 'StringOf', @v_type OUT, 'payload.accessPointsMap.laboris8b[i].type'
EXEC sp_OAMethod @jResp, 'StringOf', @accessibilityAttributesDistance OUT, 'payload.accessPointsMap.laboris8b[i].accessibilityAttributes.distance'
EXEC sp_OAMethod @jResp, 'StringOf', @accessibilityAttributesDriveTime OUT, 'payload.accessPointsMap.laboris8b[i].accessibilityAttributes.driveTime'
EXEC sp_OAMethod @jResp, 'StringOf', @addressAddressLine1 OUT, 'payload.accessPointsMap.laboris8b[i].address.addressLine1'
EXEC sp_OAMethod @jResp, 'StringOf', @addressCity OUT, 'payload.accessPointsMap.laboris8b[i].address.city'
EXEC sp_OAMethod @jResp, 'StringOf', @addressCountryCode OUT, 'payload.accessPointsMap.laboris8b[i].address.countryCode'
EXEC sp_OAMethod @jResp, 'StringOf', @addressName OUT, 'payload.accessPointsMap.laboris8b[i].address.name'
EXEC sp_OAMethod @jResp, 'StringOf', @addressPostalCode OUT, 'payload.accessPointsMap.laboris8b[i].address.postalCode'
EXEC sp_OAMethod @jResp, 'StringOf', @addressStateOrRegion OUT, 'payload.accessPointsMap.laboris8b[i].address.stateOrRegion'
EXEC sp_OAMethod @jResp, 'StringOf', @addressAddressLine2 OUT, 'payload.accessPointsMap.laboris8b[i].address.addressLine2'
EXEC sp_OAMethod @jResp, 'StringOf', @addressAddressLine3 OUT, 'payload.accessPointsMap.laboris8b[i].address.addressLine3'
EXEC sp_OAMethod @jResp, 'StringOf', @addressCompanyName OUT, 'payload.accessPointsMap.laboris8b[i].address.companyName'
EXEC sp_OAMethod @jResp, 'StringOf', @addressEmail OUT, 'payload.accessPointsMap.laboris8b[i].address.email'
EXEC sp_OAMethod @jResp, 'StringOf', @addressPhoneNumber OUT, 'payload.accessPointsMap.laboris8b[i].address.phoneNumber'
EXEC sp_OAMethod @jResp, 'StringOf', @GeocodeLatitude OUT, 'payload.accessPointsMap.laboris8b[i].address.geocode.latitude'
EXEC sp_OAMethod @jResp, 'StringOf', @GeocodeLongitude OUT, 'payload.accessPointsMap.laboris8b[i].address.geocode.longitude'
EXEC sp_OAMethod @jResp, 'StringOf', @assistanceType OUT, 'payload.accessPointsMap.laboris8b[i].assistanceType'
EXEC sp_OAMethod @jResp, 'StringOf', @score OUT, 'payload.accessPointsMap.laboris8b[i].score'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.secondOfMinute'
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @dateRangeStartDate OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.startDate'
EXEC sp_OAMethod @jResp, 'StringOf', @dateRangeEndDate OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.endDate'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @ClosingTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeHourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeMinuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @OpeningTimeSecondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute'
SELECT @k = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_k OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures'
WHILE @k < @count_k
BEGIN
EXEC sp_OASetProperty @jResp, 'K', @k
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute'
SELECT @k = @k + 1
END
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @j = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @jResp, 'J', @j
EXEC sp_OAMethod @jResp, 'StringOf', @hourOfDay OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].hourOfDay'
EXEC sp_OAMethod @jResp, 'StringOf', @minuteOfHour OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].minuteOfHour'
EXEC sp_OAMethod @jResp, 'StringOf', @secondOfMinute OUT, 'payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].secondOfMinute'
SELECT @j = @j + 1
END
SELECT @i = @i + 1
END
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @queryParams
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
END
GO
Curl Command
curl -G -d "accessPointTypes=3P,HELIX"
-d "countryCode=%3Cstring%3E"
-d "postalCode=%3Cstring%3E"
-H "x-amzn-shipping-business-id: AmazonShipping_US"
-H "Accept: application/json"
https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints
Postman Collection Item JSON
{
"name": "get Access Points",
"request": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
},
"description": "Returns a list of access points in proximity of input postal code.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 80 | 100 |\n\nThe `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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)."
},
"response": [
{
"name": "Success.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"accessPointsMap\": {\n \"ad_fae\": [\n {\n \"accessPointId\": \"<string>\",\n \"name\": \"<string>\",\n \"timezone\": \"<string>\",\n \"type\": \"DOBBY_LOCKER\",\n \"accessibilityAttributes\": {\n \"distance\": \"<string>\",\n \"driveTime\": \"<integer>\"\n },\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"city\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"geocode\": {\n \"latitude\": \"<string>\",\n \"longitude\": \"<string>\"\n }\n },\n \"exceptionOperatingHours\": [\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n },\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n ],\n \"assistanceType\": \"STAFF_ASSISTED\",\n \"score\": \"<string>\",\n \"standardOperatingHours\": {\n \"esse_f\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n },\n \"laborum7\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n },\n {\n \"accessPointId\": \"<string>\",\n \"name\": \"<string>\",\n \"timezone\": \"<string>\",\n \"type\": \"CAMPUS_ROOM\",\n \"accessibilityAttributes\": {\n \"distance\": \"<string>\",\n \"driveTime\": \"<integer>\"\n },\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"city\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"geocode\": {\n \"latitude\": \"<string>\",\n \"longitude\": \"<string>\"\n }\n },\n \"exceptionOperatingHours\": [\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n },\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n ],\n \"assistanceType\": \"SELF_ASSISTED\",\n \"score\": \"<string>\",\n \"standardOperatingHours\": {\n \"ea8c0\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n }\n ],\n \"laboris8b\": [\n {\n \"accessPointId\": \"<string>\",\n \"name\": \"<string>\",\n \"timezone\": \"<string>\",\n \"type\": \"HELIX\",\n \"accessibilityAttributes\": {\n \"distance\": \"<string>\",\n \"driveTime\": \"<integer>\"\n },\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"city\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"geocode\": {\n \"latitude\": \"<string>\",\n \"longitude\": \"<string>\"\n }\n },\n \"exceptionOperatingHours\": [\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n },\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n ],\n \"assistanceType\": \"STAFF_ASSISTED\",\n \"score\": \"<string>\",\n \"standardOperatingHours\": {\n \"reprehenderit_f\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n },\n \"sedb\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n },\n {\n \"accessPointId\": \"<string>\",\n \"name\": \"<string>\",\n \"timezone\": \"<string>\",\n \"type\": \"CAMPUS_ROOM\",\n \"accessibilityAttributes\": {\n \"distance\": \"<string>\",\n \"driveTime\": \"<integer>\"\n },\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"city\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"phoneNumber\": \"<string>\",\n \"geocode\": {\n \"latitude\": \"<string>\",\n \"longitude\": \"<string>\"\n }\n },\n \"exceptionOperatingHours\": [\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n },\n {\n \"dateRange\": {\n \"startDate\": \"<string>\",\n \"endDate\": \"<string>\"\n },\n \"operatingHours\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n ],\n \"assistanceType\": \"SELF_ASSISTED\",\n \"score\": \"<string>\",\n \"standardOperatingHours\": {\n \"voluptate_ac2\": {\n \"closingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"openingTime\": {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n \"midDayClosures\": [\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n },\n {\n \"hourOfDay\": \"<integer>\",\n \"minuteOfHour\": \"<integer>\",\n \"secondOfMinute\": \"<integer>\"\n }\n ]\n }\n }\n }\n ]\n }\n }\n}"
},
{
"name": "Request has missing or invalid parameters and cannot be parsed.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The resource specified does not exist.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The request size exceeded the maximum accepted size.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Request Entity Too Large",
"code": 413,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The request payload is in an unsupported format.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Unsupported Media Type",
"code": 415,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The frequency of requests was greater than allowed.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "An unexpected condition occurred that prevented the server from fulfilling the request.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Internal Server Error",
"code": 500,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Temporary overloading or maintenance of the server.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
"key": "x-amzn-shipping-business-id",
"value": "AmazonShipping_US"
},
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/shipping/v2/accessPoints?accessPointTypes=3P,HELIX&countryCode=<string>&postalCode=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"shipping",
"v2",
"accessPoints"
],
"query": [
{
"key": "accessPointTypes",
"value": "3P,HELIX",
"description": "(Required) "
},
{
"key": "countryCode",
"value": "<string>",
"description": "(Required) "
},
{
"key": "postalCode",
"value": "<string>",
"description": "(Required) "
}
]
}
},
"status": "Service Unavailable",
"code": 503,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
}
]
}