GET api/accountStatus/GetForWorkflow?accountID={accountID}&workflowItemID={workflowItemID}&metaValue_ActionFlowGroupID={metaValue_ActionFlowGroupID}&isAutomatic={isAutomatic}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

workflowItemID

integer

Required

metaValue_ActionFlowGroupID

integer

Required

isAutomatic

boolean

Required

Body Parameters

None.

Response Information

Resource Description

AccountStatusChangeVM
NameDescriptionTypeAdditional information
AccountStatusList

Collection of AccountStatusForListVM

None.

AccountID

integer

None.

WorkflowLineID

integer

None.

WorkflowLine

string

None.

TargetAccountStatus

integer

None.

NoOfDays

integer

None.

WriteOff

string

None.

Settings

VisibilitySettings

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountStatusList": [
    {
      "AccountStatusID": 1,
      "AccountStatus": "sample string 2"
    },
    {
      "AccountStatusID": 1,
      "AccountStatus": "sample string 2"
    }
  ],
  "AccountID": 1,
  "WorkflowLineID": 2,
  "WorkflowLine": "sample string 3",
  "TargetAccountStatus": 1,
  "NoOfDays": 1,
  "WriteOff": "sample string 4",
  "Settings": {
    "DisplayNoOfDays": true,
    "DisplayWriteOff": true
  },
  "Response": null
}

application/xml, text/xml

Sample:
<AccountStatusChangeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.AccountStatus">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AccountID>1</AccountID>
  <AccountStatusList>
    <AccountStatusForListVM>
      <AccountStatus>sample string 2</AccountStatus>
      <AccountStatusID>1</AccountStatusID>
    </AccountStatusForListVM>
    <AccountStatusForListVM>
      <AccountStatus>sample string 2</AccountStatus>
      <AccountStatusID>1</AccountStatusID>
    </AccountStatusForListVM>
  </AccountStatusList>
  <NoOfDays>1</NoOfDays>
  <Settings>
    <DisplayNoOfDays>true</DisplayNoOfDays>
    <DisplayWriteOff>true</DisplayWriteOff>
  </Settings>
  <TargetAccountStatus>1</TargetAccountStatus>
  <WorkflowLine>sample string 3</WorkflowLine>
  <WorkflowLineID>2</WorkflowLineID>
  <WriteOff>sample string 4</WriteOff>
</AccountStatusChangeVM>