POST api/Attachment/Create
Request Information
URI Parameters
None.
Body Parameters
AttachmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TableName | string |
None. |
|
| RecordKey | string |
None. |
|
| AttachContent | Collection of byte |
None. |
|
| FileExtension | string |
None. |
|
| Alias | string |
None. |
|
| FileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tableName": "sample string 2",
"recordKey": "sample string 3",
"attachContent": "QEA=",
"fileExtension": "sample string 4",
"alias": "sample string 5",
"fileName": "sample string 6"
}
application/xml, text/xml
Sample:
<AttachmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FashionIsland.Ebidding.ViewModel"> <Alias>sample string 5</Alias> <AttachContent>QEA=</AttachContent> <FileExtension>sample string 4</FileExtension> <FileName>sample string 6</FileName> <Id>1</Id> <RecordKey>sample string 3</RecordKey> <TableName>sample string 2</TableName> </AttachmentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |