简体   繁体   English

Fedex API时间表选择

[英]Fedex API schedule pickkup

I am developing a web plugin. 我正在开发一个Web插件。

I have a FedEx API $key , $userid , $password and $meter 我有一个FedEx API $key$userid$password$meter

My plugin target: 我的插件目标:

  • I have a website from where user will be register and add FedEx Account number in his account(my website user account section) 我有一个网站,从中可以注册用户并在其帐户中添加FedEx帐号(“我的网站用户帐户”部分)
  • When user added his own FedEx Account number then he will able to create FedEx schedule pickup on behalf of his FedEx Account number.(FedEx Account number will be different-2 for every user) 当用户添加自己的FedEx帐号后,他将能够代表其FedEx帐号创建FedEx计划提货(每个用户的FedEx帐号都将不同2)。

My Question: 我的问题:

  • Can we develop such type of functionality with FedEx. 我们是否可以使用FedEx开发此类功能。
  • can we able to create schedule pickup with different -2 FedEx Account number 能否用不同的-2 FedEx帐号创建提货安排
  • My Developer $key , $userid , $password and $meter will be same for every user or we require different -2 Developer $key , $userid , $password and $meter for every FedEx Account Number. 每个用户的我的开发人员$key$userid$password$meter都相同,或者我们为每个FedEx帐号要求使用不同的-2 Developer $key$userid$password$meter

Please suggest me solution for this or share some link and document. 请为此建议我解决方案或共享一些链接和文档。

I'm going to answer you step by step. 我将逐步回答您。

Can we develop such type of functionality with FedEx. 我们是否可以使用FedEx开发此类功能。

Yes, you can use fedex webserbice to create shipping label and so have shipment ready to be picked up, or as well you can request a pickup by using a specific call, which is Courrier Dispatch . 是的,您可以使用fedex webserbice创建运输标签,以便准备好提货,或者也可以使用特定的呼叫( Courrier Dispatch)来要求提货。 From documentation: 从文档:

Category            Service                                     Description
Shipping            Ship/Cancel Ship                            Obtain a label for your package

Courier Dispatch    Courier Dispatch/Cancel Courier Dispatch    Request Courier pick up 

can we able to create schedule pickup with different -2 FedEx Account number: 能否使用不同的-2 FedEx帐号创建时间表提货:

You can create as many pickup as you want with many account as you are allowed to use. 您可以allowed to use.多个帐户创建任意数量的取件allowed to use.

My Developer $key, $userid, $password and $meter will be same for every user or we require different -2 Developer $key, $userid, $password and $meter for every FedEx Account Number. 每个用户的我的开发人员$ key,$ userid,$ password和$ meter都相同,或者我们为每个FedEx帐号要求使用不同的-2 Developer $ key,$ userid,$ password和$ meter。

As all webservice, once you log with your with your params to your account the all operation will be done with your account, so they will be correlated to your account only. 与所有网络服务一样,一旦使用参数将您的帐户登录到您的帐户,所有操作都将用您的帐户完成,因此它们将仅与您的帐户相关联。 As you know, once you register to gain api authorization you start by identify yourself with your account number, so all operations with your token will be done by your account. 如您所知,注册获得api授权后,您首先要使用帐号识别自己,因此使用令牌进行的所有操作都将由您的帐号完成。 I really think you will need to have authorization parameters for each customer you would like to request a pickup. 我真的认为您需要为每个想要提货的客户提供授权参数。 You might get in touch with them to ask if they have a way to do such interactions between your auth params and other accounts number. 您可能会与他们联系,询问他们是否有办法在您的身份验证参数和其他帐号之间进行此类交互。 I think the faster solution, if possible, would be to charge your customer for pickup and request by your account. 我认为,如果可能的话,更快的解决方案是向您的客户收取取货和您的帐户请求的费用。

you can find fedex documentation here http://www.fedex.com/us/developer/solutions.html 您可以在 http://www.fedex.com/us/developer/solutions.html上 找到fedex文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM