Subscribe Method
Requests the unique meter number specific to the FedEx customer's account number.
Syntax
public void subscribe();
Remarks
This method is applicable to CSP and non-CSP developers.
The customer should call this method to obtain the unique meter number specific to the FedEx customer's account number for integration testing and when a customer application moves to production. This is a one-time only request to register the customer's FedEx account.
Upon successful response, a unique client device (i.e. meter number specific to the customer's FedEx account number), and RegisteredServices (which identifies the FedEx shipping service type(s) that the caller has been registered and authorized to use) will be returned to the client.
This MeterNumber should be used in all subsequent requests sent to FedEx web services.
Note that you must have a valid AccountNumber before requesting a meter number. In most cases, only one meter number is required for your shipping application. For companies with more than one shipping facility or distribution center, you must have a FedEx account number and meter number pair for each facility. For example, if you have distribution centers in California, Texas, and Florida, the label created at the Texas facility must have the account number and meter number associated with that facility. If you submit packages with labels that are generated on the California account and meter number pair, this situation may negatively impact FedEx's ability to deliver your packages in a timely and efficient manner.
The following properties can be passed in the request:
- AccountNumber (required)
- CSPUserKey (required for CSP developers)
- CSPUserPassword (required for CSP developers)
- CSPSolutionId (required for CSP developers)
- DeveloperKey (required)
- Password (required)
- Server (required)
- SenderAddress.Address1 (required)
- SenderAddress.City (required)
- SenderAddress.State (required)
- SenderAddress.ZipCode (required)
- SenderAddress.CountryCode (required)
- SenderContact.FirstName (required)
- SenderContact.LastName (required)
- SenderContact.Company (required)
- SenderContact.Phone (required)
- SenderContact.Email (required)
Upon successful response, the following properties will be filled: