Create TransactionType
Create a new TransactionType for the specified Organization. Details of the new TransactionType should be included in the request body.
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
The name of the entity.
1 - 200The 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.
The short code for the entity.
80^[\p{L}_$][\p{L}_$0-9]*$"code"
A Boolean TRUE / FALSE flag indicating whether the entity is archived. An entity can be archived if it is obsolete.
- TRUE - the entity is in the archived state.
- FALSE - the entity is not in the archived state.
Response
Return the created TransactionType
The UUID of the entity.
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 short code of the data entity.
The name of the data entity.
TRUE / FALSE flag indicating whether the data entity is archived. An entity can be archived if it is obsolete.
The date and time (in ISO-8601 format) when the TransactionType was created.
The date and time (in ISO-8601 format) when the TransactionType was last modified.
The unique identifier (UUID) of the user who created this TransactionType.
The unique identifier (UUID) of the user who last modified this TransactionType.