Bu metod ile mağazanızın kargo profil bilgilerini almanıza olanak tanır.
https://ws.pttavm.com:93/service.svc HTTP/1.1POSTtext/xml;charset=UTF-8968http://tempuri.org/IService/GetCargoProfilesws.pttavm.com:93
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:GetCargoProfiles/>
</soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<ActivityId CorrelationId="70937a1f-49ee-4dba-b1ce-dcec1aeb84bd" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2025-04-28T11:13:36.519Z</u:Created>
<u:Expires>2025-04-28T11:18:36.519Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<GetCargoProfilesResponse xmlns="http://tempuri.org/">
<GetCargoProfilesResult xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:CargoProfileModel>
<a:Description>ahbhfbehfb fewhbhfhwejbfwhu</a:Description>
<a:Id>24622</a:Id>
<a:Name>test ecem</a:Name>
<a:Type>primary</a:Type>
</a:CargoProfileModel>
<a:CargoProfileModel>
<a:Description>sdfsfd</a:Description>
<a:Id>2126</a:Id>
<a:Name>dsfsf</a:Name>
<a:Type/>
</a:CargoProfileModel>
</GetCargoProfilesResult>
</GetCargoProfilesResponse>
</s:Body>
</s:Envelope>
| Parametre | Tür | Açıklama |
|---|---|---|
| Description | string | Profil açıklaması |
| Id | integer | Profil ID bilgisi |
| Name | string | Profil adı |
| Type | string | Gönderi profili türüdür. Öncelik 10 ise "birincil", 1 ise "ikincil", bunlardan farklı ise "" değer dönecektir |