Customer Portal

Update users info with Simple HTTP API (import_server_config)

Comments 1

  • Avatar
    darvehng
    0
    Comment actions Permalink
    Hi Alexandra,

    Thank you for your inquiry. The reason why you're getting that error is because the element definitions for user information has to be in a specific order in order for CloverDX Server to properly parse the file. The XSD Schema (a file that defines the structure of an XML document) requires this. Below is an example of how the file for import_server_config is supposed to look. I changed the timeZone settings in the original file you provided to reflect my time zone, so you can go ahead and change it back to reflect yours. Please let us know the results when you import it.

    <?xml version='1.0' encoding='UTF-8'?>
    <cs:cloverServerConfiguration xmlns:cs="http://cloveretl.com/server/data" cloverVersion="5.2.0.30" exporter="acc_mgmt_test" timeZone="America/New_York" timestamp="2019-08-12T14:13:00.439-04:00">
    <cs:usersList>
    <cs:user disabled="false">
    <cs:username>test_user</cs:username>
    <cs:firstName>John</cs:firstName>
    <cs:lastName>Doe</cs:lastName>
    <cs:email>jonny@mail.com</cs:email>
    <cs:domain>clover</cs:domain>
    <cs:password>password</cs:password>
    <cs:userGroups>
    <cs:groupCode>admin</cs:groupCode>
    </cs:userGroups>
    </cs:user>
    </cs:usersList>
    </cs:cloverServerConfiguration>


    Best Regards,

Please sign in to leave a comment.