POST api/Administration/User

Request Information

URI Parameters

None.

Body Parameters

UserCreateUpdateViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

TitleTypeId

globally unique identifier

None.

FullName

string

None.

LastName

string

None.

DOB

date

None.

NRICNationalityID

string

None.

NationalityId

globally unique identifier

None.

Gender

boolean

None.

Email

string

None.

PreferredContactableEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "83e79be4-6712-4a0f-9d82-2a3aa9892d6b",
  "TitleTypeId": "ae40d223-61d0-4fd2-af3d-08fe9a5b9fef",
  "FullName": "sample string 3",
  "LastName": "sample string 4",
  "DOB": "2024-12-28T18:09:53.2101847+00:00",
  "NRICNationalityID": "sample string 6",
  "NationalityId": "cf3b8e3e-5108-4c94-b1cb-b11318ed07c5",
  "Gender": true,
  "Email": "sample string 9",
  "PreferredContactableEmail": "sample string 10"
}

application/xml, text/xml

Sample:
<UserCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <DOB>2024-12-28T18:09:53.2101847+00:00</DOB>
  <Email>sample string 9</Email>
  <FullName>sample string 3</FullName>
  <Gender>true</Gender>
  <LastName>sample string 4</LastName>
  <NRICNationalityID>sample string 6</NRICNationalityID>
  <NationalityId>cf3b8e3e-5108-4c94-b1cb-b11318ed07c5</NationalityId>
  <PreferredContactableEmail>sample string 10</PreferredContactableEmail>
  <TitleTypeId>ae40d223-61d0-4fd2-af3d-08fe9a5b9fef</TitleTypeId>
  <UserId>83e79be4-6712-4a0f-9d82-2a3aa9892d6b</UserId>
</UserCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UserId"

83e79be4-6712-4a0f-9d82-2a3aa9892d6b
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TitleTypeId"

ae40d223-61d0-4fd2-af3d-08fe9a5b9fef
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FullName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="LastName"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DOB"

2024-12-28T18:09:53.2101847+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="NRICNationalityID"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="NationalityId"

cf3b8e3e-5108-4c94-b1cb-b11318ed07c5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Gender"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Email"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PreferredContactableEmail"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.