POST api/V2/okonomi/konto

Request Information

URI Parameters

None.

Body Parameters

KontoPlan
NameDescriptionTypeAdditional information
KontoId

integer

None.

KontoNummer

integer

None.

KontoNavn

string

None.

KontoType

integer

None.

CompanyId

globally unique identifier

None.

Saldo

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "kontoId": 1,
  "kontoNummer": 2,
  "kontoNavn": "sample string 3",
  "kontoType": 4,
  "companyId": "4ccfa9a3-d819-49e3-86c1-b40b721e6276",
  "saldo": 6.1
}

application/xml, text/xml

Sample:
<KontoPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <CompanyId>4ccfa9a3-d819-49e3-86c1-b40b721e6276</CompanyId>
  <KontoId>1</KontoId>
  <KontoNavn>sample string 3</KontoNavn>
  <KontoNummer>2</KontoNummer>
  <KontoType>4</KontoType>
  <Saldo>6.1</Saldo>
</KontoPlan>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.