POST API/PettyCashExpenseApproval/PCExpApprovalSave
Request Information
URI Parameters
None.
Body Parameters
PCExpApprovalSave| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| PCExpApprovalsArray | Collection of PCExpApprovalsList |
None. |
|
| Msg | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"PCExpApprovalsArray": [
{
"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
},
{
"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
}
],
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<PCExpApprovalSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<Msg>sample string 2</Msg>
<PCExpApprovalsArray>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
</PCExpApprovalsArray>
<UserId>sample string 1</UserId>
</PCExpApprovalSave>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PCExpApprovalSave| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| PCExpApprovalsArray | Collection of PCExpApprovalsList |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UserId": "sample string 1",
"PCExpApprovalsArray": [
{
"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
},
{
"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
}
],
"Msg": "sample string 2"
},
{
"UserId": "sample string 1",
"PCExpApprovalsArray": [
{
"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
},
{
"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
}
],
"Msg": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPCExpApprovalSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<PCExpApprovalSave>
<Msg>sample string 2</Msg>
<PCExpApprovalsArray>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
</PCExpApprovalsArray>
<UserId>sample string 1</UserId>
</PCExpApprovalSave>
<PCExpApprovalSave>
<Msg>sample string 2</Msg>
<PCExpApprovalsArray>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
<PCExpApprovalsList>
<ApprovedAmount>13</ApprovedAmount>
<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>
</PCExpApprovalsList>
</PCExpApprovalsArray>
<UserId>sample string 1</UserId>
</PCExpApprovalSave>
</ArrayOfPCExpApprovalSave>