{ "operationId": "createEarningsRate", "method": "POST", "path": "/EarningsRates", "summary": "Creates a new earnings rate", "requestExamples": [ { "contentType": "application/json", "example": { "name": "My Earnings Rate", "earningsType": "RegularEarnings", "rateType": "RatePerUnit", "typeOfUnits": "hours", "expenseAccountID": "e4eb36f6-97e3-4427-a394-dd4e1b355c2e" } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "id": "00000000-0000-0000-0000-000000000000", "providerName": "provider-name", "dateTimeUTC": "2020-08-28 18:25:57.814139", "httpStatusCode": "OK", "pagination": null, "problem": null, "earningsRate": { "earningsRateID": "4369b0ef-a64d-42e1-bb6d-f2fc984de133", "name": "My Earnings Rate", "earningsType": "RegularEarnings", "rateType": "RatePerUnit", "typeOfUnits": "hours", "currentRecord": true, "expenseAccountID": "e4eb36f6-97e3-4427-a394-dd4e1b355c2e", "fixedAmount": null, "ratePerUnit": null, "multipleOfOrdinaryEarningsRate": null } } } ] }