POST Api/Project/SaveAuditTrail

Request Information

URI Parameters

None.

Body Parameters

AuditMasterViewModel
NameDescriptionTypeAdditional information
CurrentWeb

string

None.

UserId

integer

None.

ProjectId

integer

None.

QbUserId

integer

None.

ProjectStepId

integer

None.

Action

string

None.

AuditMetadataViewModels

Collection of AuditMetadataViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentWeb": "sample string 1",
  "UserId": 2,
  "ProjectId": 3,
  "QbUserId": 4,
  "ProjectStepId": 5,
  "Action": "sample string 6",
  "AuditMetadataViewModels": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2",
      "OriginalValue": "sample string 3",
      "UserId": 4,
      "QbUserId": 5
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2",
      "OriginalValue": "sample string 3",
      "UserId": 4,
      "QbUserId": 5
    }
  ]
}

application/xml, text/xml

Sample:
<AuditMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels">
  <Action>sample string 6</Action>
  <AuditMetadataViewModels>
    <AuditMetadataViewModel>
      <Key>sample string 1</Key>
      <OriginalValue>sample string 3</OriginalValue>
      <QbUserId>5</QbUserId>
      <UserId>4</UserId>
      <Value>sample string 2</Value>
    </AuditMetadataViewModel>
    <AuditMetadataViewModel>
      <Key>sample string 1</Key>
      <OriginalValue>sample string 3</OriginalValue>
      <QbUserId>5</QbUserId>
      <UserId>4</UserId>
      <Value>sample string 2</Value>
    </AuditMetadataViewModel>
  </AuditMetadataViewModels>
  <CurrentWeb>sample string 1</CurrentWeb>
  <ProjectId>3</ProjectId>
  <ProjectStepId>5</ProjectStepId>
  <QbUserId>4</QbUserId>
  <UserId>2</UserId>
</AuditMasterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.