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

Sakthi_Kumar_G

16-07-2019

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

Answers (2)

Answers (2)

amitk66415973

16-07-2019

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

Sakthi_Kumar_G

17-07-2019

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