Difference between revisions of "GetProductName"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Get a product name by a product type and product id. |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |...") |
|||
Line 24: | Line 24: | ||
|Returns= | |Returns= | ||
− | Returns a JSON object containing an | + | Returns a JSON object containing an String with a product name. |
'''Example:''' | '''Example:''' | ||
Line 32: | Line 32: | ||
: <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>, | : <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>, | ||
: <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;">"ProductName"</span> |
} | } | ||
Latest revision as of 21:13, 24 July 2014
Description
Get a product name by a product type and product id.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- productId (int, required)
- productType (ProductType, required)
Returns
Returns a JSON object containing an String with a product name.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": "ProductName"
}
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 |