POST _api/AMTAPI/NewAuditProcess

Request Information

URI Parameters

None.

Body Parameters

ProcessRequest
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

SubProcess

string

None.

Procedure

string

None.

Status

boolean

None.

DeptId

integer

None.

Objective

string

None.

Created

date

None.

Createdby

string

None.

Modified

date

None.

Modifiedby

string

None.

AuditCategory

integer

None.

StatusVal

integer

None.

WF

string

None.

ReviewComment

string

None.

RefNo

string

None.

URL

string

None.

ProcessId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "SubProcess": "sample string 3",
  "Procedure": "sample string 4",
  "Status": true,
  "DeptId": 1,
  "Objective": "sample string 5",
  "Created": "2025-10-28T11:15:57.7444463-05:00",
  "Createdby": "sample string 6",
  "Modified": "2025-10-28T11:15:57.7444463-05:00",
  "Modifiedby": "sample string 7",
  "AuditCategory": 1,
  "StatusVal": 1,
  "WF": "sample string 8",
  "ReviewComment": "sample string 9",
  "RefNo": "sample string 10",
  "URL": "sample string 11",
  "ProcessId": 12
}

application/xml, text/xml

Sample:
<ProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMTAPI.Models">
  <AuditCategory>1</AuditCategory>
  <Created>2025-10-28T11:15:57.7444463-05:00</Created>
  <Createdby>sample string 6</Createdby>
  <DeptId>1</DeptId>
  <Id>1</Id>
  <Modified>2025-10-28T11:15:57.7444463-05:00</Modified>
  <Modifiedby>sample string 7</Modifiedby>
  <Name>sample string 2</Name>
  <Objective>sample string 5</Objective>
  <Procedure>sample string 4</Procedure>
  <ProcessId>12</ProcessId>
  <RefNo>sample string 10</RefNo>
  <ReviewComment>sample string 9</ReviewComment>
  <Status>true</Status>
  <StatusVal>1</StatusVal>
  <SubProcess>sample string 3</SubProcess>
  <URL>sample string 11</URL>
  <WF>sample string 8</WF>
</ProcessRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProcessRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.