Ekleri görüntülemek için bu yöntemi kullanın.
<tns:getAttachments xmlns:tns="http://www.ca.com/itpam"> <tns:auth> <!--xsd:Choice Type--> <tns:token>token__</tns:token> <tns:user>Joe</tns:user> <tns:password>benimparolam</tns:password> <tns:auth> <tns:filter> <tns:contentId>111</tns:contentId> <tns:contentType>text/html</tns:contentType> </tns:filter> </tns:getAttachments>
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header/> <SOAP-ENV:Body><tns:getAttachments xmlns:tns="http://www.ca.com/itpam"> <tns:auth> <tns:user>Joe</tns:user> <tns:password>benimparolam</tns:password> <tns:auth> <tns:filter> <tns:contentId>111</tns:contentId> <tns:contentType>text/html</tns:contentType> </tns:filter>
</getAttachments></SOAP-ENV:Body></SOAP-ENV:Envelope>
<filter> etiketi, içerik kimliğine ve ekin içerik tipine (isteğe bağlı) bağlı olarak yanıtı filtreler.
<contentId>, ekin içerik kimliğini belirtir (isteğe bağlı).
<contentType>, ekin içerik Tipi'ni belirtir (isteğe bağlı).
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <getAttachmentsResponse xmlns="http://www.ca.com/itpam"> <attachments> <attachment> <attachmentID>1</attachmentID> <name>test</name> <contentId>111</contentId> <contentType>text/html</contentType> </attachment> </attachments> </getAttachmentsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Bulunan her ek için yanıtta bir <attachment> etiketi olur.
Her bir ek etiketi için aşağıdaki etiketler vardır:
<attachmentID>, ekin Ek Kimliği'ni belirtir.
<name>, ekin adını belirtir.
<contentId>, ekin içerik kimliğini belirtir.
<contentType>, ekin içerik tipini belirtir.
|
Telif Hakkı © 2013 CA.
Tüm hakları saklıdır.
|
|