Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 4.88 KB

README.md

File metadata and controls

56 lines (40 loc) · 4.88 KB

ConnectorResources

(Connector.ConnectorResources)

Overview

Available Operations

  • Get - Get Connector Resource

Get

Get Connector Resource

Example Usage

using ApideckUnifySdk;
using ApideckUnifySdk.Models.Components;

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

var res = await sdk.Connector.ConnectorResources.GetAsync(
    id: "<id>",
    resourceId: "<id>",
    appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
    unifiedApi: UnifiedApiId.Crm
);

// 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
UnifiedApi UnifiedApiId Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs crm

Response

ConnectorConnectorResourcesOneResponse

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 */*