PT-7175 — organization processes (release with mobile 3.16; not on production yet). Process ids become ObjectIds and the fields holding them get new names: processOnProjectId/processOnProjectIds— a process on the project (_idinGET /project/{projectId}/process);processId/processIds— the organization's process (_idinGET /client/{clientId}/process). Read a process's type, name, code and colours fromGET /project/{projectId}/process, matched byprocessOnProjectId— never from the id. Issue writes keep accepting the oldprocessfield andPROCESS_*values for about a month; every other write takes only the new names and ids.
items[].processes → items[].processOnProjectIds: _ids of the processes on the project the value is visible in (were PROCESS_* types).Authorization: Bearer ********************curl --location --globoff 'https://app.hustro.com/api/v2/project//employmentType' \
--header 'hustro-client: m2m' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"items": [
{
"_id": "string",
"label": "string",
"processOnProjectIds": [
"64ed771d95a1e3d565839d18"
],
"valueTranslations": [
{
"localeCode": "string",
"value": "string"
}
],
"createdByClientId": "string"
}
],
"syncKey": "string",
"entitiesWithoutAccess": [
"string"
]
}