POST api/wf-designer/activity/create
Request Information
URI Parameters
None.
Body Parameters
DTOSYSWFDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| WFDetailsID | integer |
None. |
|
| WFID | integer |
None. |
|
| SequenceID | integer |
None. |
|
| WFTypeID | integer |
None. |
|
| WFDetailsTitle | string |
None. |
|
| Remarks | string |
None. |
|
| AllocatedTime | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| VoidFlag | boolean |
None. |
|
| ResourceID | integer |
None. |
|
| SDID | integer |
None. |
|
| SDReadOnly | boolean |
None. |
|
| GUIRef | string |
None. |
|
| GUIConfigID | integer |
None. |
|
| ParameterRef | string |
None. |
|
| ConditionText | string |
Data type: MultilineText |
|
| DisplayType | string |
None. |
|
| DelegationTypeID | integer |
None. |
|
| ReportFileID | integer |
None. |
|
| UserQueryID | integer |
None. |
|
| ActionQueryID | integer |
None. |
|
| AttachmentShowFlag | boolean |
None. |
|
| AttachmentGetFlag | boolean |
None. |
|
| AllowedFileFormat | string |
None. |
|
| SendNotificationFlag | boolean |
None. |
|
| RecipientListID | integer |
None. |
|
| AttachmentRequiredFlag | boolean |
None. |
|
| AttachmentAllowDeleteFlag | boolean |
None. |
|
| SDAllowDeleteFlag | boolean |
None. |
|
| SDAllowAddNewFlag | boolean |
None. |
|
| AllowAssignOwnerFlag | boolean |
None. |
|
| AllowOverrideOwnerFlag | boolean |
None. |
|
| AllowMessageFlag | boolean |
None. |
|
| NotifyOnStart | boolean |
None. |
|
| NotifyOnOpen | boolean |
None. |
|
| NotifyOnComplete | boolean |
None. |
|
| FlagDeleted | boolean |
None. |
|
| OnCreateNotificationID | integer |
None. |
|
| OnCompleteNotificationID | integer |
None. |
|
| OnStartNotificationID | integer |
None. |
|
| ObserverNotificationID | integer |
None. |
|
| PublicNotificationID | integer |
None. |
|
| SendSMS | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"WFDetailsID": 1,
"WFID": 2,
"SequenceID": 3,
"WFTypeID": 4,
"WFDetailsTitle": "sample string 5",
"Remarks": "sample string 6",
"AllocatedTime": 7,
"DateCreated": "2025-10-26T11:12:28.564048+08:00",
"DateUpdated": "2025-10-26T11:12:28.564048+08:00",
"VoidFlag": true,
"ResourceID": 9,
"SDID": 10,
"SDReadOnly": true,
"GUIRef": "sample string 12",
"GUIConfigID": 13,
"ParameterRef": "sample string 14",
"ConditionText": "sample string 15",
"DisplayType": "sample string 16",
"DelegationTypeID": 17,
"ReportFileID": 18,
"UserQueryID": 19,
"ActionQueryID": 20,
"AttachmentShowFlag": true,
"AttachmentGetFlag": true,
"AllowedFileFormat": "sample string 23",
"SendNotificationFlag": true,
"RecipientListID": 25,
"AttachmentRequiredFlag": true,
"AttachmentAllowDeleteFlag": true,
"SDAllowDeleteFlag": true,
"SDAllowAddNewFlag": true,
"AllowAssignOwnerFlag": true,
"AllowOverrideOwnerFlag": true,
"AllowMessageFlag": true,
"NotifyOnStart": true,
"NotifyOnOpen": true,
"NotifyOnComplete": true,
"FlagDeleted": true,
"OnCreateNotificationID": 37,
"OnCompleteNotificationID": 38,
"OnStartNotificationID": 39,
"ObserverNotificationID": 40,
"PublicNotificationID": 41,
"SendSMS": true
}
application/xml, text/xml
Sample:
<DTOSYSWFDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <ActionQueryID>20</ActionQueryID> <AllocatedTime>7</AllocatedTime> <AllowAssignOwnerFlag>true</AllowAssignOwnerFlag> <AllowMessageFlag>true</AllowMessageFlag> <AllowOverrideOwnerFlag>true</AllowOverrideOwnerFlag> <AllowedFileFormat>sample string 23</AllowedFileFormat> <AttachmentAllowDeleteFlag>true</AttachmentAllowDeleteFlag> <AttachmentGetFlag>true</AttachmentGetFlag> <AttachmentRequiredFlag>true</AttachmentRequiredFlag> <AttachmentShowFlag>true</AttachmentShowFlag> <ConditionText>sample string 15</ConditionText> <DateCreated>2025-10-26T11:12:28.564048+08:00</DateCreated> <DateUpdated>2025-10-26T11:12:28.564048+08:00</DateUpdated> <DelegationTypeID>17</DelegationTypeID> <DisplayType>sample string 16</DisplayType> <FlagDeleted>true</FlagDeleted> <GUIConfigID>13</GUIConfigID> <GUIRef>sample string 12</GUIRef> <NotifyOnComplete>true</NotifyOnComplete> <NotifyOnOpen>true</NotifyOnOpen> <NotifyOnStart>true</NotifyOnStart> <ObserverNotificationID>40</ObserverNotificationID> <OnCompleteNotificationID>38</OnCompleteNotificationID> <OnCreateNotificationID>37</OnCreateNotificationID> <OnStartNotificationID>39</OnStartNotificationID> <ParameterRef>sample string 14</ParameterRef> <PublicNotificationID>41</PublicNotificationID> <RecipientListID>25</RecipientListID> <Remarks>sample string 6</Remarks> <ReportFileID>18</ReportFileID> <ResourceID>9</ResourceID> <SDAllowAddNewFlag>true</SDAllowAddNewFlag> <SDAllowDeleteFlag>true</SDAllowDeleteFlag> <SDID>10</SDID> <SDReadOnly>true</SDReadOnly> <SendNotificationFlag>true</SendNotificationFlag> <SendSMS>true</SendSMS> <SequenceID>3</SequenceID> <UserQueryID>19</UserQueryID> <VoidFlag>true</VoidFlag> <WFDetailsID>1</WFDetailsID> <WFDetailsTitle>sample string 5</WFDetailsTitle> <WFID>2</WFID> <WFTypeID>4</WFTypeID> </DTOSYSWFDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DTOSYSWFDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| WFDetailsID | integer |
None. |
|
| WFID | integer |
None. |
|
| SequenceID | integer |
None. |
|
| WFTypeID | integer |
None. |
|
| WFDetailsTitle | string |
None. |
|
| Remarks | string |
None. |
|
| AllocatedTime | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| VoidFlag | boolean |
None. |
|
| ResourceID | integer |
None. |
|
| SDID | integer |
None. |
|
| SDReadOnly | boolean |
None. |
|
| GUIRef | string |
None. |
|
| GUIConfigID | integer |
None. |
|
| ParameterRef | string |
None. |
|
| ConditionText | string |
Data type: MultilineText |
|
| DisplayType | string |
None. |
|
| DelegationTypeID | integer |
None. |
|
| ReportFileID | integer |
None. |
|
| UserQueryID | integer |
None. |
|
| ActionQueryID | integer |
None. |
|
| AttachmentShowFlag | boolean |
None. |
|
| AttachmentGetFlag | boolean |
None. |
|
| AllowedFileFormat | string |
None. |
|
| SendNotificationFlag | boolean |
None. |
|
| RecipientListID | integer |
None. |
|
| AttachmentRequiredFlag | boolean |
None. |
|
| AttachmentAllowDeleteFlag | boolean |
None. |
|
| SDAllowDeleteFlag | boolean |
None. |
|
| SDAllowAddNewFlag | boolean |
None. |
|
| AllowAssignOwnerFlag | boolean |
None. |
|
| AllowOverrideOwnerFlag | boolean |
None. |
|
| AllowMessageFlag | boolean |
None. |
|
| NotifyOnStart | boolean |
None. |
|
| NotifyOnOpen | boolean |
None. |
|
| NotifyOnComplete | boolean |
None. |
|
| FlagDeleted | boolean |
None. |
|
| OnCreateNotificationID | integer |
None. |
|
| OnCompleteNotificationID | integer |
None. |
|
| OnStartNotificationID | integer |
None. |
|
| ObserverNotificationID | integer |
None. |
|
| PublicNotificationID | integer |
None. |
|
| SendSMS | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"WFDetailsID": 1,
"WFID": 2,
"SequenceID": 3,
"WFTypeID": 4,
"WFDetailsTitle": "sample string 5",
"Remarks": "sample string 6",
"AllocatedTime": 7,
"DateCreated": "2025-10-26T11:12:28.6109427+08:00",
"DateUpdated": "2025-10-26T11:12:28.6109427+08:00",
"VoidFlag": true,
"ResourceID": 9,
"SDID": 10,
"SDReadOnly": true,
"GUIRef": "sample string 12",
"GUIConfigID": 13,
"ParameterRef": "sample string 14",
"ConditionText": "sample string 15",
"DisplayType": "sample string 16",
"DelegationTypeID": 17,
"ReportFileID": 18,
"UserQueryID": 19,
"ActionQueryID": 20,
"AttachmentShowFlag": true,
"AttachmentGetFlag": true,
"AllowedFileFormat": "sample string 23",
"SendNotificationFlag": true,
"RecipientListID": 25,
"AttachmentRequiredFlag": true,
"AttachmentAllowDeleteFlag": true,
"SDAllowDeleteFlag": true,
"SDAllowAddNewFlag": true,
"AllowAssignOwnerFlag": true,
"AllowOverrideOwnerFlag": true,
"AllowMessageFlag": true,
"NotifyOnStart": true,
"NotifyOnOpen": true,
"NotifyOnComplete": true,
"FlagDeleted": true,
"OnCreateNotificationID": 37,
"OnCompleteNotificationID": 38,
"OnStartNotificationID": 39,
"ObserverNotificationID": 40,
"PublicNotificationID": 41,
"SendSMS": true
}
application/xml, text/xml
Sample:
<DTOSYSWFDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <ActionQueryID>20</ActionQueryID> <AllocatedTime>7</AllocatedTime> <AllowAssignOwnerFlag>true</AllowAssignOwnerFlag> <AllowMessageFlag>true</AllowMessageFlag> <AllowOverrideOwnerFlag>true</AllowOverrideOwnerFlag> <AllowedFileFormat>sample string 23</AllowedFileFormat> <AttachmentAllowDeleteFlag>true</AttachmentAllowDeleteFlag> <AttachmentGetFlag>true</AttachmentGetFlag> <AttachmentRequiredFlag>true</AttachmentRequiredFlag> <AttachmentShowFlag>true</AttachmentShowFlag> <ConditionText>sample string 15</ConditionText> <DateCreated>2025-10-26T11:12:28.6109427+08:00</DateCreated> <DateUpdated>2025-10-26T11:12:28.6109427+08:00</DateUpdated> <DelegationTypeID>17</DelegationTypeID> <DisplayType>sample string 16</DisplayType> <FlagDeleted>true</FlagDeleted> <GUIConfigID>13</GUIConfigID> <GUIRef>sample string 12</GUIRef> <NotifyOnComplete>true</NotifyOnComplete> <NotifyOnOpen>true</NotifyOnOpen> <NotifyOnStart>true</NotifyOnStart> <ObserverNotificationID>40</ObserverNotificationID> <OnCompleteNotificationID>38</OnCompleteNotificationID> <OnCreateNotificationID>37</OnCreateNotificationID> <OnStartNotificationID>39</OnStartNotificationID> <ParameterRef>sample string 14</ParameterRef> <PublicNotificationID>41</PublicNotificationID> <RecipientListID>25</RecipientListID> <Remarks>sample string 6</Remarks> <ReportFileID>18</ReportFileID> <ResourceID>9</ResourceID> <SDAllowAddNewFlag>true</SDAllowAddNewFlag> <SDAllowDeleteFlag>true</SDAllowDeleteFlag> <SDID>10</SDID> <SDReadOnly>true</SDReadOnly> <SendNotificationFlag>true</SendNotificationFlag> <SendSMS>true</SendSMS> <SequenceID>3</SequenceID> <UserQueryID>19</UserQueryID> <VoidFlag>true</VoidFlag> <WFDetailsID>1</WFDetailsID> <WFDetailsTitle>sample string 5</WFDetailsTitle> <WFID>2</WFID> <WFTypeID>4</WFTypeID> </DTOSYSWFDetails>