POST api/AccountMaster/Save
Request Information
URI Parameters
None.
Body Parameters
AccountMasterSave| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountName | string |
Required String length: inclusive between 0 and 100 |
|
| BookId | integer |
Required |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| AccountGroup | AccountGroupLookup |
Required |
|
| AccountCategory | AccountCategoryLookup |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| SubAccountSts | string |
Required Matching regular expression pattern: N|Y |
|
| TdsAccountSts | string |
Required Matching regular expression pattern: N|Y |
|
| GstAccountSts | string |
Required Matching regular expression pattern: N|Y |
|
| TdsApplicableSts | string |
Required Matching regular expression pattern: N|Y |
|
| PanNo | string |
String length: inclusive between 0 and 30 |
|
| TdsAccount | AccountMasterLookup |
None. |
|
| TdsPercent | decimal number |
Matching regular expression pattern: ^(0|-?\d{0,3}(\.\d{0,2})?)$ Range: inclusive between 0 and 100 |
|
| GstApplicableSts | string |
Required Matching regular expression pattern: N|Y |
|
| GstNo | string |
String length: inclusive between 0 and 30 |
|
| YearlyProvisionSts | string |
Required Matching regular expression pattern: N|Y |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| CashBankSts | string |
Required Matching regular expression pattern: C|B|N |
|
| BankMaster | BankMasterLookupVM |
None. |
|
| BankBranchMaster | BankBranchMasterLookupVM |
None. |
|
| BankBookType | AccountBookTypeLookup |
None. |
|
| AccountSubGroup | AccountSubGroupLookupVM |
Required |
Request Formats
application/json, text/json
{
"AccountName": "sample string 1",
"BookId": 2,
"Code": "sample string 3",
"AccountGroup": {
"GroupId": 1,
"GroupName": "sample string 2"
},
"AccountCategory": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"Status": "sample string 4",
"SubAccountSts": "sample string 5",
"TdsAccountSts": "sample string 6",
"GstAccountSts": "sample string 7",
"TdsApplicableSts": "sample string 8",
"PanNo": "sample string 9",
"TdsAccount": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"TdsPercent": 10.0,
"GstApplicableSts": "sample string 11",
"GstNo": "sample string 12",
"YearlyProvisionSts": "sample string 13",
"CreateUser": 14,
"CreateIp": "sample string 15",
"CashBankSts": "sample string 16",
"BankMaster": {
"BankId": 1,
"BankName": "sample string 2"
},
"BankBranchMaster": {
"BankBranchId": 1,
"BankBranchName": "sample string 2"
},
"BankBookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"AccountSubGroup": {
"SubGroupId": 1,
"SubGroupName": "sample string 2"
}
}
application/xml, text/xml
<AccountMasterSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AccountCategory>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
</AccountCategory>
<AccountGroup>
<GroupId>1</GroupId>
<GroupName>sample string 2</GroupName>
</AccountGroup>
<AccountName>sample string 1</AccountName>
<AccountSubGroup>
<SubGroupId>1</SubGroupId>
<SubGroupName>sample string 2</SubGroupName>
</AccountSubGroup>
<BankBookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BankBookType>
<BankBranchMaster>
<BankBranchId>1</BankBranchId>
<BankBranchName>sample string 2</BankBranchName>
</BankBranchMaster>
<BankMaster>
<BankId>1</BankId>
<BankName>sample string 2</BankName>
</BankMaster>
<BookId>2</BookId>
<CashBankSts>sample string 16</CashBankSts>
<Code>sample string 3</Code>
<CreateIp>sample string 15</CreateIp>
<CreateUser>14</CreateUser>
<GstAccountSts>sample string 7</GstAccountSts>
<GstApplicableSts>sample string 11</GstApplicableSts>
<GstNo>sample string 12</GstNo>
<PanNo>sample string 9</PanNo>
<Status>sample string 4</Status>
<SubAccountSts>sample string 5</SubAccountSts>
<TdsAccount>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</TdsAccount>
<TdsAccountSts>sample string 6</TdsAccountSts>
<TdsApplicableSts>sample string 8</TdsApplicableSts>
<TdsPercent>10</TdsPercent>
<YearlyProvisionSts>sample string 13</YearlyProvisionSts>
</AccountMasterSave>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.