POST api/AMSMaster/SaveLegal
Request Information
URI Parameters
None.
Body Parameters
Collection of clsSaveLegal| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| SelectedForLegal | integer |
None. |
|
| MediaType | string |
None. |
|
| MonthID | integer |
None. |
|
| YearID | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AccountID": 1,
"SelectedForLegal": 2,
"MediaType": "sample string 3",
"MonthID": 4,
"YearID": 5,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 6"
},
{
"AccountID": 1,
"SelectedForLegal": 2,
"MediaType": "sample string 3",
"MonthID": 4,
"YearID": 5,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfclsSaveLegal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
<clsSaveLegal>
<CompanyID>1</CompanyID>
<FinancialYear>sample string 6</FinancialYear>
<FinancialYearID>1</FinancialYearID>
<UserID>1</UserID>
<AccountID>1</AccountID>
<MediaType>sample string 3</MediaType>
<MonthID>4</MonthID>
<SelectedForLegal>2</SelectedForLegal>
<YearID>5</YearID>
</clsSaveLegal>
<clsSaveLegal>
<CompanyID>1</CompanyID>
<FinancialYear>sample string 6</FinancialYear>
<FinancialYearID>1</FinancialYearID>
<UserID>1</UserID>
<AccountID>1</AccountID>
<MediaType>sample string 3</MediaType>
<MonthID>4</MonthID>
<SelectedForLegal>2</SelectedForLegal>
<YearID>5</YearID>
</clsSaveLegal>
</ArrayOfclsSaveLegal>
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. |