SystemService
Click here for a complete list of operations.
caRegisterCustomer
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 /SoaSystemServiceCT/SystemService.asmx HTTP/1.1
Host: 103.248.160.15
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/caRegisterCustomer"
<?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>
<caRegisterCustomer xmlns="http://tempuri.org/">
<objInput>
<EMAIL xmlns="http://customs.gov.vn/dichvucong/soa">string</EMAIL>
<PASSWORD xmlns="http://customs.gov.vn/dichvucong/soa">string</PASSWORD>
<TYPEID xmlns="http://customs.gov.vn/dichvucong/soa">string</TYPEID>
<FULLNAME xmlns="http://customs.gov.vn/dichvucong/soa">string</FULLNAME>
<SHORTNAME xmlns="http://customs.gov.vn/dichvucong/soa">string</SHORTNAME>
<OWNERCODE xmlns="http://customs.gov.vn/dichvucong/soa">string</OWNERCODE>
<BIRTHDAY xmlns="http://customs.gov.vn/dichvucong/soa">string</BIRTHDAY>
<SEX xmlns="http://customs.gov.vn/dichvucong/soa">string</SEX>
<ADDRESS xmlns="http://customs.gov.vn/dichvucong/soa">string</ADDRESS>
<PHONE xmlns="http://customs.gov.vn/dichvucong/soa">string</PHONE>
<FAX xmlns="http://customs.gov.vn/dichvucong/soa">string</FAX>
<REPRESENTATION xmlns="http://customs.gov.vn/dichvucong/soa">string</REPRESENTATION>
<REGENCY xmlns="http://customs.gov.vn/dichvucong/soa">string</REGENCY>
<NOTE xmlns="http://customs.gov.vn/dichvucong/soa">string</NOTE>
<CREATEDDATE xmlns="http://customs.gov.vn/dichvucong/soa">string</CREATEDDATE>
<STATUSID xmlns="http://customs.gov.vn/dichvucong/soa">string</STATUSID>
<PROVINCEID xmlns="http://customs.gov.vn/dichvucong/soa">string</PROVINCEID>
<DISTRICTID xmlns="http://customs.gov.vn/dichvucong/soa">string</DISTRICTID>
<COUNTRYID xmlns="http://customs.gov.vn/dichvucong/soa">string</COUNTRYID>
</objInput>
</caRegisterCustomer>
</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>
<caRegisterCustomerResponse xmlns="http://tempuri.org/">
<caRegisterCustomerResult>
<Code xmlns="http://customs.gov.vn/dichvucong/soa">string</Code>
<Message xmlns="http://customs.gov.vn/dichvucong/soa">string</Message>
<CustomerId xmlns="http://customs.gov.vn/dichvucong/soa">string</CustomerId>
<CustomerGUID xmlns="http://customs.gov.vn/dichvucong/soa">string</CustomerGUID>
</caRegisterCustomerResult>
</caRegisterCustomerResponse>
</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 /SoaSystemServiceCT/SystemService.asmx HTTP/1.1
Host: 103.248.160.15
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>
<caRegisterCustomer xmlns="http://tempuri.org/">
<objInput>
<EMAIL xmlns="http://customs.gov.vn/dichvucong/soa">string</EMAIL>
<PASSWORD xmlns="http://customs.gov.vn/dichvucong/soa">string</PASSWORD>
<TYPEID xmlns="http://customs.gov.vn/dichvucong/soa">string</TYPEID>
<FULLNAME xmlns="http://customs.gov.vn/dichvucong/soa">string</FULLNAME>
<SHORTNAME xmlns="http://customs.gov.vn/dichvucong/soa">string</SHORTNAME>
<OWNERCODE xmlns="http://customs.gov.vn/dichvucong/soa">string</OWNERCODE>
<BIRTHDAY xmlns="http://customs.gov.vn/dichvucong/soa">string</BIRTHDAY>
<SEX xmlns="http://customs.gov.vn/dichvucong/soa">string</SEX>
<ADDRESS xmlns="http://customs.gov.vn/dichvucong/soa">string</ADDRESS>
<PHONE xmlns="http://customs.gov.vn/dichvucong/soa">string</PHONE>
<FAX xmlns="http://customs.gov.vn/dichvucong/soa">string</FAX>
<REPRESENTATION xmlns="http://customs.gov.vn/dichvucong/soa">string</REPRESENTATION>
<REGENCY xmlns="http://customs.gov.vn/dichvucong/soa">string</REGENCY>
<NOTE xmlns="http://customs.gov.vn/dichvucong/soa">string</NOTE>
<CREATEDDATE xmlns="http://customs.gov.vn/dichvucong/soa">string</CREATEDDATE>
<STATUSID xmlns="http://customs.gov.vn/dichvucong/soa">string</STATUSID>
<PROVINCEID xmlns="http://customs.gov.vn/dichvucong/soa">string</PROVINCEID>
<DISTRICTID xmlns="http://customs.gov.vn/dichvucong/soa">string</DISTRICTID>
<COUNTRYID xmlns="http://customs.gov.vn/dichvucong/soa">string</COUNTRYID>
</objInput>
</caRegisterCustomer>
</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>
<caRegisterCustomerResponse xmlns="http://tempuri.org/">
<caRegisterCustomerResult>
<Code xmlns="http://customs.gov.vn/dichvucong/soa">string</Code>
<Message xmlns="http://customs.gov.vn/dichvucong/soa">string</Message>
<CustomerId xmlns="http://customs.gov.vn/dichvucong/soa">string</CustomerId>
<CustomerGUID xmlns="http://customs.gov.vn/dichvucong/soa">string</CustomerGUID>
</caRegisterCustomerResult>
</caRegisterCustomerResponse>
</soap12:Body>
</soap12:Envelope>