POST api/RequestCentre/AddAttachment
Request Information
URI Parameters
None.
Body Parameters
AttachmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
None. |
|
| fileName | string |
None. |
|
| fileBase64 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"key": "sample string 1",
"fileName": "sample string 2",
"fileBase64": "sample string 3"
}
application/xml, text/xml
Sample:
<RequestCentreController.AttachmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Controllers"> <fileBase64>sample string 3</fileBase64> <fileName>sample string 2</fileName> <key>sample string 1</key> </RequestCentreController.AttachmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />