Cost Centers
Create a cost center
Changed onCreates a cost center for a given operator, optionally scoped to a team.</br></br>Required scope: cost-centers:write </br>Organization authorization: supported
post/api/v1/cost-centers
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/cost-centers
- AuthHTTP bearer
Request body
Example request
{
"teamId": 10,
"name": "Sales department",
"externalId": "ACME-12345",
"description": "Costs attributed to the sales department"
}Response
Cost center created
Example response
{
"id": 1,
"operatorId": 1,
"teamId": 10,
"name": "Sales department",
"externalId": "ACME-12345",
"description": "Costs attributed to the sales department",
"createdAt": "2022-05-12T15:56:45.99Z",
"updatedAt": "2022-05-12T16:56:45.99Z",
"teamsCount": 3,
"teamMembersCount": 12,
"teamMemberProfilesCount": 4,
"vehiclesCount": 7,
"chargeKeysCount": 9
}Changes
- info
endpoint added
- info