POST api/ApnAdminMasterWorkflow/SaveEntityWorkflows
Request Information
URI Parameters
None.
Body Parameters
EntityWorkflowsParams| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityID | integer |
None. |
|
| Rows | Collection of EntityWorkflowRow |
None. |
Request Formats
application/json, text/json
Sample:
{
"EntityID": 1,
"Rows": [
{
"MasterWorkflowID": 1,
"MasterWorkflow": "sample string 2",
"Included": true,
"IsAvailableOnExtranet": true,
"IsDefault": true,
"IsDefaultPrincipal": true
},
{
"MasterWorkflowID": 1,
"MasterWorkflow": "sample string 2",
"Included": true,
"IsAvailableOnExtranet": true,
"IsDefault": true,
"IsDefaultPrincipal": true
}
]
}
application/xml, text/xml
Sample:
<EntityWorkflowsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
<EntityID>1</EntityID>
<Rows>
<EntityWorkflowRow>
<Included>true</Included>
<IsAvailableOnExtranet>true</IsAvailableOnExtranet>
<IsDefault>true</IsDefault>
<IsDefaultPrincipal>true</IsDefaultPrincipal>
<MasterWorkflow>sample string 2</MasterWorkflow>
<MasterWorkflowID>1</MasterWorkflowID>
</EntityWorkflowRow>
<EntityWorkflowRow>
<Included>true</Included>
<IsAvailableOnExtranet>true</IsAvailableOnExtranet>
<IsDefault>true</IsDefault>
<IsDefaultPrincipal>true</IsDefaultPrincipal>
<MasterWorkflow>sample string 2</MasterWorkflow>
<MasterWorkflowID>1</MasterWorkflowID>
</EntityWorkflowRow>
</Rows>
</EntityWorkflowsParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": true
}
application/xml, text/xml
Sample:
<ApiResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data>true</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfboolean>