SaveEmployee

Paths

Example

Example request object

{
  "Employee": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Code": "string_example",
    "Name": {
      "First": null,
      "Last": null,
      "Middle": null,
      "Initials": null
    },
    "BirthDate": null,
    "Gender": 0,
    "Language": "string_example",
    "Address": {
      "Box": null,
      "Country": null,
      "Number": null,
      "Street": null,
      "Town": null,
      "ZipCode": null,
      "LocationName": null,
      "CountryDescription": null,
      "LocationId": null,
      "Telephone": null,
      "Email": null
    },
    "Phone1": "string_example",
    "Phone2": "string_example",
    "Phone3": "string_example",
    "Email": "string_example",
    "Comments": "string_example",
    "Department": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": null,
      "Name": null
    },
    "Function": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": null,
      "Name": null
    },
    "Credential": {
      "Password": null,
      "Username": null
    },
    "IsBlocked": false,
    "Picture": {
      "Bytes": null,
      "ContentType": null
    },
    "AllowLessonTransfers": false,
    "OnlyReadLessons": false,
    "AllowChangeLessongroupInfo": false,
    "OnlyShowMyLessongroups": false,
    "Email2": "string_example",
    "PictureUrl": "string_example",
    "Organisation": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": null,
      "Address": null,
      "BirthDate": null,
      "Email": null
    },
    "TaskflowShowCustomerDetails": false,
    "TaskflowHidePrices": false,
    "TaskflowUpdateParticipantCount": false,
    "TaskflowHideMyTasks": false,
    "TaskflowAllowedInfrastructures": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": null,
        "Description": null,
        "Location": null,
        "Comment": null,
        "LastChanged": "2024-11-23T10:31:11.4273283+01:00",
        "Places": null,
        "Division": null,
        "CreateOnlineReservation": false,
        "CreateOnlineReservationFrom": "2024-11-23T10:31:11.4273283+01:00",
        "CreateOnlineReservationTo": "2024-11-23T10:31:11.4273283+01:00",
        "Image": null,
        "ImageUrl": null,
        "MinBookingDate": "2024-11-23T10:31:11.4273283+01:00",
        "MaxBookingDate": "2024-11-23T10:31:11.4273283+01:00",
        "UseInSeasonPlanning": false,
        "Valid": false,
        "InfrastructureAttachments": null
      }
    ],
    "SendEmailOnOrder": false,
    "AllowToAddJournals": false,
    "AllowToCloseJournals": false,
    "IsSupervisor": false,
    "EmployeeSkills": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "EmployeeSkillObtained": null,
        "EmployeeSkillExpires": null,
        "EmployeeSkillComment": null,
        "SkillSubCategoryID": "00000000-0000-0000-0000-000000000000",
        "SkillSubCategoryShortName": null,
        "SkillSubCategoryDescription": null,
        "SkillSubCategoryLevel": 0,
        "SkillCategoryID": "00000000-0000-0000-0000-000000000000",
        "SkillCategoryShortName": null,
        "SkillCategoryDescription": null,
        "SkillCategoryMandatory": false,
        "SkillsID": "00000000-0000-0000-0000-000000000000",
        "SkillsShortName": null,
        "SkillsDescription": null
      }
    ],
    "Is2FAActive": false,
    "Is2FAConfigured": false
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "Result": {
    "Employee": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": null,
      "Name": null,
      "BirthDate": null,
      "Gender": 0,
      "Language": null,
      "Address": null,
      "Phone1": null,
      "Phone2": null,
      "Phone3": null,
      "Email": null,
      "Comments": null,
      "Department": null,
      "Function": null,
      "Credential": null,
      "IsBlocked": false,
      "Picture": null,
      "AllowLessonTransfers": false,
      "OnlyReadLessons": false,
      "AllowChangeLessongroupInfo": false,
      "OnlyShowMyLessongroups": false,
      "Email2": null,
      "PictureUrl": null,
      "Organisation": null,
      "TaskflowShowCustomerDetails": false,
      "TaskflowHidePrices": false,
      "TaskflowUpdateParticipantCount": false,
      "TaskflowHideMyTasks": false,
      "TaskflowAllowedInfrastructures": null,
      "SendEmailOnOrder": false,
      "AllowToAddJournals": false,
      "AllowToCloseJournals": false,
      "IsSupervisor": false,
      "EmployeeSkills": null,
      "Is2FAActive": false,
      "Is2FAConfigured": false
    },
    "ValidationResult": {
      "IsValid": false,
      "Message": null,
      "brokenRuleName": null
    }
  }
}

ShouldBeExecuted

Postdata

Response