Back to Collection Items
#include <CkHttpW.h>
#include <CkJsonObjectW.h>
#include <CkHttpResponseW.h>
#include <CkStringBuilderW.h>
void ChilkatSample(void)
{
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkHttpW http;
bool success;
CkJsonObjectW queryParams;
queryParams.UpdateString(L"accessPointTypes",L"3P,HELIX");
queryParams.UpdateString(L"countryCode",L"<string>");
queryParams.UpdateString(L"postalCode",L"<string>");
http.SetRequestHeader(L"x-amzn-shipping-business-id",L"AmazonShipping_US");
http.SetRequestHeader(L"Accept",L"application/json");
CkHttpResponseW *resp = http.QuickRequestParams(L"GET",L"https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints",queryParams);
if (http.get_LastMethodSuccess() == false) {
wprintf(L"%s\n",http.lastErrorText());
return;
}
CkStringBuilderW sbResponseBody;
resp->GetBodySb(sbResponseBody);
CkJsonObjectW jResp;
jResp.LoadSb(sbResponseBody);
jResp.put_EmitCompact(false);
wprintf(L"Response Body:\n");
wprintf(L"%s\n",jResp.emit());
int respStatusCode = resp->get_StatusCode();
wprintf(L"Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
wprintf(L"Response Header:\n");
wprintf(L"%s\n",resp->header());
wprintf(L"Failed.\n");
delete resp;
return;
}
delete resp;
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "payload": {
// "accessPointsMap": {
// "ad_fae": [
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "DOBBY_LOCKER",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "STAFF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "esse_f": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// },
// "laborum7": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// },
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "CAMPUS_ROOM",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "SELF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "ea8c0": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// }
// ],
// "laboris8b": [
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "HELIX",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "STAFF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "reprehenderit_f": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// },
// "sedb": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// },
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "CAMPUS_ROOM",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "SELF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "voluptate_ac2": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// }
// ]
// }
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
const wchar_t *accessPointId = 0;
const wchar_t *name = 0;
const wchar_t *timezone = 0;
const wchar_t *v_type = 0;
const wchar_t *Distance = 0;
const wchar_t *DriveTime = 0;
const wchar_t *AddressLine1 = 0;
const wchar_t *City = 0;
const wchar_t *CountryCode = 0;
const wchar_t *Name = 0;
const wchar_t *PostalCode = 0;
const wchar_t *StateOrRegion = 0;
const wchar_t *AddressLine2 = 0;
const wchar_t *AddressLine3 = 0;
const wchar_t *CompanyName = 0;
const wchar_t *v_Email = 0;
const wchar_t *PhoneNumber = 0;
const wchar_t *Latitude = 0;
const wchar_t *Longitude = 0;
const wchar_t *assistanceType = 0;
const wchar_t *score = 0;
const wchar_t *HourOfDay = 0;
const wchar_t *MinuteOfHour = 0;
const wchar_t *SecondOfMinute = 0;
const wchar_t *OpeningTimeHourOfDay = 0;
const wchar_t *OpeningTimeMinuteOfHour = 0;
const wchar_t *OpeningTimeSecondOfMinute = 0;
const wchar_t *ClosingTimeHourOfDay = 0;
const wchar_t *ClosingTimeMinuteOfHour = 0;
const wchar_t *ClosingTimeSecondOfMinute = 0;
int j;
int count_j;
const wchar_t *StartDate = 0;
const wchar_t *EndDate = 0;
int k;
int count_k;
const wchar_t *hourOfDay = 0;
const wchar_t *minuteOfHour = 0;
const wchar_t *secondOfMinute = 0;
const wchar_t *accessibilityAttributesDistance = 0;
const wchar_t *accessibilityAttributesDriveTime = 0;
const wchar_t *addressAddressLine1 = 0;
const wchar_t *addressCity = 0;
const wchar_t *addressCountryCode = 0;
const wchar_t *addressName = 0;
const wchar_t *addressPostalCode = 0;
const wchar_t *addressStateOrRegion = 0;
const wchar_t *addressAddressLine2 = 0;
const wchar_t *addressAddressLine3 = 0;
const wchar_t *addressCompanyName = 0;
const wchar_t *addressEmail = 0;
const wchar_t *addressPhoneNumber = 0;
const wchar_t *GeocodeLatitude = 0;
const wchar_t *GeocodeLongitude = 0;
const wchar_t *dateRangeStartDate = 0;
const wchar_t *dateRangeEndDate = 0;
int i = 0;
int count_i = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae");
while (i < count_i) {
jResp.put_I(i);
accessPointId = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].accessPointId");
name = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].name");
timezone = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].timezone");
v_type = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].type");
Distance = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].accessibilityAttributes.distance");
DriveTime = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].accessibilityAttributes.driveTime");
AddressLine1 = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.addressLine1");
City = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.city");
CountryCode = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.countryCode");
Name = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.name");
PostalCode = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.postalCode");
StateOrRegion = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.stateOrRegion");
AddressLine2 = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.addressLine2");
AddressLine3 = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.addressLine3");
CompanyName = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.companyName");
v_Email = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.email");
PhoneNumber = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.phoneNumber");
Latitude = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.geocode.latitude");
Longitude = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].address.geocode.longitude");
assistanceType = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].assistanceType");
score = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].score");
HourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.hourOfDay");
MinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.minuteOfHour");
SecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.secondOfMinute");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.secondOfMinute");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.secondOfMinute");
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours");
while (j < count_j) {
jResp.put_J(j);
StartDate = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.startDate");
EndDate = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.endDate");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute");
k = 0;
count_k = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures");
while (k < count_k) {
jResp.put_K(k);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute");
k = k + 1;
}
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].secondOfMinute");
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].secondOfMinute");
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].secondOfMinute");
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b");
while (i < count_i) {
jResp.put_I(i);
accessPointId = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].accessPointId");
name = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].name");
timezone = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].timezone");
v_type = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].type");
accessibilityAttributesDistance = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].accessibilityAttributes.distance");
accessibilityAttributesDriveTime = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].accessibilityAttributes.driveTime");
addressAddressLine1 = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.addressLine1");
addressCity = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.city");
addressCountryCode = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.countryCode");
addressName = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.name");
addressPostalCode = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.postalCode");
addressStateOrRegion = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.stateOrRegion");
addressAddressLine2 = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.addressLine2");
addressAddressLine3 = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.addressLine3");
addressCompanyName = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.companyName");
addressEmail = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.email");
addressPhoneNumber = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.phoneNumber");
GeocodeLatitude = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.geocode.latitude");
GeocodeLongitude = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].address.geocode.longitude");
assistanceType = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].assistanceType");
score = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].score");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.secondOfMinute");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.secondOfMinute");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.secondOfMinute");
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours");
while (j < count_j) {
jResp.put_J(j);
dateRangeStartDate = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.startDate");
dateRangeEndDate = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.endDate");
ClosingTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay");
ClosingTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour");
ClosingTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute");
OpeningTimeHourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay");
OpeningTimeMinuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour");
OpeningTimeSecondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute");
k = 0;
count_k = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures");
while (k < count_k) {
jResp.put_K(k);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute");
k = k + 1;
}
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].secondOfMinute");
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].secondOfMinute");
j = j + 1;
}
j = 0;
count_j = jResp.SizeOfArray(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures");
while (j < count_j) {
jResp.put_J(j);
hourOfDay = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].hourOfDay");
minuteOfHour = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].minuteOfHour");
secondOfMinute = jResp.stringOf(L"payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].secondOfMinute");
j = j + 1;
}
i = i + 1;
}
}
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}"
}
]
}