POST api/LedgerGroup/SaveLedgerGroup
Request Information
URI Parameters
None.
Body Parameters
LedgerGroupModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LedgerGroupID | integer |
None. |
|
| GroupTypeID | integer |
None. |
|
| DisplayName | string |
None. |
|
| SystemName | string |
None. |
|
| WeightagePosition | integer |
None. |
|
| IsActive | integer |
None. |
|
| ParentID | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LedgerGroupID": 1,
"GroupTypeID": 1,
"DisplayName": "sample string 2",
"SystemName": "sample string 3",
"WeightagePosition": 1,
"IsActive": 1,
"ParentID": 1,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 4"
}
application/xml, text/xml
Sample:
<LedgerGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject"> <CompanyID>1</CompanyID> <FinancialYear>sample string 4</FinancialYear> <FinancialYearID>1</FinancialYearID> <UserID>1</UserID> <DisplayName>sample string 2</DisplayName> <GroupTypeID>1</GroupTypeID> <IsActive>1</IsActive> <LedgerGroupID>1</LedgerGroupID> <ParentID>1</ParentID> <SystemName>sample string 3</SystemName> <WeightagePosition>1</WeightagePosition> </LedgerGroupModel>
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. |