xml Body parameter for webapi to test

Certified Associate Developer

Hi,

I have an webapi which accepts xml as body request, So in order to test that webapi, I'm passing below xml:

<UserInformation>
<id>TestUser1</id>
<isAppianUser>true</isAppianUser>
<firstName>Test</firstName>
<lastName>User1</lastName>
<name>Test User 1</name>
<systemRole>{'Initiator','Manager'}</systemRole>
<market>Hong Kong</market>
</UserInformation>

But I'm getting below error when I test:



can anyone help me how to test webapi in this case.

  Discussion posts and replies are publicly visible