POST api/PAC/WorkerDetail/{workerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workerId | globally unique identifier |
Required |
Body Parameters
WorkerDeleteViewModelName | Description | Type | Additional information |
---|---|---|---|
WorkerId | globally unique identifier |
None. |
|
Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "WorkerId": "f152fcf8-df86-4ffe-bf4a-11b90bbe6bbe", "Remarks": "sample string 2" }
application/xml, text/xml
Sample:
<WorkerDeleteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Worker"> <Remarks>sample string 2</Remarks> <WorkerId>f152fcf8-df86-4ffe-bf4a-11b90bbe6bbe</WorkerId> </WorkerDeleteViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WorkerId" f152fcf8-df86-4ffe-bf4a-11b90bbe6bbe --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Remarks" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.