POST api/AME/Findings/CreateUpdateListing

Request Information

URI Parameters

None.

Body Parameters

FindingCreateUpdateListingViewModel
NameDescriptionTypeAdditional information
FindingList

Collection of FindingCreateUpdatResultModel

None.

Request Formats

application/json, text/json

Sample:
{
  "FindingList": [
    {
      "Id": "56e3a040-c272-4661-884f-647a450033f5",
      "Subject": "sample string 2",
      "Description": "sample string 3",
      "DueDate": "2024-12-28T18:10:01.2165618+00:00",
      "StatusSequence": 5,
      "RemarkAMEJustificationForClosure": "sample string 6",
      "RemarkForApprover": "sample string 7",
      "AMENonComlianceId": "124109b9-7b3f-4390-8cfc-b69c7a28df7f",
      "CategoryId": "ecef81c7-5014-438b-b230-fa9835ea53f3",
      "TypeId": "63957961-1ae9-4c93-86e9-3cd6b627d45c"
    },
    {
      "Id": "56e3a040-c272-4661-884f-647a450033f5",
      "Subject": "sample string 2",
      "Description": "sample string 3",
      "DueDate": "2024-12-28T18:10:01.2165618+00:00",
      "StatusSequence": 5,
      "RemarkAMEJustificationForClosure": "sample string 6",
      "RemarkForApprover": "sample string 7",
      "AMENonComlianceId": "124109b9-7b3f-4390-8cfc-b69c7a28df7f",
      "CategoryId": "ecef81c7-5014-438b-b230-fa9835ea53f3",
      "TypeId": "63957961-1ae9-4c93-86e9-3cd6b627d45c"
    }
  ]
}

application/xml, text/xml

Sample:
<FindingCreateUpdateListingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.AME.ViewModels">
  <FindingList xmlns:d2p1="http://schemas.datacontract.org/2004/07/iP.Products.Domains.MySDS.Models">
    <d2p1:FindingCreateUpdatResultModel>
      <d2p1:AMENonComlianceId>124109b9-7b3f-4390-8cfc-b69c7a28df7f</d2p1:AMENonComlianceId>
      <d2p1:CategoryId>ecef81c7-5014-438b-b230-fa9835ea53f3</d2p1:CategoryId>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:DueDate>2024-12-28T18:10:01.2165618+00:00</d2p1:DueDate>
      <d2p1:Id>56e3a040-c272-4661-884f-647a450033f5</d2p1:Id>
      <d2p1:RemarkAMEJustificationForClosure>sample string 6</d2p1:RemarkAMEJustificationForClosure>
      <d2p1:RemarkForApprover>sample string 7</d2p1:RemarkForApprover>
      <d2p1:StatusSequence>5</d2p1:StatusSequence>
      <d2p1:Subject>sample string 2</d2p1:Subject>
      <d2p1:TypeId>63957961-1ae9-4c93-86e9-3cd6b627d45c</d2p1:TypeId>
    </d2p1:FindingCreateUpdatResultModel>
    <d2p1:FindingCreateUpdatResultModel>
      <d2p1:AMENonComlianceId>124109b9-7b3f-4390-8cfc-b69c7a28df7f</d2p1:AMENonComlianceId>
      <d2p1:CategoryId>ecef81c7-5014-438b-b230-fa9835ea53f3</d2p1:CategoryId>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:DueDate>2024-12-28T18:10:01.2165618+00:00</d2p1:DueDate>
      <d2p1:Id>56e3a040-c272-4661-884f-647a450033f5</d2p1:Id>
      <d2p1:RemarkAMEJustificationForClosure>sample string 6</d2p1:RemarkAMEJustificationForClosure>
      <d2p1:RemarkForApprover>sample string 7</d2p1:RemarkForApprover>
      <d2p1:StatusSequence>5</d2p1:StatusSequence>
      <d2p1:Subject>sample string 2</d2p1:Subject>
      <d2p1:TypeId>63957961-1ae9-4c93-86e9-3cd6b627d45c</d2p1:TypeId>
    </d2p1:FindingCreateUpdatResultModel>
  </FindingList>
</FindingCreateUpdateListingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].Id"

56e3a040-c272-4661-884f-647a450033f5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].Subject"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].Description"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].DueDate"

2024-12-28T18:10:01.2165618+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].StatusSequence"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].RemarkAMEJustificationForClosure"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].RemarkForApprover"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].AMENonComlianceId"

124109b9-7b3f-4390-8cfc-b69c7a28df7f
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].CategoryId"

ecef81c7-5014-438b-b230-fa9835ea53f3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[0].TypeId"

63957961-1ae9-4c93-86e9-3cd6b627d45c
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].Id"

56e3a040-c272-4661-884f-647a450033f5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].Subject"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].Description"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].DueDate"

2024-12-28T18:10:01.2165618+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].StatusSequence"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].RemarkAMEJustificationForClosure"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].RemarkForApprover"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].AMENonComlianceId"

124109b9-7b3f-4390-8cfc-b69c7a28df7f
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].CategoryId"

ecef81c7-5014-438b-b230-fa9835ea53f3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FindingList[1].TypeId"

63957961-1ae9-4c93-86e9-3cd6b627d45c
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.