POST api/accountStatus/Save

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultVM
NameDescriptionTypeAdditional information
Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": null
}

application/xml, text/xml

Sample:
<ActionResultVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels">
  <Response i:nil="true" />
</ActionResultVM>