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": "ade73946-2167-4363-bb29-19b6dd594332",
      "OrganisationID": "0b8ceb41-c362-41a4-a725-e8dafc54be8f",
      "CrmId": "sample string 5",
      "CrmUserId": 6,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "b0e49034-899f-4303-bcbd-a52352b735b2",
      "MyTeamIDs": [
        "99760002-31b3-498a-82ff-cc6054f4eafc",
        "75265706-185a-4dac-a360-42efc1af6210"
      ],
      "MyTeams": [
        {
          "Reference": "sample string 1",
          "Id": "5e3a1ead-ef31-4ff8-bd81-bc3ef4b431af",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        },
        {
          "Reference": "sample string 1",
          "Id": "5e3a1ead-ef31-4ff8-bd81-bc3ef4b431af",
          "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": "78523ff0-f4eb-4bd2-b0cd-416db4558620",
    "OrganisationID": "5af47c84-3269-4f86-84c8-b359e581a175",
    "CrmId": "sample string 8",
    "CrmUserId": 9,
    "Is3PUser": true,
    "IsWorkman": true,
    "IsExtern": true,
    "Roles": [
      "sample string 1",
      "sample string 2"
    ],
    "TeamID": "2841b042-483c-41d8-b870-1810cf229cc2",
    "MyTeamIDs": [
      "52236f1b-b1b5-4169-a7d3-b526ab4cc3d2",
      "b37b0136-ea14-4208-9494-8c3d6122e7c5"
    ],
    "MyTeams": [
      {
        "Reference": "sample string 1",
        "Id": "5e3a1ead-ef31-4ff8-bd81-bc3ef4b431af",
        "Description": "sample string 3",
        "CrmId": "sample string 4",
        "IsArchived": true
      },
      {
        "Reference": "sample string 1",
        "Id": "5e3a1ead-ef31-4ff8-bd81-bc3ef4b431af",
        "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": "4d505630-d267-4989-866d-e9aa0c47e3e9"
}