POST api/CustomerAction/Add
Request Information
URI Parameters
None.
Body Parameters
CustomerActionAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Date | date |
Required |
|
| Description | string |
None. |
|
| Debt | decimal number |
Required |
|
| Payment | decimal number |
Required |
|
| Balance | decimal number |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| CurrencyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"date": "2025-12-11T17:32:55.3970755+03:00",
"description": "sample string 2",
"debt": 3.1,
"payment": 4.1,
"balance": 5.1,
"customerID": "bb979655-45af-4737-845f-043615a760e8",
"currencyID": "58016789-5117-46fe-ac35-d6f837521dbc"
}
application/xml, text/xml
Sample:
<CustomerActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Balance>5.1</Balance> <CurrencyID>58016789-5117-46fe-ac35-d6f837521dbc</CurrencyID> <CustomerID>bb979655-45af-4737-845f-043615a760e8</CustomerID> <Date>2025-12-11T17:32:55.3970755+03:00</Date> <Debt>3.1</Debt> <Description>sample string 2</Description> <Payment>4.1</Payment> </CustomerActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Date":"2025-12-11T17:32:55.3970755+03:00","Description":"sample string 2","Debt":3.1,"Payment":4.1,"Balance":5.1,"CustomerID":"bb979655-45af-4737-845f-043615a760e8","CurrencyID":"58016789-5117-46fe-ac35-d6f837521dbc"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.