How to update the byte(0,1) values in Profile schema? | Community
Skip to main content
Level 2
Jul 16, 2019 9:32 AM UTC
Solved

How to update the byte(0,1) values in Profile schema?

Hi Team,

I have tried inserting value of gender in Profile schema via API with Postman.

But its not accepting 0 or 1 values in Profile 'Gender' column, Even though  its a byte datatype but its not updating in Profile.

In workflow also tired passing value but its not working, If i pass gender as Male or Female its working but the same not happening if values are 0 or 1.

Please advise.

Thanks,

Sakthi Kumar G

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JohnWi12Accepted solution
Level 5
Jul 16, 2019 5:00 PM UTC

I am not sure this will help or not but this is what I do when I load it via a workflow:

3 replies

Level 2
Jul 18, 2019 5:47 AM UTC

Hi John,

Thanks for your quick support. Actually my source file value of gender is 0 or 1 or 2. I have tried based on above screenshot and it got worked for me.

Thanks,

Sakthi Kumar G

Translate
JohnWi12Accepted solution
Level 5
Jul 16, 2019 5:00 PM UTC

I am not sure this will help or not but this is what I do when I load it via a workflow:

Translate
amitk66415973
New Participant
Jul 16, 2019 3:19 PM UTC

Hi Sakthi,

ACS defined gender as string in the api so you can not use this a byte.

Possible values: unknown, male, female.

You can check possible values by taking a sample from your API.

https://mc.adobe.io/<Org ID>/campaign/profileAndServices/profile/gender?_lineCount=100

Please use Gender as string and it will work.

Regards,

Amit

Translate