Back to Collection Items
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loHttp = createobject("CkHttp")
loQueryParams = createobject("CkJsonObject")
loQueryParams.UpdateString("accessPointTypes","3P,HELIX")
loQueryParams.UpdateString("countryCode","<string>")
loQueryParams.UpdateString("postalCode","<string>")
loHttp.SetRequestHeader("x-amzn-shipping-business-id","AmazonShipping_US")
loHttp.SetRequestHeader("Accept","application/json")
loResp = loHttp.QuickRequestParams("GET","https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints",loQueryParams)
if (loHttp.LastMethodSuccess = .F.) then
? loHttp.LastErrorText
release loHttp
release loQueryParams
return
endif
loSbResponseBody = createobject("CkStringBuilder")
loResp.GetBodySb(loSbResponseBody)
loJResp = createobject("CkJsonObject")
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = .F.
? "Response Body:"
? loJResp.Emit()
lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + str(lnRespStatusCode)
if (lnRespStatusCode >= 400) then
? "Response Header:"
? loResp.Header
? "Failed."
release loResp
release loHttp
release loQueryParams
release loSbResponseBody
release loJResp
return
endif
release loResp
// 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
lnCount_i = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae")
do while i < lnCount_i
loJResp.I = i
lcAccessPointId = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].accessPointId")
lcName = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].name")
lcTimezone = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].timezone")
lcV_type = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].type")
lcDistance = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].accessibilityAttributes.distance")
lcDriveTime = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].accessibilityAttributes.driveTime")
lcAddressLine1 = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine1")
lcCity = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.city")
lcCountryCode = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.countryCode")
lcName = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.name")
lcPostalCode = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.postalCode")
lcStateOrRegion = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.stateOrRegion")
lcAddressLine2 = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine2")
lcAddressLine3 = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.addressLine3")
lcCompanyName = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.companyName")
lcV_Email = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.email")
lcPhoneNumber = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.phoneNumber")
lcLatitude = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.geocode.latitude")
lcLongitude = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].address.geocode.longitude")
lcAssistanceType = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].assistanceType")
lcScore = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].score")
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.secondOfMinute")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.secondOfMinute")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.secondOfMinute")
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours")
do while j < lnCount_j
loJResp.J = j
lcStartDate = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.startDate")
lcEndDate = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.endDate")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute")
k = 0
lnCount_k = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures")
do while k < lnCount_k
loJResp.K = k
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute")
k = k + 1
enddo
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
i = i + 1
enddo
i = 0
lnCount_i = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b")
do while i < lnCount_i
loJResp.I = i
lcAccessPointId = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].accessPointId")
lcName = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].name")
lcTimezone = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].timezone")
lcV_type = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].type")
lcAccessibilityAttributesDistance = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].accessibilityAttributes.distance")
lcAccessibilityAttributesDriveTime = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].accessibilityAttributes.driveTime")
lcAddressAddressLine1 = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine1")
lcAddressCity = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.city")
lcAddressCountryCode = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.countryCode")
lcAddressName = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.name")
lcAddressPostalCode = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.postalCode")
lcAddressStateOrRegion = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.stateOrRegion")
lcAddressAddressLine2 = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine2")
lcAddressAddressLine3 = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.addressLine3")
lcAddressCompanyName = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.companyName")
lcAddressEmail = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.email")
lcAddressPhoneNumber = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.phoneNumber")
lcGeocodeLatitude = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.geocode.latitude")
lcGeocodeLongitude = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].address.geocode.longitude")
lcAssistanceType = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].assistanceType")
lcScore = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].score")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.secondOfMinute")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.secondOfMinute")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.secondOfMinute")
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours")
do while j < lnCount_j
loJResp.J = j
lcDateRangeStartDate = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.startDate")
lcDateRangeEndDate = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.endDate")
lcClosingTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay")
lcClosingTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour")
lcClosingTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute")
lcOpeningTimeHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay")
lcOpeningTimeMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour")
lcOpeningTimeSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute")
k = 0
lnCount_k = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures")
do while k < lnCount_k
loJResp.K = k
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute")
k = k + 1
enddo
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
j = 0
lnCount_j = loJResp.SizeOfArray("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures")
do while j < lnCount_j
loJResp.J = j
lcHourOfDay = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].hourOfDay")
lcMinuteOfHour = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].minuteOfHour")
lcSecondOfMinute = loJResp.StringOf("payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].secondOfMinute")
j = j + 1
enddo
i = i + 1
enddo
release loHttp
release loQueryParams
release loSbResponseBody
release loJResp
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}"
}
]
}