{"id":3668,"date":"2022-07-14T11:30:47","date_gmt":"2022-07-14T14:30:47","guid":{"rendered":"https:\/\/www.flulpycrea.com.ar\/wp\/?page_id=3668"},"modified":"2023-06-25T18:32:40","modified_gmt":"2023-06-25T21:32:40","slug":"procedure-setavatarimage","status":"publish","type":"page","link":"https:\/\/www.flulpycrea.com.ar\/wp\/documentacion\/api\/procedure-setavatarimage\/","title":{"rendered":"PROCEDURE SETAVATARIMAGE"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It allows to an admin system from an ESport to set the avatar image representing his brandname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This procedure must be used with the&nbsp;<strong>method POST<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The image can be any of: \u2018jpg\u2019, \u2018jpeg\u2019, \u2018png\u2019, \u2018gif\u2019.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The image max size can be 512KB, up to 256&#215;256 pixels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Input parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CyberName = License\u2019s name for the E-Sport.<\/li>\n\n\n\n<li>UserName = UserName.<\/li>\n\n\n\n<li>Token = Session Token.<\/li>\n\n\n\n<li>file = photo file binary encode.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Example of use:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wingamer.ar\/ApiMasterControl\/SetAvatarImage.php\">https:\/\/wingamer.ar\/ApiMasterControl\/SetAvatarImage.php<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Output:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Array Object [ {\u201cResponseClass\u201d: \u201cOK\u201d} ]<\/li>\n\n\n\n<li>Array Object [ {\u201cResponseClass\u201d: \u201cERROR\u201d, \u201cParam1\u201d:&nbsp;\u201cerror message\u201d} ]<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It allows to an admin system from an ESport to set the avatar image representing his brandname. This procedure must<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2693,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3668","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/comments?post=3668"}],"version-history":[{"count":2,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3668\/revisions"}],"predecessor-version":[{"id":4384,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3668\/revisions\/4384"}],"up":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/2693"}],"wp:attachment":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/media?parent=3668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}