|
CheckCardByCID
|
|
********
|
|
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 /CheckCardStatus/CheckCardService.asmx HTTP/1.1
|
|
Host: idcard.bora.dopa.go.th
|
|
Content-Type: text/xml; charset=utf-8
|
|
Content-Length: length
|
|
SOAPAction: "http://tempuri.org/CheckCardByCID"
|
|
|
|
<?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>
|
|
<CheckCardByCID xmlns="http://tempuri.org/">
|
|
<ChipNo>string</ChipNo>
|
|
<pid>string</pid>
|
|
<bp1no>string</bp1no>
|
|
</CheckCardByCID>
|
|
</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>
|
|
<CheckCardByCIDResponse xmlns="http://tempuri.org/">
|
|
<CheckCardByCIDResult>
|
|
<Code>unsignedShort</Code>
|
|
<Desc>string</Desc>
|
|
</CheckCardByCIDResult>
|
|
</CheckCardByCIDResponse>
|
|
</soap:Body>
|
|
</soap:Envelope>
|
|
|
|
SOAP 1.2
|
|
|
|
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
|
|
|
|
POST /CheckCardStatus/CheckCardService.asmx HTTP/1.1
|
|
Host: idcard.bora.dopa.go.th
|
|
Content-Type: application/soap+xml; charset=utf-8
|
|
Content-Length: length
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
|
|
<soap12:Body>
|
|
<CheckCardByCID xmlns="http://tempuri.org/">
|
|
<ChipNo>string</ChipNo>
|
|
<pid>string</pid>
|
|
<bp1no>string</bp1no>
|
|
</CheckCardByCID>
|
|
</soap12:Body>
|
|
</soap12:Envelope>
|
|
|
|
HTTP/1.1 200 OK
|
|
Content-Type: application/soap+xml; charset=utf-8
|
|
Content-Length: length
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
|
|
<soap12:Body>
|
|
<CheckCardByCIDResponse xmlns="http://tempuri.org/">
|
|
<CheckCardByCIDResult>
|
|
<Code>unsignedShort</Code>
|
|
<Desc>string</Desc>
|
|
</CheckCardByCIDResult>
|
|
</CheckCardByCIDResponse>
|
|
</soap12:Body>
|
|
</soap12:Envelope>
|
|
***************************
|
|
CheckCardByLaser
|
|
|
|
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 /CheckCardStatus/CheckCardService.asmx HTTP/1.1
|
|
Host: idcard.bora.dopa.go.th
|
|
Content-Type: text/xml; charset=utf-8
|
|
Content-Length: length
|
|
SOAPAction: "http://tempuri.org/CheckCardByLaser"
|
|
|
|
<?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>
|
|
<CheckCardByLaser xmlns="http://tempuri.org/">
|
|
<PID>string</PID>
|
|
<FirstName>string</FirstName>
|
|
<LastName>string</LastName>
|
|
<BirthDay>string</BirthDay>
|
|
<Laser>string</Laser>
|
|
</CheckCardByLaser>
|
|
</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>
|
|
<CheckCardByLaserResponse xmlns="http://tempuri.org/">
|
|
<CheckCardByLaserResult>
|
|
<Code>unsignedShort</Code>
|
|
<Desc>string</Desc>
|
|
</CheckCardByLaserResult>
|
|
</CheckCardByLaserResponse>
|
|
</soap:Body>
|
|
</soap:Envelope>
|
|
|
|
SOAP 1.2
|
|
|
|
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
|
|
|
|
POST /CheckCardStatus/CheckCardService.asmx HTTP/1.1
|
|
Host: idcard.bora.dopa.go.th
|
|
Content-Type: application/soap+xml; charset=utf-8
|
|
Content-Length: length
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
|
|
<soap12:Body>
|
|
<CheckCardByLaser xmlns="http://tempuri.org/">
|
|
<PID>string</PID>
|
|
<FirstName>string</FirstName>
|
|
<LastName>string</LastName>
|
|
<BirthDay>string</BirthDay>
|
|
<Laser>string</Laser>
|
|
</CheckCardByLaser>
|
|
</soap12:Body>
|
|
</soap12:Envelope>
|
|
|
|
HTTP/1.1 200 OK
|
|
Content-Type: application/soap+xml; charset=utf-8
|
|
Content-Length: length
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
|
|
<soap12:Body>
|
|
<CheckCardByLaserResponse xmlns="http://tempuri.org/">
|
|
<CheckCardByLaserResult>
|
|
<Code>unsignedShort</Code>
|
|
<Desc>string</Desc>
|
|
</CheckCardByLaserResult>
|
|
</CheckCardByLaserResponse>
|
|
</soap12:Body>
|
|
</soap12:Envelope>
|
|
|
|
*****************
|
|
|
|
|
|
|
|
|
|
|