Difference between revisions of "API Method PingWithApplicationAuth"

From Updox API
Jump to: navigation, search
(Java)
(C#)
Line 34: Line 34:
  
 
==== C# ====
 
==== C# ====
 
{
 
 
}
 
  
  
 +
{
 +
    "successful": true,
 +
    "responseMessage": "OK",
 +
    "responseCode": 2000
 +
}
  
 
== Error Codes ==
 
== Error Codes ==
 
This API method will only return the [[General Error Set]].
 
This API method will only return the [[General Error Set]].

Revision as of 12:00, 15 November 2013

Ping the server for a response with application level authentication. This method verifies that only the applicationId and applicationPassword are valid.

Contents

Fields

There are no input fields for this method.

Sample Request and Response

Request

{
    "auth": {
        "applicationId": "updox",
        "applicationPassword": "1234567890"
    }
}

Response

{
    "successful": true,
    "responseMessage": "OK",
    "responseCode": 2000
}

Code Samples

Java

{
    "successful": true,
    "responseMessage": "OK",
    "responseCode": 2000
}

C#

{
    "successful": true,
    "responseMessage": "OK",
    "responseCode": 2000
}

Error Codes

This API method will only return the General Error Set.