POST api/ApnAdminActionFlow/Save
Request Information
URI Parameters
None.
Body Parameters
ActionFlowDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkflowID | integer |
None. |
|
| Mode | string |
None. |
|
| ParentWorkflowID | integer |
None. |
|
| EntityID | integer |
None. |
|
| SiteID | integer |
None. |
|
| Workflow | string |
None. |
|
| ActionCode | string |
None. |
|
| Automatic | boolean |
None. |
|
| AffectsWorkflowHistory | boolean |
None. |
|
| ProcessAllArrangements | boolean |
None. |
|
| DoesNotUpdateLastActionDate | boolean |
None. |
|
| ExclusionNotAllowed | boolean |
None. |
|
| CreateNoteWhenRunningManual | boolean |
None. |
|
| HideInAccountView | boolean |
None. |
|
| Active | boolean |
None. |
|
| AccountStatusIDs | Collection of integer |
None. |
|
| ExcludedEntityIDs | Collection of integer |
None. |
|
| UserGroupIDs | Collection of integer |
None. |
|
| Steps | Collection of ActionFlowStep |
None. |
|
| ApprovalStatusID | integer |
None. |
|
| WorkflowIDSource | integer |
None. |
|
| NavigationButtons | Collection of Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"WorkflowID": 1,
"Mode": "sample string 1",
"ParentWorkflowID": 1,
"EntityID": 1,
"SiteID": 1,
"Workflow": "sample string 2",
"ActionCode": "sample string 3",
"Automatic": true,
"AffectsWorkflowHistory": true,
"ProcessAllArrangements": true,
"DoesNotUpdateLastActionDate": true,
"ExclusionNotAllowed": true,
"CreateNoteWhenRunningManual": true,
"HideInAccountView": true,
"Active": true,
"AccountStatusIDs": [
1,
2
],
"ExcludedEntityIDs": [
1,
2
],
"UserGroupIDs": [
1,
2
],
"Steps": [
{
"WorkflowItemID": 1,
"WorkflowActionID": 1,
"WorkflowAction": "sample string 2",
"RunAutomatically": true,
"SQLCriteria": "sample string 4",
"AccountStatusCriteria": [
1,
2
],
"Values": {
"sample string 1": null,
"sample string 2": null
},
"SubItems": [
{
"MetaValueGroupID": 1,
"Values": {
"sample string 1": null,
"sample string 2": null
}
},
{
"MetaValueGroupID": 1,
"Values": {
"sample string 1": null,
"sample string 2": null
}
}
]
},
{
"WorkflowItemID": 1,
"WorkflowActionID": 1,
"WorkflowAction": "sample string 2",
"RunAutomatically": true,
"SQLCriteria": "sample string 4",
"AccountStatusCriteria": [
1,
2
],
"Values": {
"sample string 1": null,
"sample string 2": null
},
"SubItems": [
{
"MetaValueGroupID": 1,
"Values": {
"sample string 1": null,
"sample string 2": null
}
},
{
"MetaValueGroupID": 1,
"Values": {
"sample string 1": null,
"sample string 2": null
}
}
]
}
],
"ApprovalStatusID": 1,
"WorkflowIDSource": 1,
"NavigationButtons": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": 1
}
application/xml, text/xml
Sample:
<ApiResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data>1</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfint>