Create Department
To create a new department in your Profit.co account
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
a | string | action type | |
apiKey | string | Required: API key of your Profit.co Account | |
accessKey | string | Required: Access key of your Profit.co Account |
Request Body
[{"name"=>"data", "value"=>"{\"parentDepartmentId\":2285025,\"parentDepartmentName\":\"Engineering\",\"parentIconCls\": \"star\",\"customAttributes\":[],\"hrbp\":[],\"grades\":[],\"modifiedGradeIds\":[],\"iconCls\":\"history\",\"deptHeadName\":\"\",\"cc\":\"#2196F3\",\"isAssignAsObjToggle\":false,\"totalWt\":\"0.00\",\"departmentName\":\"Mobile\",\"deptHeadObjRefId\":null,\"reviewCriterias\":[],\"authorizedEmployees\":[],\"isEnabled\":\"Y\"}\n", "datatype"=>"string"}, {"name"=>"subDepartmentIds", "value"=>"[]", "datatype"=>"string"}]