SearchResultsDropLocation
Properties
Name | Type | Required | Description |
---|---|---|---|
locationId | string | ✅ | The location ID that corresponds to the UPS location. Do not expose the Location ID. |
originOrDestination | string | ✅ | OriginOrDestination will returned for FreightWillCallRequestType 1 Postal based and 3 City and/or State based search. OriginOrDestination will be 01 for origin facilities and 02 for Destination facilities |
ivr | DropLocationIvr | ✅ | Integrated Voice Response information. ONLY FOR IVR. |
geocode | DropLocationGeocode | ✅ | Geocode is the latitude and longitude of the location address. The Geocode for the location address will be returned when Location is requested in the Request Option. |
addressKeyFormat | DropLocationAddressKeyFormat | ✅ | Contains all of the basic information about a location, Consignee Name, Building Name, Address Lines, City, State/Province, Postal Code and Country or Terriotry Code. |
phoneNumber | string[] | ✅ | The UPS locations Phone number. A phone number of the location will be returned. 10 digits allowed for US, otherwise 1..15 digits allowed. The phone number will be returned as a string. NOTE: For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1. |
locationAttribute | DropLocationLocationAttribute[] | ✅ | OptionType is a container that indicates the type of the location attribute. There are 4 types of attributes. They are: Location, Retail Location, Additional Services and Program Type. NOTE: For versions >= v2, this element will always be returned as an array. For requests using version = v1, this element will be returned as an array if there is more than one object and a single object if there is only 1. |
distance | DropLocationDistance | ✅ | Container for the straight line distance from the origin to the UPS location. |
timezone | string | ✅ | TimeZone. |
faxNumber | string | ❌ | The UPS location's Fax number. A fax number of the location will be returned when available. 10 digits allowed for US, otherwise 1..15 digits allowed. The fax number will be returned as string. |
eMailAddress | string |