POST api/AccountMaster
Request Information
URI Parameters
None.
Body Parameters
AccountMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountCode | string |
None. |
|
| GroupId | integer |
None. |
|
| SubGroupId | integer |
None. |
|
| AccountName | string |
None. |
|
| TypeCode | string |
None. |
|
| IsSystem | boolean |
None. |
|
| Salesman | integer |
None. |
|
| DebitCreditId | integer |
None. |
|
| CurrentBalance | decimal number |
None. |
|
| Id | integer |
None. |
|
| Active | boolean |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountCode": "sample string 1",
"GroupId": 2,
"SubGroupId": 3,
"AccountName": "sample string 4",
"TypeCode": "sample string 5",
"IsSystem": true,
"Salesman": 7,
"DebitCreditId": 8,
"CurrentBalance": 9.0,
"Id": 10,
"Active": true,
"CreatedBy": "sample string 12"
}
application/xml, text/xml
Sample:
<AccountMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrueCodeAPI.Model"> <Active>true</Active> <CreatedBy>sample string 12</CreatedBy> <Id>10</Id> <AccountCode>sample string 1</AccountCode> <AccountName>sample string 4</AccountName> <CurrentBalance>9</CurrentBalance> <DebitCreditId>8</DebitCreditId> <GroupId>2</GroupId> <IsSystem>true</IsSystem> <Salesman>7</Salesman> <SubGroupId>3</SubGroupId> <TypeCode>sample string 5</TypeCode> </AccountMaster>
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. |