POST api/AllocateSingle
Request Information
URI Parameters
None.
Body Parameters
SingleAllocationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DB | string |
None. |
|
| CustomerName | string |
None. |
|
| UserEmail | string |
None. |
|
| AllocationInvArray | Collection of AllocationInvArrayParam |
None. |
|
| AllocationRecArray | Collection of AllocationRecArrayParam |
None. |
Request Formats
application/json, text/json
Sample:
{
"DB": "sample string 1",
"CustomerName": "sample string 2",
"UserEmail": "sample string 3",
"AllocationInvArray": [
{
"AR_PostingID": 1,
"Allocation_Amount": 2.0,
"Trans_Date": "2026-12-01T08:13:38.6768266+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:38.6778181+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:38.6768266+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:38.6778181+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
}
],
"AllocationRecArray": [
{
"AR_PostingID": 1,
"Trans_Date": "2026-12-01T08:13:38.6788266+00:00",
"Outstanding_Balance": 3.0,
"Foreign_Outstanding": 4.0
},
{
"AR_PostingID": 1,
"Trans_Date": "2026-12-01T08:13:38.6788266+00:00",
"Outstanding_Balance": 3.0,
"Foreign_Outstanding": 4.0
}
]
}
application/xml, text/xml
Sample:
<SingleAllocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<AllocationInvArray>
<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:38.6778181+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:38.6768266+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:38.6778181+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:38.6768266+00:00</Trans_Date>
</AllocationInvArrayParam>
</AllocationInvArray>
<AllocationRecArray>
<AllocationRecArrayParam>
<AR_PostingID>1</AR_PostingID>
<Foreign_Outstanding>4</Foreign_Outstanding>
<Outstanding_Balance>3</Outstanding_Balance>
<Trans_Date>2026-12-01T08:13:38.6788266+00:00</Trans_Date>
</AllocationRecArrayParam>
<AllocationRecArrayParam>
<AR_PostingID>1</AR_PostingID>
<Foreign_Outstanding>4</Foreign_Outstanding>
<Outstanding_Balance>3</Outstanding_Balance>
<Trans_Date>2026-12-01T08:13:38.6788266+00:00</Trans_Date>
</AllocationRecArrayParam>
</AllocationRecArray>
<CustomerName>sample string 2</CustomerName>
<DB>sample string 1</DB>
<UserEmail>sample string 3</UserEmail>
</SingleAllocationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>