POST api/TablesManagement/ADUCurrency?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

Currency
NameDescriptionTypeAdditional information
currency_code

integer

None.

currency_name

string

Required

String length: inclusive between 0 and 30

currency_shortName

string

Required

String length: inclusive between 0 and 5

currency_symbol

string

String length: inclusive between 0 and 5

Request Formats

application/json, text/json

Sample:
{
  "currency_code": 1,
  "currency_name": "sample string 2",
  "currency_shortName": "sample string 3",
  "currency_symbol": "sample string 4"
}

application/xml, text/xml

Sample:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <currency_code>1</currency_code>
  <currency_name>sample string 2</currency_name>
  <currency_shortName>sample string 3</currency_shortName>
  <currency_symbol>sample string 4</currency_symbol>
</Currency>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Currency
NameDescriptionTypeAdditional information
currency_code

integer

None.

currency_name

string

Required

String length: inclusive between 0 and 30

currency_shortName

string

Required

String length: inclusive between 0 and 5

currency_symbol

string

String length: inclusive between 0 and 5

Response Formats

application/json, text/json

Sample:
{
  "currency_code": 1,
  "currency_name": "sample string 2",
  "currency_shortName": "sample string 3",
  "currency_symbol": "sample string 4"
}

application/xml, text/xml

Sample:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <currency_code>1</currency_code>
  <currency_name>sample string 2</currency_name>
  <currency_shortName>sample string 3</currency_shortName>
  <currency_symbol>sample string 4</currency_symbol>
</Currency>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.