POST api/PAC/WorkerEngagement
Request Information
URI Parameters
None.
Body Parameters
WorkerEngagementPACCreateUpdateViewModelName | 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": "34b696ab-fe99-47b9-8a37-4712e3fd28c6", "Id": "4d49fb1f-9cd3-48c6-91cb-e529cad507bc", "EngagementStatus": "sample string 3", "EngageFrom": "2024-12-28T18:10:02.2028342+00:00", "EngageTo": "2024-12-28T18:10:02.2028342+00:00", "PAContractorId": "497b545f-255f-492b-9026-f14b14697070" }
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>2024-12-28T18:10:02.2028342+00:00</EngageFrom> <EngageTo>2024-12-28T18:10:02.2028342+00:00</EngageTo> <EngagementStatus>sample string 3</EngagementStatus> <Id>4d49fb1f-9cd3-48c6-91cb-e529cad507bc</Id> <PAContractorId>497b545f-255f-492b-9026-f14b14697070</PAContractorId> <WorkerId>34b696ab-fe99-47b9-8a37-4712e3fd28c6</WorkerId> </WorkerEngagementPACCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerId" 34b696ab-fe99-47b9-8a37-4712e3fd28c6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 4d49fb1f-9cd3-48c6-91cb-e529cad507bc --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngagementStatus" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageFrom" 2024-12-28T18:10:02.2028342+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageTo" 2024-12-28T18:10:02.2028342+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PAContractorId" 497b545f-255f-492b-9026-f14b14697070 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.