PUT 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-03T02:54:47.6614175-05:00"
}

text/html

Sample:
{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-03T02:54:47.6614175-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-03T02:54:47.6614175-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

Collection of Account
NameDescriptionTypeAdditional information
AccountId

integer

None.

AccountName

string

None.

AccountActive

integer

None.

AccountActiveDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountId": 1,
    "AccountName": "sample string 2",
    "AccountActive": 3,
    "AccountActiveDate": "2020-04-03T02:54:47.6624175-05:00"
  },
  {
    "AccountId": 1,
    "AccountName": "sample string 2",
    "AccountActive": 3,
    "AccountActiveDate": "2020-04-03T02:54:47.6624175-05:00"
  }
]

text/html

Sample:
[{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-03T02:54:47.6624175-05:00"},{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-03T02:54:47.6624175-05:00"}]

application/xml, text/xml

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