(Connector.ConnectorResources)
- Get - Get Connector Resource
Get Connector Resource
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
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 |
ConnectorConnectorResourcesOneResponse
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 | */* |