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