POST api/UserRegistrations/{userRegistrationId}/PersonalInformation
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userRegistrationId | globally unique identifier |
Required |
Body Parameters
UserRegistrationCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
TitleTypeId | globally unique identifier |
None. |
|
FullName | string |
None. |
|
LastName | string |
None. |
|
NRICNationalityID | string |
None. |
|
string |
None. |
||
ContactNo | string |
None. |
|
ContactType | string |
None. |
|
NationalityId | globally unique identifier |
None. |
|
Designation | string |
None. |
|
PassportNo | string |
None. |
|
Gender | boolean |
None. |
|
Address | string |
None. |
|
RoleId | globally unique identifier |
None. |
|
Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TitleTypeId": "a8c93af4-d22b-4507-973a-1340f2aa2ec3", "FullName": "sample string 1", "LastName": "sample string 2", "NRICNationalityID": "sample string 3", "Email": "sample string 4", "ContactNo": "sample string 5", "ContactType": "sample string 6", "NationalityId": "8d9c1030-c87a-4874-b4f2-707604d209c5", "Designation": "sample string 8", "PassportNo": "sample string 9", "Gender": true, "Address": "sample string 11", "RoleId": "66df85eb-e75c-48d8-9534-a439a81cbe83", "Status": "sample string 13" }
application/xml, text/xml
Sample:
<UserRegistrationCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels"> <Address>sample string 11</Address> <ContactNo>sample string 5</ContactNo> <ContactType>sample string 6</ContactType> <Designation>sample string 8</Designation> <Email>sample string 4</Email> <FullName>sample string 1</FullName> <Gender>true</Gender> <LastName>sample string 2</LastName> <NRICNationalityID>sample string 3</NRICNationalityID> <NationalityId>8d9c1030-c87a-4874-b4f2-707604d209c5</NationalityId> <PassportNo>sample string 9</PassportNo> <RoleId>66df85eb-e75c-48d8-9534-a439a81cbe83</RoleId> <Status>sample string 13</Status> <TitleTypeId>a8c93af4-d22b-4507-973a-1340f2aa2ec3</TitleTypeId> </UserRegistrationCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TitleTypeId" a8c93af4-d22b-4507-973a-1340f2aa2ec3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FullName" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="LastName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NRICNationalityID" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Email" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactNo" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactType" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NationalityId" 8d9c1030-c87a-4874-b4f2-707604d209c5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Designation" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PassportNo" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Gender" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Address" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RoleId" 66df85eb-e75c-48d8-9534-a439a81cbe83 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Status" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.