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.
processes → processOnProjectIds in the response: _ids of processes on the project (were PROCESS_* types).Authorization: Bearer ********************curl --location --request PUT 'https://app.hustro.com/api/v2/user/6985da5794b9b78321441315/personalData/client/' \
--header 'hustro-client: m2m' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"label": "amet minim nisi",
"phone": "+48 124567869"
}'[
{
"_id": "string",
"email": "string",
"personalData": [
{
"clientId": "string",
"label": "string",
"phone": "string"
}
],
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"modifiedBy": "string",
"label": "string",
"role": "string",
"processOnProjectIds": [
"64ed771d95a1e3d565839d18"
],
"sites": [
"string"
]
}
]