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": "ad9274d8-b459-4456-aec0-d1e7618f7499", "FullName": "sample string 2", "LastName": "sample string 3", "NRICNationalityID": "sample string 4", "Email": "sample string 5", "Gender": true, "TitleTypeId": "5687809a-adc8-49c7-a612-ddd959df88cc", "RoleId": "25f0532a-01ad-4555-aaef-ba5fe7c438a1", "NationalityId": "fa18f578-b0dc-43d3-9602-fe6af67042e2", "TSPRegistrationId": "5f3341a8-d00d-41b8-89c3-fccef45c121c" }
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>ad9274d8-b459-4456-aec0-d1e7618f7499</Id> <LastName>sample string 3</LastName> <NRICNationalityID>sample string 4</NRICNationalityID> <NationalityId>fa18f578-b0dc-43d3-9602-fe6af67042e2</NationalityId> <RoleId>25f0532a-01ad-4555-aaef-ba5fe7c438a1</RoleId> <TSPRegistrationId>5f3341a8-d00d-41b8-89c3-fccef45c121c</TSPRegistrationId> <TitleTypeId>5687809a-adc8-49c7-a612-ddd959df88cc</TitleTypeId> </TSPRegistrationFocalCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" ad9274d8-b459-4456-aec0-d1e7618f7499 --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" 5687809a-adc8-49c7-a612-ddd959df88cc --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RoleId" 25f0532a-01ad-4555-aaef-ba5fe7c438a1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NationalityId" fa18f578-b0dc-43d3-9602-fe6af67042e2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationId" 5f3341a8-d00d-41b8-89c3-fccef45c121c --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.