POST {tenantId}/Scim/v2/Users

Creates a SCIM user entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantId

ID of the FortesMilestones tenant

string

Required

Body Parameters

ScimUser object

QicsUnity.Api.Areas.Scim.Models.ScimUser
NameDescriptionTypeAdditional information
id

Gets or sets user ID

string

userName

Gets or sets user name

string

Required

displayName

Gets or sets display name

string

Required by SCIM protocol, not used in Milestones

name

Gets or sets name

QicsUnity.Api.Areas.Scim.Models.ScimName

Required by SCIM protocol, not used in Milestones

title

Gets or sets title

string

Required by SCIM protocol, not used in Milestones

active

Gets or sets a value indicating whether user is active

boolean

emails

Gets or sets list of emails

Collection of QicsUnity.Api.Areas.Scim.Models.ScimEmail

Required by SCIM protocol, not used in Milestones

roles

Gets or sets list of roles assigned to user

Collection of QicsUnity.Api.Areas.Scim.Models.ScimRole

Required by SCIM protocol, not used in Milestones

schemas

Gets or sets list of schemas

Collection of string

meta

Gets or sets SCIM meta

QicsUnity.Api.Areas.Scim.Models.ScimMeta

Required by SCIM protocol, not used in Milestones

Request Formats

application/json, text/json, application/scim+json

Sample:
{
  "id": "123",
  "userName": "jsmith",
  "displayName": "John Smith",
  "name": {
    "formatted": "John Smith",
    "familyName": "Smith",
    "givenName": "John"
  },
  "title": null,
  "active": true,
  "emails": [
    {
      "value": "jsmith@example.com",
      "type": "work",
      "primary": true
    }
  ],
  "roles": [
    {
      "value": "Manager",
      "type": "jobRole"
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "meta": {
    "resourceType": "User",
    "created": "2025-11-03T06:03:31.5275215Z",
    "lastModified": "2025-11-03T06:03:31.5275215Z",
    "location": "/scim/v2/Users/123"
  }
}

application/xml, text/xml

Sample:
<ScimUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.Scim.Models">
  <Active>true</Active>
  <DisplayName>John Smith</DisplayName>
  <Emails>
    <ScimEmail>
      <Primary>true</Primary>
      <Type>work</Type>
      <Value>jsmith@example.com</Value>
    </ScimEmail>
  </Emails>
  <Id>123</Id>
  <Meta>
    <Created>2025-11-03T06:03:31.5275215Z</Created>
    <LastModified>2025-11-03T06:03:31.5275215Z</LastModified>
    <Location>/scim/v2/Users/123</Location>
    <ResourceType>User</ResourceType>
  </Meta>
  <Name>
    <FamilyName>Smith</FamilyName>
    <Formatted>John Smith</Formatted>
    <GivenName>John</GivenName>
  </Name>
  <Roles>
    <ScimRole>
      <Type>jobRole</Type>
      <Value>Manager</Value>
    </ScimRole>
  </Roles>
  <Schemas xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>urn:ietf:params:scim:schemas:core:2.0:User</d2p1:string>
  </Schemas>
  <Title i:nil="true" />
  <UserName>jsmith</UserName>
</ScimUser>

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.