All URIs are relative to https://api.mercadolibre.com
Method | HTTP request | Description |
---|---|---|
ItemsIdHealthActionsGet | GET /items/{id}/health/actions | Return item health actions by id. |
ItemsIdHealthGet | GET /items/{id}/health | Return health by id. |
SitesSiteIdHealthLevelsGet | GET /sites/{site_id}/health_levels | Return health levels. |
void ItemsIdHealthActionsGet (string id, string accessToken)
Return item health actions by id.
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class ItemsIdHealthActionsGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new ItemsHealthApi(config);
var id = id_example; // string |
var accessToken = accessToken_example; // string |
try
{
// Return item health actions by id.
apiInstance.ItemsIdHealthActionsGet(id, accessToken);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ItemsHealthApi.ItemsIdHealthActionsGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
accessToken | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void ItemsIdHealthGet (string id, string accessToken)
Return health by id.
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class ItemsIdHealthGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new ItemsHealthApi(config);
var id = id_example; // string |
var accessToken = accessToken_example; // string |
try
{
// Return health by id.
apiInstance.ItemsIdHealthGet(id, accessToken);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ItemsHealthApi.ItemsIdHealthGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
accessToken | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void SitesSiteIdHealthLevelsGet (string siteId)
Return health levels.
using System.Collections.Generic;
using System.Diagnostics;
using MeliLibTools.MeliLibApi;
using MeliLibTools.Client;
using MeliLibTools.Model;
namespace Example
{
public class SitesSiteIdHealthLevelsGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.mercadolibre.com";
var apiInstance = new ItemsHealthApi(config);
var siteId = siteId_example; // string |
try
{
// Return health levels.
apiInstance.SitesSiteIdHealthLevelsGet(siteId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ItemsHealthApi.SitesSiteIdHealthLevelsGet: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
siteId | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Ok | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]