POST api/AllocateSingle?CurrencyID={CurrencyID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrencyID | integer |
Required |
Body Parameters
Collection of AllocationInvArrayParam| Name | Description | Type | Additional information |
|---|---|---|---|
| AR_PostingID | integer |
None. |
|
| Allocation_Amount | decimal number |
None. |
|
| Trans_Date | date |
None. |
|
| Doc_Ref_No | string |
None. |
|
| Debit | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| CustomerID | integer |
None. |
|
| RepID | integer |
None. |
|
| Allocation | string |
None. |
|
| Outstanding_Balance | decimal number |
None. |
|
| ProjectID | integer |
None. |
|
| Foreign_Outstanding | decimal number |
None. |
|
| Date_Time_Stamp | date |
None. |
|
| Added_by | string |
None. |
|
| BranchID | integer |
None. |
|
| CurrencyID | integer |
None. |
|
| Exchange_Rate | decimal number |
None. |
|
| Foreign_Debit | decimal number |
None. |
|
| Foreign_Credit | decimal number |
None. |
|
| Period | integer |
None. |
|
| Reconciled | boolean |
None. |
|
| Debit_or_Credit_Account | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AR_PostingID": 1,
"Allocation_Amount": 2.0,
"Trans_Date": "2026-12-01T08:13:58.7962024+00:00",
"Doc_Ref_No": "sample string 4",
"Debit": 5.0,
"Credit": 6.0,
"CustomerID": 7,
"RepID": 8,
"Allocation": "sample string 9",
"Outstanding_Balance": 10.0,
"ProjectID": 11,
"Foreign_Outstanding": 12.0,
"Date_Time_Stamp": "2026-12-01T08:13:58.7962024+00:00",
"Added_by": "sample string 14",
"BranchID": 15,
"CurrencyID": 16,
"Exchange_Rate": 17.1,
"Foreign_Debit": 18.0,
"Foreign_Credit": 19.0,
"Period": 20,
"Reconciled": true,
"Debit_or_Credit_Account": 22
},
{
"AR_PostingID": 1,
"Allocation_Amount": 2.0,
"Trans_Date": "2026-12-01T08:13:58.7962024+00:00",
"Doc_Ref_No": "sample string 4",
"Debit": 5.0,
"Credit": 6.0,
"CustomerID": 7,
"RepID": 8,
"Allocation": "sample string 9",
"Outstanding_Balance": 10.0,
"ProjectID": 11,
"Foreign_Outstanding": 12.0,
"Date_Time_Stamp": "2026-12-01T08:13:58.7962024+00:00",
"Added_by": "sample string 14",
"BranchID": 15,
"CurrencyID": 16,
"Exchange_Rate": 17.1,
"Foreign_Debit": 18.0,
"Foreign_Credit": 19.0,
"Period": 20,
"Reconciled": true,
"Debit_or_Credit_Account": 22
}
]
application/xml, text/xml
Sample:
<ArrayOfAllocationInvArrayParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<AllocationInvArrayParam>
<AR_PostingID>1</AR_PostingID>
<Added_by>sample string 14</Added_by>
<Allocation>sample string 9</Allocation>
<Allocation_Amount>2</Allocation_Amount>
<BranchID>15</BranchID>
<Credit>6</Credit>
<CurrencyID>16</CurrencyID>
<CustomerID>7</CustomerID>
<Date_Time_Stamp>2026-12-01T08:13:58.7962024+00:00</Date_Time_Stamp>
<Debit>5</Debit>
<Debit_or_Credit_Account>22</Debit_or_Credit_Account>
<Doc_Ref_No>sample string 4</Doc_Ref_No>
<Exchange_Rate>17.1</Exchange_Rate>
<Foreign_Credit>19</Foreign_Credit>
<Foreign_Debit>18</Foreign_Debit>
<Foreign_Outstanding>12</Foreign_Outstanding>
<Outstanding_Balance>10</Outstanding_Balance>
<Period>20</Period>
<ProjectID>11</ProjectID>
<Reconciled>true</Reconciled>
<RepID>8</RepID>
<Trans_Date>2026-12-01T08:13:58.7962024+00:00</Trans_Date>
</AllocationInvArrayParam>
<AllocationInvArrayParam>
<AR_PostingID>1</AR_PostingID>
<Added_by>sample string 14</Added_by>
<Allocation>sample string 9</Allocation>
<Allocation_Amount>2</Allocation_Amount>
<BranchID>15</BranchID>
<Credit>6</Credit>
<CurrencyID>16</CurrencyID>
<CustomerID>7</CustomerID>
<Date_Time_Stamp>2026-12-01T08:13:58.7962024+00:00</Date_Time_Stamp>
<Debit>5</Debit>
<Debit_or_Credit_Account>22</Debit_or_Credit_Account>
<Doc_Ref_No>sample string 4</Doc_Ref_No>
<Exchange_Rate>17.1</Exchange_Rate>
<Foreign_Credit>19</Foreign_Credit>
<Foreign_Debit>18</Foreign_Debit>
<Foreign_Outstanding>12</Foreign_Outstanding>
<Outstanding_Balance>10</Outstanding_Balance>
<Period>20</Period>
<ProjectID>11</ProjectID>
<Reconciled>true</Reconciled>
<RepID>8</RepID>
<Trans_Date>2026-12-01T08:13:58.7962024+00:00</Trans_Date>
</AllocationInvArrayParam>
</ArrayOfAllocationInvArrayParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>