POST api/Account/Account
Request Information
URI Parameters
None.
Body Parameters
MSTAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| AccountCode | string |
String length: inclusive between 0 and 10 |
|
| AccountName | string |
String length: inclusive between 0 and 250 |
|
| IsActive | boolean |
None. |
|
| IsTrial | boolean |
None. |
|
| RegisteredDate | date |
None. |
|
| ExpiredDate | date |
None. |
|
| IsSelfRegis | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
String length: inclusive between 0 and 500 |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | string |
String length: inclusive between 0 and 500 |
|
| TotalUser | integer |
None. |
|
| LogoPic | string |
String length: inclusive between 0 and 500 |
|
| ThemeColor | string |
String length: inclusive between 0 and 10 |
|
| Lang | string |
String length: inclusive between 0 and 2 |
|
| MSLicence | string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"AccountCode": "sample string 2",
"AccountName": "sample string 3",
"IsActive": true,
"IsTrial": true,
"RegisteredDate": "2026-02-04T09:47:46.9292394+07:00",
"ExpiredDate": "2026-02-04T09:47:46.9292394+07:00",
"IsSelfRegis": true,
"CreatedDate": "2026-02-04T09:47:46.9292394+07:00",
"CreatedBy": "sample string 4",
"ModifiedDate": "2026-02-04T09:47:46.9292394+07:00",
"ModifiedBy": "sample string 5",
"TotalUser": 1,
"LogoPic": "sample string 6",
"ThemeColor": "sample string 7",
"Lang": "sample string 8",
"MSLicence": "sample string 9"
}
application/xml, text/xml
Sample:
<MSTAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WolfApprove.Model"> <_x003C_AccountCode_x003E_k__BackingField>sample string 2</_x003C_AccountCode_x003E_k__BackingField> <_x003C_AccountId_x003E_k__BackingField>1</_x003C_AccountId_x003E_k__BackingField> <_x003C_AccountName_x003E_k__BackingField>sample string 3</_x003C_AccountName_x003E_k__BackingField> <_x003C_CreatedBy_x003E_k__BackingField>sample string 4</_x003C_CreatedBy_x003E_k__BackingField> <_x003C_CreatedDate_x003E_k__BackingField>2026-02-04T09:47:46.9292394+07:00</_x003C_CreatedDate_x003E_k__BackingField> <_x003C_ExpiredDate_x003E_k__BackingField>2026-02-04T09:47:46.9292394+07:00</_x003C_ExpiredDate_x003E_k__BackingField> <_x003C_IsActive_x003E_k__BackingField>true</_x003C_IsActive_x003E_k__BackingField> <_x003C_IsSelfRegis_x003E_k__BackingField>true</_x003C_IsSelfRegis_x003E_k__BackingField> <_x003C_IsTrial_x003E_k__BackingField>true</_x003C_IsTrial_x003E_k__BackingField> <_x003C_Lang_x003E_k__BackingField>sample string 8</_x003C_Lang_x003E_k__BackingField> <_x003C_LogoPic_x003E_k__BackingField>sample string 6</_x003C_LogoPic_x003E_k__BackingField> <_x003C_MSLicence_x003E_k__BackingField>sample string 9</_x003C_MSLicence_x003E_k__BackingField> <_x003C_ModifiedBy_x003E_k__BackingField>sample string 5</_x003C_ModifiedBy_x003E_k__BackingField> <_x003C_ModifiedDate_x003E_k__BackingField>2026-02-04T09:47:46.9292394+07:00</_x003C_ModifiedDate_x003E_k__BackingField> <_x003C_RegisteredDate_x003E_k__BackingField>2026-02-04T09:47:46.9292394+07:00</_x003C_RegisteredDate_x003E_k__BackingField> <_x003C_ThemeColor_x003E_k__BackingField>sample string 7</_x003C_ThemeColor_x003E_k__BackingField> <_x003C_TotalUser_x003E_k__BackingField>1</_x003C_TotalUser_x003E_k__BackingField> </MSTAccount>
application/x-www-form-urlencoded
Sample:
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. |