Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 2.76 KB

File metadata and controls

52 lines (36 loc) · 2.76 KB

Connector.ApiResources

Overview

Available Operations

  • Get - Get API Resource

Get

Get API Resource

Example Usage

using ApideckUnifySdk;
using ApideckUnifySdk.Models.Components;

var sdk = new Apideck(
    appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
    apiKey: "<YOUR_BEARER_TOKEN_HERE>"
);

var res = await sdk.Connector.ApiResources.GetAsync(
    id: "<id>",
    resourceId: "<id>"
);

// handle response

Parameters

Parameter Type Required Description Example
Id string ✔️ ID of the record you are acting upon.
ResourceId string ✔️ ID of the resource you are acting upon.
AppId string The ID of your Unify application dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX

Response

ConnectorApiResourcesOneResponse

Errors

Error Type Status Code Content Type
ApideckUnifySdk.Models.Errors.UnauthorizedResponse 401 application/json
ApideckUnifySdk.Models.Errors.PaymentRequiredResponse 402 application/json
ApideckUnifySdk.Models.Errors.NotFoundResponse 404 application/json
ApideckUnifySdk.Models.Errors.APIException 4XX, 5XX */*