Create an External Mapping
Creates a new External Mapping.
This endpoint enables you to create a new External Mapping for the specified Organization. You need to supply a request body with the details of the new External Mapping.
Authorizations
m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.
The authorizationCode flow controls access for human users via the m3ter Console application.
Path Parameters
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
Body
Request containing an External Mapping entity.
The name of the m3ter entity that you are creating or modifying an External Mapping for. As an example, this could be an "Account".
1^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$"Account"
The unique identifier (UUID) of the m3ter entity.
1^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$"00000000-0000-0000-0000-000000000000"
The name of the external system where the entity you are mapping resides.
1^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$"Stripe"
The name of the table in ther external system where the entity resides.
1^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$"Customer"
The unique identifier (UUID) of the entity in the external system. This UUID should already exist in the external system.
1^([^[\p{Cntrl}\s]])|([^[\p{Cntrl}\s]][[^[\p{Cntrl}\s]] ]*[^[\p{Cntrl}\s]])$"cus_00000000000000"
The version number of the entity:
- Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
- Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
UUID of the integration config to link this mapping to
"00000000-0000-0000-0000-000000000000"
Response
Returns the created External Mapping
Response containing an External Mapping entity.
The UUID of the entity.
The name of the m3ter entity that is part of the External Mapping. For example, this could be "Account".
1"Account"
The unique identifier (UUID) of the m3ter entity.
1"00000000-0000-0000-0000-000000000000"
The name of the external system where the entity you are mapping resides.
1"Stripe"
The name of the table in the external system where the entity resides.
1"Customer"
The unique identifier (UUID) of the entity in the external system.
1"cus_00000000000000"
The version number:
- Create: On initial Create to insert a new entity, the version is set at 1 in the response.
- Update: On successful Update, the version is incremented by 1 in the response.
The DateTime when this item was created (in ISO-8601 format).
The DateTime when this item was last modified (in ISO-8601 format).
The ID of the user who created this item.
The ID of the user who last modified this item.
UUID of the configuration this mapping is for
"00000000-0000-0000-0000-000000000000"