POST api/WorkerAssessment/SectionOne/Detail
Request Information
URI Parameters
None.
Body Parameters
SectionOneWorkerCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
WorkerId | globally unique identifier |
None. |
|
WorkerAssessmentId | globally unique identifier |
None. |
|
FullName | string |
None. |
|
LastName | string |
None. |
|
DOB | date |
None. |
|
Gender | boolean |
None. |
|
NationalityId | globally unique identifier |
None. |
|
NRICNationalityID | string |
None. |
|
RaceTypeId | globally unique identifier |
None. |
|
CompanyAddress | string |
None. |
|
DateExamination | date |
None. |
|
PlaceExamination | string |
None. |
|
PlaceExaminationId | globally unique identifier |
None. |
|
PersonalPhysician | string |
None. |
|
PassportNo | string |
None. |
|
ContactNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "WorkerId": "55d1423d-73e7-4d64-ba68-c19798ce4bfa", "WorkerAssessmentId": "f7dc625a-dfaf-48dd-a19d-5cdeef6ceb03", "FullName": "sample string 3", "LastName": "sample string 4", "DOB": "2024-12-28T18:09:54.2414397+00:00", "Gender": true, "NationalityId": "27049eff-9a2e-4c11-b329-908e372f0148", "NRICNationalityID": "sample string 8", "RaceTypeId": "6bbf3dd7-f1e3-4a52-9f93-3e9ffd1fc691", "CompanyAddress": "sample string 9", "DateExamination": "2024-12-28T18:09:54.2414397+00:00", "PlaceExamination": "sample string 11", "PlaceExaminationId": "7c734127-4940-4c70-b32f-5e7e0ba3021a", "PersonalPhysician": "sample string 12", "PassportNo": "sample string 13", "ContactNo": "sample string 14" }
application/xml, text/xml
Sample:
<SectionOneWorkerCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Worker.ViewModels"> <CompanyAddress>sample string 9</CompanyAddress> <ContactNo>sample string 14</ContactNo> <DOB>2024-12-28T18:09:54.2414397+00:00</DOB> <DateExamination>2024-12-28T18:09:54.2414397+00:00</DateExamination> <FullName>sample string 3</FullName> <Gender>true</Gender> <LastName>sample string 4</LastName> <NRICNationalityID>sample string 8</NRICNationalityID> <NationalityId>27049eff-9a2e-4c11-b329-908e372f0148</NationalityId> <PassportNo>sample string 13</PassportNo> <PersonalPhysician>sample string 12</PersonalPhysician> <PlaceExamination>sample string 11</PlaceExamination> <PlaceExaminationId>7c734127-4940-4c70-b32f-5e7e0ba3021a</PlaceExaminationId> <RaceTypeId>6bbf3dd7-f1e3-4a52-9f93-3e9ffd1fc691</RaceTypeId> <WorkerAssessmentId>f7dc625a-dfaf-48dd-a19d-5cdeef6ceb03</WorkerAssessmentId> <WorkerId>55d1423d-73e7-4d64-ba68-c19798ce4bfa</WorkerId> </SectionOneWorkerCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerId" 55d1423d-73e7-4d64-ba68-c19798ce4bfa --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerAssessmentId" f7dc625a-dfaf-48dd-a19d-5cdeef6ceb03 --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:54.2414397+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Gender" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NationalityId" 27049eff-9a2e-4c11-b329-908e372f0148 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="NRICNationalityID" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RaceTypeId" 6bbf3dd7-f1e3-4a52-9f93-3e9ffd1fc691 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CompanyAddress" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateExamination" 2024-12-28T18:09:54.2414397+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PlaceExamination" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PlaceExaminationId" 7c734127-4940-4c70-b32f-5e7e0ba3021a --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PersonalPhysician" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PassportNo" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ContactNo" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.