POST API/PettyCashExpenseApproval/PCExpApproval
Request Information
URI Parameters
None.
Body Parameters
PCExpApproval| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Requestedby | string |
None. |
|
| PCAccount | string |
None. |
|
| ProcessedStatus | string |
None. |
|
| Comments | string |
None. |
|
| RequestedOn | string |
None. |
|
| Process | boolean |
None. |
|
| Processedon | string |
None. |
|
| Processedby | string |
None. |
|
| RequestedUserId | integer |
None. |
|
| Id | integer |
None. |
|
| PropertyId | integer |
None. |
|
| ApprovedAmount | decimal number |
None. |
|
| ExpenseAmount | decimal number |
None. |
|
| UId | integer |
None. |
|
| CancelFlag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Requestedby": "sample string 2",
"PCAccount": "sample string 3",
"ProcessedStatus": "sample string 4",
"Comments": "sample string 5",
"RequestedOn": "sample string 6",
"Process": true,
"Processedon": "sample string 8",
"Processedby": "sample string 9",
"RequestedUserId": 10,
"Id": 11,
"PropertyId": 12,
"ApprovedAmount": 13.0,
"ExpenseAmount": 14.0,
"UId": 15,
"CancelFlag": 16
}
application/xml, text/xml
Sample:
<PCExpApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models"> <ApprovedAmount>13</ApprovedAmount> <CancelFlag>16</CancelFlag> <Comments>sample string 5</Comments> <ExpenseAmount>14</ExpenseAmount> <Id>11</Id> <PCAccount>sample string 3</PCAccount> <Process>true</Process> <ProcessedStatus>sample string 4</ProcessedStatus> <Processedby>sample string 9</Processedby> <Processedon>sample string 8</Processedon> <PropertyId>12</PropertyId> <RequestedOn>sample string 6</RequestedOn> <RequestedUserId>10</RequestedUserId> <Requestedby>sample string 2</Requestedby> <UId>15</UId> <UserId>sample string 1</UserId> </PCExpApproval>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PCExpApproval| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Requestedby | string |
None. |
|
| PCAccount | string |
None. |
|
| ProcessedStatus | string |
None. |
|
| Comments | string |
None. |
|
| RequestedOn | string |
None. |
|
| Process | boolean |
None. |
|
| Processedon | string |
None. |
|
| Processedby | string |
None. |
|
| RequestedUserId | integer |
None. |
|
| Id | integer |
None. |
|
| PropertyId | integer |
None. |
|
| ApprovedAmount | decimal number |
None. |
|
| ExpenseAmount | decimal number |
None. |
|
| UId | integer |
None. |
|
| CancelFlag | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UserId": "sample string 1",
"Requestedby": "sample string 2",
"PCAccount": "sample string 3",
"ProcessedStatus": "sample string 4",
"Comments": "sample string 5",
"RequestedOn": "sample string 6",
"Process": true,
"Processedon": "sample string 8",
"Processedby": "sample string 9",
"RequestedUserId": 10,
"Id": 11,
"PropertyId": 12,
"ApprovedAmount": 13.0,
"ExpenseAmount": 14.0,
"UId": 15,
"CancelFlag": 16
},
{
"UserId": "sample string 1",
"Requestedby": "sample string 2",
"PCAccount": "sample string 3",
"ProcessedStatus": "sample string 4",
"Comments": "sample string 5",
"RequestedOn": "sample string 6",
"Process": true,
"Processedon": "sample string 8",
"Processedby": "sample string 9",
"RequestedUserId": 10,
"Id": 11,
"PropertyId": 12,
"ApprovedAmount": 13.0,
"ExpenseAmount": 14.0,
"UId": 15,
"CancelFlag": 16
}
]
application/xml, text/xml
Sample:
<ArrayOfPCExpApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<PCExpApproval>
<ApprovedAmount>13</ApprovedAmount>
<CancelFlag>16</CancelFlag>
<Comments>sample string 5</Comments>
<ExpenseAmount>14</ExpenseAmount>
<Id>11</Id>
<PCAccount>sample string 3</PCAccount>
<Process>true</Process>
<ProcessedStatus>sample string 4</ProcessedStatus>
<Processedby>sample string 9</Processedby>
<Processedon>sample string 8</Processedon>
<PropertyId>12</PropertyId>
<RequestedOn>sample string 6</RequestedOn>
<RequestedUserId>10</RequestedUserId>
<Requestedby>sample string 2</Requestedby>
<UId>15</UId>
<UserId>sample string 1</UserId>
</PCExpApproval>
<PCExpApproval>
<ApprovedAmount>13</ApprovedAmount>
<CancelFlag>16</CancelFlag>
<Comments>sample string 5</Comments>
<ExpenseAmount>14</ExpenseAmount>
<Id>11</Id>
<PCAccount>sample string 3</PCAccount>
<Process>true</Process>
<ProcessedStatus>sample string 4</ProcessedStatus>
<Processedby>sample string 9</Processedby>
<Processedon>sample string 8</Processedon>
<PropertyId>12</PropertyId>
<RequestedOn>sample string 6</RequestedOn>
<RequestedUserId>10</RequestedUserId>
<Requestedby>sample string 2</Requestedby>
<UId>15</UId>
<UserId>sample string 1</UserId>
</PCExpApproval>
</ArrayOfPCExpApproval>