4D Shipping SDK 2020 .NET Edition
4D Shipping SDK 2020 .NET Edition
Questions / Feedback?

FedExAccount Type

Represents the details of a FedEx account.

Remarks

This type contains data describing the FedEx server and login information.

Example: Setting the fields of an account

FedExAccount account = new FedExAccount
account.AccountNumber = "1234567"
account.DeveloperKey = "my_developer_key"
account.MeterNumber = "1234567"
account.Password = "my_password"
account.Server = "https://test.fedex.com"

The fields contained by this type are listed below.

Fields

AccountNumber
String

Account number for logging in to the FedEx Server. An AccountNumber and MeterNumber will be required with each input request a user makes to a FedEx server.

The AccountNumber is not to be shared with others outside your organization, nor is it to be packaged, distributed, or sold to any other person or entity.

For all transaction whether they are Ground or Express service, you will need to pass your valid 9 digit FedEx account number.

CSPProductId
String

Identifies the CSP product.

This is applicable to CSP developers only. It is provided by FedEx to the CSP developers and it is required to be present in all requests as part of the user details along with the rest of security elements: AccountNumber, MeterNumber, DeveloperKey, Password, CSPUserKey, CSPUserPassword and CSPProductVersion.

CSPProductVersion
String

Identifies the CSP product version.

This is applicable to CSP developers only. It is provided by FedEx to the CSP developers and it is required to be present in all requests as part of the user details along with the rest of security elements: AccountNumber, MeterNumber, DeveloperKey, Password, CSPUserKey, CSPUserPassword and CSPProductId.

CSPUserKey
String

CSP end user key.

This is applicable to CSP developers only. When registering a CSP user, FedEx provides a unique CSPUserKey and CSPUserPassword that identifies that user.

This end user key and password inherits the services enabled for the CSP credentials and must be passed in all subsequent requests sent to FedEx Web Services as the part of the user authentication along with the provider's (CSP) key and password (DeveloperKey and Password respectively).

CSPUserPassword
String

CSP end user password.

This is applicable to CSP developers only. When registering a CSP user, FedEx provides a unique CSPUserKey and CSPUserPassword that identifies that user.

This end user key and password inherits the services enabled for the CSP credentials and must be passed in all subsequent requests sent to FedEx Web Services as the part of the user authentication along with the provider's (CSP) key and password (DeveloperKey and Password respectively).

DeveloperKey
String

Identifying part of the authentication key used for the sender's identity.

The DeveloperKey is part of the authentication string used to verify sender's identity. This credential is used to authenticate a specific software application, so that your transactions are recognized by the FedEx back-end systems. The Developer Key is provided to you by FedEx after registration and it is the publicly known part of authentication credential. The Developer Key may also be referred to as an Authentication Key.

The DeveloperKey, AccountNumber, MeterNumber, and Password will be required with each input request a user makes to a FedEx server. This is not to be shared with others outside your organization, nor is it to be packaged, distributed, or sold to any other person or entity.

MeterNumber
String

Meter number to use for submitting requests to the FedEx Server.

An AccountNumber and MeterNumber will be required with each input request a user makes to a FedEx server. The Meter Number is provided to you by FedEx when you register for service. This is not to be shared with others outside your organization, nor is it to be packaged, distributed, or sold to any other person or entity.

Password
String

Secret part of authentication key used for the sender's identity.

The Password is part of the authentication string used to verify sender's identity. This credential is used to authenticate a specific software application, so that your transactions are recognized by the FedEx back-end systems. The Password is provided to you by FedEx after registration and it is the private part of authentication credential, known only to the user and FedEx.

The DeveloperKey, AccountNumber, MeterNumber, and Password will be required with each input request a user makes to a FedEx server. This is not to be shared with others outside your organization, nor is it to be packaged, distributed, or sold to any other person or entity.

Server
String

URL for the FedEx Server where the requests are sent. This is required to be provided on each transaction request sent to FedEx along with AccountNumber and MeterNumber.

The full URL (including the URL scheme normally https://) should be supplied. All test requests are sent over SSL.

The server URL for the production will be provided to you by FedEx after your application has been approved/certified by FedEx Web Integration Solutions team.

Note that FedEx provides both SOAP and XML services and the URLs for each service are slightly different, however the functionality provided is exactly the same. If the URL ends with "/web-services", then the server will use the SOAP services. If the URL ends with "/xml", then the server will use the XML service. When using the SOAP services, the UseSOAP config should be set to true (default). The test URLs for FedEx are as follows:

XML
https://gatewaybeta.fedex.com:443/xml
https://wsbeta.fedex.com:443/xml

SOAP
https://gatewaybeta.fedex.com:443/web-service
https://wsbeta.fedex.com:443/web-service

Constructors

[VB.NET]
Public FedExAccount()

[C#]
public FedExAccount();



 
 
Copyright (c) 2019 4D Payments Inc. - All rights reserved.
4D Shipping SDK 2020 .NET Edition - Version 20.0 [Build 7233]