Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 3.89 KB

README.md

File metadata and controls

58 lines (42 loc) · 3.89 KB

CustomMappings

(Vault.CustomMappings)

Overview

Available Operations

  • List - List custom mappings

List

This endpoint returns a list of custom mappings.

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.Vault.CustomMappings.ListAsync(
    unifiedApi: "crm",
    serviceId: "pipedrive",
    consumerId: "test-consumer",
    appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
);

// handle response

Parameters

Parameter Type Required Description Example
UnifiedApi string ✔️ Unified API crm
ServiceId string ✔️ Service ID of the resource to return pipedrive
ConsumerId string ID of the consumer which you want to get or push data from test-consumer
AppId string The ID of your Unify application dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX

Response

VaultCustomMappingsAllResponse

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