POST Common/Currency/Save
Request Information
URI Parameters
None.
Body Parameters
CurrencyViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StoreId | integer |
None. |
|
Name | string |
Required Max length: 25 |
|
Code | string |
Required Max length: 5 |
|
Rate | decimal number |
None. |
|
RoundingType | RoundingType |
None. |
|
RoundingTypeId | integer |
None. |
|
RoundingTypeName | string |
None. |
|
Published | boolean |
None. |
|
DisplayOrder | integer |
None. |
|
MarkAsPrimaryStoreCurrency | boolean |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "StoreId": 1, "Name": "sample string 2", "Code": "sample string 3", "Rate": 4.0, "RoundingType": 1, "RoundingTypeId": 5, "RoundingTypeName": "sample string 6", "Published": true, "DisplayOrder": 8, "MarkAsPrimaryStoreCurrency": true, "ModifiedBy": "sample string 10", "ModifiedDate": "2025-04-26T16:30:10.1371456+01:00" }
application/xml, text/xml
Sample:
<CurrencyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Common.ViewModel"> <Code>sample string 3</Code> <DisplayOrder>8</DisplayOrder> <Id>1</Id> <MarkAsPrimaryStoreCurrency>true</MarkAsPrimaryStoreCurrency> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedDate>2025-04-26T16:30:10.1371456+01:00</ModifiedDate> <Name>sample string 2</Name> <Published>true</Published> <Rate>4</Rate> <RoundingType>Default</RoundingType> <RoundingTypeId>5</RoundingTypeId> <RoundingTypeName>sample string 6</RoundingTypeName> <StoreId>1</StoreId> </CurrencyViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |