Back to Collection Items
var
http: TChilkatHttp;
success: Integer;
queryParams: TChilkatJsonObject;
resp: IChilkatHttpResponse;
sbResponseBody: TChilkatStringBuilder;
jResp: TChilkatJsonObject;
respStatusCode: Integer;
accessPointId: WideString;
name: WideString;
timezone: WideString;
v_type: WideString;
Distance: WideString;
DriveTime: WideString;
AddressLine1: WideString;
City: WideString;
CountryCode: WideString;
Name: WideString;
PostalCode: WideString;
StateOrRegion: WideString;
AddressLine2: WideString;
AddressLine3: WideString;
CompanyName: WideString;
v_Email: WideString;
PhoneNumber: WideString;
Latitude: WideString;
Longitude: WideString;
assistanceType: WideString;
score: WideString;
HourOfDay: WideString;
MinuteOfHour: WideString;
SecondOfMinute: WideString;
OpeningTimeHourOfDay: WideString;
OpeningTimeMinuteOfHour: WideString;
OpeningTimeSecondOfMinute: WideString;
ClosingTimeHourOfDay: WideString;
ClosingTimeMinuteOfHour: WideString;
ClosingTimeSecondOfMinute: WideString;
j: Integer;
count_j: Integer;
StartDate: WideString;
EndDate: WideString;
k: Integer;
count_k: Integer;
hourOfDay: WideString;
minuteOfHour: WideString;
secondOfMinute: WideString;
accessibilityAttributesDistance: WideString;
accessibilityAttributesDriveTime: WideString;
addressAddressLine1: WideString;
addressCity: WideString;
addressCountryCode: WideString;
addressName: WideString;
addressPostalCode: WideString;
addressStateOrRegion: WideString;
addressAddressLine2: WideString;
addressAddressLine3: WideString;
addressCompanyName: WideString;
addressEmail: WideString;
addressPhoneNumber: WideString;
GeocodeLatitude: WideString;
GeocodeLongitude: WideString;
dateRangeStartDate: WideString;
dateRangeEndDate: WideString;
i: Integer;
count_i: Integer;
begin
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http := TChilkatHttp.Create(Self);
queryParams := TChilkatJsonObject.Create(Self);
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');
resp := http.QuickRequestParams('GET','https://sellingpartnerapi-eu.amazon.com/shipping/v2/accessPoints',queryParams.ControlInterface);
if (http.LastMethodSuccess = 0) then
begin
Memo1.Lines.Add(http.LastErrorText);
Exit;
end;
sbResponseBody := TChilkatStringBuilder.Create(Self);
resp.GetBodySb(sbResponseBody.ControlInterface);
jResp := TChilkatJsonObject.Create(Self);
jResp.LoadSb(sbResponseBody.ControlInterface);
jResp.EmitCompact := 0;
Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(jResp.Emit());
respStatusCode := resp.StatusCode;
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
begin
Memo1.Lines.Add('Response Header:');
Memo1.Lines.Add(resp.Header);
Memo1.Lines.Add('Failed.');
Exit;
end;
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "payload": {
// "accessPointsMap": {
// "ad_fae": [
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "DOBBY_LOCKER",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "STAFF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "esse_f": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// },
// "laborum7": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// },
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "CAMPUS_ROOM",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "SELF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "ea8c0": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// }
// ],
// "laboris8b": [
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "HELIX",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "STAFF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "reprehenderit_f": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// },
// "sedb": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// },
// {
// "accessPointId": "<string>",
// "name": "<string>",
// "timezone": "<string>",
// "type": "CAMPUS_ROOM",
// "accessibilityAttributes": {
// "distance": "<string>",
// "driveTime": "<integer>"
// },
// "address": {
// "addressLine1": "<string>",
// "city": "<string>",
// "countryCode": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "stateOrRegion": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "companyName": "<string>",
// "email": "<string>",
// "phoneNumber": "<string>",
// "geocode": {
// "latitude": "<string>",
// "longitude": "<string>"
// }
// },
// "exceptionOperatingHours": [
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// },
// {
// "dateRange": {
// "startDate": "<string>",
// "endDate": "<string>"
// },
// "operatingHours": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// ],
// "assistanceType": "SELF_ASSISTED",
// "score": "<string>",
// "standardOperatingHours": {
// "voluptate_ac2": {
// "closingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "openingTime": {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// "midDayClosures": [
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// },
// {
// "hourOfDay": "<integer>",
// "minuteOfHour": "<integer>",
// "secondOfMinute": "<integer>"
// }
// ]
// }
// }
// }
// ]
// }
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
i := 0;
count_i := jResp.SizeOfArray('payload.accessPointsMap.ad_fae');
while i < count_i do
begin
jResp.I := i;
accessPointId := jResp.StringOf('payload.accessPointsMap.ad_fae[i].accessPointId');
name := jResp.StringOf('payload.accessPointsMap.ad_fae[i].name');
timezone := jResp.StringOf('payload.accessPointsMap.ad_fae[i].timezone');
v_type := jResp.StringOf('payload.accessPointsMap.ad_fae[i].type');
Distance := jResp.StringOf('payload.accessPointsMap.ad_fae[i].accessibilityAttributes.distance');
DriveTime := jResp.StringOf('payload.accessPointsMap.ad_fae[i].accessibilityAttributes.driveTime');
AddressLine1 := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.addressLine1');
City := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.city');
CountryCode := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.countryCode');
Name := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.name');
PostalCode := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.postalCode');
StateOrRegion := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.stateOrRegion');
AddressLine2 := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.addressLine2');
AddressLine3 := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.addressLine3');
CompanyName := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.companyName');
v_Email := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.email');
PhoneNumber := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.phoneNumber');
Latitude := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.geocode.latitude');
Longitude := jResp.StringOf('payload.accessPointsMap.ad_fae[i].address.geocode.longitude');
assistanceType := jResp.StringOf('payload.accessPointsMap.ad_fae[i].assistanceType');
score := jResp.StringOf('payload.accessPointsMap.ad_fae[i].score');
HourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.hourOfDay');
MinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.minuteOfHour');
SecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.openingTime.secondOfMinute');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.openingTime.secondOfMinute');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.openingTime.secondOfMinute');
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours');
while j < count_j do
begin
jResp.J := j;
StartDate := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.startDate');
EndDate := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].dateRange.endDate');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute');
k := 0;
count_k := jResp.SizeOfArray('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures');
while k < count_k do
begin
jResp.K := k;
hourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute');
k := k + 1;
end;
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.esse_f.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.laborum7.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.ad_fae[i].standardOperatingHours.ea8c0.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
i := i + 1;
end;
i := 0;
count_i := jResp.SizeOfArray('payload.accessPointsMap.laboris8b');
while i < count_i do
begin
jResp.I := i;
accessPointId := jResp.StringOf('payload.accessPointsMap.laboris8b[i].accessPointId');
name := jResp.StringOf('payload.accessPointsMap.laboris8b[i].name');
timezone := jResp.StringOf('payload.accessPointsMap.laboris8b[i].timezone');
v_type := jResp.StringOf('payload.accessPointsMap.laboris8b[i].type');
accessibilityAttributesDistance := jResp.StringOf('payload.accessPointsMap.laboris8b[i].accessibilityAttributes.distance');
accessibilityAttributesDriveTime := jResp.StringOf('payload.accessPointsMap.laboris8b[i].accessibilityAttributes.driveTime');
addressAddressLine1 := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.addressLine1');
addressCity := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.city');
addressCountryCode := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.countryCode');
addressName := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.name');
addressPostalCode := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.postalCode');
addressStateOrRegion := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.stateOrRegion');
addressAddressLine2 := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.addressLine2');
addressAddressLine3 := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.addressLine3');
addressCompanyName := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.companyName');
addressEmail := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.email');
addressPhoneNumber := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.phoneNumber');
GeocodeLatitude := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.geocode.latitude');
GeocodeLongitude := jResp.StringOf('payload.accessPointsMap.laboris8b[i].address.geocode.longitude');
assistanceType := jResp.StringOf('payload.accessPointsMap.laboris8b[i].assistanceType');
score := jResp.StringOf('payload.accessPointsMap.laboris8b[i].score');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.openingTime.secondOfMinute');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.openingTime.secondOfMinute');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.openingTime.secondOfMinute');
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours');
while j < count_j do
begin
jResp.J := j;
dateRangeStartDate := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.startDate');
dateRangeEndDate := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].dateRange.endDate');
ClosingTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.hourOfDay');
ClosingTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.minuteOfHour');
ClosingTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.closingTime.secondOfMinute');
OpeningTimeHourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.hourOfDay');
OpeningTimeMinuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.minuteOfHour');
OpeningTimeSecondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.openingTime.secondOfMinute');
k := 0;
count_k := jResp.SizeOfArray('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures');
while k < count_k do
begin
jResp.K := k;
hourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].exceptionOperatingHours[j].operatingHours.midDayClosures[k].secondOfMinute');
k := k + 1;
end;
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.reprehenderit_f.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.sedb.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
j := 0;
count_j := jResp.SizeOfArray('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures');
while j < count_j do
begin
jResp.J := j;
hourOfDay := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].hourOfDay');
minuteOfHour := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].minuteOfHour');
secondOfMinute := jResp.StringOf('payload.accessPointsMap.laboris8b[i].standardOperatingHours.voluptate_ac2.midDayClosures[j].secondOfMinute');
j := j + 1;
end;
i := i + 1;
end;
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}"
}
]
}