PUT V2/odata/Currency({key})

Updates Currency entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

CurrencyId from Currency entity

integer

Required

Body Parameters

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

Gets or sets currency PK

integer

Required

64-bit signed integer

Code

Gets or sets currency code

string

Required

Name

Gets or sets the name of the currency

string

Required

Symbol

Gets or sets currency symbol

string

Required

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

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

Gets or sets currency PK

integer

Required

64-bit signed integer

Code

Gets or sets currency code

string

Required

Name

Gets or sets the name of the currency

string

Required

Symbol

Gets or sets currency symbol

string

Required

Response 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>