POST api/process/update

Request Information

URI Parameters

None.

Body Parameters

DTOSYSProcess
NameDescriptionTypeAdditional information
ProcessID

integer

None.

WFID

integer

None.

WFVersion

integer

None.

WFCategoryID

integer

None.

ProcessTitle

string

None.

ProcessTitlePattern

string

None.

WFTitle

string

None.

CompletedFlag

boolean

None.

CancelledFlag

boolean

None.

ErrorFlag

boolean

None.

Priority

string

None.

DateCreated

date

None.

DateStarted

date

None.

DateCompleted

date

None.

ElapsedTime

decimal number

None.

AllocatedTime

decimal number

None.

DateDue

date

None.

DateDueOverridable

boolean

None.

NotifyOnCreate

boolean

None.

NotifyOnComplete

boolean

None.

NotifyOnStart

boolean

None.

StartNotificationID

integer

None.

CreateNotificationID

integer

None.

CompleteNotificationID

integer

None.

OpenActivityNotificationID

integer

None.

CompleteActivityNotificationID

integer

None.

TenantID

integer

None.

CreatedById

integer

None.

PublicAccountID

integer

None.

FlagDeleted

boolean

None.

EnableSMS

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ProcessID": 1,
  "WFID": 2,
  "WFVersion": 3,
  "WFCategoryID": 4,
  "ProcessTitle": "sample string 5",
  "ProcessTitlePattern": "sample string 6",
  "WFTitle": "sample string 7",
  "CompletedFlag": true,
  "CancelledFlag": true,
  "ErrorFlag": true,
  "Priority": "sample string 11",
  "DateCreated": "2025-10-26T11:18:19.4937291+08:00",
  "DateStarted": "2025-10-26T11:18:19.4937291+08:00",
  "DateCompleted": "2025-10-26T11:18:19.4937291+08:00",
  "ElapsedTime": 13.1,
  "AllocatedTime": 14.1,
  "DateDue": "2025-10-26T11:18:19.4937291+08:00",
  "DateDueOverridable": true,
  "NotifyOnCreate": true,
  "NotifyOnComplete": true,
  "NotifyOnStart": true,
  "StartNotificationID": 20,
  "CreateNotificationID": 21,
  "CompleteNotificationID": 22,
  "OpenActivityNotificationID": 23,
  "CompleteActivityNotificationID": 24,
  "TenantID": 25,
  "CreatedById": 26,
  "PublicAccountID": 27,
  "FlagDeleted": true,
  "EnableSMS": true
}

application/xml, text/xml

Sample:
<DTOSYSProcess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <AllocatedTime>14.1</AllocatedTime>
  <CancelledFlag>true</CancelledFlag>
  <CompleteActivityNotificationID>24</CompleteActivityNotificationID>
  <CompleteNotificationID>22</CompleteNotificationID>
  <CompletedFlag>true</CompletedFlag>
  <CreateNotificationID>21</CreateNotificationID>
  <CreatedById>26</CreatedById>
  <DateCompleted>2025-10-26T11:18:19.4937291+08:00</DateCompleted>
  <DateCreated>2025-10-26T11:18:19.4937291+08:00</DateCreated>
  <DateDue>2025-10-26T11:18:19.4937291+08:00</DateDue>
  <DateDueOverridable>true</DateDueOverridable>
  <DateStarted>2025-10-26T11:18:19.4937291+08:00</DateStarted>
  <ElapsedTime>13.1</ElapsedTime>
  <EnableSMS>true</EnableSMS>
  <ErrorFlag>true</ErrorFlag>
  <FlagDeleted>true</FlagDeleted>
  <NotifyOnComplete>true</NotifyOnComplete>
  <NotifyOnCreate>true</NotifyOnCreate>
  <NotifyOnStart>true</NotifyOnStart>
  <OpenActivityNotificationID>23</OpenActivityNotificationID>
  <Priority>sample string 11</Priority>
  <ProcessID>1</ProcessID>
  <ProcessTitle>sample string 5</ProcessTitle>
  <ProcessTitlePattern>sample string 6</ProcessTitlePattern>
  <PublicAccountID>27</PublicAccountID>
  <StartNotificationID>20</StartNotificationID>
  <TenantID>25</TenantID>
  <WFCategoryID>4</WFCategoryID>
  <WFID>2</WFID>
  <WFTitle>sample string 7</WFTitle>
  <WFVersion>3</WFVersion>
</DTOSYSProcess>

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 'DTOSYSProcess'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>