Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 3.56 KB

File metadata and controls

58 lines (41 loc) · 3.56 KB

ConnectionCustomMappings

(Vault.ConnectionCustomMappings)

Overview

Available Operations

  • List - List connection custom mappings

List

This endpoint returns a list of custom mappings for a connection.

Example Usage

using ApideckUnifySdk;
using ApideckUnifySdk.Models.Components;
using ApideckUnifySdk.Models.Requests;

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

VaultConnectionCustomMappingsAllRequest req = new VaultConnectionCustomMappingsAllRequest() {
    UnifiedApi = "crm",
    ServiceId = "pipedrive",
    Resource = "leads",
    ResourceId = "1234",
};

var res = await sdk.Vault.ConnectionCustomMappings.ListAsync(req);

// handle response

Parameters

Parameter Type Required Description
request VaultConnectionCustomMappingsAllRequest ✔️ The request object to use for the request.

Response

VaultConnectionCustomMappingsAllResponse

Errors

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