Data exchange services
Click here for a complete list of operations.
getONAPEIAReport
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WSS_IEAT.asmx HTTP/1.1 Host: dxg-services.ieat.go.th Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/getONAPEIAReport" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthHeader xmlns="http://tempuri.org/"> <Username>string</Username> <Password>string</Password> </AuthHeader> </soap:Header> <soap:Body> <getONAPEIAReport xmlns="http://tempuri.org/"> <search_text>string</search_text> <start_date>string</start_date> <end_date>string</end_date> <reference_number>string</reference_number> <project_type>string</project_type> <is_approve>string</is_approve> <sort_by>string</sort_by> <page>string</page> </getONAPEIAReport> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getONAPEIAReportResponse xmlns="http://tempuri.org/"> <getONAPEIAReportResult xmlns="http://www.ieat.go.th/ieatlink/diw/type"> <Return> <item> <Type>string</Type> <Page>string</Page> <Contents xsi:nil="true" /> <code>string</code> <name>string</name> <category>string</category> <state>string</state> <sent_date>string</sent_date> <status>string</status> <status_date>string</status_date> <reference_number>string</reference_number> </item> <item> <Type>string</Type> <Page>string</Page> <Contents xsi:nil="true" /> <code>string</code> <name>string</name> <category>string</category> <state>string</state> <sent_date>string</sent_date> <status>string</status> <status_date>string</status_date> <reference_number>string</reference_number> </item> </Return> </getONAPEIAReportResult> </getONAPEIAReportResponse> </soap:Body> </soap:Envelope>