(Vault.CustomMappings)
- List - List custom mappings
This endpoint returns a list of custom mappings.
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
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 |
VaultCustomMappingsAllResponse
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 | */* |