{"id":350,"date":"2013-07-25T09:03:27","date_gmt":"2013-07-25T09:03:27","guid":{"rendered":"http:\/\/kb.digitalregistra.co.id\/?p=350"},"modified":"2013-07-31T03:19:57","modified_gmt":"2013-07-31T03:19:57","slug":"resellersrs-xget_transaction","status":"publish","type":"post","link":"https:\/\/kb.srs-x.com\/id\/resellersrs-xget_transaction\/","title":{"rendered":"resellersrs-x:get_transaction"},"content":{"rendered":"<h2>Deskripsi<\/h2>\n<p>get_transaction<\/p>\n<h2>Query<\/h2>\n<p>api\/admin\/get_transaction<\/p>\n<h2>List Variabel<\/h2>\n<div class=\"table-responsive\"><table  style=\"width:100%; \"  class=\"easy-table easy-table-cuscosky \" >\n<thead>\r\n<tr><th >Nama<\/th>\n<th >Tipe Data<\/th>\n<th > Required<\/th>\n<\/tr>\n<\/thead>\n<tbody>\r\n<tr><td >transactionid<\/td>\n<td >Integer<\/td>\n<td >Optional<\/td>\n<td > in transaction (10)<\/td>\n<\/tr>\n\r\n<tr><td >limit<\/td>\n<td >Integer<\/td>\n<td >Optional<\/td>\n<td >Limit (10)<\/td>\n<\/tr>\n\r\n<tr><td >offset<\/td>\n<td >Integer<\/td>\n<td >Optional<\/td>\n<td >offset(0)<\/td>\n<\/tr>\n<\/tbody><\/table><\/div>\n<p>Contoh<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$post[&quot;username&quot;] = 'user@username.com'\r\n$post[&quot;password&quot;] = hash('password');\r\n$post[&quot;transactionid&quot;] = '10'\r\n$post[&quot;limit&quot;] = '10'\r\n$post[&quot;offset&quot;] = '0'\r\n$url = http:\/\/[admin url ]\/api\/admin\/get_transaction';\r\n\r\n$ch = curl_init();\r\ncurl_setopt($ch, CURLOPT_URL, $apiurl);\r\ncurl_setopt($ch, CURLOPT_POST, 1);\r\ncurl_setopt($ch, CURLOPT_TIMEOUT, 100);\r\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\r\ncurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));\r\n$response = curl_exec($ch);\r\ncurl_close($ch);\r\n<\/pre>\n<h2>Respon Contoh<\/h2>\n<p>Berhasil<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;epp&gt;\r\n  &lt;result&gt;\r\n    &lt;resultCode&gt;1000&lt;\/resultCode&gt;\r\n    &lt;resultMsg&gt;Command Complete Successfully&lt;\/resultMsg&gt;\r\n  &lt;\/result&gt;\r\n  &lt;resultData&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;11&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348678800&lt;\/date&gt;\r\n      &lt;resellerid&gt;3&lt;\/resellerid&gt;\r\n      &lt;domain&gt;demodemo.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi demodemo.co.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;85000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;12&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348678800&lt;\/date&gt;\r\n      &lt;resellerid&gt;4&lt;\/resellerid&gt;\r\n      &lt;domain&gt;hihihihihiihih.web.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi hihihihihiihih.web.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;45000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;17&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348765200&lt;\/date&gt;\r\n      &lt;resellerid&gt;9&lt;\/resellerid&gt;\r\n      &lt;domain&gt;sembadangjaya.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi sembadangjaya.co.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;85000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;24&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348765200&lt;\/date&gt;\r\n      &lt;resellerid&gt;8&lt;\/resellerid&gt;\r\n      &lt;domain&gt;ngetesinaja.web.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi ngetesinaja.web.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;45000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;26&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348765200&lt;\/date&gt;\r\n      &lt;resellerid&gt;9&lt;\/resellerid&gt;\r\n      &lt;domain&gt;orderduakali.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi orderduakali.co.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;85000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;28&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348765200&lt;\/date&gt;\r\n      &lt;resellerid&gt;4&lt;\/resellerid&gt;\r\n      &lt;domain&gt;hihihihihi.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi hihihihihi.co.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;85000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;33&lt;\/transactionid&gt;\r\n      &lt;date&gt;1348851600&lt;\/date&gt;\r\n      &lt;resellerid&gt;32&lt;\/resellerid&gt;\r\n      &lt;domain&gt;astybociant.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi astybociant.co.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;85000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;36&lt;\/transactionid&gt;\r\n      &lt;date&gt;1349456400&lt;\/date&gt;\r\n      &lt;resellerid&gt;3&lt;\/resellerid&gt;\r\n      &lt;domain&gt;sore-2012.web.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi sore-2012.web.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;45000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;37&lt;\/transactionid&gt;\r\n      &lt;date&gt;1349456400&lt;\/date&gt;\r\n      &lt;resellerid&gt;3&lt;\/resellerid&gt;\r\n      &lt;domain&gt;2012-10-06-yeah-faizal-ini.web.id&lt;\/domain&gt;\r\n      &lt;note&gt;registrasi 2012-10-06-yeah-faizal-ini.web.id (1 tahun)&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;45000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n    &lt;value&gt;\r\n      &lt;transactionid&gt;38&lt;\/transactionid&gt;\r\n      &lt;date&gt;1349456400&lt;\/date&gt;\r\n      &lt;resellerid&gt;3&lt;\/resellerid&gt;\r\n      &lt;domain&gt;demo061545.co.id&lt;\/domain&gt;\r\n      &lt;note&gt;Registrasi Domain demo061545.co.id via API&lt;\/note&gt;\r\n      &lt;type&gt;register&lt;\/type&gt;\r\n      &lt;class&gt;ID&lt;\/class&gt;\r\n      &lt;amount&gt;89000&lt;\/amount&gt;\r\n    &lt;\/value&gt;\r\n  &lt;\/resultData&gt;\r\n&lt;\/epp&gt;\r\n\r\n<\/pre>\n<p>Gagal<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;epp&gt;\r\n  &lt;result&gt;\r\n    &lt;resultCode&gt;1001&lt;\/resultCode&gt;\r\n    &lt;resultMsg&gt;Command Failed&lt;\/resultMsg&gt;\r\n  &lt;\/result&gt;\r\n&lt;\/epp&gt;\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Deskripsi get_transaction Query api\/admin\/get_transaction List Variabel Contoh Respon Contoh Berhasil Gagal<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/posts\/350"}],"collection":[{"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":7,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/posts\/350\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/posts\/350\/revisions\/365"}],"wp:attachment":[{"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/media?parent=350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/categories?post=350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.srs-x.com\/id\/wp-json\/wp\/v2\/tags?post=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}