POST api/Users

Request Information

URI Parameters

None.

Body Parameters

Invitation
NameDescriptionTypeAdditional information
langCode

string

None.

MailBody

string

None.

Invitee

UserWithDepartment

None.

Request Formats

application/json, text/json

Sample:
{
  "langCode": "sample string 1",
  "MailBody": "sample string 2",
  "Invitee": {
    "DepartmentName": "sample string 1",
    "FullNameWDep": "sample string 5 sample string 6 (sample string 1)",
    "TeamName": "sample string 2",
    "Selected": true,
    "Profile": {
      "Id": "sample string 1",
      "Country": "BE",
      "Language": "NL",
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "FullName": "sample string 2 sample string 3",
      "Email": "sample string 4",
      "DepartmentID": "f435348b-02a9-43b2-a028-5c4ef761ce95",
      "OrganisationID": "c4c6e08c-88d4-4cc2-9c93-82c44189770d",
      "CrmId": "sample string 5",
      "CrmUserId": 6,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "d870fb00-41dd-4e9f-8201-0b1a4eefb0c7",
      "MyTeamIDs": [
        "07b794b1-9540-49b8-a15e-48a249bf37a2",
        "53a38508-46e7-4428-bef2-12085ae561b9"
      ],
      "MyTeams": [
        {
          "Reference": "sample string 1",
          "Id": "88c1e811-d70a-4f4e-9293-b4e126b0e870",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        },
        {
          "Reference": "sample string 1",
          "Id": "88c1e811-d70a-4f4e-9293-b4e126b0e870",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        }
      ],
      "UserType": 0,
      "ProfileID": "sample string 10",
      "CopyFromId": "sample string 11"
    },
    "Id": "sample string 4",
    "Country": "BE",
    "Language": "NL",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "FullName": "sample string 5 sample string 6",
    "Email": "sample string 7",
    "DepartmentID": "ad174a12-6e6f-4ce9-859c-cde70e47fa24",
    "OrganisationID": "584d58bb-fd3f-41b6-ab23-fbc2b2141f79",
    "CrmId": "sample string 8",
    "CrmUserId": 9,
    "Is3PUser": true,
    "IsWorkman": true,
    "IsExtern": true,
    "Roles": [
      "sample string 1",
      "sample string 2"
    ],
    "TeamID": "3785cc82-8d39-4c21-b215-2dad405571b8",
    "MyTeamIDs": [
      "52970dc7-a8f1-437d-a912-34de3e9a6540",
      "99e69747-160d-4848-9ad7-5c8eabc798eb"
    ],
    "MyTeams": [
      {
        "Reference": "sample string 1",
        "Id": "88c1e811-d70a-4f4e-9293-b4e126b0e870",
        "Description": "sample string 3",
        "CrmId": "sample string 4",
        "IsArchived": true
      },
      {
        "Reference": "sample string 1",
        "Id": "88c1e811-d70a-4f4e-9293-b4e126b0e870",
        "Description": "sample string 3",
        "CrmId": "sample string 4",
        "IsArchived": true
      }
    ],
    "UserType": 0,
    "ProfileID": "sample string 13",
    "CopyFromId": "sample string 14"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ObjectCreationInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "cde01efd-3e74-4c97-a7b3-8c6b85ccdc2c"
}