POST api/AccountSearch/AccountStatusTypeAndName?showInactive={showInactive}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
showInactive

boolean

Required

Body Parameters

None.

Response Information

Resource Description

AccountStatusTypeAndNameListLM
NameDescriptionTypeAdditional information
AccountStatusTypeAndNameList

Collection of AccountStatusTypeAndName

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountStatusTypeAndNameList": [
    {
      "AccountStatusID": 1,
      "TypeAndName": "sample string 2"
    },
    {
      "AccountStatusID": 1,
      "TypeAndName": "sample string 2"
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<AccountStatusTypeAndNameListLM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Account.AccountStatus">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AccountStatusTypeAndNameList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.AccountStatus">
    <d2p1:AccountStatusTypeAndName>
      <d2p1:AccountStatusID>1</d2p1:AccountStatusID>
      <d2p1:TypeAndName>sample string 2</d2p1:TypeAndName>
    </d2p1:AccountStatusTypeAndName>
    <d2p1:AccountStatusTypeAndName>
      <d2p1:AccountStatusID>1</d2p1:AccountStatusID>
      <d2p1:TypeAndName>sample string 2</d2p1:TypeAndName>
    </d2p1:AccountStatusTypeAndName>
  </AccountStatusTypeAndNameList>
</AccountStatusTypeAndNameListLM>