POST api/AccountAPI
Request Information
URI Parameters
None.
Body Parameters
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| AccountTypeId | integer |
None. |
|
| ForeignCurrencyId | integer |
None. |
|
| TaxClassificationName | string |
None. |
|
| TaxType | string |
None. |
|
| TaxRate | string |
None. |
|
| GSTType | string |
None. |
|
| ServiceCategory | string |
None. |
|
| ExciseDutyType | string |
None. |
|
| TraderLedNatureOfPurchase | string |
None. |
|
| TDSDeducteeType | string |
None. |
|
| TDSRateName | string |
None. |
|
| LedgerFBTCategory | string |
None. |
|
| IsBillWiseOn | boolean |
None. |
|
| ISCostCentresOn | boolean |
None. |
|
| IsInterestOn | boolean |
None. |
|
| AllowInMobile | boolean |
None. |
|
| IsCondensed | boolean |
None. |
|
| AffectsStock | boolean |
None. |
|
| ForPayRoll | boolean |
None. |
|
| InterestOnBillWise | boolean |
None. |
|
| OverRideInterest | boolean |
None. |
|
| OverRideADVInterest | boolean |
None. |
|
| UseForVat | boolean |
None. |
|
| IgnoreTDSExempt | boolean |
None. |
|
| IsTCSApplicable | boolean |
None. |
|
| IsTDSApplicable | boolean |
None. |
|
| IsFBTApplicable | boolean |
None. |
|
| IsGSTApplicable | boolean |
None. |
|
| ShowInPaySlip | boolean |
None. |
|
| UseForGratuity | boolean |
None. |
|
| ForServiceTax | boolean |
None. |
|
| IsInputCredit | boolean |
None. |
|
| IsExempte | boolean |
None. |
|
| IsAbatementApplicable | boolean |
None. |
|
| TDSDeducteeIsSpecialRate | boolean |
None. |
|
| Audited | boolean |
None. |
|
| SortPosition | integer |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| DRCR | string |
None. |
|
| InventoryValue | boolean |
None. |
|
| MaintainBilByBill | boolean |
None. |
|
| Address | string |
None. |
|
| District | string |
None. |
|
| City | string |
None. |
|
| Street | string |
None. |
|
| PanNo | string |
None. |
|
| IsVAT | boolean |
None. |
|
| IsExcise | boolean |
None. |
|
| Telephone | string |
None. |
|
| string |
None. |
||
| Amount | decimal number |
None. |
|
| AcceptCard | boolean |
None. |
|
| Agent | integer |
None. |
|
| RateofInterest | decimal number |
None. |
|
| CreditLimit | decimal number |
None. |
|
| CreditDays | integer |
None. |
|
| IsAgent | boolean |
None. |
|
| BankGuarentee | decimal number |
None. |
|
| BankName | string |
None. |
|
| SecurityDeposit | decimal number |
None. |
|
| ExpireMiti | date |
None. |
|
| ExpireDate | date |
None. |
|
| BranchId | integer |
None. |
|
| CreateDate | date |
None. |
|
| ModifyDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"AccountTypeId": 3,
"ForeignCurrencyId": 4,
"TaxClassificationName": "sample string 5",
"TaxType": "sample string 6",
"TaxRate": "sample string 7",
"GSTType": "sample string 8",
"ServiceCategory": "sample string 9",
"ExciseDutyType": "sample string 10",
"TraderLedNatureOfPurchase": "sample string 11",
"TDSDeducteeType": "sample string 12",
"TDSRateName": "sample string 13",
"LedgerFBTCategory": "sample string 14",
"IsBillWiseOn": true,
"ISCostCentresOn": true,
"IsInterestOn": true,
"AllowInMobile": true,
"IsCondensed": true,
"AffectsStock": true,
"ForPayRoll": true,
"InterestOnBillWise": true,
"OverRideInterest": true,
"OverRideADVInterest": true,
"UseForVat": true,
"IgnoreTDSExempt": true,
"IsTCSApplicable": true,
"IsTDSApplicable": true,
"IsFBTApplicable": true,
"IsGSTApplicable": true,
"ShowInPaySlip": true,
"UseForGratuity": true,
"ForServiceTax": true,
"IsInputCredit": true,
"IsExempte": true,
"IsAbatementApplicable": true,
"TDSDeducteeIsSpecialRate": true,
"Audited": true,
"SortPosition": 39,
"OpeningBalance": 40.0,
"DRCR": "sample string 41",
"InventoryValue": true,
"MaintainBilByBill": true,
"Address": "sample string 44",
"District": "sample string 45",
"City": "sample string 46",
"Street": "sample string 47",
"PanNo": "sample string 48",
"IsVAT": true,
"IsExcise": true,
"Telephone": "sample string 51",
"Email": "sample string 52",
"Amount": 53.0,
"AcceptCard": true,
"Agent": 55,
"RateofInterest": 56.0,
"CreditLimit": 57.0,
"CreditDays": 58,
"IsAgent": true,
"BankGuarentee": 60.0,
"BankName": "sample string 61",
"SecurityDeposit": 62.0,
"ExpireMiti": "2026-04-02T12:50:36.4795383+05:45",
"ExpireDate": "2026-04-02T12:50:36.4795383+05:45",
"BranchId": 63,
"CreateDate": "2026-04-02T12:50:36.4795383+05:45",
"ModifyDate": "2026-04-02T12:50:36.4795383+05:45"
}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.Accounts"> <AcceptCard>true</AcceptCard> <AccountTypeId>3</AccountTypeId> <Address>sample string 44</Address> <AffectsStock>true</AffectsStock> <Agent>55</Agent> <AllowInMobile>true</AllowInMobile> <Amount>53</Amount> <Audited>true</Audited> <BankGuarentee>60</BankGuarentee> <BankName>sample string 61</BankName> <BranchId>63</BranchId> <City>sample string 46</City> <CreateDate>2026-04-02T12:50:36.4795383+05:45</CreateDate> <CreditDays>58</CreditDays> <CreditLimit>57</CreditLimit> <DRCR>sample string 41</DRCR> <District>sample string 45</District> <Email>sample string 52</Email> <ExciseDutyType>sample string 10</ExciseDutyType> <ExpireDate>2026-04-02T12:50:36.4795383+05:45</ExpireDate> <ExpireMiti>2026-04-02T12:50:36.4795383+05:45</ExpireMiti> <ForPayRoll>true</ForPayRoll> <ForServiceTax>true</ForServiceTax> <ForeignCurrencyId>4</ForeignCurrencyId> <GSTType>sample string 8</GSTType> <ISCostCentresOn>true</ISCostCentresOn> <Id>1</Id> <IgnoreTDSExempt>true</IgnoreTDSExempt> <InterestOnBillWise>true</InterestOnBillWise> <InventoryValue>true</InventoryValue> <IsAbatementApplicable>true</IsAbatementApplicable> <IsAgent>true</IsAgent> <IsBillWiseOn>true</IsBillWiseOn> <IsCondensed>true</IsCondensed> <IsExcise>true</IsExcise> <IsExempte>true</IsExempte> <IsFBTApplicable>true</IsFBTApplicable> <IsGSTApplicable>true</IsGSTApplicable> <IsInputCredit>true</IsInputCredit> <IsInterestOn>true</IsInterestOn> <IsTCSApplicable>true</IsTCSApplicable> <IsTDSApplicable>true</IsTDSApplicable> <IsVAT>true</IsVAT> <LedgerFBTCategory>sample string 14</LedgerFBTCategory> <MaintainBilByBill>true</MaintainBilByBill> <ModifyDate>2026-04-02T12:50:36.4795383+05:45</ModifyDate> <Name>sample string 2</Name> <OpeningBalance>40</OpeningBalance> <OverRideADVInterest>true</OverRideADVInterest> <OverRideInterest>true</OverRideInterest> <PanNo>sample string 48</PanNo> <RateofInterest>56</RateofInterest> <SecurityDeposit>62</SecurityDeposit> <ServiceCategory>sample string 9</ServiceCategory> <ShowInPaySlip>true</ShowInPaySlip> <SortPosition>39</SortPosition> <Street>sample string 47</Street> <TDSDeducteeIsSpecialRate>true</TDSDeducteeIsSpecialRate> <TDSDeducteeType>sample string 12</TDSDeducteeType> <TDSRateName>sample string 13</TDSRateName> <TaxClassificationName>sample string 5</TaxClassificationName> <TaxRate>sample string 7</TaxRate> <TaxType>sample string 6</TaxType> <Telephone>sample string 51</Telephone> <TraderLedNatureOfPurchase>sample string 11</TraderLedNatureOfPurchase> <UseForGratuity>true</UseForGratuity> <UseForVat>true</UseForVat> </Account>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |