Service
Click here for a complete list of operations.
GetPriceCalculation
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /arascargoservice.asmx HTTP/1.1
Host: customerws.araskargo.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetPriceCalculation"
<?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>
<GetPriceCalculation xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<desi>decimal</desi>
<gonderici_ilkodu>string</gonderici_ilkodu>
<alici_ilkodu>string</alici_ilkodu>
<serviceid>string</serviceid>
<ekserviceid>string</ekserviceid>
<ek1serviceid>string</ek1serviceid>
<ek2serviceid>string</ek2serviceid>
<ek3serviceid>string</ek3serviceid>
<ek4serviceid>string</ek4serviceid>
<ek5serviceid>string</ek5serviceid>
<ek6serviceid>string</ek6serviceid>
<ek7serviceid>string</ek7serviceid>
</GetPriceCalculation>
</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>
<GetPriceCalculationResponse xmlns="http://tempuri.org/">
<GetPriceCalculationResult>xmlxml</GetPriceCalculationResult>
</GetPriceCalculationResponse>
</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 /arascargoservice.asmx HTTP/1.1
Host: customerws.araskargo.com.tr
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>
<GetPriceCalculation xmlns="http://tempuri.org/">
<username>string</username>
<password>string</password>
<desi>decimal</desi>
<gonderici_ilkodu>string</gonderici_ilkodu>
<alici_ilkodu>string</alici_ilkodu>
<serviceid>string</serviceid>
<ekserviceid>string</ekserviceid>
<ek1serviceid>string</ek1serviceid>
<ek2serviceid>string</ek2serviceid>
<ek3serviceid>string</ek3serviceid>
<ek4serviceid>string</ek4serviceid>
<ek5serviceid>string</ek5serviceid>
<ek6serviceid>string</ek6serviceid>
<ek7serviceid>string</ek7serviceid>
</GetPriceCalculation>
</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>
<GetPriceCalculationResponse xmlns="http://tempuri.org/">
<GetPriceCalculationResult>xmlxml</GetPriceCalculationResult>
</GetPriceCalculationResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /arascargoservice.asmx/GetPriceCalculation?username=string&password=string&desi=string&gonderici_ilkodu=string&alici_ilkodu=string&serviceid=string&ekserviceid=string&ek1serviceid=string&ek2serviceid=string&ek3serviceid=string&ek4serviceid=string&ek5serviceid=string&ek6serviceid=string&ek7serviceid=string HTTP/1.1 Host: customerws.araskargo.com.tr
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataTable xmlns="http://tempuri.org/">xmlxml</DataTable>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /arascargoservice.asmx/GetPriceCalculation HTTP/1.1 Host: customerws.araskargo.com.tr Content-Type: application/x-www-form-urlencoded Content-Length: length username=string&password=string&desi=string&gonderici_ilkodu=string&alici_ilkodu=string&serviceid=string&ekserviceid=string&ek1serviceid=string&ek2serviceid=string&ek3serviceid=string&ek4serviceid=string&ek5serviceid=string&ek6serviceid=string&ek7serviceid=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <DataTable xmlns="http://tempuri.org/">xmlxml</DataTable>