PUT api/SubAccountMaster/Update
Request Information
URI Parameters
None.
Body Parameters
SubAccountMasterUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| SubAccountId | integer |
Required |
|
| BookId | integer |
Required |
|
| SubAccountName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| AccountCategory | AccountCategoryLookup |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| Prefix | PrefixLookup |
None. |
|
| SubAccountAddress | string |
String length: inclusive between 0 and 300 |
|
| 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 |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| RelationTypeId | integer |
Required |
|
| RelationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubAccountId": 1,
"BookId": 2,
"SubAccountName": "sample string 3",
"Code": "sample string 4",
"AccountCategory": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"Status": "sample string 5",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"SubAccountAddress": "sample string 6",
"TdsApplicableSts": "sample string 7",
"PanNo": "sample string 8",
"TdsAccount": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"TdsPercent": 9.0,
"GstApplicableSts": "sample string 10",
"GstNo": "sample string 11",
"UpdateUser": 12,
"UpdateIp": "sample string 13",
"RelationTypeId": 14,
"RelationId": 15
}
application/xml, text/xml
Sample:
<SubAccountMasterUpdate 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>
<BookId>2</BookId>
<Code>sample string 4</Code>
<GstApplicableSts>sample string 10</GstApplicableSts>
<GstNo>sample string 11</GstNo>
<PanNo>sample string 8</PanNo>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<RelationId>15</RelationId>
<RelationTypeId>14</RelationTypeId>
<Status>sample string 5</Status>
<SubAccountAddress>sample string 6</SubAccountAddress>
<SubAccountId>1</SubAccountId>
<SubAccountName>sample string 3</SubAccountName>
<TdsAccount>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</TdsAccount>
<TdsApplicableSts>sample string 7</TdsApplicableSts>
<TdsPercent>9</TdsPercent>
<UpdateIp>sample string 13</UpdateIp>
<UpdateUser>12</UpdateUser>
</SubAccountMasterUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.