POST finance/cashregisters
Request Information
URI Parameters
None.
Body Parameters
RegisterName | Description | Type | Additional information |
---|---|---|---|
Year | integer |
None. |
|
ID | integer |
None. |
|
Status | integer |
None. |
|
OrganizationalUnitID | integer |
None. |
|
Number | integer |
None. |
|
Description | string |
None. |
|
From | date |
None. |
|
To | date |
None. |
|
AmountIn | decimal number |
None. |
|
AmountOut | decimal number |
None. |
|
StartingBalance | decimal number |
None. |
|
Balance | decimal number |
None. |
|
IsValid | boolean |
None. |
|
Audit | Audit |
None. |
Request Formats
application/json, text/json
Sample:
{ "Year": 1, "ID": 2, "Status": 3, "OrganizationalUnitID": 4, "Number": 5, "Description": "sample string 6", "From": "2024-03-28T19:49:49.9898121+00:00", "To": "2024-03-28T19:49:49.9898121+00:00", "AmountIn": 9.0, "AmountOut": 10.0, "StartingBalance": 11.0, "Balance": 12.0, "IsValid": true, "Audit": { "AddUser": 1, "AddTime": "2024-03-28T19:49:49.9898121+00:00", "EditUser": 1, "EditTime": "2024-03-28T19:49:49.9898121+00:00" } }
text/xml
Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Finance.Cash"> <AmountIn>9</AmountIn> <AmountOut>10</AmountOut> <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d2p1:AddTime>2024-03-28T19:49:49.9898121+00:00</d2p1:AddTime> <d2p1:AddUser>1</d2p1:AddUser> <d2p1:EditTime>2024-03-28T19:49:49.9898121+00:00</d2p1:EditTime> <d2p1:EditUser>1</d2p1:EditUser> </Audit> <Balance>12</Balance> <Description>sample string 6</Description> <From>2024-03-28T19:49:49.9898121+00:00</From> <ID>2</ID> <IsValid>true</IsValid> <Number>5</Number> <OrganizationalUnitID>4</OrganizationalUnitID> <StartingBalance>11</StartingBalance> <Status>3</Status> <To>2024-03-28T19:49:49.9898121+00:00</To> <Year>1</Year> </Register>
application/x-www-form-urlencoded
Sample:
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. |