POST api/IDMUsers/{id}

Add New User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

IDMNewUserApiModel
NameDescriptionTypeAdditional information
Id

string

Required

String length: inclusive between 0 and 250

Name

string

Required

String length: inclusive between 0 and 100

Surname

string

Required

String length: inclusive between 0 and 100

Disabled

boolean

None.

Email

string

Required

String length: inclusive between 0 and 250

Role

string

Required

String length: inclusive between 0 and 100

BusinessUnit

string

Required

String length: inclusive between 0 and 250

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Surname": "sample string 3",
  "Disabled": true,
  "Email": "sample string 5",
  "Role": "sample string 6",
  "BusinessUnit": "sample string 7"
}

application/xml, text/xml

Sample:
<IDMNewUserApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.OSL.EntryTool.BLL.Models.ApiModels">
  <BusinessUnit>sample string 7</BusinessUnit>
  <Disabled>true</Disabled>
  <Email>sample string 5</Email>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <Role>sample string 6</Role>
  <Surname>sample string 3</Surname>
</IDMNewUserApiModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.