POST api/TSPRegistration/Focal/{tspRegistrationFocalId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspRegistrationFocalId | string |
None. |
Body Parameters
TSPRegistrationFocalCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
FullName | string |
None. |
|
LastName | string |
None. |
|
NRICNationalityID | string |
None. |
|
string |
None. |
||
Gender | boolean |
None. |
|
TitleTypeId | globally unique identifier |
None. |
|
RoleId | globally unique identifier |
None. |
|
NationalityId | globally unique identifier |
None. |
|
TSPRegistrationId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "83061ab1-48a1-472d-8d10-c5136b2b60c4", "FullName": "sample string 2", "LastName": "sample string 3", "NRICNationalityID": "sample string 4", "Email": "sample string 5", "Gender": true, "TitleTypeId": "65e69a12-9ec9-4004-827c-1b1457d13b85", "RoleId": "c34329a3-573f-4da7-b25f-8697fb8b1179", "NationalityId": "a357f666-f56d-4b5a-90ed-28a1064068a1", "TSPRegistrationId": "bafbeabe-4ede-49b4-9ef8-e7e151cab513" }
application/xml, text/xml
Sample:
<TSPRegistrationFocalCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels"> <Email>sample string 5</Email> <FullName>sample string 2</FullName> <Gender>true</Gender> <Id>83061ab1-48a1-472d-8d10-c5136b2b60c4</Id> <LastName>sample string 3</LastName> <NRICNationalityID>sample string 4</NRICNationalityID> <NationalityId>a357f666-f56d-4b5a-90ed-28a1064068a1</NationalityId> <RoleId>c34329a3-573f-4da7-b25f-8697fb8b1179</RoleId> <TSPRegistrationId>bafbeabe-4ede-49b4-9ef8-e7e151cab513</TSPRegistrationId> <TitleTypeId>65e69a12-9ec9-4004-827c-1b1457d13b85</TitleTypeId> </TSPRegistrationFocalCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 83061ab1-48a1-472d-8d10-c5136b2b60c4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FullName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="LastName" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NRICNationalityID" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Email" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Gender" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TitleTypeId" 65e69a12-9ec9-4004-827c-1b1457d13b85 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RoleId" c34329a3-573f-4da7-b25f-8697fb8b1179 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NationalityId" a357f666-f56d-4b5a-90ed-28a1064068a1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationId" bafbeabe-4ede-49b4-9ef8-e7e151cab513 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.