提出问题提出问题
 

已答复How to retrieve customer id

  • 2008年4月17日 9:05techwill 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,

    I just want to know the way to retrieve a customer id? I have the account information but I don't know where to look for the customer id.

    Thanks

答案

  • 2009年7月13日 1:48Jeff Dillon - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    You only need the CustomerID for each of your customers only if you created them via CustomerManagement.CustomerSignUp in the API. Otherwise, you would use the single parent CustomerID for your company.

    Please contact API Support to obtain your CustomerID

    Jeff Dillon, API Support

全部回复

  • 2008年4月18日 10:58Rajitha 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,

    As far as i know, there will no cutomer Id. We have Account Id(numeric) and Account Number(alpha numeric), for an account. Account Id is key to do major operations.
    If you provide more information like, what do you mean by a customer id and what is the purpose, then i can help you more.

    -Rajitha Yelda.
    NetElixir
  • 2008年4月24日 23:53Jeff Dillon - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

     

    Do you mean the CustomerID as returned by CustomerSignUp? We would recommend storing that value locally.

     

    Jeff Dillon, API Support

  • 2009年6月15日 8:29Cardz10 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi,

    We also need to retrieve the customer id because we do not have copy of it. We need it to support AdCenter API version 6 new request header. Is there a way to retrieve customer id of an existing customer?

    Thanks

  • 2009年6月15日 13:30boy_oh_boy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hello,

    We too are in the same situation. We had not saved the customerId of the customers. Now for v6, we need this bit of information and what we have stored locally are the accountNumber and accountId only. Please let us know if there is any way at all to retrieve customerId for a particular accountId/accountNumber. 

    Thanks.

  • 2009年6月30日 11:06Cardz10 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Any update on this? We really need to get this information (Customer Ids) for us to incorporate  V6  new features. Unfortunately, we could not test our code because we lack this information.

    We're getting this soap fault for this specific operation, when we didn't specify Customer Id in our Soap Header Request.

    Request:

    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v6"><SOAP-ENV:Header><ns1:ApplicationToken></ns1:ApplicationToken><ns1:CustomerAccountId>xxx</ns1:CustomerAccountId><ns1:DeveloperToken>xxxxxxxxxx</ns1:DeveloperToken><ns1:Password>xxxxxxx</ns1:Password><ns1:UserName>xxxxxxxxxx</ns1:UserName><ns1:CustomerId></ns1:CustomerId></SOAP-ENV:Header><SOAP-ENV:Body><ns1:AddTargetsToLibraryRequest><ns1:Targets/></ns1:AddTargetsToLibraryRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

    Response:

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">The creator of this fault did not specify a Reason.</faultstring><detail><ApiFaultDetail xmlns="https://adcenter.microsoft.com/v6" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><TrackingId xmlns="https://adapi.microsoft.com">32632008-84a9-4bcc-b8ca-5e5837a3c5e2</TrackingId><BatchErrors/><OperationErrors><OperationError><Code>1029</Code><Details i:nil="true"/><ErrorCode>CampaignServiceCustomerIdHasToBeSpecified</ErrorCode><Message>Customer Id has to be specified for this operation.</Message></OperationError></OperationErrors></ApiFaultDetail></detail></s:Fault></s:Body></s:Envelope>


    Please let us know if there is a way to retrieve customerId by accountId or accountNumber, because we have not stored this information locally.
    Please reply ASAP.

    Thanks

  • 2009年6月30日 11:41dshevnock 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Have you tried contacting either your account rep or msnacapi@microsoft.com?
    Rebuilding Americas Credit - Auto Loans by Auto Credit Express
  • 2009年7月2日 6:08Cardz10 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi dshevnock,

    Thanks for the suggestion. I have already contacted msnacapi@microsoft.com, they said that the CustomerId is not currently available through API and they are working on it for future updates. For those who really want to get those information you can send the account IDs  to msnacapi@microsoft.com and they will provide it.

    Thanks
  • 2009年7月13日 1:48Jeff Dillon - MSFT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    You only need the CustomerID for each of your customers only if you created them via CustomerManagement.CustomerSignUp in the API. Otherwise, you would use the single parent CustomerID for your company.

    Please contact API Support to obtain your CustomerID

    Jeff Dillon, API Support