POST api/account

Request Information

URI Parameters

None.

Body Parameters

Account
NameDescriptionTypeAdditional information
AccountId

integer

None.

AccountName

string

None.

AccountActive

integer

None.

AccountActiveDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "AccountName": "sample string 2",
  "AccountActive": 3,
  "AccountActiveDate": "2020-04-02T17:25:38.0157825-05:00"
}

text/html

Sample:
{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-02T17:25:38.0157825-05:00"}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
  <AccountActive>3</AccountActive>
  <AccountActiveDate>2020-04-02T17:25:38.0157825-05:00</AccountActiveDate>
  <AccountId>1</AccountId>
  <AccountName>sample string 2</AccountName>
</Account>

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 'Account'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.