POST API/PettyCashRequest/PCOpeningBal
Request Information
URI Parameters
None.
Body Parameters
PCOpeningBal| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | integer |
None. |
|
| UserId | integer |
None. |
|
| PCOpeningBalVal | Collection of PettyCashOB_val |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyId": 1,
"UserId": 2,
"PCOpeningBalVal": [
{
"Balance": 1.0
},
{
"Balance": 1.0
}
]
}
application/xml, text/xml
Sample:
<PCOpeningBal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<PCOpeningBalVal>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
</PCOpeningBalVal>
<PropertyId>1</PropertyId>
<UserId>2</UserId>
</PCOpeningBal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PCOpeningBal| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | integer |
None. |
|
| UserId | integer |
None. |
|
| PCOpeningBalVal | Collection of PettyCashOB_val |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PropertyId": 1,
"UserId": 2,
"PCOpeningBalVal": [
{
"Balance": 1.0
},
{
"Balance": 1.0
}
]
},
{
"PropertyId": 1,
"UserId": 2,
"PCOpeningBalVal": [
{
"Balance": 1.0
},
{
"Balance": 1.0
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPCOpeningBal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<PCOpeningBal>
<PCOpeningBalVal>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
</PCOpeningBalVal>
<PropertyId>1</PropertyId>
<UserId>2</UserId>
</PCOpeningBal>
<PCOpeningBal>
<PCOpeningBalVal>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
<PettyCashOB_val>
<Balance>1</Balance>
</PettyCashOB_val>
</PCOpeningBalVal>
<PropertyId>1</PropertyId>
<UserId>2</UserId>
</PCOpeningBal>
</ArrayOfPCOpeningBal>