APMCWebService
Click here for a complete list of operations.
LocalSync
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 /APMCWebService.asmx HTTP/1.1
Host: service.apmcnarela.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/LocalSync"
<?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>
<LocalSync xmlns="http://tempuri.org/">
<lstGatespassRecords>
<apmc_tbl_gatepass>
<gp_id>int</gp_id>
<gp_no>long</gp_no>
<gp_type>string</gp_type>
<gp_place_origin>string</gp_place_origin>
<gp_suborigin>string</gp_suborigin>
<gp_origin_type>string</gp_origin_type>
<gp_vehicle_no>string</gp_vehicle_no>
<gp_bilty_no>string</gp_bilty_no>
<gp_vehicle_type>string</gp_vehicle_type>
<gp_entry_date>dateTime</gp_entry_date>
<gp_entry_datetime>dateTime</gp_entry_datetime>
<gp_ptfee>int</gp_ptfee>
<gp_operator_name>string</gp_operator_name>
<gp_ipaddr>string</gp_ipaddr>
<gp_updatedby_ip>string</gp_updatedby_ip>
<gp_upd_by>int</gp_upd_by>
<gp_updated_date>dateTime</gp_updated_date>
<gp_remark>string</gp_remark>
<gp_status>string</gp_status>
<gp_smsFlag>string</gp_smsFlag>
<gp_mailFlag>string</gp_mailFlag>
<gp_flag3>string</gp_flag3>
<gp_time />
<gp_print_counter>int</gp_print_counter>
<gp_Reprint_Remark>string</gp_Reprint_Remark>
<gp_is_return>boolean</gp_is_return>
<gp_is_transfred_auction>boolean</gp_is_transfred_auction>
<lstGatepassCommodity>
<apmc_tbl_gatepass_commodity xsi:nil="true" />
<apmc_tbl_gatepass_commodity xsi:nil="true" />
</lstGatepassCommodity>
</apmc_tbl_gatepass>
<apmc_tbl_gatepass>
<gp_id>int</gp_id>
<gp_no>long</gp_no>
<gp_type>string</gp_type>
<gp_place_origin>string</gp_place_origin>
<gp_suborigin>string</gp_suborigin>
<gp_origin_type>string</gp_origin_type>
<gp_vehicle_no>string</gp_vehicle_no>
<gp_bilty_no>string</gp_bilty_no>
<gp_vehicle_type>string</gp_vehicle_type>
<gp_entry_date>dateTime</gp_entry_date>
<gp_entry_datetime>dateTime</gp_entry_datetime>
<gp_ptfee>int</gp_ptfee>
<gp_operator_name>string</gp_operator_name>
<gp_ipaddr>string</gp_ipaddr>
<gp_updatedby_ip>string</gp_updatedby_ip>
<gp_upd_by>int</gp_upd_by>
<gp_updated_date>dateTime</gp_updated_date>
<gp_remark>string</gp_remark>
<gp_status>string</gp_status>
<gp_smsFlag>string</gp_smsFlag>
<gp_mailFlag>string</gp_mailFlag>
<gp_flag3>string</gp_flag3>
<gp_time />
<gp_print_counter>int</gp_print_counter>
<gp_Reprint_Remark>string</gp_Reprint_Remark>
<gp_is_return>boolean</gp_is_return>
<gp_is_transfred_auction>boolean</gp_is_transfred_auction>
<lstGatepassCommodity>
<apmc_tbl_gatepass_commodity xsi:nil="true" />
<apmc_tbl_gatepass_commodity xsi:nil="true" />
</lstGatepassCommodity>
</apmc_tbl_gatepass>
</lstGatespassRecords>
</LocalSync>
</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>
<LocalSyncResponse xmlns="http://tempuri.org/">
<LocalSyncResult>boolean</LocalSyncResult>
</LocalSyncResponse>
</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 /APMCWebService.asmx HTTP/1.1
Host: service.apmcnarela.com
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>
<LocalSync xmlns="http://tempuri.org/">
<lstGatespassRecords>
<apmc_tbl_gatepass>
<gp_id>int</gp_id>
<gp_no>long</gp_no>
<gp_type>string</gp_type>
<gp_place_origin>string</gp_place_origin>
<gp_suborigin>string</gp_suborigin>
<gp_origin_type>string</gp_origin_type>
<gp_vehicle_no>string</gp_vehicle_no>
<gp_bilty_no>string</gp_bilty_no>
<gp_vehicle_type>string</gp_vehicle_type>
<gp_entry_date>dateTime</gp_entry_date>
<gp_entry_datetime>dateTime</gp_entry_datetime>
<gp_ptfee>int</gp_ptfee>
<gp_operator_name>string</gp_operator_name>
<gp_ipaddr>string</gp_ipaddr>
<gp_updatedby_ip>string</gp_updatedby_ip>
<gp_upd_by>int</gp_upd_by>
<gp_updated_date>dateTime</gp_updated_date>
<gp_remark>string</gp_remark>
<gp_status>string</gp_status>
<gp_smsFlag>string</gp_smsFlag>
<gp_mailFlag>string</gp_mailFlag>
<gp_flag3>string</gp_flag3>
<gp_time />
<gp_print_counter>int</gp_print_counter>
<gp_Reprint_Remark>string</gp_Reprint_Remark>
<gp_is_return>boolean</gp_is_return>
<gp_is_transfred_auction>boolean</gp_is_transfred_auction>
<lstGatepassCommodity>
<apmc_tbl_gatepass_commodity xsi:nil="true" />
<apmc_tbl_gatepass_commodity xsi:nil="true" />
</lstGatepassCommodity>
</apmc_tbl_gatepass>
<apmc_tbl_gatepass>
<gp_id>int</gp_id>
<gp_no>long</gp_no>
<gp_type>string</gp_type>
<gp_place_origin>string</gp_place_origin>
<gp_suborigin>string</gp_suborigin>
<gp_origin_type>string</gp_origin_type>
<gp_vehicle_no>string</gp_vehicle_no>
<gp_bilty_no>string</gp_bilty_no>
<gp_vehicle_type>string</gp_vehicle_type>
<gp_entry_date>dateTime</gp_entry_date>
<gp_entry_datetime>dateTime</gp_entry_datetime>
<gp_ptfee>int</gp_ptfee>
<gp_operator_name>string</gp_operator_name>
<gp_ipaddr>string</gp_ipaddr>
<gp_updatedby_ip>string</gp_updatedby_ip>
<gp_upd_by>int</gp_upd_by>
<gp_updated_date>dateTime</gp_updated_date>
<gp_remark>string</gp_remark>
<gp_status>string</gp_status>
<gp_smsFlag>string</gp_smsFlag>
<gp_mailFlag>string</gp_mailFlag>
<gp_flag3>string</gp_flag3>
<gp_time />
<gp_print_counter>int</gp_print_counter>
<gp_Reprint_Remark>string</gp_Reprint_Remark>
<gp_is_return>boolean</gp_is_return>
<gp_is_transfred_auction>boolean</gp_is_transfred_auction>
<lstGatepassCommodity>
<apmc_tbl_gatepass_commodity xsi:nil="true" />
<apmc_tbl_gatepass_commodity xsi:nil="true" />
</lstGatepassCommodity>
</apmc_tbl_gatepass>
</lstGatespassRecords>
</LocalSync>
</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>
<LocalSyncResponse xmlns="http://tempuri.org/">
<LocalSyncResult>boolean</LocalSyncResult>
</LocalSyncResponse>
</soap12:Body>
</soap12:Envelope>