POST services/api/rest/v1/Save_Denomination
Request Information
URI Parameters
None.
Body Parameters
RestDenomination_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CounterOpId | integer |
None. |
|
| CounterOpStatus | boolean |
None. |
|
| Amount | decimal number |
None. |
|
| LocationId | integer |
None. |
|
| UserId | integer |
None. |
|
| DenominationDetails | Collection of RestDenominationDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CounterOpId": 2,
"CounterOpStatus": true,
"Amount": 4.0,
"LocationId": 5,
"UserId": 6,
"DenominationDetails": [
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
},
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RestDenomination_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CounterOpId | integer |
None. |
|
| CounterOpStatus | boolean |
None. |
|
| Amount | decimal number |
None. |
|
| LocationId | integer |
None. |
|
| UserId | integer |
None. |
|
| DenominationDetails | Collection of RestDenominationDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CounterOpId": 2,
"CounterOpStatus": true,
"Amount": 4.0,
"LocationId": 5,
"UserId": 6,
"DenominationDetails": [
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
},
{
"Id": 1,
"CurrencyId": 2,
"CurrencyDetailsId": 3,
"Contains": 4.0,
"Name": "sample string 5",
"ConvRate": 6.0,
"Count": 7.0,
"Amount": 8.0
}
]
}