Create User

POST {{baseUrl}}/odata/Users

Create User entity.

Required fileds:

  • name
  • email - must contain domains available for tenant.

Request Body

{"name"=>"John Marston", "email"=>"j.marston@timetta.com"}

RESPONSES

status: Created

{"@odata.context":"https://api.timetta.com/odata/$metadata#Users/$entity","code":null,"resourceType":"User","resourcePoolId":"1c2c94fb-7f00-4616-8192-aa5781d4bc69","rowVersion":16933005,"name":"John Marston","createdById":"79de14db-017d-4197-a7ce-fed930360bb6","modifiedById":"79de14db-017d-4197-a7ce-fed930360bb6","id":"804eebf6-36b5-4c72-a2bb-4984eadc3884","created":"2022-09-07T17:07:48.844106+03:00","modified":"2022-09-07T14:07:48.7705407Z","isActive":true,"firstWorkDay":null,"lastWorkDay":null,"dateValue1":null,"dateValue2":null,"dateValue3":null,"dateValue4":null,"dateValue5":null,"authProvider":"Local","email":"j.marston@timetta.com","licensed":false,"location":null,"position":null,"phone":null,"supervisorId":null,"restrictActivities":false,"timeSheetTemplateId":"e590d1c1-50e8-467b-a9b5-787cca869446","timeSheetPathId":"237df579-9712-4fa5-b6d6-f7d2ee97b688","timeOffPathId":"1dd3cd4b-84a4-44ce-ab97-1d5494f2ab05","expensePathId":"438a827d-1007-4ce5-a668-4680a0a6737f","costNormalizationRuleId":null,"departmentId":"9468cd5c-ea04-4adb-a1d7-94b6b910ab2e","stringValue1":null,"stringValue2":null,"stringValue3":null,"stringValue4":null,"stringValue5":null,"decimalValue1":null,"decimalValue2":null,"decimalValue3":null,"decimalValue4":null,"decimalValue5":null,"lookupValue1Id":null,"lookupValue2Id":null,"lookupValue3Id":null,"lookupValue4Id":null,"lookupValue5Id":null,"integerValue1":null,"integerValue2":null,"integerValue3":null,"integerValue4":null,"integerValue5":null}