Data of Device
Last updated
Last updated
Request
Header
Body
{
"m2m:cin": {
"con": "{\"key1\":\"integer-value\", \"key2\":\"string-value\", \"keyN\":\"valueN\"}"
}
}
Header
Body
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<m2m:cin>
<con>{"key1":"integer-value", "key2":"string-value", "keyN":"valueN"}</con>
</m2m:cin>
</root>
Note!! Key adalah nama variable sedangkan value adalah nilai dari variable tersebut.
Response
{
"m2m:cin": {
"rn": "cin_893238184",
"ty": 4,
"ri": "/antares-cse/cin-893238184",
"pi": "/antares-cse/cnt-995741382",
"ct": "20191119T180722",
"lt": "20191119T180722",
"st": 0,
"cnf": "text/plain:0",
"cs": 62,
"con": "{\"key1\":integer-value, \"key2\":\"string-value\", \"keyN\":\"valueN\"}"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="cin_178578843">
<ty>4</ty>
<ri>/antares-cse/cin-178578843</ri>
<pi>/antares-cse/cnt-995741382</pi>
<ct>20191119T171604</ct>
<lt>20191119T171604</lt>
<st>0</st>
<cnf>text/plain:0</cnf>
<cs>100</cs>
<con><obj>
<num key1="value1"/>
<str key2="value2"/>
<bool keyN="valueN"/>
</obj></con>
</m2m:cin>
Request
Header
Header
Response
{
"m2m:list": [
{
"m2m:cin": {
"rn": "cin_zTLhcucd8f4OHqwBnKTH7OctolTORJKu",
"ty": 4,
"ri": "/antares-cse/cin-zTLhcucd8f4OHqwBnKTH7OctolTORJKu",
"pi": "/antares-cse/cnt-eSGc7dlEqLPzfee3",
"ct": "20230320T075808",
"lt": "20230320T075808",
"st": 0,
"cnf": "text/plain:0",
"cs": 14,
"con": "{"status":"0"}"
}
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<m2m:list xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/xml/protocols/homedomain%22%3E
<m2m:cin rn="cin_zTLhcucd8f4OHqwBnKTH7OctolTORJKu">
<ty>4</ty>
<ri>/antares-cse/cin-zTLhcucd8f4OHqwBnKTH7OctolTORJKu</ri>
<pi>/antares-cse/cnt-eSGc7dlEqLPzfee3</pi>
<ct>20230320T075808</ct>
<lt>20230320T075808</lt>
<st>0</st>
<cnf>text/plain:0</cnf>
<cs>14</cs>
<con>{"status":"0"}</con>
</m2m:cin>
</m2m:list>
Request
Header
Header
Response
{
"m2m:uril": [
"/antares-cse/antares-id/nama-aplikasi-anda/nama-device-anda/cin_893238184",
"/antares-cse/antares-id/your-aplikasi-anda/nama-device-anda/cin_178578843"
]
}
<?xml version="1.0" encoding="UTF-8"?>
<m2m:uril xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain">/antares-cse/antares-id/nama-application-anda/nama-device-anda/cin_893238184
/antares-cse/antares-id/nama-aplikasi-anda/nama-device-anda/cin_178578843</m2m:uril>
Request
Header
Header
Response
Result
{
"m2m:cin": {
"rn": "cin_893238184",
"ty": 4,
"ri": "/antares-cse/cin-893238184",
"pi": "/antares-cse/cnt-995741382",
"ct": "20191119T180722",
"lt": "20191119T180722",
"st": 0,
"cnf": "text/plain:0",
"cs": 62,
"con": "{\"key1\":integer-value, \"key2\":\"string-value\", \"keyN\":\"valueN\"}"
}
}
Result
<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="cin_893238184">
<ty>4</ty>
<ri>/antares-cse/cin-893238184</ri>
<pi>/antares-cse/cnt-995741382</pi>
<ct>20191119T180722</ct>
<lt>20191119T180722</lt>
<st>0</st>
<cnf>text/plain:0</cnf>
<cs>62</cs>
<con>{"key1":integer-value, "key2":"string-value", "keyN":"valueN"}</con>
</m2m:cin>
Request
Header
Header
Response
Result
{
"m2m:cin": {
"rn": "cin_893238184",
"ty": 4,
"ri": "/antares-cse/cin-893238184",
"pi": "/antares-cse/cnt-995741382",
"ct": "20191119T180722",
"lt": "20191119T180722",
"st": 0,
"cnf": "text/plain:0",
"cs": 62,
"con": "{\"key1\":integer-value, \"key2\":\"string-value\", \"keyN\":\"valueN\"}"
}
}
Result
<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="cin_893238184">
<ty>4</ty>
<ri>/antares-cse/cin-893238184</ri>
<pi>/antares-cse/cnt-995741382</pi>
<ct>20191119T180722</ct>
<lt>20191119T180722</lt>
<st>0</st>
<cnf>text/plain:0</cnf>
<cs>62</cs>
<con>{"key1":integer-value, "key2":"string-value", "keyN":"valueN"}</con>
</m2m:cin>
Request
Header
Header
Response
Result
{
"m2m:cin": {
"rn": "cin_178578843",
"ty": 4,
"ri": "/antares-cse/cin-178578843",
"pi": "/antares-cse/cnt-995741382",
"ct": "20191119T171604",
"lt": "20191119T171604",
"st": 0,
"cnf": "text/plain:0",
"cs": 100,
"con": "<obj>\n
<num key1=\"value1\"/>\n
<str key2=\"value2\"/>\n
<bool keyN=\"valueN\"/>\n
</obj>"
}
}
Result
<?xml version="1.0" encoding="UTF-8"?>
<m2m:cin xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="cin_178578843">
<ty>4</ty>
<ri>/antares-cse/cin-178578843</ri>
<pi>/antares-cse/cnt-995741382</pi>
<ct>20191119T171604</ct>
<lt>20191119T171604</lt>
<st>0</st>
<cnf>text/plain:0</cnf>
<cs>100</cs>
<con><obj>
<num key1="value1"/>
<str key2="value2"/>
<bool keyN="valueN"/>
</obj></con>
</m2m:cin>