POST api/LineApprove/Save
Request Information
URI Parameters
None.
Body Parameters
TRNLineApproveName | Description | Type | Additional information |
---|---|---|---|
LineApproveId | integer |
None. |
|
MemoId | integer |
None. |
|
Seq | integer |
None. |
|
EmployeeId | integer |
None. |
|
EmployeeCode | string |
String length: inclusive between 0 and 50 |
|
NameTh | string |
String length: inclusive between 0 and 500 |
|
NameEn | string |
String length: inclusive between 0 and 500 |
|
PositionTH | string |
String length: inclusive between 0 and 500 |
|
PositionEN | string |
String length: inclusive between 0 and 500 |
|
SignatureId | integer |
None. |
|
SignatureTh | string |
String length: inclusive between 0 and 500 |
|
SignatureEn | string |
String length: inclusive between 0 and 500 |
|
IsActive | boolean |
None. |
|
AccountId | integer |
None. |
|
TemLineId | integer |
None. |
|
ApproveType | integer |
None. |
|
LineApproveSeq | integer |
None. |
|
IsParallel | boolean |
None. |
|
IsApproveAll | boolean |
None. |
|
ApproveSlot | integer |
None. |
|
UserAction | boolean |
None. |
|
IsSpecific | boolean |
None. |
|
IsSpecificLOC | boolean |
None. |
|
ApproveLOC_MaxLevelId | integer |
None. |
|
ColumnJsonCondValue | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LineApproveId": 1, "MemoId": 1, "Seq": 2, "EmployeeId": 1, "EmployeeCode": "sample string 3", "NameTh": "sample string 4", "NameEn": "sample string 5", "PositionTH": "sample string 6", "PositionEN": "sample string 7", "SignatureId": 1, "SignatureTh": "sample string 8", "SignatureEn": "sample string 9", "IsActive": true, "AccountId": 1, "TemLineId": 1, "ApproveType": 1, "LineApproveSeq": 1, "IsParallel": true, "IsApproveAll": true, "ApproveSlot": 1, "UserAction": true, "IsSpecific": true, "IsSpecificLOC": true, "ApproveLOC_MaxLevelId": 1, "ColumnJsonCondValue": "sample string 10" }
application/xml, text/xml
Sample:
<TRNLineApprove xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WolfApprove.Model"> <_x003C_AccountId_x003E_k__BackingField>1</_x003C_AccountId_x003E_k__BackingField> <_x003C_ApproveLOC_MaxLevelId_x003E_k__BackingField>1</_x003C_ApproveLOC_MaxLevelId_x003E_k__BackingField> <_x003C_ApproveSlot_x003E_k__BackingField>1</_x003C_ApproveSlot_x003E_k__BackingField> <_x003C_ApproveType_x003E_k__BackingField>1</_x003C_ApproveType_x003E_k__BackingField> <_x003C_ColumnJsonCondValue_x003E_k__BackingField>sample string 10</_x003C_ColumnJsonCondValue_x003E_k__BackingField> <_x003C_EmployeeCode_x003E_k__BackingField>sample string 3</_x003C_EmployeeCode_x003E_k__BackingField> <_x003C_EmployeeId_x003E_k__BackingField>1</_x003C_EmployeeId_x003E_k__BackingField> <_x003C_IsActive_x003E_k__BackingField>true</_x003C_IsActive_x003E_k__BackingField> <_x003C_IsApproveAll_x003E_k__BackingField>true</_x003C_IsApproveAll_x003E_k__BackingField> <_x003C_IsParallel_x003E_k__BackingField>true</_x003C_IsParallel_x003E_k__BackingField> <_x003C_IsSpecificLOC_x003E_k__BackingField>true</_x003C_IsSpecificLOC_x003E_k__BackingField> <_x003C_IsSpecific_x003E_k__BackingField>true</_x003C_IsSpecific_x003E_k__BackingField> <_x003C_LineApproveId_x003E_k__BackingField>1</_x003C_LineApproveId_x003E_k__BackingField> <_x003C_LineApproveSeq_x003E_k__BackingField>1</_x003C_LineApproveSeq_x003E_k__BackingField> <_x003C_MemoId_x003E_k__BackingField>1</_x003C_MemoId_x003E_k__BackingField> <_x003C_NameEn_x003E_k__BackingField>sample string 5</_x003C_NameEn_x003E_k__BackingField> <_x003C_NameTh_x003E_k__BackingField>sample string 4</_x003C_NameTh_x003E_k__BackingField> <_x003C_PositionEN_x003E_k__BackingField>sample string 7</_x003C_PositionEN_x003E_k__BackingField> <_x003C_PositionTH_x003E_k__BackingField>sample string 6</_x003C_PositionTH_x003E_k__BackingField> <_x003C_Seq_x003E_k__BackingField>2</_x003C_Seq_x003E_k__BackingField> <_x003C_SignatureEn_x003E_k__BackingField>sample string 9</_x003C_SignatureEn_x003E_k__BackingField> <_x003C_SignatureId_x003E_k__BackingField>1</_x003C_SignatureId_x003E_k__BackingField> <_x003C_SignatureTh_x003E_k__BackingField>sample string 8</_x003C_SignatureTh_x003E_k__BackingField> <_x003C_TemLineId_x003E_k__BackingField>1</_x003C_TemLineId_x003E_k__BackingField> <_x003C_UserAction_x003E_k__BackingField>true</_x003C_UserAction_x003E_k__BackingField> </TRNLineApprove>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |