POST api/AME/Findings/CreateUpdate
Request Information
URI Parameters
None.
Body Parameters
FindingCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Subject | string |
None. |
|
Description | string |
None. |
|
DueDate | date |
None. |
|
StatusSequence | integer |
None. |
|
RemarkAMEJustificationForClosure | string |
None. |
|
RemarkForApprover | string |
None. |
|
AMENonComlianceId | globally unique identifier |
None. |
|
CategoryId | globally unique identifier |
None. |
|
TypeId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "cabe60e8-6a2d-4192-b7b0-b81808645d1f", "Subject": "sample string 2", "Description": "sample string 3", "DueDate": "2024-12-28T18:10:00.3717618+00:00", "StatusSequence": 5, "RemarkAMEJustificationForClosure": "sample string 6", "RemarkForApprover": "sample string 7", "AMENonComlianceId": "29fe2c42-a028-40d5-877e-97609d0d8309", "CategoryId": "a28159c0-1230-4143-b2f3-5d2f0fc7e601", "TypeId": "62157a06-074d-4de3-b1a5-2b03e6d0793f" }
application/xml, text/xml
Sample:
<FindingCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.AME.ViewModels"> <AMENonComlianceId>29fe2c42-a028-40d5-877e-97609d0d8309</AMENonComlianceId> <CategoryId>a28159c0-1230-4143-b2f3-5d2f0fc7e601</CategoryId> <Description>sample string 3</Description> <DueDate>2024-12-28T18:10:00.3717618+00:00</DueDate> <Id>cabe60e8-6a2d-4192-b7b0-b81808645d1f</Id> <RemarkAMEJustificationForClosure>sample string 6</RemarkAMEJustificationForClosure> <RemarkForApprover>sample string 7</RemarkForApprover> <StatusSequence>5</StatusSequence> <Subject>sample string 2</Subject> <TypeId>62157a06-074d-4de3-b1a5-2b03e6d0793f</TypeId> </FindingCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" cabe60e8-6a2d-4192-b7b0-b81808645d1f --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Description" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DueDate" 2024-12-28T18:10:00.3717618+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StatusSequence" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RemarkAMEJustificationForClosure" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="RemarkForApprover" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AMENonComlianceId" 29fe2c42-a028-40d5-877e-97609d0d8309 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CategoryId" a28159c0-1230-4143-b2f3-5d2f0fc7e601 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TypeId" 62157a06-074d-4de3-b1a5-2b03e6d0793f --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.