POST TransType/TransTypeTable_Update
Request Information
URI Parameters
None.
Body Parameters
TransTypeTable| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TransCode | string |
None. |
|
| TransType | string |
None. |
|
| TransTypeArabic | string |
None. |
|
| YearFlage | boolean |
None. |
|
| MonthFlage | boolean |
None. |
|
| VoucherType | integer |
None. |
|
| VoucherTypeName | string |
None. |
|
| IsAutoCreated | boolean |
None. |
|
| IsAutoPosted | boolean |
None. |
|
| IsAdvance | boolean |
None. |
|
| IsAbleToChange | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| CreatedOn | string |
None. |
|
| ModifiedOn | string |
None. |
|
| CreatedByName | string |
None. |
|
| ModifiedByName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"TransCode": "sample string 2",
"TransType": "sample string 3",
"TransTypeArabic": "sample string 4",
"YearFlage": true,
"MonthFlage": true,
"VoucherType": 7,
"VoucherTypeName": "sample string 8",
"IsAutoCreated": true,
"IsAutoPosted": true,
"IsAdvance": true,
"IsAbleToChange": 12,
"CompanyId": 13,
"BranchId": 14,
"CreatedBy": 15,
"ModifiedBy": 16,
"CreatedOn": "sample string 17",
"ModifiedOn": "sample string 18",
"CreatedByName": "sample string 19",
"ModifiedByName": "sample string 20"
}
application/xml, text/xml
Sample:
<TransTypeTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO"> <BranchId>14</BranchId> <CompanyId>13</CompanyId> <CreatedBy>15</CreatedBy> <CreatedByName>sample string 19</CreatedByName> <CreatedOn>sample string 17</CreatedOn> <ID>1</ID> <IsAbleToChange>12</IsAbleToChange> <IsAdvance>true</IsAdvance> <IsAutoCreated>true</IsAutoCreated> <IsAutoPosted>true</IsAutoPosted> <ModifiedBy>16</ModifiedBy> <ModifiedByName>sample string 20</ModifiedByName> <ModifiedOn>sample string 18</ModifiedOn> <MonthFlage>true</MonthFlage> <TransCode>sample string 2</TransCode> <TransType>sample string 3</TransType> <TransTypeArabic>sample string 4</TransTypeArabic> <VoucherType>7</VoucherType> <VoucherTypeName>sample string 8</VoucherTypeName> <YearFlage>true</YearFlage> </TransTypeTable>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| IsScusses | boolean |
None. |
|
| ResponseDetails | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"IsScusses": true,
"ResponseDetails": {}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <IsScusses>true</IsScusses> <ResponseDetails /> </Response>