Create org role
Body Required
-
customId string
A custom identifier for internal reference by your system (not used by missionX).
-
title string
The name of the role. E.g.
Director of Engineering
. -
cost number(float)
-
costRateTime string
Values are
Hourly
orMonthly
. Default value isMonthly
. -
billRate number(float)
-
billRateTime string
Value is
Hourly
. Default value isHourly
.
POST
/orgs/roles
curl \
-X POST https://open.api.missionx.ai/v1/orgs/roles \
-H "Content-Type: application/json" \
-d '{"customId":"string","title":"string","cost":42.0,"costRateTime":"Monthly","billRate":42.0,"billRateTime":"Hourly"}'
Request examples
{
"customId": "string",
"title": "string",
"cost": 42.0,
"costRateTime": "Monthly",
"billRate": 42.0,
"billRateTime": "Hourly"
}
Response examples (200)
{
"_id": "string",
"customId": "string",
"title": "string",
"cost": 42.0,
"costRateTime": "Monthly",
"billRate": 42.0,
"billRateTime": "Hourly"
}
Response examples (400)
{
"message": "string",
"code": "string",
"data": {}
}
Response examples (500)
{
"message": "string",
"code": "string",
"data": {}
}