Aerovy Platform logo

Create a resource mapping

POSThttps://spectra.api.aerovy.com/v2/integrations/resource-mappings

Creates an integration resource mapping. Requires an API key with the write action.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Body

The resource mapping to create.

integrationIdstringrequired

The integration this mapping belongs to.

directionstringrequired

Direction of the integration: `INGRESS` or `EGRESS`.

integrationTypestringrequired

The integration type.

thirdPartyIdstring

The third-party's id for the integration/account.

resourceThirdPartyIdstring

The third-party's id for the mapped resource.

resourceBaseTypestring

The Spectra resource base type (e.g. THING, PLACE).

resourceTypestring

The Spectra resource sub-type.

resourceIdstring

The Spectra resource id being mapped.

metaDataobject

Arbitrary user-defined key/value metadata for the mapping.

Response

application/json

Created.