POST V2/odata/Currency

Inserts Currency entity

Request Information

URI Parameters

None.

Body Parameters

QicsUnity.Api.Areas.V2.Models.Currency
NameDescriptionTypeAdditional information
CurrencyId

Gets or sets currency PK

integer

None.

Code

Gets or sets currency code

string

None.

Name

Gets or sets the name of the currency

string

None.

Symbol

Gets or sets currency symbol

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrencyId": 1,
  "Code": "sample 2",
  "Name": "sample 3",
  "Symbol": "sample 4"
}

application/xml, text/xml

Sample:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <Code>sample 2</Code>
  <CurrencyId>1</CurrencyId>
  <Name>sample 3</Name>
  <Symbol>sample 4</Symbol>
</Currency>

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.