POST api/Audit/UpdateResultItem/{runUuid}/{assetUuid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
runUuid

string

Required

assetUuid

string

Required

Body Parameters

ResultItem
NameDescriptionTypeAdditional information
Type

string

None.

Identifier

string

None.

Expected

string

None.

Current

string

None.

Correction

string

None.

Outcome

EventType

None.

OutcomeString

string

None.

CorrectionType

EventType

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "Identifier": "sample string 2",
  "Expected": "sample string 3",
  "Current": "sample string 4",
  "Correction": "sample string 5",
  "Outcome": 1,
  "OutcomeString": "Undefined",
  "CorrectionType": 1
}

application/xml, text/xml

Sample:
<ResultItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Db">
  <_x003C_CorrectionType_x003E_k__BackingField>Undefined</_x003C_CorrectionType_x003E_k__BackingField>
  <_x003C_Correction_x003E_k__BackingField>sample string 5</_x003C_Correction_x003E_k__BackingField>
  <_x003C_Current_x003E_k__BackingField>sample string 4</_x003C_Current_x003E_k__BackingField>
  <_x003C_Expected_x003E_k__BackingField>sample string 3</_x003C_Expected_x003E_k__BackingField>
  <_x003C_Identifier_x003E_k__BackingField>sample string 2</_x003C_Identifier_x003E_k__BackingField>
  <_x003C_Outcome_x003E_k__BackingField>Undefined</_x003C_Outcome_x003E_k__BackingField>
  <_x003C_Type_x003E_k__BackingField>sample string 1</_x003C_Type_x003E_k__BackingField>
</ResultItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AssetAuditResults
NameDescriptionTypeAdditional information
AssetUuid

string

None.

AssetName

string

None.

Outcome

EventType

None.

OutcomeString

string

None.

Message

string

None.

Results

Collection of ResultItem

None.

Response Formats

application/json, text/json

Sample:
{
  "AssetUuid": "sample string 1",
  "AssetName": "sample string 2",
  "Outcome": 1,
  "OutcomeString": "Undefined",
  "Message": "sample string 3",
  "Results": [
    {
      "Type": "sample string 1",
      "Identifier": "sample string 2",
      "Expected": "sample string 3",
      "Current": "sample string 4",
      "Correction": "sample string 5",
      "Outcome": 1,
      "OutcomeString": "Undefined",
      "CorrectionType": 1
    },
    {
      "Type": "sample string 1",
      "Identifier": "sample string 2",
      "Expected": "sample string 3",
      "Current": "sample string 4",
      "Correction": "sample string 5",
      "Outcome": 1,
      "OutcomeString": "Undefined",
      "CorrectionType": 1
    }
  ]
}

application/xml, text/xml

Sample:
<AssetAuditResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Db">
  <_x003C_Message_x003E_k__BackingField>sample string 3</_x003C_Message_x003E_k__BackingField>
  <_x003C_Outcome_x003E_k__BackingField>Undefined</_x003C_Outcome_x003E_k__BackingField>
  <_x003C_Results_x003E_k__BackingField>
    <ResultItem>
      <_x003C_CorrectionType_x003E_k__BackingField>Undefined</_x003C_CorrectionType_x003E_k__BackingField>
      <_x003C_Correction_x003E_k__BackingField>sample string 5</_x003C_Correction_x003E_k__BackingField>
      <_x003C_Current_x003E_k__BackingField>sample string 4</_x003C_Current_x003E_k__BackingField>
      <_x003C_Expected_x003E_k__BackingField>sample string 3</_x003C_Expected_x003E_k__BackingField>
      <_x003C_Identifier_x003E_k__BackingField>sample string 2</_x003C_Identifier_x003E_k__BackingField>
      <_x003C_Outcome_x003E_k__BackingField>Undefined</_x003C_Outcome_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>sample string 1</_x003C_Type_x003E_k__BackingField>
    </ResultItem>
    <ResultItem>
      <_x003C_CorrectionType_x003E_k__BackingField>Undefined</_x003C_CorrectionType_x003E_k__BackingField>
      <_x003C_Correction_x003E_k__BackingField>sample string 5</_x003C_Correction_x003E_k__BackingField>
      <_x003C_Current_x003E_k__BackingField>sample string 4</_x003C_Current_x003E_k__BackingField>
      <_x003C_Expected_x003E_k__BackingField>sample string 3</_x003C_Expected_x003E_k__BackingField>
      <_x003C_Identifier_x003E_k__BackingField>sample string 2</_x003C_Identifier_x003E_k__BackingField>
      <_x003C_Outcome_x003E_k__BackingField>Undefined</_x003C_Outcome_x003E_k__BackingField>
      <_x003C_Type_x003E_k__BackingField>sample string 1</_x003C_Type_x003E_k__BackingField>
    </ResultItem>
  </_x003C_Results_x003E_k__BackingField>
  <_x003C_AssetName_x003E_k__BackingField>sample string 2</_x003C_AssetName_x003E_k__BackingField>
  <_x003C_AssetUuid_x003E_k__BackingField>sample string 1</_x003C_AssetUuid_x003E_k__BackingField>
</AssetAuditResults>