Difference between revisions of "GetInstanceID"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Get a Instance number from a token, so returns the Instance ID that user is currently logged. |Parameters= {{Api_Parameter| ParamName=token |P...")
 
 
Line 12: Line 12:
  
 
|Returns=
 
|Returns=
Returns a JSON object containing a [[Instance]].
+
Returns a JSON object containing a number from the instance.
  
 
'''Example:'''
 
'''Example:'''
Line 21: Line 21:
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"Content"</span>:  
 
:    <span style="color: #a11;">"Content"</span>:  
::    <span style="color: #219;">Number</span>
+
::    <span style="color: #219;">29</span>
 
}
 
}
  

Latest revision as of 17:27, 15 July 2014

Description

Get a Instance number from a token, so returns the Instance ID that user is currently logged.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.


Returns

Returns a JSON object containing a number from the instance.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
29

}


Exceptions

  • None


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also