get, request, attachment, path, api, request, response, send, soap, rest, get, post, put, delete

Method GetRequestAttachmentPath

API

Gets Request Attachment Path value

Watch this video to learn how to use this method

Have a problem with playback?
GetRequestAttachmentPath returns API request attachment path Let's see Sum API method We can see there is one attacment configured Name is Test, path is "test path" So we will use GetRequestAttachmentPath along with messagebox to read and output this value during runtime. Run the script and we can see the message box shows "test path"

Usage

Function GetRequestAttachmentPath(
    String Name
)

CreateBook

GetReq...Path

book

Name

Parameters

Name

Type: String

The name of the Attachment

Returns

Attachment Path

Example

VBScript

msgbox Server("API Server").Method("CreateBook").GetRequestAttachmentPath("book")

JavaScript

alert(Server("API Server").Method("CreateBook").GetRequestAttachmentPath("book"));

Variable

path

GetReq...Path

book

ZAP Utility

Zap.Comm...Box

Zap.Var...("path")

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227