Find user by name:
Out:
<transaction> <type>5</type> <data> <domaincode>127000000001</domaincode> <user-id>api</user-id> <result>null</result> <return-code>-2147483648</return-code> </data> </transaction>
In:
<transaction> <type>5</type> <data> <domaincode>127000000001</domaincode> <user-id>api</user-id> <user> <user-id>api</user-id> <id_usermap>4</id_usermap> <bad-passcode-attempts>0</bad-passcode-attempts> <creation format="ms">1299214800000</creation> <domaincode>127000000001</domaincode> <status>1</status> <token-list> <token> <device-id>-7106400056790981135</device-id> <domain-id>4</domain-id> <offline-public-key encoding="base64">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCBV9n9TBMYIGXv3xmShXcDIg3MbuuPtfG8jimfuuSBU2HdD9kH0VjLsgFAVG5unRXHqt82AtDlSVhKG9/VDbe4mrx80stLCl2UO5aDB4sy63RrwUuo0e8v7Ui70xRaotcv3eeIfbMdPqBloKaZUR36b1Ut8Ngjc6DS2ScxQJfY/QIDAQAB</offline-public-key> <status>1</status> <bad-pin-attempts>0</bad-pin-attempts> <offline-authentication-count>0</offline-authentication-count> <creation format="ms">1299214800000</creation> <changed>false</changed> <forDeletion>false</forDeletion> <id_devicemap>6</id_devicemap> </token></token-list> </user><result>SUCESS</result><return-code>-2147483648</return-code></data></transaction>
Update user:
Out:
<transaction> <type>6</type> <data> <user><user-id>api</user-id> <id_usermap>4</id_usermap> <bad-passcode-attempts>0</bad-passcode-attempts> <creation format="ms">1299214800000</creation> <domaincode>127000000001</domaincode> <status>1</status><token-list> <token> <device-id>-7106400056790981135</device-id> <domain-id>4</domain-id> <offline-public-key encoding="base64">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCBV9n9TBMYIGXv3xmShXcDIg3MbuuPtfG8jimfuuSBU2HdD9kH0VjLsgFAVG5unRXHqt82AtDlSVhKG9/VDbe4mrx80stLCl2UO5aDB4sy63RrwUuo0e8v7Ui70xRaotcv3eeIfbMdPqBloKaZUR36b1Ut8Ngjc6DS2ScxQJfY/QIDAQAB</offline-public-key> <status>1</status> <bad-pin-attempts>0</bad-pin-attempts> <offline-authentication-count>0</offline-authentication-count> <creation format="ms">1299214800000</creation> <changed>false</changed> <forDeletion>false</forDeletion> <id_devicemap>6</id_devicemap> </token> </token-list> </user> <result>null</result> <return-code>-2147483648</return-code> </data> </transaction>
In:
<transaction><type>6</type><data> <user> <user-id>api</user-id> <id_usermap>4</id_usermap> <bad-passcode-attempts>0</bad-passcode-attempts> <creation format="ms">1299214800000</creation> <domaincode>127000000001</domaincode> <status>1</status><token-list> <token> <device-id>-7106400056790981135</device-id> <domain-id>4</domain-id> <offline-public-key encoding="base64">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCBV9n9TBMYIGXv3xmShXcDIg3MbuuPtfG8jimfuuSBU2HdD9kH0VjLsgFAVG5unRXHqt82AtDlSVhKG9/VDbe4mrx80stLCl2UO5aDB4sy63RrwUuo0e8v7Ui70xRaotcv3eeIfbMdPqBloKaZUR36b1Ut8Ngjc6DS2ScxQJfY/QIDAQAB</offline-public-key> <status>1</status> <bad-pin-attempts>0</bad-pin-attempts> <offline-authentication-count>0</offline-authentication-count> <creation format="ms">1299214800000</creation> <changed>false</changed> <forDeletion>false</forDeletion> <id_devicemap>6</id_devicemap> </token></token-list> </user> <result>SUCESS</result> <return-code>0</return-code> </data> </transaction>
Delete user:
Out:
<transaction> <type>7</type> <data> <user> <user-id>api</user-id> <id_usermap>4</id_usermap> <bad-passcode-attempts>0</bad-passcode-attempts> <creation format="ms">1299214800000</creation> <domaincode>127000000001</domaincode> <status>1</status><token-list> <token> <device-id>-7106400056790981135</device-id> <domain-id>4</domain-id> <offline-public-key encoding="base64">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCBV9n9TBMYIGXv3xmShXcDIg3MbuuPtfG8jimfuuSBU2HdD9kH0VjLsgFAVG5unRXHqt82AtDlSVhKG9/VDbe4mrx80stLCl2UO5aDB4sy63RrwUuo0e8v7Ui70xRaotcv3eeIfbMdPqBloKaZUR36b1Ut8Ngjc6DS2ScxQJfY/QIDAQAB</offline-public-key> <status>1</status> <bad-pin-attempts>0</bad-pin-attempts> <offline-authentication-count>0</offline-authentication-count> <creation format="ms">1299214800000</creation> <changed>false</changed> <forDeletion>false</forDeletion> <id_devicemap>6</id_devicemap> </token> </token-list> </user> <result>null</result> <return-code>-2147483648</return-code> </data> </transaction>
In:
<transaction> <type>7</type> <data> <user> <user-id>api</user-id> <id_usermap>4</id_usermap> <bad-passcode-attempts>0</bad-passcode-attempts> <creation format="ms">1299214800000</creation> <domaincode>127000000001</domaincode> <status>1</status> <token-list> <token> <device-id>-7106400056790981135</device-id> <domain-id>4</domain-id> <offline-public-key encoding="base64">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCBV9n9TBMYIGXv3xmShXcDIg3MbuuPtfG8jimfuuSBU2HdD9kH0VjLsgFAVG5unRXHqt82AtDlSVhKG9/VDbe4mrx80stLCl2UO5aDB4sy63RrwUuo0e8v7Ui70xRaotcv3eeIfbMdPqBloKaZUR36b1Ut8Ngjc6DS2ScxQJfY/QIDAQAB</offline-public-key> <status>1</status> <bad-pin-attempts>0</bad-pin-attempts> <offline-authentication-count>0</offline-authentication-count> <creation format="ms">1299214800000</creation> <changed>false</changed> <forDeletion>false</forDeletion> <id_devicemap>6</id_devicemap> </token> </token-list> </user> <result>SUCESS</result> <return-code>0</return-code> </data> </transaction>