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
    },
    "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-21T14:09:46.1203192+01:00",
        "Places": null,
        "Division": null,
        "CreateOnlineReservation": false,
        "CreateOnlineReservationFrom": "2024-11-21T14:09:46.1203192+01:00",
        "CreateOnlineReservationTo": "2024-11-21T14:09:46.1203192+01:00",
        "Image": null,
        "ImageUrl": null,
        "MinBookingDate": "2024-11-21T14:09:46.1203192+01:00",
        "MaxBookingDate": "2024-11-21T14:09:46.1203192+01:00"
      }
    ]
  },
  "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
    },
    "ValidationResult": {
      "IsValid": false,
      "Message": null,
      "brokenRuleName": null
    }
  }
}

ShouldBeExecuted

Postdata

Response