PUT api/AccountsForCustomers

Request Information

URI Parameters

None.

Body Parameters

AccountForCustomer
NameDescriptionTypeAdditional information
id

integer

None.

username

string

None.

password

string

None.

vatNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "username": "sample string 2",
  "password": "sample string 3",
  "vatNumber": "sample string 4"
}

application/xml, text/xml

Sample:
<AccountForCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOptima_v._2._0.Models">
  <id>1</id>
  <password>sample string 3</password>
  <username>sample string 2</username>
  <vatNumber>sample string 4</vatNumber>
</AccountForCustomer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.