SchedulePickup Method
Schedules a pickup.
Syntax
[VB.NET] Public Function SchedulePickup() As String
[C#] public string SchedulePickup();
Remarks
When called, this will request an OnCall Pickup from UPS and return the Pickup Confirmation Number.
The valid properties when calling this method are as follows:
- PickupEarliestTime (Required)
- PickupLatestTime (Required)
- FirstName (Optional, required if Company is not provided)
- LastName (Optional, required if Company is not provided)
- Company (Optional, required if FirstName and/or LastName are not provided)
- Phone (Required)
- Address1 (Required)
- PickupFloorNumber (Optional)
- PickupRoomNumber (Optional)
- City (Required)
- State (Required, optional if outside US and Canada)
- ZipCode (Required)
- CountryCode (Required)
- ShipDate (Required)
Please note that only Address1 is valid as the request only allows one address line.