POST api/TablesManagement/ADUCurrency?pType={pType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pType | string |
Required |
Body Parameters
CurrencyName | Description | Type | Additional 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 |
|
interface_code | string |
String length: inclusive between 0 and 10 |
|
old_code | integer |
None. |
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", "interface_code": "sample string 5", "old_code": 1 }
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> <interface_code>sample string 5</interface_code> <old_code>1</old_code> </Currency>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
CurrencyName | Description | Type | Additional 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 |
|
interface_code | string |
String length: inclusive between 0 and 10 |
|
old_code | integer |
None. |
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", "interface_code": "sample string 5", "old_code": 1 }
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> <interface_code>sample string 5</interface_code> <old_code>1</old_code> </Currency>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.