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": "2e29ed05-d809-4926-8c60-60bca54b7be8", "Id": "b4e135b1-058c-4554-b435-ba204ec2dfe1", "EngagementStatus": "sample string 3", "EngageFrom": "2025-07-06T14:56:27.7336166+00:00", "EngageTo": "2025-07-06T14:56:27.7336166+00:00", "PAContractorId": "b041efd4-69c5-4f78-a52a-f0e29b995b9a" }
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>2025-07-06T14:56:27.7336166+00:00</EngageFrom> <EngageTo>2025-07-06T14:56:27.7336166+00:00</EngageTo> <EngagementStatus>sample string 3</EngagementStatus> <Id>b4e135b1-058c-4554-b435-ba204ec2dfe1</Id> <PAContractorId>b041efd4-69c5-4f78-a52a-f0e29b995b9a</PAContractorId> <WorkerId>2e29ed05-d809-4926-8c60-60bca54b7be8</WorkerId> </WorkerEngagementPACCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerId" 2e29ed05-d809-4926-8c60-60bca54b7be8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" b4e135b1-058c-4554-b435-ba204ec2dfe1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngagementStatus" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageFrom" 2025-07-06T14:56:27.7336166+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EngageTo" 2025-07-06T14:56:27.7336166+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PAContractorId" b041efd4-69c5-4f78-a52a-f0e29b995b9a --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.