list_attachments

To see all the files attached to the order, use:

Copied!
svc=order/list_attachments&params={"itemId":<long>,
				   "id":<uint>}

Parameters

Name Description
itemId Resource ID.
id Order ID within the resource.

Response

Copied!
[
	{
	    "n":"<text>",	/* file name */
	    "s":<uint>,	/* size, bytes */
	    "ct":<uint>,	/* creation time */
	    "mt":<uint>	/* last modification time */
	},
	...
]


Error codes

Error code Description
7 Invalid resource ID.
5 No orders found.

If you find a mistake in the text, please select it and press Ctrl+Enter.