OrganizationConfig
Retrieve OrganizationConfig
Changed onRetrieve the Organization-wide configuration details.
get/organizations/{orgId}/organizationconfig
Request
- Base URLhttps://api.m3ter.com
- AuthOAuth 2Authorization codehttps://m3ter.auth.us-east-1.amazoncognito.com/oauth2/authorize, token URL https://m3ter.auth.us-east-1.amazoncognito.com/oauth2/tokenClient credentialsToken URL /oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
Response
Return the Organization configuration
Example response
{
"timezone": "UTC",
"yearEpoch": "2022-01-01",
"monthEpoch": "2022-01-01",
"weekEpoch": "2022-01-04",
"dayEpoch": "2022-01-01",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
]
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
response property
allOf[subschema #2]/allowNegativeBalancesdeprecated
- breaking
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info