CounterAdjustments
Create CounterAdjustment
Changed onCreate a new CounterAdjustment for an Account using a Counter.
Notes:
- Use the new absolute value for the Counter for the selected date - if it was 15 and has increased to 20, enter 20; if it was 15 and has decreased to 10, enter 10. Do not enter the plus or minus value relative to the previous Counter value on the Account.
- CounterAdjustments on Accounts are supported down to a specific day of granularity - you cannot create more than one CounterAdjustment for any given day using the same Counter and you'll receive an error if you try to do this.
post/organizations/{orgId}/counteradjustments
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.
Request body
Example request
{
"date": "2022-01-04"
}Response
Returns the created CounterAdjustment
Changes
- breaking
the
request property type changed from no type toobject - breaking
the
////response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status
- breaking
- breaking
the response property
////////became optional for the status - breaking
the response property
////became optional for the status
- breaking