POST api/Accounts/InsertPLS_BS_EXP_Settings?userId={userId}&IsPLS={IsPLS}&IsBS={IsBS}&IsExp={IsExp}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| IsPLS | boolean |
Default value is False |
|
| IsBS | boolean |
Default value is False |
|
| IsExp | boolean |
Default value is False |
Body Parameters
Collection of AccountsSettingsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNo | string |
None. |
|
| AccountTitle | string |
None. |
|
| AccountType | string |
None. |
|
| BalFlag | boolean |
None. |
|
| PFlag | string |
None. |
|
| ExpFlag | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"AccountNo": "sample string 1",
"AccountTitle": "sample string 2",
"AccountType": "sample string 3",
"BalFlag": true,
"PFlag": "sample string 5",
"ExpFlag": true
},
{
"AccountNo": "sample string 1",
"AccountTitle": "sample string 2",
"AccountType": "sample string 3",
"BalFlag": true,
"PFlag": "sample string 5",
"ExpFlag": true
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountsSettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
<AccountsSettingsModel>
<AccountNo>sample string 1</AccountNo>
<AccountTitle>sample string 2</AccountTitle>
<AccountType>sample string 3</AccountType>
<BalFlag>true</BalFlag>
<ExpFlag>true</ExpFlag>
<PFlag>sample string 5</PFlag>
</AccountsSettingsModel>
<AccountsSettingsModel>
<AccountNo>sample string 1</AccountNo>
<AccountTitle>sample string 2</AccountTitle>
<AccountType>sample string 3</AccountType>
<BalFlag>true</BalFlag>
<ExpFlag>true</ExpFlag>
<PFlag>sample string 5</PFlag>
</AccountsSettingsModel>
</ArrayOfAccountsSettingsModel>
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. |