POST api/TSP/Focal/Update/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
None. |
Body Parameters
TSPFocalCreateUpdateViewModelName | 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": "1bfd3caf-09c6-498d-a71c-ed0d911441d5", "FullName": "sample string 2", "LastName": "sample string 3", "NRICNationalityID": "sample string 4", "Email": "sample string 5", "Gender": true, "TitleTypeId": "28aa00a4-6b28-4a23-904d-5ea118951460", "RoleId": "79d3097c-bc22-4520-b0cf-6cf3c6bb19bb", "NationalityId": "47b21be3-8f99-4604-980e-3dd4d40a5344", "TSPRegistrationId": "f1dead35-97d5-40dd-9d4e-3e316ea45929" }
application/xml, text/xml
Sample:
<TSPFocalCreateUpdateViewModel 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>1bfd3caf-09c6-498d-a71c-ed0d911441d5</Id> <LastName>sample string 3</LastName> <NRICNationalityID>sample string 4</NRICNationalityID> <NationalityId>47b21be3-8f99-4604-980e-3dd4d40a5344</NationalityId> <RoleId>79d3097c-bc22-4520-b0cf-6cf3c6bb19bb</RoleId> <TSPRegistrationId>f1dead35-97d5-40dd-9d4e-3e316ea45929</TSPRegistrationId> <TitleTypeId>28aa00a4-6b28-4a23-904d-5ea118951460</TitleTypeId> </TSPFocalCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1bfd3caf-09c6-498d-a71c-ed0d911441d5 --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" 28aa00a4-6b28-4a23-904d-5ea118951460 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RoleId" 79d3097c-bc22-4520-b0cf-6cf3c6bb19bb --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NationalityId" 47b21be3-8f99-4604-980e-3dd4d40a5344 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationId" f1dead35-97d5-40dd-9d4e-3e316ea45929 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.