POST api/User

Request Information

URI Parameters

None.

Body Parameters

AzureADUserDTO
NameDescriptionTypeAdditional information
UserID

integer

None.

AzureADUserId

string

None.

UserEmail

string

None.

FirstName

string

None.

SurName

string

None.

Phone

string

None.

EmailVerified

boolean

None.

CountryAlpha2Code

string

None.

HasAcceptedTerms

boolean

None.

UserProfessionCode

string

None.

MFAStrongAuthenticationPhoneNumber

string

None.

IsAdministrator

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "AzureADUserId": "sample string 2",
  "UserEmail": "sample string 3",
  "FirstName": "sample string 4",
  "SurName": "sample string 5",
  "Phone": "sample string 6",
  "EmailVerified": true,
  "CountryAlpha2Code": "sample string 7",
  "HasAcceptedTerms": true,
  "UserProfessionCode": "sample string 9",
  "MFAStrongAuthenticationPhoneNumber": "sample string 10",
  "IsAdministrator": true
}

application/xml, text/xml

Sample:
<AzureADUserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel.Users">
  <AzureADUserId>sample string 2</AzureADUserId>
  <CountryAlpha2Code>sample string 7</CountryAlpha2Code>
  <EmailVerified>true</EmailVerified>
  <FirstName>sample string 4</FirstName>
  <HasAcceptedTerms>true</HasAcceptedTerms>
  <IsAdministrator>true</IsAdministrator>
  <MFAStrongAuthenticationPhoneNumber>sample string 10</MFAStrongAuthenticationPhoneNumber>
  <Phone>sample string 6</Phone>
  <SurName>sample string 5</SurName>
  <UserEmail>sample string 3</UserEmail>
  <UserID>1</UserID>
  <UserProfessionCode>sample string 9</UserProfessionCode>
</AzureADUserDTO>

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.