POST api/businessaccount/deactivate

Request Information

URI Parameters

None.

Body Parameters

BusinessAccountModel
NameDescriptionTypeAdditional information
Id

string

None.

DateCreatedEpoch

integer

None.

FullName

string

None.

CompanyName

string

None.

EmailAddress

string

None.

BusinessEdition

BusinessAccountEditionEnum

None.

AccountStatus

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "DateCreatedEpoch": 2,
  "FullName": "sample string 3",
  "CompanyName": "sample string 4",
  "EmailAddress": "sample string 5",
  "BusinessEdition": 0,
  "AccountStatus": 6
}

application/xml, text/xml

Sample:
<BusinessAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/All_About_PDF.Models">
  <AccountStatus>6</AccountStatus>
  <BusinessEdition>STANDARD</BusinessEdition>
  <CompanyName>sample string 4</CompanyName>
  <DateCreatedEpoch>2</DateCreatedEpoch>
  <EmailAddress>sample string 5</EmailAddress>
  <FullName>sample string 3</FullName>
  <Id>sample string 1</Id>
</BusinessAccountModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BusinessAccountModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.