POST TKB_Ky/HoatDongKhac_DH_Save
Request Information
URI Parameters
None.
Body Parameters
RQ_HoatDongKhac_DH_DtoName | Description | Type | Additional information |
---|---|---|---|
lstID | Collection of integer |
None. |
|
PAGE | RequestPageDto |
None. |
|
FILTER | string |
None. |
|
AccessToken | string |
None. |
|
obj | HoatDongKhac_DH_Dto |
None. |
Request Formats
application/json, text/json
Sample:
{ "obj": { "ID": 1, "MaGV": "sample string 2", "HSHoatDongKhac_ID": 1, "TERM_ID": "sample string 3", "SoLuong": 1.1, "LinkMinhChung": "sample string 4", "TrangThai": "sample string 5", "CreateDtime": "2024-11-21T17:00:41.9561514+07:00", "UpdateDtime": "2024-11-21T17:00:41.9561514+07:00", "ApproveDtime": "2024-11-21T17:00:41.9561514+07:00", "QuyDoiGioGiang": 1.1, "TenHoatDong": "sample string 6", "TenNamHoc": "sample string 7" }, "lstID": [ 1, 2 ], "PAGE": { "PAGE": 1, "COUNT_ONE_PAGE": 2 }, "FILTER": "sample string 1", "AccessToken": "sample string 2" }
application/xml, text/xml
Sample:
<RQ_HoatDongKhac_DH_Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang"> <AccessToken>sample string 2</AccessToken> <FILTER>sample string 1</FILTER> <PAGE> <COUNT_ONE_PAGE>2</COUNT_ONE_PAGE> <PAGE>1</PAGE> </PAGE> <lstID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </lstID> <obj xmlns:d2p1="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang.Dto"> <d2p1:ApproveDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:ApproveDtime> <d2p1:CreateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:CreateDtime> <d2p1:HSHoatDongKhac_ID>1</d2p1:HSHoatDongKhac_ID> <d2p1:ID>1</d2p1:ID> <d2p1:LinkMinhChung>sample string 4</d2p1:LinkMinhChung> <d2p1:MaGV>sample string 2</d2p1:MaGV> <d2p1:QuyDoiGioGiang>1.1</d2p1:QuyDoiGioGiang> <d2p1:SoLuong>1.1</d2p1:SoLuong> <d2p1:TERM_ID>sample string 3</d2p1:TERM_ID> <d2p1:TenHoatDong>sample string 6</d2p1:TenHoatDong> <d2p1:TenNamHoc>sample string 7</d2p1:TenNamHoc> <d2p1:TrangThai>sample string 5</d2p1:TrangThai> <d2p1:UpdateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:UpdateDtime> </obj> </RQ_HoatDongKhac_DH_Dto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RT_HoatDongKhac_DH_DtoName | Description | Type | Additional information |
---|---|---|---|
LIST_DATA | Collection of HoatDongKhac_DH_Dto |
None. |
|
PAGE | ResultPageDto |
None. |
|
MSG | ResultMessageDto |
None. |
|
ID | integer |
None. |
|
AccessToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "LIST_DATA": [ { "ID": 1, "MaGV": "sample string 2", "HSHoatDongKhac_ID": 1, "TERM_ID": "sample string 3", "SoLuong": 1.1, "LinkMinhChung": "sample string 4", "TrangThai": "sample string 5", "CreateDtime": "2024-11-21T17:00:41.9561514+07:00", "UpdateDtime": "2024-11-21T17:00:41.9561514+07:00", "ApproveDtime": "2024-11-21T17:00:41.9561514+07:00", "QuyDoiGioGiang": 1.1, "TenHoatDong": "sample string 6", "TenNamHoc": "sample string 7" }, { "ID": 1, "MaGV": "sample string 2", "HSHoatDongKhac_ID": 1, "TERM_ID": "sample string 3", "SoLuong": 1.1, "LinkMinhChung": "sample string 4", "TrangThai": "sample string 5", "CreateDtime": "2024-11-21T17:00:41.9561514+07:00", "UpdateDtime": "2024-11-21T17:00:41.9561514+07:00", "ApproveDtime": "2024-11-21T17:00:41.9561514+07:00", "QuyDoiGioGiang": 1.1, "TenHoatDong": "sample string 6", "TenNamHoc": "sample string 7" } ], "PAGE": { "COUNT": 1, "TOTAL_PAGE": 2, "PAGE": 3, "COUNT_ONE_PAGE": 4 }, "MSG": { "CODE": 0, "ERROR_CODE": "sample string 1", "MESSAGE": "sample string 2", "ERR": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "ERR_MESSAGE": "sample string 3" }, "ID": 1, "AccessToken": "sample string 1" }
application/xml, text/xml
Sample:
<RT_HoatDongKhac_DH_Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang"> <AccessToken>sample string 1</AccessToken> <ID>1</ID> <MSG> <CODE>NOT_SUCCESS</CODE> <ERR xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult> <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </ERR> <ERROR_CODE>sample string 1</ERROR_CODE> <ERR_MESSAGE>sample string 3</ERR_MESSAGE> <MESSAGE>sample string 2</MESSAGE> </MSG> <PAGE> <COUNT>1</COUNT> <COUNT_ONE_PAGE>4</COUNT_ONE_PAGE> <PAGE>3</PAGE> <TOTAL_PAGE>2</TOTAL_PAGE> </PAGE> <LIST_DATA xmlns:d2p1="http://schemas.datacontract.org/2004/07/UEB.ThongKeGioGiang.Dto"> <d2p1:HoatDongKhac_DH_Dto> <d2p1:ApproveDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:ApproveDtime> <d2p1:CreateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:CreateDtime> <d2p1:HSHoatDongKhac_ID>1</d2p1:HSHoatDongKhac_ID> <d2p1:ID>1</d2p1:ID> <d2p1:LinkMinhChung>sample string 4</d2p1:LinkMinhChung> <d2p1:MaGV>sample string 2</d2p1:MaGV> <d2p1:QuyDoiGioGiang>1.1</d2p1:QuyDoiGioGiang> <d2p1:SoLuong>1.1</d2p1:SoLuong> <d2p1:TERM_ID>sample string 3</d2p1:TERM_ID> <d2p1:TenHoatDong>sample string 6</d2p1:TenHoatDong> <d2p1:TenNamHoc>sample string 7</d2p1:TenNamHoc> <d2p1:TrangThai>sample string 5</d2p1:TrangThai> <d2p1:UpdateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:UpdateDtime> </d2p1:HoatDongKhac_DH_Dto> <d2p1:HoatDongKhac_DH_Dto> <d2p1:ApproveDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:ApproveDtime> <d2p1:CreateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:CreateDtime> <d2p1:HSHoatDongKhac_ID>1</d2p1:HSHoatDongKhac_ID> <d2p1:ID>1</d2p1:ID> <d2p1:LinkMinhChung>sample string 4</d2p1:LinkMinhChung> <d2p1:MaGV>sample string 2</d2p1:MaGV> <d2p1:QuyDoiGioGiang>1.1</d2p1:QuyDoiGioGiang> <d2p1:SoLuong>1.1</d2p1:SoLuong> <d2p1:TERM_ID>sample string 3</d2p1:TERM_ID> <d2p1:TenHoatDong>sample string 6</d2p1:TenHoatDong> <d2p1:TenNamHoc>sample string 7</d2p1:TenNamHoc> <d2p1:TrangThai>sample string 5</d2p1:TrangThai> <d2p1:UpdateDtime>2024-11-21T17:00:41.9561514+07:00</d2p1:UpdateDtime> </d2p1:HoatDongKhac_DH_Dto> </LIST_DATA> </RT_HoatDongKhac_DH_Dto>