POST api/Tasks/AttachListDocImage
Request Information
URI Parameters
None.
Body Parameters
Collection of AttachDocImageModelName | Description | Type | Additional information |
---|---|---|---|
DocID | globally unique identifier |
None. |
|
InstanceID | string |
None. |
|
UserId | integer |
None. |
|
ImageGUID | string |
None. |
|
FolderId | integer |
None. |
|
Source | Sources |
None. |
|
FileExtension | string |
None. |
|
OriginalFileName | string |
None. |
|
FileBase64 | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "DocID": "2c270bba-57db-459f-b096-a88f4f92d470", "InstanceID": "sample string 2", "UserId": 3, "ImageGUID": "sample string 4", "FolderId": 1, "Source": 0, "FileExtension": "sample string 5", "OriginalFileName": "sample string 6", "FileBase64": "sample string 7" }, { "DocID": "2c270bba-57db-459f-b096-a88f4f92d470", "InstanceID": "sample string 2", "UserId": 3, "ImageGUID": "sample string 4", "FolderId": 1, "Source": 0, "FileExtension": "sample string 5", "OriginalFileName": "sample string 6", "FileBase64": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfAttachmentsModel.AttachDocImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <AttachmentsModel.AttachDocImageModel> <DocID>2c270bba-57db-459f-b096-a88f4f92d470</DocID> <FileBase64>sample string 7</FileBase64> <FileExtension>sample string 5</FileExtension> <FolderId>1</FolderId> <ImageGUID>sample string 4</ImageGUID> <InstanceID>sample string 2</InstanceID> <OriginalFileName>sample string 6</OriginalFileName> <Source>Undefined</Source> <UserId>3</UserId> </AttachmentsModel.AttachDocImageModel> <AttachmentsModel.AttachDocImageModel> <DocID>2c270bba-57db-459f-b096-a88f4f92d470</DocID> <FileBase64>sample string 7</FileBase64> <FileExtension>sample string 5</FileExtension> <FolderId>1</FolderId> <ImageGUID>sample string 4</ImageGUID> <InstanceID>sample string 2</InstanceID> <OriginalFileName>sample string 6</OriginalFileName> <Source>Undefined</Source> <UserId>3</UserId> </AttachmentsModel.AttachDocImageModel> </ArrayOfAttachmentsModel.AttachDocImageModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>