POST api/Profiles

Request Information

URI Parameters

None.

Body Parameters

PortalUserDTO
NameDescriptionTypeAdditional information
ApplicationUser

ApplicationUserDTO

None.

DepartmentID

globally unique identifier

None.

Department

OrganisationDTO

None.

OrganisationID

globally unique identifier

None.

Organisation

OrganisationDTO

None.

CrmUserId

integer

None.

Is3PUser

boolean

None.

IsWorkman

boolean

None.

IsPublic

boolean

None.

Roles

Collection of string

None.

TeamID

globally unique identifier

None.

MyTeamIDs

Collection of globally unique identifier

None.

MyTeams

Collection of WOTeamDTO

None.

UserType

UserType

None.

ProfileID

globally unique identifier

None.

CopyFromId

string

None.

ProfileForRole

Role

None.

ProfilePicture

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Phone

string

None.

GSM

string

None.

Fax

string

None.

Street

string

None.

HouseNr

string

None.

Bus

string

None.

PostalCode

string

None.

City

string

None.

Ssn

string

None.

Country

string

None.

Language

string

None.

FullName

string

None.

RegistrationNr

string

None.

IsExtern

boolean

None.

Gender

integer

None.

IsValidPerson

boolean

None.

Address

string

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

string

None.

IsArchived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ApplicationUser": {
    "Id": "sample string 1",
    "Country": "BE",
    "Language": "NL",
    "Customers": [
      {
        "Id": "6b0c1ea2-7a93-4f54-9aca-39c7799c94cd",
        "Description": "sample string 2"
      },
      {
        "Id": "6b0c1ea2-7a93-4f54-9aca-39c7799c94cd",
        "Description": "sample string 2"
      }
    ]
  },
  "DepartmentID": "9143a7f6-7d62-4a93-8ca2-e745495f48b2",
  "Department": {
    "PriceCategoryID": "9f61626e-1442-4efa-b289-f4688289741b",
    "PriceCategory": {
      "MustPayGuarantee": true,
      "MustPayTransport": true,
      "MustPickup": true,
      "MustPayFee": true,
      "MustPayDefGuarantee": true,
      "Discount": 6.0,
      "MinLoanDeadlineReception": 1,
      "MaxLoanDeadlineReception": 1,
      "Id": "4fd11f5d-1cfd-4aba-9d07-62960aac06e3",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "VenuePriceCategoryID": "c67dc54d-f696-4b2b-a3de-e87ccf7db30f",
    "VenuePriceCategory": {
      "Discount": 1,
      "CustomDaysBeforeReservation": true,
      "MinDaysBeforeReservation": 3,
      "MaxDaysBeforeReservation": 4,
      "IsDepositMandatory": true,
      "IsReservationCostMandatory": true,
      "Id": "736d8883-a84e-44a7-ba60-7a713980cc54",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "City": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "Zip": "sample string 4",
    "Country": "sample string 5",
    "latitude": 1.1,
    "longitude": 1.1,
    "X": 1.1,
    "Y": 1.1,
    "CodifLocationID": "73e39d21-42a0-4f24-9616-b7d18c24b232",
    "Id": "db006edc-55d9-4cae-b3f0-7f6e2c1d4f0d",
    "Description": "sample string 7",
    "CrmId": "sample string 8",
    "IsArchived": true
  },
  "OrganisationID": "54892df7-d678-4e13-a6fc-1ab9e0837ee8",
  "Organisation": {
    "PriceCategoryID": "9f61626e-1442-4efa-b289-f4688289741b",
    "PriceCategory": {
      "MustPayGuarantee": true,
      "MustPayTransport": true,
      "MustPickup": true,
      "MustPayFee": true,
      "MustPayDefGuarantee": true,
      "Discount": 6.0,
      "MinLoanDeadlineReception": 1,
      "MaxLoanDeadlineReception": 1,
      "Id": "4fd11f5d-1cfd-4aba-9d07-62960aac06e3",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "VenuePriceCategoryID": "c67dc54d-f696-4b2b-a3de-e87ccf7db30f",
    "VenuePriceCategory": {
      "Discount": 1,
      "CustomDaysBeforeReservation": true,
      "MinDaysBeforeReservation": 3,
      "MaxDaysBeforeReservation": 4,
      "IsDepositMandatory": true,
      "IsReservationCostMandatory": true,
      "Id": "736d8883-a84e-44a7-ba60-7a713980cc54",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "City": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "Zip": "sample string 4",
    "Country": "sample string 5",
    "latitude": 1.1,
    "longitude": 1.1,
    "X": 1.1,
    "Y": 1.1,
    "CodifLocationID": "73e39d21-42a0-4f24-9616-b7d18c24b232",
    "Id": "db006edc-55d9-4cae-b3f0-7f6e2c1d4f0d",
    "Description": "sample string 7",
    "CrmId": "sample string 8",
    "IsArchived": true
  },
  "CrmUserId": 1,
  "Is3PUser": true,
  "IsWorkman": true,
  "IsPublic": true,
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "TeamID": "96290a24-d72a-4c12-822b-91691d9da60e",
  "MyTeamIDs": [
    "2273322a-3de0-46dc-bc9f-08d3e4f4a4fa",
    "07f905d2-f2cc-4df3-962a-a1da2cf8a0d8"
  ],
  "MyTeams": [
    {
      "Reference": "sample string 1",
      "Id": "e8af65e5-60db-4874-93e5-42e336dc3768",
      "Description": "sample string 3",
      "CrmId": "sample string 4",
      "IsArchived": true
    },
    {
      "Reference": "sample string 1",
      "Id": "e8af65e5-60db-4874-93e5-42e336dc3768",
      "Description": "sample string 3",
      "CrmId": "sample string 4",
      "IsArchived": true
    }
  ],
  "UserType": 0,
  "ProfileID": "5245dfe9-7f0d-420a-be3b-da64b2678ca9",
  "CopyFromId": "sample string 5",
  "ProfileForRole": 0,
  "ProfilePicture": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "Email": "sample string 9",
  "Phone": "sample string 10",
  "GSM": "sample string 11",
  "Fax": "sample string 12",
  "Street": "sample string 13",
  "HouseNr": "sample string 14",
  "Bus": "sample string 15",
  "PostalCode": "sample string 16",
  "City": "sample string 17",
  "Ssn": "sample string 18",
  "Country": "sample string 19",
  "Language": "sample string 20",
  "FullName": "sample string 7 sample string 8",
  "RegistrationNr": "sample string 21",
  "IsExtern": true,
  "Gender": 22,
  "IsValidPerson": true,
  "Address": "sample string 13 sample string 14 sample string 15, sample string 16 sample string 17",
  "Id": "9a807a47-d33e-4296-a888-fac4f5877b84",
  "Description": "sample string 24",
  "CrmId": "sample string 25",
  "IsArchived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProfileDetailsDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

FirstName

string

None.

FullName

string

None.

UserType

UserType

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "9833974c-8bfe-4c1f-91f5-2e0e29a006d2",
  "FirstName": "sample string 2",
  "FullName": "sample string 2",
  "UserType": 0
}