Create Currencies
post
/currency
Send a request to this endpoint to create one or more currency. An application object will be created for each JSON object provided in the request body.
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of currency objects.
Root Schema : List<Currency>
Type:
array
Title:
Show Source
List<Currency>
-
Array of:
object Currency
Title:
Currency
Currency Entity
Nested Schema : Currency
Type:
object
Title:
Currency
Currency Entity
Show Source
-
CreateDate: string
(date-time)
The date this currency was created.
-
CreateUser: string
The name of the user that created this currency.
-
DecimalPlaces: integer
(int32)
The number of decimal places displayed.
-
DecimalSymbol: string
The decimal symbol displayed.
-
DigitGroupingSymbol: string
The symbol used to group the numbers.
-
ExchangeRate: number
(double)
The exchange rate against the base currency.
-
Id(required): string
The unique currency abbreviation for each currency.
-
IsBaseCurrency: boolean
The currency used to store cost in the Project Management database. The exchange rate for the base currency is always 1.0. The base currency ID, name, and symbol default to U.S. dollars and can be edited but never deleted.
-
LastUpdateDate: string
(date-time)
The date this currency was last updated.
-
LastUpdateUser: string
The name of the user that last updated this currency.
-
Name(required): string
The name of the currency.
-
NegativeSymbol: string
The symbol used to display a negative currency.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
PositiveSymbol: string
The symbol used to display a positive currency.
-
Symbol(required): string
The currency symbol displayed.
Response
Supported Media Types
- application/json
201 Response
Resource Created.
Root Schema : String
Type:
string
Title:
String
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.