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
    },
    "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
    }
  },
  "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
    },
    "ValidationResult": {
      "IsValid": false,
      "Message": null,
      "brokenRuleName": null
    }
  }
}

ShouldBeExecuted

Postdata

Response