{ "swagger" : "2.0", "info" : { "description" : "USync change User1 PIN", "version" : "1.0.0", "title" : "HC_API_ACT07", "contact" : { "email" : "andreas@homesecure.ie" }, "license" : { "name" : "Apache 2.0", "url" : "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "host" : "homeconnect.homesecure.link", "basePath" : "/api", "tags" : [ { "name" : "users", "description" : "Operations available to regular users" },{ "name" : "developers", "description" : "Operations available to regular developers" } ], "schemes" : [ "https" ], "paths" : { "/api_change_userPIN.php" : { "get" : { "tags" : [ "users" ], "summary" : "Change User1 PIN", "description" : "Change User1 PIN to a random 4 digit code \n", "operationId" : "api_change_userPIN.php", "produces" : [ "application/json" ], "parameters" : [ { "name" : "acc", "in" : "query", "description" : "pass account nbr", "required" : true, "type" : "string"}], "responses" : { "200" : { "description" : "search results matching criteria", "schema" : { "type" : "array", "items" : { "$ref" : "#/definitions/HC_API_ACT07" } } }, "400" : { "description" : "bad input parameter" } } } } }, "definitions" : { "HC_API_ACT07" : { "type" : "object", "required" : [ "API Type", "Panel Serial", "Request Result", "New PIN"], "properties" : { "API Type" : { "type" : "string", "example" : "ChangeUser1PIN" }, "Panel Serial" : { "type" : "string", "example" : "551367320604" }, "Request Result" : { "type" : "string", "example" : "Success" }, "New PIN" : { "type" : "string", "example" : "1234" } } } } } {"HC_API_ACT07":{"API Type":"ChangeUser1PIN","Panel Serial":"9999999999","Request Result":null,"New PIN":null}}