Back to Collection Items
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)
' This example assumes the Chilkat API to have been previously unlocked.
' See Global Unlock Sample for sample code.
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.Http")
set http = CreateObject("Chilkat.Http")
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.JsonObject")
set queryParams = CreateObject("Chilkat.JsonObject")
success = queryParams.UpdateString("accessPointTypes","3P,HELIX")
success = queryParams.UpdateString("countryCode","<string>")
success = queryParams.UpdateString("postalCode","<string>")
http.SetRequestHeader "x-amzn-shipping-business-id","AmazonShipping_US"
http.SetRequestHeader "Accept","application/json"
' resp is a Chilkat.HttpResponse
Set resp = http.QuickRequestParams("GET","https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints",queryParams)
If (http.LastMethodSuccess = 0) Then
outFile.WriteLine(http.LastErrorText)
WScript.Quit
End If
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.StringBuilder")
set sbResponseBody = CreateObject("Chilkat.StringBuilder")
success = resp.GetBodySb(sbResponseBody)
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.JsonObject")
set jResp = CreateObject("Chilkat.JsonObject")
success = jResp.LoadSb(sbResponseBody)
jResp.EmitCompact = 0
outFile.WriteLine("Response Body:")
outFile.WriteLine(jResp.Emit())
respStatusCode = resp.StatusCode
outFile.WriteLine("Response Status Code = " & respStatusCode)
If (respStatusCode >= 400) Then
outFile.WriteLine("Response Header:")
outFile.WriteLine(resp.Header)
outFile.WriteLine("Failed.")
WScript.Quit
End If
' 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
i = 0
count_i = jResp.SizeOfArray("payload.accessPointsMap.ad_fae")
Do While i < count_i
jResp.I = i
accessPointId = jResp.StringOf("payload.accessPointsMap.ad_fae[i].accessPointId")
name = jResp.StringOf("payload.accessPointsMap.ad_fae[i].name")
timezone = jResp.StringOf("payload.accessPointsMap.ad_fae[i].timezone")
v_type = jResp.StringOf("payload.accessPointsMap.ad_fae[i].type")
Distance = jResp.StringOf("payload.accessPointsMap.ad_fae[i].accessibilityAttributes.distance")
DriveTime = jResp.StringOf("payload.accessPointsMap.ad_fae[i].accessibilityAttributes.driveTime")
AddressLine1 = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine1")
City = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.city")
CountryCode = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.countryCode")
Name = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.name")
PostalCode = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.postalCode")
StateOrRegion = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.stateOrRegion")
AddressLine2 = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine2")
AddressLine3 = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine3")
CompanyName = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.companyName")
v_Email = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.email")
PhoneNumber = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.phoneNumber")
Latitude = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.geocode.latitude")
Longitude = jResp.StringOf("payload.accessPointsMap.ad_fae[i].address.geocode.longitude")
assistanceType = jResp.StringOf("payload.accessPointsMap.ad_fae[i].assistanceType")
score = jResp.StringOf("payload.accessPointsMap.ad_fae[i].score")
HourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.hourOfDay")
MinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.minuteOfHour")
SecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.secondOfMinute")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.secondOfMinute")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.secondOfMinute")
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours")
Do While j < count_j
jResp.J = j
StartDate = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.startDate")
EndDate = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.endDate")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute")
k = 0
count_k = jResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures")
Do While k < count_k
jResp.K = k
hourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute")
k = k + 1
Loop
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
i = i + 1
Loop
i = 0
count_i = jResp.SizeOfArray("payload.accessPointsMap.laboris8b")
Do While i < count_i
jResp.I = i
accessPointId = jResp.StringOf("payload.accessPointsMap.laboris8b[i].accessPointId")
name = jResp.StringOf("payload.accessPointsMap.laboris8b[i].name")
timezone = jResp.StringOf("payload.accessPointsMap.laboris8b[i].timezone")
v_type = jResp.StringOf("payload.accessPointsMap.laboris8b[i].type")
accessibilityAttributesDistance = jResp.StringOf("payload.accessPointsMap.laboris8b[i].accessibilityAttributes.distance")
accessibilityAttributesDriveTime = jResp.StringOf("payload.accessPointsMap.laboris8b[i].accessibilityAttributes.driveTime")
addressAddressLine1 = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine1")
addressCity = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.city")
addressCountryCode = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.countryCode")
addressName = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.name")
addressPostalCode = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.postalCode")
addressStateOrRegion = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.stateOrRegion")
addressAddressLine2 = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine2")
addressAddressLine3 = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine3")
addressCompanyName = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.companyName")
addressEmail = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.email")
addressPhoneNumber = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.phoneNumber")
GeocodeLatitude = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.geocode.latitude")
GeocodeLongitude = jResp.StringOf("payload.accessPointsMap.laboris8b[i].address.geocode.longitude")
assistanceType = jResp.StringOf("payload.accessPointsMap.laboris8b[i].assistanceType")
score = jResp.StringOf("payload.accessPointsMap.laboris8b[i].score")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.secondOfMinute")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.secondOfMinute")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.secondOfMinute")
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours")
Do While j < count_j
jResp.J = j
dateRangeStartDate = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.startDate")
dateRangeEndDate = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.endDate")
ClosingTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay")
ClosingTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour")
ClosingTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute")
OpeningTimeHourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay")
OpeningTimeMinuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour")
OpeningTimeSecondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute")
k = 0
count_k = jResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures")
Do While k < count_k
jResp.K = k
hourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute")
k = k + 1
Loop
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
j = 0
count_j = jResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures")
Do While j < count_j
jResp.J = j
hourOfDay = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].hourOfDay")
minuteOfHour = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].minuteOfHour")
secondOfMinute = jResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].secondOfMinute")
j = j + 1
Loop
i = i + 1
Loop
outFile.Close
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}"
}
]
}