Try our conversational search powered by Generative AI!

Not all property value coming from Episerver Customers Service Api

Vote:
 

Hi 

CMS Version - 10.10.3
Commerce Version  - 11.2.4

We are using the Episerver Service Api to fetch the customers data using the following Api call:

var client = new HttpClient()
{
	BaseAddress = new Uri(ConfigurationManager.AppSettings["integrationUrl"])
};
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.AccessToken);		
var result = client.GetAsync("/episerverapi/commerce/customers/contact").Result.Content.ReadAsStringAsync().Result


and we are getting the following:

"PrimaryKeyId": "de34525b-fff5-46ce-ba40-0cb05e54df22",
        "Addresses": [],
        "FirstName": "Order",
        "LastName": "Manager",
        "Email": "manager@unknowdomain.domain",
        "RegistrationSource": null

All of the property of CustomerContact class are not coming in the response. Such as "DateOfBirth", "Gender" etc..
But value of these fields are saved in DB table.
Please help me to get these values using the Service Api call.
#185079
Edited, Nov 09, 2017 9:17
Vote:
 

Hi, this is a known limitation. We have a follow up story to address it.

#185082
Nov 09, 2017 9:42
Vote:
 

Hi Quan,

So is there any alternative way to fetch other properties as we need it asap.

#185083
Nov 09, 2017 9:45
Vote:
 

Did you find a way to adress this issue?

#192028
May 03, 2018 17:19
Vote:
 

The story to add those "missing" properties is still there, we just don't have enough time and resources to do it, not yet. But we still have it in our backlog and will eventually get there

#192039
May 03, 2018 22:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.