manageengine get asset details with custom attribute or unique attribute for user using API

manageengine get asset details with custom attribute or unique attribute for user using API

Hi all,

I want to get all assigned assets and their details using a custom attribute or unique attribute for a requester or technician. I'm having issues to find the true parameters for may problem.

That is xml code that I'm using.

Can you help me the solve this problem.

<?xml version="1.0" encoding="UTF-8"?>
<API version="1.0" locale="en">
    <citype>
        <name>All Assets</name>
        <criterias>
            <criteria>
                <parameter>
                    <name compOperator="IS">logon name</name>
                    <value>value</value>
                </parameter>
                <reloperator>OR</reloperator>
                 <parameter>
                    <name compOperator='IS'>domain</name>
                    <value>value</value>
                </parameter>
            </criteria>
        </criterias>
        <returnFields>
            <name>CI Name</name>
            <name>CI Type</name>
            <name>Asset State</name>
            <name>Product Name</name>
            <name>Barcode</name>
            <name>Serial number</name>
        </returnFields>
    </citype>
</API>

                  New to ADSelfService Plus?