Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

Gender.png

View solution in original post

3 Replies

Avatar

Level 1

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

Avatar

Correct answer by
Level 6

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

Gender.png

Avatar

Level 2

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