POST api/PAC/WorkerEngagement
Request Information
URI Parameters
None.
Body Parameters
WorkerEngagementPACCreateUpdateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkerId | globally unique identifier |
None. |
|
| Id | globally unique identifier |
None. |
|
| EngagementStatus | string |
None. |
|
| EngageFrom | date |
None. |
|
| EngageTo | date |
None. |
|
| PAContractorId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"WorkerId": "ec6862ad-6074-4e9c-b889-60883f0087e3",
"Id": "17e77405-7802-4980-9705-bad656279b56",
"EngagementStatus": "sample string 3",
"EngageFrom": "2026-03-12T22:10:00.7135087+00:00",
"EngageTo": "2026-03-12T22:10:00.7135087+00:00",
"PAContractorId": "5c184cf1-3737-43fd-89d9-ba0d0016332f"
}
application/xml, text/xml
Sample:
<WorkerEngagementPACCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Worker"> <EngageFrom>2026-03-12T22:10:00.7135087+00:00</EngageFrom> <EngageTo>2026-03-12T22:10:00.7135087+00:00</EngageTo> <EngagementStatus>sample string 3</EngagementStatus> <Id>17e77405-7802-4980-9705-bad656279b56</Id> <PAContractorId>5c184cf1-3737-43fd-89d9-ba0d0016332f</PAContractorId> <WorkerId>ec6862ad-6074-4e9c-b889-60883f0087e3</WorkerId> </WorkerEngagementPACCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerId" ec6862ad-6074-4e9c-b889-60883f0087e3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 17e77405-7802-4980-9705-bad656279b56 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngagementStatus" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageFrom" 2026-03-12T22:10:00.7135087+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageTo" 2026-03-12T22:10:00.7135087+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PAContractorId" 5c184cf1-3737-43fd-89d9-ba0d0016332f --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.